public class AutoApproveReturnItemCmdImpl extends TaskCommandImpl implements AutoApproveReturnItemCmd
Utilizes these access beans
defaultCommandClassName, NAME
Constructor and Description |
---|
AutoApproveReturnItemCmdImpl()
AutoApproveReturnItemCmdImpl constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
performExecute()
Execute the command.
|
void |
reset()
This method is called after a command has been executed.
|
void |
setRMAAB(RMAAccessBean rmaAB)
This method sets the RMA being accessed.
|
void |
setRMAItemAB(RMAItemAccessBean RMAItemAB)
This method sets the RMA item being accessed.
|
void |
validateParameters()
This method checks the following parameters.
|
accessControlCheck, checkIsAllowed, checkResourcePermission, createCommandExecutionEvent, execute, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getObjectSize, getPostInvokeParameters, getPreInvokeParameters, getResources, getStoreId, getUser, getUserId, isReadyToCallExecute, 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 AutoApproveReturnItemCmdImpl()
public void performExecute() throws ECException
performExecute
in interface ECCommand
performExecute
in interface com.ibm.websphere.command.TargetableCommand
performExecute
in class AbstractECTargetableCommand
ECException
public void reset()
AbstractECTargetableCommand
reset
in interface com.ibm.websphere.command.Command
reset
in class AbstractECTargetableCommand
public void setRMAAB(RMAAccessBean rmaAB)
setRMAAB
in interface AutoApproveReturnItemCmd
rmaAB
- the RMA access bean.public void setRMAItemAB(RMAItemAccessBean RMAItemAB)
setRMAItemAB
in interface AutoApproveReturnItemCmd
RMAItemAB
- the RMA item access bean.public void validateParameters() throws ECException
Parameters
validateParameters
in interface ECCommand
validateParameters
in class AbstractECTargetableCommand
ECApplicationException
- If there is no RMAItemAB or if there is no RMAAB or if there is no TradingID in the RMAAB, throws com.ibm.commerce.exception.ECApplicationException
with ECMessage._ERR_BAD_MISSING_CMD_PARAMETERECException