com.ibm.commerce.tools.promotions
Class PromotionChooseCmdImpl
com.ibm.commerce.command.AbstractECTargetableCommand
|
+--com.ibm.commerce.command.ControllerCommandImpl
|
+--com.ibm.commerce.tools.command.ToolsControllerCommandImpl
|
+--com.ibm.commerce.tools.promotions.PromotionChooseCmdImpl
- All Implemented Interfaces:
- AccCommand, ControllerCommand, ECCommand, ECTargetableCommand, PromotionChooseCmd, Protectable, ToolsControllerCommand
- public class PromotionChooseCmdImpl
- extends ToolsControllerCommandImpl
- implements PromotionChooseCmd
The PromotionChooseCmdImpl class implements the PromotionChooseCmd interface to
provide the controller command that chooses discounts for current product.
Methods inherited from class com.ibm.commerce.command.ControllerCommandImpl |
fulfills, getForUserId, getGeneric, getOwner, getRequestProperties, getResolvedRequestProperties, getResponseProperties, getRetriable, isGeneric, isRetriable, mergeProperties, setForUserId, setGeneric, setOwner, setResponseProperties, setRetriable, setViewInputProperties |
Methods inherited from class com.ibm.commerce.command.AbstractECTargetableCommand |
accessControlCheck, checkIsAllowed, checkResourcePermission, execute, finalize, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getDefaultProperties, getStoreId, getUser, getUserId, isReadyToCallExecute, reset, setAccCheck, setCommandContext, setCommandIfName, setDefaultProperties |
Methods inherited from interface com.ibm.commerce.command.ControllerCommand |
execute, getGeneric, getRequestProperties, getResolvedRequestProperties, getResponseProperties, getRetriable, getViewInputProperties, isGeneric, isRetriable, mergeProperties, setGeneric, setRequestProperties, setRetriable, setViewInputProperties |
Methods inherited from interface com.ibm.commerce.command.ECCommand |
checkIsAllowed, checkResourcePermission, getCommandContext, getCommandIfName, getCommandName, getDefaultProperties, getStoreId, getUser, getUserId, setCommandContext, setCommandIfName, setDefaultProperties |
calCode_Id
protected java.lang.String calCode_Id
calcodeAB
protected CalculationCodeAccessBean calcodeAB
catentryIdList
protected java.util.Vector catentryIdList
COPYRIGHT
public static final java.lang.String COPYRIGHT
xmlFile
protected java.lang.String xmlFile
PromotionChooseCmdImpl
public PromotionChooseCmdImpl()
getResources
public AccessVector getResources()
throws ECException
- This method is using for Access Control.
- Specified by:
getResources
in interface ECCommand
- Overrides:
getResources
in class AbstractECTargetableCommand
- Returns:
- type
AccessVector
.
performExecute
public void performExecute()
throws ECException
- Called when the marketing manager choose one or more discounts for selected product.
- Specified by:
performExecute
in interface ECCommand
- Overrides:
performExecute
in class AbstractECTargetableCommand
- Throws:
ECException
- The exception description.
validateParameters
public void validateParameters()
throws ECException
- Parameters validation.
- Specified by:
validateParameters
in interface ECCommand
- Overrides:
validateParameters
in class AbstractECTargetableCommand
- Throws:
ECException
- If missing parameters.