public class GetPromotionCodesByOrderIdTaskCmdImpl extends AbstractGetPromotionCodesByOrderIdTaskCmdImpl implements GetPromotionCodesByOrderIdTaskCmd
This class extends AbstractGetPromotionCodesByOrderIdTaskCmdImpl
.
This is the default implementation for
GetPromotionCodesByOrderIdTaskCmd
task command.
defaultCommandClassName, NAME
Constructor and Description |
---|
GetPromotionCodesByOrderIdTaskCmdImpl() |
Modifier and Type | Method and Description |
---|---|
java.lang.String[] |
getPromotionCodes()
This is the method to get promotion codes.
|
void |
performExecute()
This method executes the business logic of this command implementation.
|
void |
reset()
This method is called after a command has been executed.
|
void |
setOrderId(java.lang.Long orderId)
This is the method 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 GetPromotionCodesByOrderIdTaskCmdImpl()
public void performExecute() throws ECException
performExecute
in interface ECCommand
performExecute
in interface com.ibm.websphere.command.TargetableCommand
performExecute
in class AbstractGetPromotionCodesByOrderIdTaskCmdImpl
ECException
AbstractECTargetableCommand.performExecute()
public java.lang.String[] getPromotionCodes()
AbstractGetPromotionCodesByOrderIdTaskCmdImpl
getPromotionCodes
in interface GetPromotionCodesByOrderIdTaskCmd
getPromotionCodes
in class AbstractGetPromotionCodesByOrderIdTaskCmdImpl
GetPromotionCodesByOrderIdTaskCmd.getPromotionCodes()
public void setOrderId(java.lang.Long orderId)
AbstractGetPromotionCodesByOrderIdTaskCmdImpl
setOrderId
in interface GetPromotionCodesByOrderIdTaskCmd
setOrderId
in class AbstractGetPromotionCodesByOrderIdTaskCmdImpl
orderId
- A Long representing the order id to be used in the command.GetPromotionCodesByOrderIdTaskCmd.setOrderId(java.lang.Long)
public void setPromotionCodeType(java.lang.Short promotionCodeType)
GetPromotionCodesByOrderIdTaskCmd
setPromotionCodeType
in interface GetPromotionCodesByOrderIdTaskCmd
setPromotionCodeType
in class AbstractGetPromotionCodesByOrderIdTaskCmdImpl
promotionCodeType
- A Short representing the promotion code implementation type to
be used in the command.GetPromotionCodesByOrderIdTaskCmd.setPromotionCodeType(java.lang.Short)
public void reset()
AbstractECTargetableCommand
reset
in interface com.ibm.websphere.command.Command
reset
in class AbstractECTargetableCommand
AbstractECTargetableCommand.reset()