com.ibm.commerce.order.commands
Class SetOrderOrganizationCmdImpl
java.lang.Object
|
+--CacheableCommandImpl
|
+--com.ibm.commerce.command.AbstractECTargetableCommand
|
+--com.ibm.commerce.command.TaskCommandImpl
|
+--com.ibm.commerce.order.commands.SetOrderOrganizationCmdImpl
- All Implemented Interfaces:
-
ECCommand,
ECTargetableCommand,
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.
- See Also:
- Serialized
Form
Field Summary |
static java.lang.String |
COPYRIGHT
IBM copyright notice field. |
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 |
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
SetOrderOrganizationCmdImpl
public SetOrderOrganizationCmdImpl()
public void performExecute()
throws ECException
- The main business logic.
-
- Specified by:
-
performExecute
in interface
ECCommand
- Overrides:
-
performExecute
in class
AbstractECTargetableCommand
-
- Throws:
ECException.
-
ECException
setOrder
public void setOrder(OrderAccessBean anOrderAB)
- Set the order to be modified.
-
- Specified by:
-
setOrder
in interface
SetOrderOrganizationCmd
-
- Parameters:
anOrderAB
- order access bean.
validateParameters
public void validateParameters()
throws ECException
- Validates the parameters
-
- Specified by:
-
validateParameters
in interface
ECCommand
- Overrides:
-
validateParameters
in class
AbstractECTargetableCommand
-
- Throws:
-
ECException