com.ibm.commerce.utf.commands
Class CancelRFQCmdImpl
java.lang.Object
CacheableCommandImpl
com.ibm.commerce.command.AbstractECTargetableCommand
com.ibm.commerce.command.TaskCommandImpl
com.ibm.commerce.utf.commands.CancelRFQCmdImpl
- All Implemented Interfaces:
- CancelRFQCmd, ECCommand, ECTargetableCommand, TaskCommand
- public class CancelRFQCmdImpl
- extends TaskCommandImpl
- implements CancelRFQCmd
This is the default implementation of the CancelRFQCmd. This command uses the following AccessBeans:
- See Also:
- Serialized Form
Method Summary |
AccessVector |
getResources()
Gets the access vector accessed by this command. |
java.lang.Long[] |
getRfqIds()
The RFQ ids to be canceled. |
void |
performExecute()
Cancels the RFQs and sets all corresponding responses to the CANCELED state. |
void |
reset()
Reset the command. |
void |
setRfqIds(java.lang.Long[] rfqIds)
Sets the RFQ ids to be canceled. |
void |
validateParameters()
Checks if the RFQ list of ids has been set, if specified RFQ exist, and if the specified RFQs can be canceled. |
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 |
CancelRFQCmdImpl
public CancelRFQCmdImpl()
- Creates a new CancelRFQCmdImpl 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 canceled.
-
- 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 canceled.
-
- Specified by:
- getRfqIds in interface CancelRFQCmd
-
- Returns:
- The array of RFQ id Long values to be canceled.
performExecute
public void performExecute()
throws ECException
- Cancels the RFQs and sets all corresponding responses to the CANCELED 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 canceled.
-
- Specified by:
- setRfqIds in interface CancelRFQCmd
-
- Parameters:
- rfqIds - A Long array of RFQ ids to be canceled.
validateParameters
public void validateParameters()
throws ECException
- Checks if the RFQ list of ids has been set, if specified RFQ exist, and if the specified RFQs can be canceled.
-
- Specified by:
- validateParameters in interface ECCommand
- Overrides:
- validateParameters in class AbstractECTargetableCommand
-
- Throws:
- ECException
- See Also:
- ECCommand.validateParameters()
Feedback
(C) Copyright IBM Corporation 1996, 2005. All Rights Reserved.