com.ibm.commerce.order.commands
Class CheckOrderTemplateCmdImpl
java.lang.Object
|
+--com.ibm.commerce.command.AbstractECCommand
|
+--com.ibm.commerce.command.TaskCommandImpl
|
+--com.ibm.commerce.order.commands.CheckOrderTemplateCmdImpl
- All Implemented Interfaces:
- CheckOrderTemplateCmd, ECCommand, TaskCommand
- public class CheckOrderTemplateCmdImpl
- extends TaskCommandImpl
- implements CheckOrderTemplateCmd
This is the default implementation of CheckOrderTemplateCmd. An exception will be thrown when
the order is not owned by the store/user specified.
Field Summary |
static java.lang.String |
COPYRIGHT
|
Method Summary |
void |
performExecute()
Contains the actual business logic of the command
It should be implemented by all the command writer. |
void |
setOrder(OrderAccessBean aabOrder)
The order to be marked as a template. |
void |
setUsage(java.lang.Integer anUsage)
0 - mark as template.
1 - mark as current template.
-1 - unmark the order. |
Methods inherited from class com.ibm.commerce.command.AbstractECCommand |
accessControlCheck, checkIsAllowed, checkResourcePermission, execute, finalize, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getDefaultProperties, getResources, getStoreId, getUser, getUserId, isReadyToCallExecute, reset, setAccCheck, setCommandContext, setCommandIfName, setDefaultProperties, validateParameters |
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.ECCommand |
checkIsAllowed, checkResourcePermission, execute, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getDefaultProperties, getResources, getStoreId, getUser, getUserId, setAccCheck, setCommandContext, setCommandIfName, setDefaultProperties, validateParameters |
COPYRIGHT
public static final java.lang.String COPYRIGHT
CheckOrderTemplateCmdImpl
public CheckOrderTemplateCmdImpl()
performExecute
public void performExecute()
throws ECException
- Description copied from interface:
ECCommand
- Contains the actual business logic of the command
It should be implemented by all the command writer.
- Specified by:
performExecute
in interface ECCommand
- Overrides:
performExecute
in class AbstractECCommand
- Following copied from interface:
com.ibm.commerce.command.ECCommand
- Throws:
com.ibm.commerce.command.CommandException
- The superclass for all ECExceptions.
setOrder
public void setOrder(OrderAccessBean aabOrder)
- Description copied from interface:
CheckOrderTemplateCmd
- The order to be marked as a template.
- Specified by:
setOrder
in interface CheckOrderTemplateCmd
setUsage
public void setUsage(java.lang.Integer anUsage)
- Description copied from interface:
CheckOrderTemplateCmd
- 0 - mark as template.
1 - mark as current template.
-1 - unmark the order.
- Specified by:
setUsage
in interface CheckOrderTemplateCmd