public abstract class AbstractSubscriptionFacadeClient extends AbstractBusinessObjectDocumentFacadeClient
This class provides a set of methods that can be used to communicate with the Subscription facade. This class represents a library of Subscription 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 Subscription 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 |
---|
AbstractSubscriptionFacadeClient()
Creates an instance of the client to communicate with the Subscription facade.
|
AbstractSubscriptionFacadeClient(BusinessContextType businessContext,
javax.security.auth.callback.CallbackHandler callbackHandler)
Creates an instance of the client to communicate with the Subscription facade.
|
Modifier and Type | Method and Description |
---|---|
RespondSubscriptionType |
changeSubscription(ChangeSubscriptionType aChangeSubscription)
This method will communicate with the Subscription facade and send the specified
ChangeSubscription request.
|
ShowSubscriptionType |
getSubscription(GetSubscriptionType aGetSubscription)
This method will communicate with the Subscription facade and send the specified
GetSubscription.
|
ShowSubscriptionDataAreaType |
getSubscription(GetType getVerb)
This method returns the
ShowSubscriptionDataArea when issuing the specified
get expression to fetch Subscriptions. |
java.util.List |
getSubscription(java.lang.String expressionLanguage,
java.lang.String expression)
This method returns a list of Subscriptions based on the expression specified.
|
AcknowledgeSubscriptionType |
processSubscription(ProcessSubscriptionType aProcessSubscription)
This method will communicate with the Subscription facade and send the specified
ProcessSubscription request.
|
createActionExpression, createChangeVerb, createGetVerb, createGetVerb, createProcessVerb, createSyncVerb
public static final java.lang.String COPYRIGHT
public AbstractSubscriptionFacadeClient()
public AbstractSubscriptionFacadeClient(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 ShowSubscriptionType getSubscription(GetSubscriptionType aGetSubscription)
aGetSubscription
- The GetSubscription request document.ShowSubscription
response document.public AcknowledgeSubscriptionType processSubscription(ProcessSubscriptionType aProcessSubscription)
aProcessSubscription
- The ProcessSubscription request document.public RespondSubscriptionType changeSubscription(ChangeSubscriptionType aChangeSubscription)
aChangeSubscription
- The ChangeSubscription request document.public ShowSubscriptionDataAreaType getSubscription(GetType getVerb) throws SubscriptionException
ShowSubscriptionDataArea
when issuing the specified
get expression to fetch Subscriptions. This method will be used by other framworks or
methods that constructs the get expression.getVerb
- The get expression to execute.ShowSubscriptionDataArea
response when issuing the get expression.SubscriptionException
- The SubscriptionException
is thrown if error
information is found in the specified ShowSubscriptionDataArea
.
This will represent that there was a problem when performing the operation.public java.util.List getSubscription(java.lang.String expressionLanguage, java.lang.String expression) throws SubscriptionException
expressionLanguage
- The expression lanaguage.expression
- The expression to return a list of Subscriptions.SubscriptionException
- The SubscriptionException
is thrown if error
information is found in the specified ShowSubscriptionDataArea
.
This will represent that there was a problem when performing the operation.