public class RePrepareExpiredRMACmdImpl extends TaskCommandImpl implements RePrepareExpiredRMACmd
RePrepareExpiredRMACmd
interface.
Task command that evaluates whether return merchandise authorization (RMA) has expired (via CheckRMAItemExpirationCmd)
and re-prepares (via ReturnPrepare) if so.
Utilizes these access beans
defaultCommandClassName, NAME
Constructor and Description |
---|
RePrepareExpiredRMACmdImpl()
RePrepareExpiredRMACmdImpl constructor.
|
Modifier and Type | Method and Description |
---|---|
boolean |
getRMAExpired()
Returns whether the RMA was expired
|
void |
performExecute()
Execute the command.
|
void |
reset()
This method is called after a command has been executed.
|
void |
setRequestProperties(TypedProperty originalRequestProperties)
The request properties to be passed to the controller command
|
void |
setRMAAB(RMAAccessBean rmaAB)
Set the RMA being accessed.
|
void |
setRMAItemABVector(java.util.Vector vRMAItemAB)
Set the RMA items to evaluate for RMA approval
|
void |
validateParameters()
This method validates the input 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 RePrepareExpiredRMACmdImpl()
public boolean getRMAExpired()
getRMAExpired
in interface RePrepareExpiredRMACmd
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 setRequestProperties(TypedProperty originalRequestProperties)
setRequestProperties
in interface RePrepareExpiredRMACmd
originalRequestProperties
- incoming request propertiespublic void setRMAAB(RMAAccessBean rmaAB)
setRMAAB
in interface RePrepareExpiredRMACmd
rmaAB
- the RMA access bean.public void setRMAItemABVector(java.util.Vector vRMAItemAB)
setRMAItemABVector
in interface RePrepareExpiredRMACmd
vRMAItemAB
- vector of RMA item access beans.public void validateParameters() throws ECException
validateParameters
in interface ECCommand
validateParameters
in class AbstractECTargetableCommand
ECException