public class ResolvePromotionCodeTaskCmdImpl extends AbstractResolvePromotionCodeTaskCmdImpl implements ResolvePromotionCodeTaskCmd
This class extends AbstractResolvePromotionCodeTaskCmdImpl.
This is the default implementation for ResolvePromotionCodeTaskCmd
task command.
defaultCommandClassName, NAME| Constructor and Description |
|---|
ResolvePromotionCodeTaskCmdImpl() |
| Modifier and Type | Method and Description |
|---|---|
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.
|
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.
|
validateParametersaccessControlCheck, checkIsAllowed, checkResourcePermission, createCommandExecutionEvent, execute, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getObjectSize, getPostInvokeParameters, getPreInvokeParameters, getResources, getStoreId, getUser, getUserId, isReadyToCallExecute, setAccCheck, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultPropertiesexecuteFromCache, getCaller, getEntryInfo, getId, getSharingPolicy, postExecute, preExecute, setCaller, setObjectSize, unionDependencies, updateCachegetCommandTarget, getCommandTargetName, getTargetPolicy, hasOutputProperties, setCommandTarget, setCommandTargetName, setHasOutputProperties, setOutputProperties, setTargetPolicyequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitexecuteFromCache, getCaller, getEntryInfo, getId, getSharingPolicy, postExecute, preExecute, setCaller, updateCachegetCommandTarget, getCommandTargetName, hasOutputProperties, setCommandTarget, setCommandTargetName, setOutputPropertiescheckIsAllowed, checkResourcePermission, createCommandExecutionEvent, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getPostInvokeParameters, getPreInvokeParameters, getResources, getStoreId, getUser, getUserId, setAccCheck, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties, validateParameterspublic void setPromotionCode(java.lang.String promotionCode)
ResolvePromotionCodeTaskCmdsetPromotionCode in interface ResolvePromotionCodeTaskCmdsetPromotionCode in class AbstractResolvePromotionCodeTaskCmdImplpromotionCode - A String representing the promotion code to be used in the
command.ResolvePromotionCodeTaskCmd.setPromotionCode(java.lang.String)public void setStoreId(java.lang.Integer storeId)
ResolvePromotionCodeTaskCmdsetStoreId in interface ResolvePromotionCodeTaskCmdsetStoreId in class AbstractResolvePromotionCodeTaskCmdImplstoreId - A String representing the store id information to be used in
the command.ResolvePromotionCodeTaskCmd.setStoreId(java.lang.Integer)public void setPromotionStatus(java.util.List listPromotionStatus)
ResolvePromotionCodeTaskCmdsetPromotionStatus in interface ResolvePromotionCodeTaskCmdsetPromotionStatus in class AbstractResolvePromotionCodeTaskCmdImpllistPromotionStatus - A List representing the allowed promotion status.ResolvePromotionCodeTaskCmd.setPromotionStatus(java.util.List)public PromotionKey[] getPromotionKeys()
ResolvePromotionCodeTaskCmdgetPromotionKeys in interface ResolvePromotionCodeTaskCmdgetPromotionKeys in class AbstractResolvePromotionCodeTaskCmdImplResolvePromotionCodeTaskCmd.getPromotionKeys()public void setSeparator(java.lang.String separator)
ResolvePromotionCodeTaskCmdsetSeparator in interface ResolvePromotionCodeTaskCmdsetSeparator in class AbstractResolvePromotionCodeTaskCmdImplseparator - The delimiter used to separate different codes.ResolvePromotionCodeTaskCmd.setSeparator(java.lang.String)public void setPromotionCodeType(java.lang.Short promotionCodeType)
ResolvePromotionCodeTaskCmdsetPromotionCodeType in interface ResolvePromotionCodeTaskCmdsetPromotionCodeType in class AbstractResolvePromotionCodeTaskCmdImplpromotionCodeType - A Short representing the promotion code implementation type to
be used in the command.ResolvePromotionCodeTaskCmd.setPromotionCodeType(java.lang.Short)public java.lang.Short getPromotionCodeType()
ResolvePromotionCodeTaskCmdgetPromotionCodeType in interface ResolvePromotionCodeTaskCmdgetPromotionCodeType in class AbstractResolvePromotionCodeTaskCmdImplResolvePromotionCodeTaskCmd.getPromotionCodeType()public void performExecute()
throws ECException
The business logic of this command implementation is responsible for resolving promotion code.
performExecute in interface ECCommandperformExecute in interface com.ibm.websphere.command.TargetableCommandperformExecute in class AbstractResolvePromotionCodeTaskCmdImplECExceptionpublic void reset()
AbstractECTargetableCommandreset in interface com.ibm.websphere.command.Commandreset in class AbstractResolvePromotionCodeTaskCmdImplAbstractECTargetableCommand.reset()