public class SetRMAOrganizationCmdImpl extends TaskCommandImpl implements SetRMAOrganizationCmd
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
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
COPYRIGHT |
defaultCommandClassName, NAME
Constructor and Description |
---|
SetRMAOrganizationCmdImpl() |
Modifier and Type | Method and Description |
---|---|
void |
performExecute()
Execute the command.
|
void |
setRMAAB(RMAAccessBean anRMAAB)
Set the RMA to be modified.
|
void |
validateParameters()
Check mandatory parameters.
|
accessControlCheck, checkIsAllowed, checkResourcePermission, createCommandExecutionEvent, execute, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getObjectSize, getPostInvokeParameters, getPreInvokeParameters, getResources, getStoreId, getUser, getUserId, isReadyToCallExecute, reset, setAccCheck, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties
executeFromCache, getCaller, getEntryInfo, getId, getSharingPolicy, postExecute, preExecute, setCaller, setObjectSize, unionDependencies, updateCache
getCommandTarget, getCommandTargetName, getTargetPolicy, hasOutputProperties, setCommandTarget, setCommandTargetName, setHasOutputProperties, setOutputProperties, setTargetPolicy
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
executeFromCache, getCaller, getEntryInfo, getId, getSharingPolicy, postExecute, preExecute, setCaller, updateCache
getCommandTarget, getCommandTargetName, hasOutputProperties, setCommandTarget, setCommandTargetName, setOutputProperties
checkIsAllowed, checkResourcePermission, createCommandExecutionEvent, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getPostInvokeParameters, getPreInvokeParameters, getResources, getStoreId, getUser, getUserId, setAccCheck, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties
public static final java.lang.String COPYRIGHT
public void performExecute() throws ECException
performExecute
in interface ECCommand
performExecute
in interface com.ibm.websphere.command.TargetableCommand
performExecute
in class AbstractECTargetableCommand
ECException
public void setRMAAB(RMAAccessBean anRMAAB)
SetRMAOrganizationCmd
setRMAAB
in interface SetRMAOrganizationCmd
anRMAAB
- The RMA access bean.public void validateParameters() throws ECException
Parameters
validateParameters
in interface ECCommand
validateParameters
in class AbstractECTargetableCommand
ECApplicationException
- If no RMAAccessbean has been set, throws com.ibm.commerce.exception.ECApplicationException
with ECMessage._ERR_BAD_MISSING_CMD_PARAMETERECException