public class ResolvePromotionCodeTaskCmdImpl extends AbstractResolvePromotionCodeTaskCmdImpl implements ResolvePromotionCodeTaskCmd
This class extends AbstractResolvePromotionCodeTaskCmdImpl.
This is the default implementation for ResolvePromotionCodeTaskCmd task command.
Constructor and Description |
---|
ResolvePromotionCodeTaskCmdImpl() |
Modifier and Type | Method and Description |
---|---|
protected java.lang.Short | checkPromotionCodeImplType(java.lang.String code)
This method is used to check the promotion code implementation type.
|
java.lang.Short | getPromotionCodeType()
This method returns the implementation type that is used for promotion code.
|
PromotionKey[] | getPromotionKeys()
This is the method declaration to get the PromotionKey array.
|
void | performExecute()
The main business logic to execute the command.
|
void | reset()
This method is called after a command has been executed.
|
protected PromotionKey[] | resolvUniquePromotionCode(java.lang.String code, java.util.List listPromotionStatus)
This method does nothing.
|
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 | setPromotionStatus(java.util.List listPromotionStatus)
This is the method declaration to Set Promotion Status.
|
void | setSeparator(java.lang.String separator)
This is the method declaration to Set Separator.
|
void | setStoreId(java.lang.Integer storeId)
This is the method declaration to Set Store Id.
|
protected PromotionKey[] resolvUniquePromotionCode(java.lang.String code, java.util.List listPromotionStatus) throws ECException
public void setPromotionCode(java.lang.String promotionCode)
public void setStoreId(java.lang.Integer storeId)
public void setPromotionStatus(java.util.List listPromotionStatus)
public PromotionKey[] getPromotionKeys()
public void setSeparator(java.lang.String separator)
public void setPromotionCodeType(java.lang.Short promotionCodeType)
public java.lang.Short getPromotionCodeType()
public void performExecute() throws ECException
The business logic of this command implementation is responsible for resolving promotion code.
public void reset()
protected java.lang.Short checkPromotionCodeImplType(java.lang.String code) throws ECException