public interface ExchangeRateServiceInterface extends Remote
| Modifier and Type | Method and Description |
|---|---|
ExchangeRate[] |
createExchangeRates(ExchangeRate[] exchangeRates)
Creates new
ExchangeRate objects. |
ExchangeRatePage |
getExchangeRatesByStatement(Statement filterStatement)
|
UpdateResult |
performExchangeRateAction(ExchangeRateAction exchangeRateAction,
Statement filterStatement)
Performs an action on
ExchangeRate objects that satisfy
the given
Statement.query. |
ExchangeRate[] |
updateExchangeRates(ExchangeRate[] exchangeRates)
Updates the specified
ExchangeRate objects. |
ExchangeRate[] createExchangeRates(ExchangeRate[] exchangeRates) throws RemoteException, ApiException
ExchangeRate objects.
For each exchange rate, the following fields are required:
exchangeRates - the exchange rates to createRemoteExceptionApiExceptionExchangeRatePage getExchangeRatesByStatement(Statement filterStatement) throws RemoteException, ApiException
ExchangeRatePage of ExchangeRate objects
that satisfy the given
Statement.query. The following fields are supported
for filtering:
| PQL Property | Object Property |
|---|---|
id |
ExchangeRate.id |
currencyCode |
ExchangeRate.currencyCode |
refreshRate |
ExchangeRate.refreshRate |
direction |
ExchangeRate.direction |
exchangeRate |
ExchangeRate.exchangeRate |
filterStatement - a Publisher Query Language statement used to
filter
a set of exchange ratesRemoteExceptionApiExceptionUpdateResult performExchangeRateAction(ExchangeRateAction exchangeRateAction, Statement filterStatement) throws RemoteException, ApiException
ExchangeRate objects that satisfy
the given
Statement.query. The following fields are supported
for filtering:
| PQL Property | Object Property |
|---|---|
id |
ExchangeRate.id |
currencyCode |
ExchangeRate.currencyCode |
refreshRate |
ExchangeRate.refreshRate |
direction |
ExchangeRate.direction |
exchangeRate |
ExchangeRate.exchangeRate |
exchangeRateAction - the action to performfilterStatement - a Publisher Query Language statement used to
filter
a set of exchange ratesRemoteExceptionApiExceptionExchangeRate[] updateExchangeRates(ExchangeRate[] exchangeRates) throws RemoteException, ApiException
ExchangeRate objects.exchangeRates - the exchange rates to updateRemoteExceptionApiExceptionCopyright © 2014. All Rights Reserved.