public class ResolvePromotionCodeCOTaskCmdImpl extends AbstractResolvePromotionCodeTaskCmdImpl implements ResolvePromotionCodeTaskCmd
ResolvePromotionCodeTaskCmd
and supports unique promotion code
implementation.defaultCommandClassName, NAME
Constructor and Description |
---|
ResolvePromotionCodeCOTaskCmdImpl() |
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.
|
validateParameters
accessControlCheck, checkIsAllowed, checkResourcePermission, createCommandExecutionEvent, execute, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getObjectSize, getPostInvokeParameters, getPreInvokeParameters, getResources, getStoreId, getUser, getUserId, isReadyToCallExecute, setAccCheck, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties
executeFromCache, getCaller, getEntryInfo, getId, getSharingPolicy, postExecute, preExecute, setCaller, setObjectSize, unionDependencies, updateCache
getCommandTarget, getCommandTargetName, getTargetPolicy, hasOutputProperties, setCommandTarget, setCommandTargetName, setHasOutputProperties, setOutputProperties, setTargetPolicy
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
executeFromCache, getCaller, getEntryInfo, getId, getSharingPolicy, postExecute, preExecute, setCaller, updateCache
getCommandTarget, getCommandTargetName, hasOutputProperties, setCommandTarget, setCommandTargetName, setOutputProperties
checkIsAllowed, checkResourcePermission, createCommandExecutionEvent, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getPostInvokeParameters, getPreInvokeParameters, getResources, getStoreId, getUser, getUserId, setAccCheck, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties, validateParameters
public void reset()
AbstractECTargetableCommand
reset
in interface com.ibm.websphere.command.Command
reset
in class AbstractResolvePromotionCodeTaskCmdImpl
AbstractResolvePromotionCodeTaskCmdImpl.reset()
public void setPromotionCode(java.lang.String promotionCode)
ResolvePromotionCodeTaskCmd
setPromotionCode
in interface ResolvePromotionCodeTaskCmd
setPromotionCode
in class AbstractResolvePromotionCodeTaskCmdImpl
promotionCode
- A String representing the promotion code to be used in the
command.ResolvePromotionCodeTaskCmd.setPromotionCode(java.lang.String)
public void setStoreId(java.lang.Integer storeId)
ResolvePromotionCodeTaskCmd
setStoreId
in interface ResolvePromotionCodeTaskCmd
setStoreId
in class AbstractResolvePromotionCodeTaskCmdImpl
storeId
- 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)
ResolvePromotionCodeTaskCmd
setPromotionStatus
in interface ResolvePromotionCodeTaskCmd
setPromotionStatus
in class AbstractResolvePromotionCodeTaskCmdImpl
listPromotionStatus
- A List representing the allowed promotion status.ResolvePromotionCodeTaskCmd.setPromotionStatus(java.util.List)
public PromotionKey[] getPromotionKeys()
ResolvePromotionCodeTaskCmd
getPromotionKeys
in interface ResolvePromotionCodeTaskCmd
getPromotionKeys
in class AbstractResolvePromotionCodeTaskCmdImpl
ResolvePromotionCodeTaskCmd.getPromotionKeys()
public void setSeparator(java.lang.String separator)
ResolvePromotionCodeTaskCmd
setSeparator
in interface ResolvePromotionCodeTaskCmd
setSeparator
in class AbstractResolvePromotionCodeTaskCmdImpl
separator
- The delimiter used to separate different codes.ResolvePromotionCodeTaskCmd.setSeparator(java.lang.String)
public void setPromotionCodeType(java.lang.Short promotionCodeType)
ResolvePromotionCodeTaskCmd
setPromotionCodeType
in interface ResolvePromotionCodeTaskCmd
setPromotionCodeType
in class AbstractResolvePromotionCodeTaskCmdImpl
promotionCodeType
- A Short representing the promotion code implementation type to
be used in the command.ResolvePromotionCodeTaskCmd.setPromotionCodeType(java.lang.Short)
public java.lang.Short getPromotionCodeType()
ResolvePromotionCodeTaskCmd
getPromotionCodeType
in interface ResolvePromotionCodeTaskCmd
getPromotionCodeType
in class AbstractResolvePromotionCodeTaskCmdImpl
ResolvePromotionCodeTaskCmd.getPromotionCodeType()
public void performExecute() throws ECException
The business logic of this command implementation is responsible for resolving promotion code.
performExecute
in interface ECCommand
performExecute
in interface com.ibm.websphere.command.TargetableCommand
performExecute
in class AbstractResolvePromotionCodeTaskCmdImpl
ECException