public class ProcessPromotionCmdImpl extends AbstractProcessNounUsingBusinessObjectMediatorCmdImpl implements ProcessPromotionCmd
Modifier and Type | Field and Description |
---|---|
static java.lang.String | COPYRIGHT
IBM copyright notice field.
|
Constructor and Description |
---|
ProcessPromotionCmdImpl()
Constructor for ProcessPromotionCmdImpl
|
Modifier and Type | Method and Description |
---|---|
protected BusinessObjectDocumentType | buildAcknowledgeBusinessObjectDocument(java.util.Map nounsAndActions, java.util.Map persistentObjects)
This method build an Acknowledge BOD by using NounAndAction from the request and the persistent objects
|
AcknowledgePromotionType | getAcknowledgePromotion()
Provide a get method for the result AcknowledgePromotion
|
protected java.lang.String | getProcessNounActionCommandInterface()
return com.ibm.commerce.promotion.facade.server.commands.
|
protected com.ibm.commerce.promotion.facade.datatypes.PromotionFactory | getPromotionFactory()
Getter method which returns the PromotionFactory.
|
protected void | save(java.util.Map amapPersistentObjects)
This method calls its super method and then calls updatePromotionRegistry method to refresh PromotionRegistry and CalculationRegistry.
|
void | setProcessPromotion(ProcessPromotionType processPromotion)
A set method for ProcessPromotion
|
protected void | updatePromotionRegistry(PromotionIdentifierType aPromotionIdentifierType)
This method calls UpdateRegistryCmd to update PromotionRegistry based on the input Promotion Identifier.
|
public static final java.lang.String COPYRIGHT
public ProcessPromotionCmdImpl()
protected com.ibm.commerce.promotion.facade.datatypes.PromotionFactory getPromotionFactory()
protected java.lang.String getProcessNounActionCommandInterface()
protected BusinessObjectDocumentType buildAcknowledgeBusinessObjectDocument(java.util.Map nounsAndActions, java.util.Map persistentObjects)
public AcknowledgePromotionType getAcknowledgePromotion()
public void setProcessPromotion(ProcessPromotionType processPromotion)
protected void save(java.util.Map amapPersistentObjects) throws AbstractApplicationException
protected void updatePromotionRegistry(PromotionIdentifierType aPromotionIdentifierType)