public abstract class AbstractWalletFacadeClient extends AbstractBusinessObjectDocumentFacadeClient
This class provides a set of methods that can be used to communicate with the Wallet facade. This class represents a library of Wallet operations that can be performed. The purpose of this class is to hide the details about constructing the business object document that represents the service request into simple Java methods. The complexity of building the request document and making the request is all managed by this client class of the Wallet facade.
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
COPYRIGHT
IBM Copyright notice field.
|
CHANGE_VERB_ACTION_ADD, CHANGE_VERB_ACTION_CHANGE, CHANGE_VERB_ACTION_CREATE, CHANGE_VERB_ACTION_DELETE, CHANGE_VERB_ACTION_UPDATE
Constructor and Description |
---|
AbstractWalletFacadeClient()
Creates an instance of the client to communicate with the Wallet facade.
|
AbstractWalletFacadeClient(BusinessContextType businessContext,
javax.security.auth.callback.CallbackHandler callbackHandler)
Creates an instance of the client to communicate with the Wallet facade.
|
Modifier and Type | Method and Description |
---|---|
com.ibm.commerce.wallet.facade.datatypes.RespondWalletType |
changeWallet(com.ibm.commerce.wallet.facade.datatypes.ChangeWalletType aChangeWallet)
This method will communicate with the Wallet facade and send the specified
ChangeWallet request.
|
com.ibm.commerce.wallet.facade.datatypes.RespondWalletItemType |
changeWalletItem(com.ibm.commerce.wallet.facade.datatypes.ChangeWalletItemType aChangeWalletItem)
This method will communicate with the WalletItem facade and send the specified
ChangeWalletItem request.
|
com.ibm.commerce.wallet.facade.datatypes.ShowWalletDataAreaType |
getWallet(GetType getVerb)
This method returns the
ShowWalletDataArea when issuing the specified
get expression to fetch Wallets. |
com.ibm.commerce.wallet.facade.datatypes.ShowWalletType |
getWallet(com.ibm.commerce.wallet.facade.datatypes.GetWalletType aGetWallet)
This method will communicate with the Wallet facade and send the specified
GetWallet.
|
java.util.List |
getWallet(java.lang.String expressionLanguage,
java.lang.String expression)
This method returns a list of Wallets based on the expression specified.
|
com.ibm.commerce.wallet.facade.datatypes.ShowWalletItemDataAreaType |
getWalletItem(GetType getVerb)
This method returns the
ShowWalletItemDataArea when issuing the specified
get expression to fetch WalletItems. |
com.ibm.commerce.wallet.facade.datatypes.ShowWalletItemType |
getWalletItem(com.ibm.commerce.wallet.facade.datatypes.GetWalletItemType aGetWalletItem)
This method will communicate with the Wallet facade and send the specified
GetWalletItem.
|
java.util.List |
getWalletItem(java.lang.String expressionLanguage,
java.lang.String expression)
This method returns a list of WalletItems based on the expression specified.
|
com.ibm.commerce.wallet.facade.datatypes.AcknowledgeWalletType |
processWallet(com.ibm.commerce.wallet.facade.datatypes.ProcessWalletType aProcessWallet)
This method will communicate with the Wallet facade and send the specified
ProcessWallet request.
|
com.ibm.commerce.wallet.facade.datatypes.AcknowledgeWalletItemType |
processWalletItem(com.ibm.commerce.wallet.facade.datatypes.ProcessWalletItemType aProcessWalletItem)
This method will communicate with the Wallet facade and send the specified
ProcessWalletItem request.
|
ConfirmBODType |
syncWallet(com.ibm.commerce.wallet.facade.datatypes.SyncWalletType aSyncWallet)
This method will communicate with the Wallet facade and send the specified
SyncWallet request.
|
ConfirmBODType |
syncWalletItem(com.ibm.commerce.wallet.facade.datatypes.SyncWalletItemType aSyncWalletItem)
This method will communicate with the WalletItem facade and send the specified
SyncWalletItem request.
|
createActionExpression, createChangeVerb, createGetVerb, createGetVerb, createProcessVerb, createSyncVerb
public static final java.lang.String COPYRIGHT
public AbstractWalletFacadeClient()
public AbstractWalletFacadeClient(BusinessContextType businessContext, javax.security.auth.callback.CallbackHandler callbackHandler)
businessContext
- The default business context to associate with the messages
when making requests.callbackHandler
- Used for authentication purposes so the controller can give
the authentication information to the transport when required.public com.ibm.commerce.wallet.facade.datatypes.ShowWalletType getWallet(com.ibm.commerce.wallet.facade.datatypes.GetWalletType aGetWallet)
aGetWallet
- The GetWallet request document.ShowWallet
response document.public com.ibm.commerce.wallet.facade.datatypes.AcknowledgeWalletType processWallet(com.ibm.commerce.wallet.facade.datatypes.ProcessWalletType aProcessWallet)
aProcessWallet
- The ProcessWallet request document.public com.ibm.commerce.wallet.facade.datatypes.RespondWalletType changeWallet(com.ibm.commerce.wallet.facade.datatypes.ChangeWalletType aChangeWallet)
aChangeWallet
- The ChangeWallet request document.public ConfirmBODType syncWallet(com.ibm.commerce.wallet.facade.datatypes.SyncWalletType aSyncWallet)
aSyncWallet
- The SyncWallet request document.public com.ibm.commerce.wallet.facade.datatypes.ShowWalletDataAreaType getWallet(GetType getVerb) throws WalletException
ShowWalletDataArea
when issuing the specified
get expression to fetch Wallets. This method will be used by other framworks or
methods that constructs the get expression.getVerb
- The get expression to execute.ShowWalletDataArea
response when issuing the get expression.WalletException
- The WalletException
is thrown if error
information is found in the specified ShowWalletDataArea
.
This will represent that there was a problem when performing the operation.public java.util.List getWallet(java.lang.String expressionLanguage, java.lang.String expression) throws WalletException
expressionLanguage
- The expression lanaguage.expression
- The expression to return a list of Wallets.WalletException
- The WalletException
is thrown if error
information is found in the specified ShowWalletDataArea
.
This will represent that there was a problem when performing the operation.public com.ibm.commerce.wallet.facade.datatypes.ShowWalletItemType getWalletItem(com.ibm.commerce.wallet.facade.datatypes.GetWalletItemType aGetWalletItem)
aGetWalletItem
- The GetWalletItem request document.ShowWalletItem
response document.public com.ibm.commerce.wallet.facade.datatypes.AcknowledgeWalletItemType processWalletItem(com.ibm.commerce.wallet.facade.datatypes.ProcessWalletItemType aProcessWalletItem)
aProcessWalletItem
- The ProcessWalletItem request document.public com.ibm.commerce.wallet.facade.datatypes.RespondWalletItemType changeWalletItem(com.ibm.commerce.wallet.facade.datatypes.ChangeWalletItemType aChangeWalletItem)
aChangeWalletItem
- The ChangeWalletItem request document.public ConfirmBODType syncWalletItem(com.ibm.commerce.wallet.facade.datatypes.SyncWalletItemType aSyncWalletItem)
aSyncWalletItem
- The SyncWalletItem request document.public com.ibm.commerce.wallet.facade.datatypes.ShowWalletItemDataAreaType getWalletItem(GetType getVerb) throws WalletItemException
ShowWalletItemDataArea
when issuing the specified
get expression to fetch WalletItems. This method will be used by other framworks or
methods that constructs the get expression.getVerb
- The get expression to execute.ShowWalletItemDataArea
response when issuing the get expression.WalletItemException
- The WalletItemException
is thrown if error
information is found in the specified ShowWalletItemDataArea
.
This will represent that there was a problem when performing the operation.public java.util.List getWalletItem(java.lang.String expressionLanguage, java.lang.String expression) throws WalletItemException
expressionLanguage
- The expression lanaguage.expression
- The expression to return a list of WalletItems.WalletItemException
- The WalletItemException
is thrown if error
information is found in the specified ShowWalletItemDataArea
.
This will represent that there was a problem when performing the operation.