public abstract class AbstractExternalSubscriptionFacadeClient extends AbstractSubscriptionFacadeClient
This class provides a set of methods that can be used to communicate with the Subscription facade running on an external system.
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 |
---|
AbstractExternalSubscriptionFacadeClient()
Creates an instance of the client to communicate with the ExternalSubscription facade.
|
AbstractExternalSubscriptionFacadeClient(BusinessContextType businessContext,
javax.security.auth.callback.CallbackHandler callbackHandler)
Creates an instance of the client to communicate with the ExternalSubscription facade.
|
Modifier and Type | Method and Description |
---|---|
RespondSubscriptionType |
changeSubscription(ChangeSubscriptionType aChangeSubscription)
This method will communicate with the ExternalSubscription facade and send the specified
ChangeSubscription request.
|
ShowSubscriptionType |
getSubscription(GetSubscriptionType aGetSubscription)
This method will communicate with the ExternalSubscription facade and send the specified
GetSubscription.
|
AcknowledgeSubscriptionType |
processSubscription(ProcessSubscriptionType aProcessSubscription)
This method will communicate with the ExternalSubscription facade and send the specified
ProcessSubscription request.
|
getSubscription, getSubscription
createActionExpression, createChangeVerb, createGetVerb, createGetVerb, createProcessVerb, createSyncVerb
public static final java.lang.String COPYRIGHT
public AbstractExternalSubscriptionFacadeClient()
public AbstractExternalSubscriptionFacadeClient(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)
getSubscription
in class AbstractSubscriptionFacadeClient
aGetSubscription
- The GetSubscription request document.ShowSubscription
response document.public AcknowledgeSubscriptionType processSubscription(ProcessSubscriptionType aProcessSubscription)
processSubscription
in class AbstractSubscriptionFacadeClient
aProcessSubscription
- The ProcessSubscription request document.public RespondSubscriptionType changeSubscription(ChangeSubscriptionType aChangeSubscription)
changeSubscription
in class AbstractSubscriptionFacadeClient
aChangeSubscription
- The ChangeSubscription request document.