public class ApproveRefundAlwaysPolicyCmdImpl extends BusinessPolicyCommandImpl implements ApproveRefundPolicyCmd
defaultCommandClassName, NAME
Constructor and Description |
---|
ApproveRefundAlwaysPolicyCmdImpl()
ApproveRefundAlwaysPolicyCmdImpl constructor.
|
Modifier and Type | Method and Description |
---|---|
boolean |
isApproved()
Returns whether the refund is approved or not.
|
void |
performExecute()
Execute the command.
|
void |
reset()
Reset the command.
|
void |
setRMAAB(RMAAccessBean newRMAAB)
This method sets the RMA being returned/refunded.
|
void |
setRMAItemABs(java.util.List RMAItemABs)
This method sets the RMA items being refunded.
|
void |
validateParameters()
Check mandatory parameters.
|
getPolicyId, getRequestProperties, setPolicyId, setRequestProperties
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
getPolicyId, getRequestProperties, setPolicyId, setRequestProperties
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 ApproveRefundAlwaysPolicyCmdImpl()
public boolean isApproved()
isApproved
in interface ApproveRefundPolicyCmd
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()
reset
in interface com.ibm.websphere.command.Command
reset
in class AbstractECTargetableCommand
public void setRMAAB(RMAAccessBean newRMAAB)
setRMAAB
in interface ApproveRefundPolicyCmd
newRMAAB
- The RMA access bean.public void setRMAItemABs(java.util.List RMAItemABs)
setRMAItemABs
in interface ApproveRefundPolicyCmd
RMAItemABs
- The list of RMA item access beans.public void validateParameters() throws ECException
validateParameters
in interface ECCommand
validateParameters
in class AbstractECTargetableCommand
ECException