com.ibm.commerce.order.commands
Class CheckOrderTemplateCmdImpl
java.lang.Object
CacheableCommandImpl
com.ibm.commerce.command.AbstractECTargetableCommand
com.ibm.commerce.command.TaskCommandImpl
com.ibm.commerce.order.commands.CheckOrderTemplateCmdImpl
- All Implemented Interfaces:
- CheckOrderTemplateCmd, ECCommand, ECTargetableCommand, TaskCommand
- public class CheckOrderTemplateCmdImpl
- extends TaskCommandImpl
- implements CheckOrderTemplateCmd
Empty default implementation of the CheckOrderTemplateCmd task command interface.
- See Also:
- Serialized Form
Field Summary |
static java.lang.String |
COPYRIGHT
IBM copyright notice field. |
Method Summary |
void |
performExecute()
Executes the main business logic of the command. |
void |
setOrder(OrderAccessBean aabOrder)
Sets the order to be checked. |
void |
setUsage(java.lang.Integer anUsage)
Sets the template usage to be checked. |
Methods inherited from class com.ibm.commerce.command.AbstractECTargetableCommand |
accessControlCheck, checkIsAllowed, checkParameters, checkResourcePermission, createCommandExecutionEvent, execute, finalize, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getResources, getStoreId, getUser, getUserId, isReadyToCallExecute, reset, setAccCheck, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties, validateParameters |
Methods inherited from class java.lang.Object |
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
COPYRIGHT
public static final java.lang.String COPYRIGHT
- IBM copyright notice field.
- See Also:
- Constant Field Values
CheckOrderTemplateCmdImpl
public CheckOrderTemplateCmdImpl()
performExecute
public void performExecute()
throws ECException
- Executes the main business logic of the command.
This default implementation does nothing.
-
- Specified by:
- performExecute in interface ECCommand
- Overrides:
- performExecute in class AbstractECTargetableCommand
-
- Throws:
- ECException
setOrder
public void setOrder(OrderAccessBean aabOrder)
- Sets the order to be checked.
-
- Specified by:
- setOrder in interface CheckOrderTemplateCmd
-
- Parameters:
- aabOrder - the Order to be checked.
setUsage
public void setUsage(java.lang.Integer anUsage)
- Sets the template usage to be checked.
-
- Specified by:
- setUsage in interface CheckOrderTemplateCmd
-
- Parameters:
- anUsage - the usage value to be checked.
- 0 - mark the Order as a template.
- 1 - mark the Order as a current template.
- -1 - unmark the Order.
Feedback
(C) Copyright IBM Corporation 1996, 2005. All Rights Reserved.