public class RejectRFQResponsesCmdImpl extends TaskCommandImpl implements RejectRFQResponsesCmd
This is the default implementation of the RejectRFQResponsesCmd. This command uses the following AccessBeans:
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
COPYRIGHT
IBM copyright notice field.
|
defaultCommandClassName, NAME
Constructor and Description |
---|
RejectRFQResponsesCmdImpl()
RejectRFQCmdImpl constructor comment.
|
Modifier and Type | Method and Description |
---|---|
java.lang.Long |
getRfqId()
Gets RFQ ID.
|
java.lang.Long[] |
getRfqResponses()
Get rejected response IDs.
|
void |
performExecute()
Sets the specified RFQ responses to the Lost state.
|
void |
reset()
Reset the command.
|
void |
setRfqId(java.lang.Long rfqId)
Sets RFQ ID.
|
void |
setRfqResponses(java.lang.Long[] responseIds)
Set rejected response IDs.
|
void |
validateParameters()
Checks if the RFQ id and the response ids have been set.
|
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 static final java.lang.String COPYRIGHT
public RejectRFQResponsesCmdImpl()
public void reset()
reset
in interface com.ibm.websphere.command.Command
reset
in class AbstractECTargetableCommand
public java.lang.Long getRfqId()
getRfqId
in interface RejectRFQResponsesCmd
public java.lang.Long[] getRfqResponses()
getRfqResponses
in interface RejectRFQResponsesCmd
public void performExecute() throws ECException
performExecute
in interface ECCommand
performExecute
in interface com.ibm.websphere.command.TargetableCommand
performExecute
in class AbstractECTargetableCommand
ECException
ECCommand#performExecute()
public void setRfqId(java.lang.Long rfqId)
setRfqId
in interface RejectRFQResponsesCmd
rfqId
- The Long RFQ id for the responses.public void setRfqResponses(java.lang.Long[] responseIds)
setRfqResponses
in interface RejectRFQResponsesCmd
responseIds
- A Long array of response ids in which
to reject.public void validateParameters() throws ECException
validateParameters
in interface ECCommand
validateParameters
in class AbstractECTargetableCommand
ECException.
ECException
ECCommand#validateParameters()