public class AcceptRFQResponsesCmdImpl extends TaskCommandImpl implements AcceptRFQResponsesCmd
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
COPYRIGHT
IBM copyright notice field.
|
defaultCommandClassName, NAME
Constructor and Description |
---|
AcceptRFQResponsesCmdImpl()
Default Constructor.
|
Modifier and Type | Method and Description |
---|---|
java.lang.Long |
getRfqId()
Gets RFQ ID.
|
java.lang.Long[] |
getRfqResponses()
Gets accepted response IDs.
|
void |
performExecute()
Sets the specified RFQ responses to the WON state.
|
void |
reset()
Reset the command.
|
void |
setRfqId(java.lang.Long rfqId)
Sets RFQ ID.
|
void |
setRfqResponses(java.lang.Long[] responseIds)
Sets accepted 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 AcceptRFQResponsesCmdImpl()
public void reset()
reset
in interface com.ibm.websphere.command.Command
reset
in class AbstractECTargetableCommand
public java.lang.Long getRfqId()
getRfqId
in interface AcceptRFQResponsesCmd
public java.lang.Long[] getRfqResponses()
getRfqResponses
in interface AcceptRFQResponsesCmd
public void performExecute() throws ECException
performExecute
in interface ECCommand
performExecute
in interface com.ibm.websphere.command.TargetableCommand
performExecute
in class AbstractECTargetableCommand
ECException
public void setRfqId(java.lang.Long rfqId)
setRfqId
in interface AcceptRFQResponsesCmd
rfqId
- The Long RFQ id for the responses.public void setRfqResponses(java.lang.Long[] responseIds)
setRfqResponses
in interface AcceptRFQResponsesCmd
responseIds
- A Long arrays of response ids in which
to accept.public void validateParameters() throws ECException
validateParameters
in interface ECCommand
validateParameters
in class AbstractECTargetableCommand
ECException.
ECException