com.ibm.commerce.utf.commands
Class CloseRFQCmdImpl
java.lang.Object
|
+--CacheableCommandImpl
|
+--com.ibm.commerce.command.AbstractECTargetableCommand
|
+--com.ibm.commerce.command.TaskCommandImpl
|
+--com.ibm.commerce.utf.commands.CloseRFQCmdImpl
- All Implemented Interfaces:
-
CloseRFQCmd,
ECCommand,
ECTargetableCommand,
TaskCommand
- public class CloseRFQCmdImpl
- extends
TaskCommandImpl
- implements
CloseRFQCmd
This is the default implementation of the CloseRFQCmd. This command uses
the following AccessBeans:
RFQResponseAccessBean
RFQAccessBean
- See Also:
- Serialized
Form
Constructor Summary |
CloseRFQCmdImpl()
Creates a new CloseRFQCmdImpl instance. |
Method Summary |
AccessVector |
getResources()
Gets the access vector accessed by this command. |
java.lang.Long[] |
getRfqIds()
The RFQ ids to be closed. |
void |
performExecute()
Closes the RFQs and sets all corresponding responses to the in
evaluation state. |
void |
reset()
Reset the command. |
void |
setRfqIds(java.lang.Long[] rfqIds)
Sets the RFQ ids to be closed. |
void |
validateParameters()
Checks if the RFQ list of ids has been set, if the specified RFQs
exist, and if the specified RFQs can be closed. |
Methods inherited from class
com.ibm.commerce.command.
AbstractECTargetableCommand |
accessControlCheck,
checkIsAllowed,
checkParameters,
checkResourcePermission,
createCommandExecutionEvent,
execute,
finalize,
getAccCheck,
getCommandContext,
getCommandIfName,
getCommandName,
getCommandStoreId,
getDefaultProperties,
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 |
CloseRFQCmdImpl
public CloseRFQCmdImpl()
- Creates a new CloseRFQCmdImpl instance.
reset
public void reset()
- Reset the command.
-
- Overrides:
-
reset
in class
AbstractECTargetableCommand
getResources
public AccessVector getResources()
throws ECException
- Gets the access vector accessed by this command. The vector includes all
the RFQs to be closed and all corresponding responses.
-
- Specified by:
-
getResources
in interface
ECCommand
- Overrides:
-
getResources
in class
AbstractECTargetableCommand
-
- Returns:
- AccessVector - a vector of resource action pairs
- Throws:
-
ECException
- See Also:
-
ECCommand.getResources()
getRfqIds
public java.lang.Long[] getRfqIds()
- The RFQ ids to be closed.
-
- Specified by:
-
getRfqIds
in interface
CloseRFQCmd
-
- Returns:
- The array of RFQ id Long values to be closed.
public void performExecute()
throws ECException
- Closes the RFQs and sets all corresponding responses to the in evaluation
state.
-
- Specified by:
-
performExecute
in interface
ECCommand
- Overrides:
-
performExecute
in class
AbstractECTargetableCommand
-
- Throws:
-
ECException
- See Also:
-
,
ECCommand.performExecute()
setRfqIds
public void setRfqIds(java.lang.Long[] rfqIds)
- Sets the RFQ ids to be closed.
-
- Specified by:
-
setRfqIds
in interface
CloseRFQCmd
-
- Parameters:
rfqIds
- A Long array of RFQ ids to be
closed.
validateParameters
public void validateParameters()
throws ECException
- Checks if the RFQ list of ids has been set, if the specified RFQs exist,
and if the specified RFQs can be closed.
-
- Specified by:
-
validateParameters
in interface
ECCommand
- Overrides:
-
validateParameters
in class
AbstractECTargetableCommand
-
- Throws:
-
ECException
- See Also:
-
ECCommand.validateParameters()