public class AbstractExternalOrderFacadeClient extends AbstractBusinessObjectDocumentFacadeClient
This class provides a set of methods that can be used to communicate with the Order facade. This class represents a library of Order operations that can be performed. It provides out bound services with external system.
CHANGE_VERB_ACTION_ADD, CHANGE_VERB_ACTION_CHANGE, CHANGE_VERB_ACTION_CREATE, CHANGE_VERB_ACTION_DELETE, CHANGE_VERB_ACTION_UPDATE
Constructor and Description |
---|
AbstractExternalOrderFacadeClient()
Creates an instance of the client to communicate with the External Order facade.
|
AbstractExternalOrderFacadeClient(BusinessContextType businessContext,
javax.security.auth.callback.CallbackHandler callbackHandler)
Creates an instance of the client to communicate with the External Order facade.
|
Modifier and Type | Method and Description |
---|---|
RespondOrderType |
changeOrder(ChangeOrderType aChangeOrder)
This method communicates with the External Order facade and sends the specified
Change request.
|
ShowOrderType |
getOrder(GetOrderType aGetOrder)
This method will communicate with the Order facade and send the specified
GetOrder.
|
ShowOrderDataAreaType |
getOrder(GetType getVerb)
This method returns the
ShowOrderDataArea when issuing the specified
get expression to fetch Orders. |
java.util.List |
getOrder(java.lang.String expressionLanguage,
java.lang.String expression)
This method returns a list of Orders based on the expression specified.
|
ShowQuoteType |
getQuote(GetQuoteType aGetQuote)
This method will communicate with the Order facade and send the specified
GetQuote.
|
ShowQuoteDataAreaType |
getQuote(GetType getVerb)
This method returns the
ShowQuoteDataArea when issuing the specified
get expression to fetch Quotes. |
java.util.List |
getQuote(java.lang.String expressionLanguage,
java.lang.String expression)
This method returns a list of Quotes based on the expression specified.
|
AcknowledgeOrderType |
processOrder(ProcessOrderType aProcessOrder)
This method communicates with the External Order facade and sends the specified
ProcessOrder request.
|
AcknowledgeQuoteType |
processQuote(ProcessQuoteType aProcessQuote)
This method will communicate with the Order facade and send the specified
ProcessQuote request.
|
createActionExpression, createChangeVerb, createGetVerb, createGetVerb, createProcessVerb, createSyncVerb
public AbstractExternalOrderFacadeClient()
public AbstractExternalOrderFacadeClient(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 ShowOrderType getOrder(GetOrderType aGetOrder)
aGetOrder
- The GetOrder request document.ShowOrder
response document.public AcknowledgeOrderType processOrder(ProcessOrderType aProcessOrder)
aProcessOrder
- The ProcessOrder request document.public RespondOrderType changeOrder(ChangeOrderType aChangeOrder)
aChangeOrder
- The ChangeOrder request document.public ShowOrderDataAreaType getOrder(GetType getVerb) throws OrderException
ShowOrderDataArea
when issuing the specified
get expression to fetch Orders. This method will be used by other frameworks or
methods that constructs the get expression.getVerb
- The get expression to execute.ShowOrderDataArea
response when issuing the get expression.OrderException
- The OrderException
is thrown if error
information is found in the specified ShowOrderDataArea
.
This will represent that there was a problem when performing the operation.public java.util.List getOrder(java.lang.String expressionLanguage, java.lang.String expression) throws OrderException
expressionLanguage
- The expression language.expression
- The expression to return a list of Orders.OrderException
- The OrderException
is thrown if error
information is found in the specified ShowOrderDataArea
.
This will represent that there was a problem when performing the operation.public ShowQuoteType getQuote(GetQuoteType aGetQuote)
aGetQuote
- The GetQuote request document.ShowQuote
response document.public AcknowledgeQuoteType processQuote(ProcessQuoteType aProcessQuote)
aProcessQuote
- The ProcessQuote request document.public ShowQuoteDataAreaType getQuote(GetType getVerb) throws QuoteException
ShowQuoteDataArea
when issuing the specified
get expression to fetch Quotes. This method will be used by other frameworks or
methods that constructs the get expression.getVerb
- The get expression to execute.ShowQuoteDataArea
response when issuing the get expression.QuoteException
- The QuoteException
is thrown if error
information is found in the specified ShowQuoteDataArea
.
This will represent that there was a problem when performing the operation.public java.util.List getQuote(java.lang.String expressionLanguage, java.lang.String expression) throws QuoteException
expressionLanguage
- The expression language.expression
- The expression to return a list of Quotes.QuoteException
- The QuoteException
is thrown if error
information is found in the specified ShowQuoteDataArea
.
This will represent that there was a problem when performing the operation.