com.ibm.commerce.tools.promotions
Class PromotionPublishCmdImpl
com.ibm.commerce.command.AbstractECTargetableCommand
|
+--com.ibm.commerce.command.ControllerCommandImpl
|
+--com.ibm.commerce.tools.command.ToolsControllerCommandImpl
|
+--com.ibm.commerce.tools.promotions.PromotionPublishCmdImpl
- All Implemented Interfaces:
- AccCommand, ControllerCommand, ECCommand, ECTargetableCommand, PromotionPublishCmd, Protectable, ToolsControllerCommand
- public class PromotionPublishCmdImpl
- extends ToolsControllerCommandImpl
- implements PromotionPublishCmd
The PromotionPublishCmdImpl class implements the PromotionPublishCmd interface to
provide the controller command that publishes a discount. Also this command provide unpublish and
deletion funtions.
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
COPYRIGHT
public static final java.lang.String COPYRIGHT
language_Id
protected java.lang.Integer language_Id
status
protected java.lang.String status
storeEnt_Id
protected java.lang.Integer storeEnt_Id
PromotionPublishCmdImpl
public PromotionPublishCmdImpl()
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
.
Creation date: (7/25/2001 3:14:42 PM)
performExecute
public void performExecute()
throws ECException
- Called when the marketing manager publish, un-publish or delete a discount
Creation date: (7/14/00 12:54:05 PM)
- Specified by:
performExecute
in interface ECCommand
- Overrides:
performExecute
in class AbstractECTargetableCommand
- Throws:
ECException
- ECException
validateParameters
public void validateParameters()
throws ECException
- Parameter Validation.
Creation date: (7/26/00 1:34:43 PM)
- Specified by:
validateParameters
in interface ECCommand
- Overrides:
validateParameters
in class AbstractECTargetableCommand
- Following copied from interface:
com.ibm.commerce.command.ECCommand
- Throws:
ECException.
-