public abstract class AbstractInventoryFacadeClient extends AbstractBusinessObjectDocumentFacadeClient
This class provides a set of methods that are used to communicate with the Inventory facade. This class represents a library of performed Inventory operations. The purpose of this class is to hide the details of 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 managed by this client class of the Inventory facade.
CHANGE_VERB_ACTION_ADD, CHANGE_VERB_ACTION_CHANGE, CHANGE_VERB_ACTION_CREATE, CHANGE_VERB_ACTION_DELETE, CHANGE_VERB_ACTION_UPDATE
Constructor and Description |
---|
AbstractInventoryFacadeClient()
Creates an instance of the client to communicate with the Inventory facade.
|
AbstractInventoryFacadeClient(BusinessContextType businessContext,
javax.security.auth.callback.CallbackHandler callbackHandler)
Creates an instance of the client to communicate with the Inventory facade.
|
Modifier and Type | Method and Description |
---|---|
RespondInventoryAvailabilityType |
changeInventoryAvailability(ChangeInventoryAvailabilityType aChangeInventoryAvailability)
This method communicates with the InventoryAvailability facade and sends the specified
ChangeInventoryAvailability request.
|
ShowInventoryAvailabilityType |
getInventoryAvailability(GetInventoryAvailabilityType aGetInventoryAvailability)
This method communicates with the Inventory facade and sends the specified
GetInventoryAvailability.
|
ShowInventoryAvailabilityDataAreaType |
getInventoryAvailability(GetType getVerb)
This method returns the
ShowInventoryAvailabilityDataArea when issuing the specified
get expression to fetch InventoryAvailabilitys. |
java.util.List |
getInventoryAvailability(java.lang.String expressionLanguage,
java.lang.String expression)
This method returns a list of InventoryAvailabilitys based on the specified expression.
|
AcknowledgeInventoryRequirementType |
processInventoryRequirement(ProcessInventoryRequirementType aProcessInventoryRequirement)
This method communicates with the Inventory facade and sends the specified
ProcessInventoryRequirement request.
|
ConfirmBODType |
syncInventoryAvailability(SyncInventoryAvailabilityType aSyncInventoryAvailability)
This method communicates with the InventoryAvailability facade and sends the specified
SyncInventoryAvailability request.
|
createActionExpression, createChangeVerb, createGetVerb, createGetVerb, createProcessVerb, createSyncVerb
public AbstractInventoryFacadeClient()
public AbstractInventoryFacadeClient(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, as the controller provides
the authentication information to the transport when required.public ShowInventoryAvailabilityType getInventoryAvailability(GetInventoryAvailabilityType aGetInventoryAvailability)
aGetInventoryAvailability
- The GetInventoryAvailability request document.ShowInventoryAvailability
response document.public RespondInventoryAvailabilityType changeInventoryAvailability(ChangeInventoryAvailabilityType aChangeInventoryAvailability)
aChangeInventoryAvailability
- The ChangeInventoryAvailability request document.public ConfirmBODType syncInventoryAvailability(SyncInventoryAvailabilityType aSyncInventoryAvailability)
aSyncInventoryAvailability
- The SyncInventoryAvailability request document.public ShowInventoryAvailabilityDataAreaType getInventoryAvailability(GetType getVerb) throws InventoryAvailabilityException
ShowInventoryAvailabilityDataArea
when issuing the specified
get expression to fetch InventoryAvailabilitys. This method is used by other frameworks or
methods that construct the get expression.getVerb
- The get expression to execute.ShowInventoryAvailabilityDataArea
response when issuing the get expression.InventoryAvailabilityException
- The InventoryAvailabilityException
is thrown when error
information is found in the specified ShowInventoryAvailabilityDataArea
.
This indicates that a problem was encountered when performing the operation.public java.util.List getInventoryAvailability(java.lang.String expressionLanguage, java.lang.String expression) throws InventoryAvailabilityException
expressionLanguage
- The expression lanaguage.expression
- The expression to return a list of InventoryAvailabilitys.InventoryAvailabilityException
- The InventoryAvailabilityException
is thrown when error
information is found in the specified ShowInventoryAvailabilityDataArea
.
This indicates that a problem was encountered when performing the operation.public AcknowledgeInventoryRequirementType processInventoryRequirement(ProcessInventoryRequirementType aProcessInventoryRequirement)
aProcessInventoryRequirement
- The ProcessInventoryRequirement request document.