public class CopyOrderPromotionCodeTaskCmdImpl extends AbstractCopyOrderPromotionCodeTaskCmdImpl implements CopyOrderPromotionCodeTaskCmd
This class extends AbstractCopyOrderPromotionCodeTaskCmdImpl.
This is the default implementation for CopyOrderPromotionCodeTaskCmd task command.
Constructor and Description |
---|
CopyOrderPromotionCodeTaskCmdImpl() |
Modifier and Type | Method and Description |
---|---|
protected void | copyUniquePromotionCode(java.lang.Long[] fromOrderIds, java.lang.Long toOrderId, java.lang.String code)
This method does nothing.
|
void | performExecute()
This method executes the business logic of this command implementation.
The business logic of this command implementation is responsible for copy a promotion code to an order. |
void | reset()
This method is called after a command has been executed.
|
void | setFromOrderIds(java.lang.Long[] orderIds)
This is the method declaration to Set From Order Id array.
|
void | setPromotionCode(java.lang.String promotionCode)
This is the method declaration to Set Promotion Code.
|
void | setPromotionCodeType(java.lang.Short promotionCodeType)
This method sets the implementation type that is used for promotion code.
|
void | setToOrderId(java.lang.Long orderId)
This is the method declaration to Set To Order Id.
|
protected void copyUniquePromotionCode(java.lang.Long[] fromOrderIds, java.lang.Long toOrderId, java.lang.String code) throws ECException
This method is empty because it is a void implementation.
public void performExecute() throws ECException
public void setToOrderId(java.lang.Long orderId)
public void setFromOrderIds(java.lang.Long[] orderIds)
public void setPromotionCode(java.lang.String promotionCode)
public void setPromotionCodeType(java.lang.Short promotionCodeType)
public void reset()