com.ibm.commerce.tools.promotions
Class PromotionChooseCmdImpl
java.lang.Object
CacheableCommandImpl
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. AccessBean used within the implementation: CatalogEntryCalculationCodeAccessBean,CalculationCodeAccessBean, StoreCatalogEntryAccessBean.
- See Also:
- Serialized Form
Methods inherited from class com.ibm.commerce.command.ControllerCommandImpl |
checkPermission, fulfills, getForUserId, getGeneric, getOwner, getRequestProperties, getResolvedRequestProperties, getResourceOwners, getResponseProperties, getRetriable, isGeneric, isRetriable, mergeProperties, setForUserId, setGeneric, setOwner, setResponseProperties, setRetriable, setViewInputProperties |
Methods inherited from class com.ibm.commerce.command.AbstractECTargetableCommand |
accessControlCheck, checkIsAllowed, checkParameters, checkResourcePermission, createCommandExecutionEvent, execute, finalize, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getStoreId, getUser, getUserId, isReadyToCallExecute, reset, setAccCheck, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties |
Methods inherited from class java.lang.Object |
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.ibm.commerce.command.ControllerCommand |
checkPermission, 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, createCommandExecutionEvent, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getStoreId, getUser, getUserId, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties |
COPYRIGHT
public static final java.lang.String COPYRIGHT
- IBM Copyright
- See Also:
- Constant Field Values
xmlFile
protected java.lang.String xmlFile
- xml file needed
calCode_Id
protected java.lang.String calCode_Id
- calCode id of the discount
catentryIdList
protected java.util.Vector catentryIdList
- catentryID list
calcodeAB
protected CalculationCodeAccessBean calcodeAB
- calcodeAccessBean object
PromotionChooseCmdImpl
public PromotionChooseCmdImpl()
- PromotionChooseCmdImpl constructor
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.
- Throws:
- ECException
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.
Feedback
(C) Copyright IBM Corporation 1996, 2005. All Rights Reserved.