com.ibm.commerce.order.commands
Class SetOrderOrganizationCmdImpl
java.lang.Object
|
+--com.ibm.commerce.command.AbstractECCommand
|
+--com.ibm.commerce.command.TaskCommandImpl
|
+--com.ibm.commerce.order.commands.SetOrderOrganizationCmdImpl
- All Implemented Interfaces:
- ECCommand, SetOrderOrganizationCmd, TaskCommand
- public class SetOrderOrganizationCmdImpl
- extends TaskCommandImpl
- implements SetOrderOrganizationCmd
This task command is called by other Order commands to set the organization info of an order.
This is default implementation. It gets the parent member id of the creator of the order and
puts it in the orgentity field. The caller should do a commitCopyHelper() on the order to save the change.
Method Summary |
void |
performExecute()
Contains the actual business logic of the command
It should be implemented by all the command writer. |
void |
setOrder(OrderAccessBean anOrderAB)
Set the order to be modified. |
void |
validateParameters()
Performs server side parameter checking. |
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 |
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 |
COPYRIGHT
public static final java.lang.String COPYRIGHT
iOrderAB
protected OrderAccessBean iOrderAB
SetOrderOrganizationCmdImpl
public SetOrderOrganizationCmdImpl()
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 anOrderAB)
- Description copied from interface:
SetOrderOrganizationCmd
- Set the order to be modified.
- Specified by:
setOrder
in interface SetOrderOrganizationCmd
validateParameters
public void validateParameters()
throws ECException
- Description copied from interface:
ECCommand
- Performs server side parameter checking. This method replaces the checkParameters() method in a previous
version of the code.
- Specified by:
validateParameters
in interface ECCommand
- Overrides:
validateParameters
in class AbstractECCommand
- Following copied from interface:
com.ibm.commerce.command.ECCommand
- Throws:
ECException.
-