public class RestoreUnusedPromotionCodeTaskCmdImpl extends AbstractRestoreUnusedPromotionCodeTaskCmdImpl implements RestoreUnusedPromotionCodeTaskCmd
This class extends AbstractRestoreUnusedPromotionCodeTaskCmdImpl
.
This is the default implementation for
RestoreUnusedPromotionCodeTaskCmd
task command.
defaultCommandClassName, NAME
Constructor and Description |
---|
RestoreUnusedPromotionCodeTaskCmdImpl() |
Modifier and Type | Method and Description |
---|---|
void |
performExecute()
This method executes the business logic of this command implementation.
The business logic of this command implementation is responsible for restoring promotion codes from an order. |
void |
reset()
This method is called after a command has been executed.
|
void |
setOrderId(java.lang.Long orderId)
This is the method declaration to Set Order Id.
|
void |
setPromotionCodeType(java.lang.Short promotionCodeType)
This method sets the implementation type that is used for promotion code.
|
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 RestoreUnusedPromotionCodeTaskCmdImpl()
public void setOrderId(java.lang.Long orderId)
RestoreUnusedPromotionCodeTaskCmd
setOrderId
in interface RestoreUnusedPromotionCodeTaskCmd
setOrderId
in class AbstractRestoreUnusedPromotionCodeTaskCmdImpl
orderId
- A String representing the order id.RestoreUnusedPromotionCodeTaskCmd.setOrderId(java.lang.Long)
public void setPromotionCodeType(java.lang.Short promotionCodeType)
RestoreUnusedPromotionCodeTaskCmd
setPromotionCodeType
in interface RestoreUnusedPromotionCodeTaskCmd
setPromotionCodeType
in class AbstractRestoreUnusedPromotionCodeTaskCmdImpl
promotionCodeType
- A Short representing the promotion code implementation type to
be used in the command.RestoreUnusedPromotionCodeTaskCmd.setPromotionCodeType(java.lang.Short)
public void performExecute() throws ECException
performExecute
in interface ECCommand
performExecute
in interface com.ibm.websphere.command.TargetableCommand
performExecute
in class AbstractRestoreUnusedPromotionCodeTaskCmdImpl
ECException
AbstractECTargetableCommand.performExecute()
public void reset()
AbstractECTargetableCommand
reset
in interface com.ibm.websphere.command.Command
reset
in class AbstractECTargetableCommand
AbstractECTargetableCommand.reset()