com.ibm.commerce.returns.commands
Class SetRMAOrganizationCmdImpl
java.lang.Object
CacheableCommandImpl
com.ibm.commerce.command.AbstractECTargetableCommand
com.ibm.commerce.command.TaskCommandImpl
com.ibm.commerce.returns.commands.SetRMAOrganizationCmdImpl
- All Implemented Interfaces:
- ECCommand, ECTargetableCommand, SetRMAOrganizationCmd, TaskCommand
- public class SetRMAOrganizationCmdImpl
- extends TaskCommandImpl
- implements SetRMAOrganizationCmd
Default implementation of the task command SetRMAOrganizationCmd interface. 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.
Utilizes these access beans
- See Also:
- Serialized Form
Field Summary |
static java.lang.String |
COPYRIGHT
|
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
-
- See Also:
- Constant Field Values
SetRMAOrganizationCmdImpl
public SetRMAOrganizationCmdImpl()
getRMAAB
protected RMAAccessBean getRMAAB()
- Get the RMA access bean..
-
- Returns:
- The RMA access bean.
performExecute
public void performExecute()
throws ECException
- Execute the command.
-
- Specified by:
- performExecute in interface ECCommand
- Overrides:
- performExecute in class AbstractECTargetableCommand
-
- Throws:
- ECException
setRMAAB
public void setRMAAB(RMAAccessBean anRMAAB)
- Description copied from interface: SetRMAOrganizationCmd
- Set the RMA to be modified.
-
- Specified by:
- setRMAAB in interface SetRMAOrganizationCmd
-
- Parameters:
- anRMAAB - The RMA access bean.
validateParameters
public void validateParameters()
throws ECException
- Check mandatory parameters.
Parameters
- iRMAAB (mandatory)
- RMA accessbean to be updated.
-
- Specified by:
- validateParameters in interface ECCommand
- Overrides:
- validateParameters in class AbstractECTargetableCommand
-
- Throws:
- ECApplicationException - If no RMAAccessbean has been set, throws com.ibm.commerce.exception.ECApplicationException with ECMessage._ERR_BAD_MISSING_CMD_PARAMETER
- ECException
Feedback
(C) Copyright IBM Corporation 1996, 2005. All Rights Reserved.