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.
|
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 GetPromotionCodesByOrderIdTaskCmdImpl()
public void performExecute()
throws ECException
performExecute in interface ECCommandperformExecute in interface com.ibm.websphere.command.TargetableCommandperformExecute in class AbstractGetPromotionCodesByOrderIdTaskCmdImplECExceptionAbstractECTargetableCommand.performExecute()public java.lang.String[] getPromotionCodes()
AbstractGetPromotionCodesByOrderIdTaskCmdImplgetPromotionCodes in interface GetPromotionCodesByOrderIdTaskCmdgetPromotionCodes in class AbstractGetPromotionCodesByOrderIdTaskCmdImplGetPromotionCodesByOrderIdTaskCmd.getPromotionCodes()public void setOrderId(java.lang.Long orderId)
AbstractGetPromotionCodesByOrderIdTaskCmdImplsetOrderId in interface GetPromotionCodesByOrderIdTaskCmdsetOrderId in class AbstractGetPromotionCodesByOrderIdTaskCmdImplorderId - A Long representing the order id to be used in the command.GetPromotionCodesByOrderIdTaskCmd.setOrderId(java.lang.Long)public void setPromotionCodeType(java.lang.Short promotionCodeType)
GetPromotionCodesByOrderIdTaskCmdsetPromotionCodeType in interface GetPromotionCodesByOrderIdTaskCmdsetPromotionCodeType in class AbstractGetPromotionCodesByOrderIdTaskCmdImplpromotionCodeType - A Short representing the promotion code implementation type to
be used in the command.GetPromotionCodesByOrderIdTaskCmd.setPromotionCodeType(java.lang.Short)public void reset()
AbstractECTargetableCommandreset in interface com.ibm.websphere.command.Commandreset in class AbstractECTargetableCommandAbstractECTargetableCommand.reset()