public abstract class AbstractPromotionFacadeClient extends AbstractBusinessObjectDocumentFacadeClient
This class provides a set of methods that can be used to communicate with the Promotion facade. This class represents a library of Promotion 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 Promotion facade.
Constructor and Description |
---|
AbstractPromotionFacadeClient()
Creates an instance of the client to communicate with the Promotion facade.
|
AbstractPromotionFacadeClient(BusinessContextType businessContext, javax.security.auth.callback.CallbackHandler callbackHandler)
Creates an instance of the client to communicate with the Promotion facade.
|
Modifier and Type | Method and Description |
---|---|
com.ibm.commerce.promotion.facade.datatypes.RespondPromoCodeType | changePromoCode(com.ibm.commerce.promotion.facade.datatypes.ChangePromoCodeType aChangePromoCode)
This method will communicate with the Promotion facade and send the specified ChangePromoCode request.
|
RespondPromotionType | changePromotion(ChangePromotionType aChangePromotion)
This method will communicate with the Promotion facade and send the specified ChangePromotion request.
|
protected com.ibm.commerce.promotion.facade.datatypes.AcknowledgePromoCodeDataAreaType | checkAcknowledgePromoCode(com.ibm.commerce.promotion.facade.datatypes.AcknowledgePromoCodeDataAreaType acknowledgePromoCodeDataArea)
This method will examine the AcknowledgePromoCodeDataArea to see if there is any error information reported.
|
protected AcknowledgePromotionDataAreaType | checkAcknowledgePromotion(AcknowledgePromotionDataAreaType acknowledgePromotionDataArea)
This method will examine the AcknowledgePromotionDataArea to see if there is any error information reported.
|
protected com.ibm.commerce.promotion.facade.datatypes.RespondPromoCodeDataAreaType | checkRespondPromoCode(com.ibm.commerce.promotion.facade.datatypes.RespondPromoCodeDataAreaType respondPromoCodeDataArea)
This method will examine the RespondPromoCodeDataArea to see if there is any error information reported.
|
protected RespondPromotionDataAreaType | checkRespondPromotion(RespondPromotionDataAreaType respondPromotionDataArea)
This method will examine the RespondPromotionDataArea to see if there is any error information reported.
|
protected com.ibm.commerce.promotion.facade.datatypes.ShowPromoCodeDataAreaType | checkShowPromoCode(com.ibm.commerce.promotion.facade.datatypes.ShowPromoCodeDataAreaType showPromoCodeDataArea)
This method will examine the ShowPromoCodeDataArea to see if there is any error information reported.
|
protected ShowPromotionDataAreaType | checkShowPromotion(ShowPromotionDataAreaType showPromotionDataArea)
This method will examine the ShowPromotionDataArea to see if there is any error information reported.
|
com.ibm.commerce.promotion.facade.datatypes.ShowPromoCodeType | getPromoCode(com.ibm.commerce.promotion.facade.datatypes.GetPromoCodeType aGetPromoCode)
This method will communicate with the Promotion facade and send the specified GetPromoCode request.
|
com.ibm.commerce.promotion.facade.datatypes.ShowPromoCodeDataAreaType | getPromoCode(GetType getVerb)
This method returns the ShowPromoCodeDataArea when issuing the specified get expression to fetch PromoCodes.
|
java.util.List | getPromoCode(java.lang.String expressionLanguage, java.lang.String expression)
This method returns a list of PromoCodes based on the expression specified.
|
ShowPromotionType | getPromotion(GetPromotionType aGetPromotion)
This method will communicate with the Promotion facade and send the specified GetPromotion request.
|
ShowPromotionDataAreaType | getPromotion(GetType getVerb)
This method returns the ShowPromotionDataArea when issuing the specified get expression to fetch Promotions.
|
java.util.List | getPromotion(java.lang.String expressionLanguage, java.lang.String expression)
This method returns a list of Promotions based on the expression specified.
|
protected com.ibm.commerce.promotion.facade.datatypes.PromotionFactory | getPromotionFactory()
This method will return the default instance of the Promotion Factory.
|
com.ibm.commerce.promotion.facade.datatypes.AcknowledgePromoCodeType | processPromoCode(com.ibm.commerce.promotion.facade.datatypes.ProcessPromoCodeType aProcessPromoCode)
This method will communicate with the Promotion facade and send the specified ProcessPromoCode request.
|
AcknowledgePromotionType | processPromotion(ProcessPromotionType aProcessPromotion)
This method will communicate with the Promotion facade and send the specified ProcessPromotion request.
|
public AbstractPromotionFacadeClient()
public AbstractPromotionFacadeClient(BusinessContextType businessContext, javax.security.auth.callback.CallbackHandler callbackHandler)
protected com.ibm.commerce.promotion.facade.datatypes.PromotionFactory getPromotionFactory()
public ShowPromotionType getPromotion(GetPromotionType aGetPromotion)
public AcknowledgePromotionType processPromotion(ProcessPromotionType aProcessPromotion)
public RespondPromotionType changePromotion(ChangePromotionType aChangePromotion)
protected AcknowledgePromotionDataAreaType checkAcknowledgePromotion(AcknowledgePromotionDataAreaType acknowledgePromotionDataArea) throws PromotionException
protected RespondPromotionDataAreaType checkRespondPromotion(RespondPromotionDataAreaType respondPromotionDataArea) throws PromotionException
protected ShowPromotionDataAreaType checkShowPromotion(ShowPromotionDataAreaType showPromotionDataArea) throws PromotionException
public ShowPromotionDataAreaType getPromotion(GetType getVerb) throws PromotionException
public java.util.List getPromotion(java.lang.String expressionLanguage, java.lang.String expression) throws PromotionException
public com.ibm.commerce.promotion.facade.datatypes.ShowPromoCodeType getPromoCode(com.ibm.commerce.promotion.facade.datatypes.GetPromoCodeType aGetPromoCode)
public com.ibm.commerce.promotion.facade.datatypes.AcknowledgePromoCodeType processPromoCode(com.ibm.commerce.promotion.facade.datatypes.ProcessPromoCodeType aProcessPromoCode)
public com.ibm.commerce.promotion.facade.datatypes.RespondPromoCodeType changePromoCode(com.ibm.commerce.promotion.facade.datatypes.ChangePromoCodeType aChangePromoCode)
protected com.ibm.commerce.promotion.facade.datatypes.AcknowledgePromoCodeDataAreaType checkAcknowledgePromoCode(com.ibm.commerce.promotion.facade.datatypes.AcknowledgePromoCodeDataAreaType acknowledgePromoCodeDataArea) throws com.ibm.commerce.promotion.facade.client.PromoCodeException
protected com.ibm.commerce.promotion.facade.datatypes.RespondPromoCodeDataAreaType checkRespondPromoCode(com.ibm.commerce.promotion.facade.datatypes.RespondPromoCodeDataAreaType respondPromoCodeDataArea) throws com.ibm.commerce.promotion.facade.client.PromoCodeException
protected com.ibm.commerce.promotion.facade.datatypes.ShowPromoCodeDataAreaType checkShowPromoCode(com.ibm.commerce.promotion.facade.datatypes.ShowPromoCodeDataAreaType showPromoCodeDataArea) throws com.ibm.commerce.promotion.facade.client.PromoCodeException
public com.ibm.commerce.promotion.facade.datatypes.ShowPromoCodeDataAreaType getPromoCode(GetType getVerb) throws com.ibm.commerce.promotion.facade.client.PromoCodeException
public java.util.List getPromoCode(java.lang.String expressionLanguage, java.lang.String expression) throws com.ibm.commerce.promotion.facade.client.PromoCodeException