public abstract class AbstractSearchFacadeClient extends AbstractBusinessObjectDocumentFacadeClient
This class provides a set of methods that can be used to communicate with the Search facade. This class represents a library of Search 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 Search 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 |
---|
AbstractSearchFacadeClient()
Creates an instance of the client to communicate with the Search facade.
|
AbstractSearchFacadeClient(BusinessContextType businessContext,
javax.security.auth.callback.CallbackHandler callbackHandler)
Creates an instance of the client to communicate with the Search facade.
|
Modifier and Type | Method and Description |
---|---|
RespondSearchTermAssociationType |
changeSearchTermAssociation(ChangeSearchTermAssociationType aChangeSearchTermAssociation)
This method will communicate with the SearchTermAssociation facade and send the specified
ChangeSearchTermAssociation request.
|
ShowSearchTermAssociationType |
getSearchTermAssociation(GetSearchTermAssociationType aGetSearchTermAssociation)
This method will communicate with the Search facade and send the specified
GetSearchTermAssociation.
|
ShowSearchTermAssociationDataAreaType |
getSearchTermAssociation(GetType getVerb)
This method returns the
ShowSearchTermAssociationDataArea when issuing the specified
get expression to fetch SearchTermAssociations. |
java.util.List |
getSearchTermAssociation(java.lang.String expressionLanguage,
java.lang.String expression)
This method returns a list of SearchTermAssociations based on the expression specified.
|
AcknowledgeSearchTermAssociationType |
processSearchTermAssociation(ProcessSearchTermAssociationType aProcessSearchTermAssociation)
This method will communicate with the Search facade and send the specified
ProcessSearchTermAssociation request.
|
createActionExpression, createChangeVerb, createGetVerb, createGetVerb, createProcessVerb, createSyncVerb
public static final java.lang.String COPYRIGHT
public AbstractSearchFacadeClient()
public AbstractSearchFacadeClient(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 ShowSearchTermAssociationType getSearchTermAssociation(GetSearchTermAssociationType aGetSearchTermAssociation)
aGetSearchTermAssociation
- The GetSearchTermAssociation request document.ShowSearchTermAssociation
response document.public AcknowledgeSearchTermAssociationType processSearchTermAssociation(ProcessSearchTermAssociationType aProcessSearchTermAssociation)
aProcessSearchTermAssociation
- The ProcessSearchTermAssociation request document.public RespondSearchTermAssociationType changeSearchTermAssociation(ChangeSearchTermAssociationType aChangeSearchTermAssociation)
aChangeSearchTermAssociation
- The ChangeSearchTermAssociation request document.public ShowSearchTermAssociationDataAreaType getSearchTermAssociation(GetType getVerb) throws SearchTermAssociationException
ShowSearchTermAssociationDataArea
when issuing the specified
get expression to fetch SearchTermAssociations. This method will be used by other framworks or
methods that constructs the get expression.getVerb
- The get expression to execute.ShowSearchTermAssociationDataArea
response when issuing the get expression.SearchTermAssociationException
- The SearchTermAssociationException
is thrown if error
information is found in the specified ShowSearchTermAssociationDataArea
.
This will represent that there was a problem when performing the operation.public java.util.List getSearchTermAssociation(java.lang.String expressionLanguage, java.lang.String expression) throws SearchTermAssociationException
expressionLanguage
- The expression lanaguage.expression
- The expression to return a list of SearchTermAssociations.SearchTermAssociationException
- The SearchTermAssociationException
is thrown if error
information is found in the specified ShowSearchTermAssociationDataArea
.
This will represent that there was a problem when performing the operation.