com.ibm.commerce.utf.commands
Class RejectRFQResponsesCmdImpl
java.lang.Object
|
+--CacheableCommandImpl
|
+--com.ibm.commerce.command.AbstractECTargetableCommand
|
+--com.ibm.commerce.command.TaskCommandImpl
|
+--com.ibm.commerce.utf.commands.RejectRFQResponsesCmdImpl
- All Implemented Interfaces:
-
ECCommand,
ECTargetableCommand,
RejectRFQResponsesCmd,
TaskCommand
- public class RejectRFQResponsesCmdImpl
- extends
TaskCommandImpl
- implements
RejectRFQResponsesCmd
Implemetation class for rejecting responses to a specific RFQ.
This is the default implementation of the RejectRFQResponsesCmd. This
command uses the following AccessBeans:
RFQAccessBean
RFQResponseAccessBean
- See Also:
- Serialized
Form
Methods inherited from class
com.ibm.commerce.command.
AbstractECTargetableCommand |
accessControlCheck,
checkIsAllowed,
checkParameters,
checkResourcePermission,
createCommandExecutionEvent,
execute,
finalize,
getAccCheck,
getCommandContext,
getCommandIfName,
getCommandName,
getCommandStoreId,
getDefaultProperties,
getResources,
getStoreId,
getUser,
getUserId,
isReadyToCallExecute,
setAccCheck,
setCommandContext,
setCommandIfName,
setCommandStoreId,
setDefaultProperties |
Methods inherited from class java.lang.Object |
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait,
wait, wait |
RejectRFQResponsesCmdImpl
public RejectRFQResponsesCmdImpl()
- RejectRFQCmdImpl constructor comment.
reset
public void reset()
- Reset the command.
-
- Overrides:
-
reset
in class
AbstractECTargetableCommand
getRfqId
public java.lang.Long getRfqId()
-
- Specified by:
-
getRfqId
in interface
RejectRFQResponsesCmd
-
- Returns:
- The Long RFQ Id value of the responses.
getRfqResponses
public java.lang.Long[] getRfqResponses()
-
- Specified by:
-
getRfqResponses
in interface
RejectRFQResponsesCmd
-
- Returns:
- A Long array of response ids in which to reject.
public void performExecute()
throws ECException
- Sets the specified RFQ responses to the Lost state.
-
- Specified by:
-
performExecute
in interface
ECCommand
- Overrides:
-
performExecute
in class
AbstractECTargetableCommand
-
- Throws:
-
ECException
- See Also:
-
ECCommand.performExecute()
setRfqId
public void setRfqId(java.lang.Long rfqId)
-
- Specified by:
-
setRfqId
in interface
RejectRFQResponsesCmd
-
- Parameters:
rfqId
- The Long RFQ id for the reponses.
setRfqResponses
public void setRfqResponses(java.lang.Long[] responseIds)
-
- Specified by:
-
setRfqResponses
in interface
RejectRFQResponsesCmd
-
- Parameters:
responseIds
- A Long array of response ids in which to
reject.
validateParameters
public void validateParameters()
throws ECException
- Checks if the RFQ id and the response ids have been set.
-
- Specified by:
-
validateParameters
in interface
ECCommand
- Overrides:
-
validateParameters
in class
AbstractECTargetableCommand
-
- Throws:
ECException.
-
ECException
- See Also:
-
ECCommand.validateParameters()