public abstract class AbstractGiftCenterFacadeClient extends AbstractBusinessObjectDocumentFacadeClient
This class provides a set of methods that can be used to communicate with the GiftCenter facade. This class represents a library of GiftCenter 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 GiftCenter 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 |
---|
AbstractGiftCenterFacadeClient()
Creates an instance of the client to communicate with the GiftCenter facade.
|
AbstractGiftCenterFacadeClient(BusinessContextType businessContext,
javax.security.auth.callback.CallbackHandler callbackHandler)
Creates an instance of the client to communicate with the GiftCenter facade.
|
Modifier and Type | Method and Description |
---|---|
RespondGiftListType |
changeGiftList(ChangeGiftListType aChangeGiftList)
This method will communicate with the GiftList facade and send the specified
ChangeGiftList request.
|
ShowGiftListType |
getGiftList(GetGiftListType aGetGiftList)
This method will communicate with the GiftCenter facade and send the specified
GetGiftList.
|
ShowGiftListDataAreaType |
getGiftList(GetType getVerb)
This method returns the
ShowGiftListDataArea when issuing the specified
get expression to fetch GiftLists. |
java.util.List |
getGiftList(java.lang.String expressionLanguage,
java.lang.String expression)
This method returns a list of GiftLists based on the expression specified.
|
AcknowledgeGiftListType |
processGiftList(ProcessGiftListType aProcessGiftList)
This method will communicate with the GiftCenter facade and send the specified
ProcessGiftList request.
|
createActionExpression, createChangeVerb, createGetVerb, createGetVerb, createProcessVerb, createSyncVerb
public static final java.lang.String COPYRIGHT
public AbstractGiftCenterFacadeClient()
public AbstractGiftCenterFacadeClient(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 ShowGiftListType getGiftList(GetGiftListType aGetGiftList)
aGetGiftList
- The GetGiftList request document.ShowGiftList
response document.public AcknowledgeGiftListType processGiftList(ProcessGiftListType aProcessGiftList)
aProcessGiftList
- The ProcessGiftList request document.public RespondGiftListType changeGiftList(ChangeGiftListType aChangeGiftList)
aChangeGiftList
- The ChangeGiftList request document.public ShowGiftListDataAreaType getGiftList(GetType getVerb) throws GiftListException
ShowGiftListDataArea
when issuing the specified
get expression to fetch GiftLists. This method will be used by other framworks or
methods that constructs the get expression.getVerb
- The get expression to execute.ShowGiftListDataArea
response when issuing the get expression.GiftListException
- The GiftListException
is thrown if error
information is found in the specified ShowGiftListDataArea
.
This will represent that there was a problem when performing the operation.public java.util.List getGiftList(java.lang.String expressionLanguage, java.lang.String expression) throws GiftListException
expressionLanguage
- The expression lanaguage.expression
- The expression to return a list of GiftLists.GiftListException
- The GiftListException
is thrown if error
information is found in the specified ShowGiftListDataArea
.
This will represent that there was a problem when performing the operation.