com.ibm.commerce.returns.commands
Class SetRMAOrganizationCmdImpl
java.lang.Object
|
+--com.ibm.commerce.command.AbstractECCommand
|
+--com.ibm.commerce.command.TaskCommandImpl
|
+--com.ibm.commerce.returns.commands.SetRMAOrganizationCmdImpl
- All Implemented Interfaces:
- ECCommand, SetRMAOrganizationCmd, TaskCommand
- public class SetRMAOrganizationCmdImpl
- extends TaskCommandImpl
- implements SetRMAOrganizationCmd
This task command is called by other Returns commands to set the organization info of an RMA.
This is the default implementation. It gets the parent member id of the creator of the RMA and
puts it in the orgentity field. The caller should do a commitCopyHelper() on the RMA to save the change.
Field Summary |
static java.lang.String |
COPYRIGHT
|
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
SetRMAOrganizationCmdImpl
public SetRMAOrganizationCmdImpl()
getRMAAB
protected RMAAccessBean getRMAAB()
- Get the RMA access bean..
- Returns:
- The RMA access bean.
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.
setRMAAB
public void setRMAAB(RMAAccessBean anRMAAB)
- Description copied from interface:
SetRMAOrganizationCmd
- Set the RMA to be modified.
- Specified by:
setRMAAB
in interface SetRMAOrganizationCmd
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.
-