public abstract class AbstractContractFacadeClient extends AbstractBusinessObjectDocumentFacadeClient
This class provides a set of methods that can be used to communicate with the Contract facade. This class represents a library of Contract 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 Contract facade.
Modifier and Type | Field and Description |
---|---|
static java.lang.String | COPYRIGHT
IBM Copyright notice field.
|
Constructor and Description |
---|
AbstractContractFacadeClient()
Creates an instance of the client to communicate with the Contract facade.
|
AbstractContractFacadeClient(BusinessContextType businessContext, javax.security.auth.callback.CallbackHandler callbackHandler)
Creates an instance of the client to communicate with the Contract facade.
|
Modifier and Type | Method and Description |
---|---|
protected ShowBusinessAccountDataAreaType | checkShowBusinessAccount(ShowBusinessAccountDataAreaType showBusinessAccountDataArea)
This method will examine the ShowBusinessAccountDataArea to see if there is any error information reported.
|
protected ShowContractDataAreaType | checkShowContract(ShowContractDataAreaType showContractDataArea)
This method will examine the ShowContractDataArea to see if there is any error information reported.
|
ShowBusinessAccountType | getBusinessAccount(GetBusinessAccountType aGetBusinessAccount)
This method will communicate with the Contract facade and send the specified GetBusinessAccount.
|
ShowBusinessAccountDataAreaType | getBusinessAccount(GetType getVerb)
This method returns the ShowBusinessAccountDataArea when issuing the specified get expression to fetch BusinessAccounts.
|
java.util.List | getBusinessAccount(java.lang.String expressionLanguage, java.lang.String expression)
This method returns a list of BusinessAccounts based on the expression specified.
|
ShowContractType | getContract(GetContractType aGetContract)
This method will communicate with the Contract facade and send the specified GetContract.
|
ShowContractDataAreaType | getContract(GetType getVerb)
This method returns the ShowContractDataArea when issuing the specified get expression to fetch Contracts.
|
java.util.List | getContract(java.lang.String expressionLanguage, java.lang.String expression)
This method returns a list of Contracts based on the expression specified.
|
protected com.ibm.commerce.contract.facade.datatypes.ContractFactory | getContractFactory()
This method will return the default instance of the Contract Factory.
|
public static final java.lang.String COPYRIGHT
public AbstractContractFacadeClient()
public AbstractContractFacadeClient(BusinessContextType businessContext, javax.security.auth.callback.CallbackHandler callbackHandler)
protected com.ibm.commerce.contract.facade.datatypes.ContractFactory getContractFactory()
public ShowContractType getContract(GetContractType aGetContract)
protected ShowContractDataAreaType checkShowContract(ShowContractDataAreaType showContractDataArea) throws ContractException
public ShowContractDataAreaType getContract(GetType getVerb) throws ContractException
public java.util.List getContract(java.lang.String expressionLanguage, java.lang.String expression) throws ContractException
public ShowBusinessAccountType getBusinessAccount(GetBusinessAccountType aGetBusinessAccount)
protected ShowBusinessAccountDataAreaType checkShowBusinessAccount(ShowBusinessAccountDataAreaType showBusinessAccountDataArea) throws com.ibm.commerce.contract.facade.client.BusinessAccountException
public ShowBusinessAccountDataAreaType getBusinessAccount(GetType getVerb) throws com.ibm.commerce.contract.facade.client.BusinessAccountException
public java.util.List getBusinessAccount(java.lang.String expressionLanguage, java.lang.String expression) throws com.ibm.commerce.contract.facade.client.BusinessAccountException