com.ibm.commerce.tools.promotions
Class PromotionPublishCmdImpl
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.PromotionPublishCmdImpl
- All Implemented Interfaces:
-
AccCommand,
ControllerCommand,
ECCommand,
ECTargetableCommand,
PromotionPublishCmd,
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. AccessBean used within
the implementation: CalculationCodeAccessBean.
- See Also:
- Serialized
Form
Field Summary |
protected
java.lang.String |
calCode_Id
calcode id |
protected
CalculationCodeAccessBean |
calcodeAB
calcode AccessBean object |
static java.lang.String |
COPYRIGHT
IBM Copyright |
protected
java.lang.Integer |
language_Id
language id |
protected
java.lang.String |
status
status |
protected
java.lang.Integer |
storeEnt_Id
store entity id |
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
status
protected java.lang.String status
- status
storeEnt_Id
protected java.lang.Integer storeEnt_Id
- store entity id
language_Id
protected java.lang.Integer language_Id
- language id
calCode_Id
protected java.lang.String calCode_Id
- calcode id
calcodeAB
protected CalculationCodeAccessBean calcodeAB
- calcode AccessBean object
public PromotionPublishCmdImpl()
- PromotionPublishCmdImpl 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
.
-
ECException
public void performExecute()
throws ECException
- Called when the marketing manager publish, un-publish or delete a discount
-
- Specified by:
-
performExecute
in interface
ECCommand
- Overrides:
-
performExecute
in class
AbstractECTargetableCommand
-
- Throws:
-
ECException
- ECException
validateParameters
public void validateParameters()
throws ECException
- Parameter Validation.
-
- Specified by:
-
validateParameters
in interface
ECCommand
- Overrides:
-
validateParameters
in class
AbstractECTargetableCommand
-
-
ECException