com.ibm.commerce.utf.commands
Class RFQCancelCmdImpl
com.ibm.commerce.command.AbstractECTargetableCommand
|
+--com.ibm.commerce.command.ControllerCommandImpl
|
+--com.ibm.commerce.tools.command.ToolsControllerCommandImpl
|
+--com.ibm.commerce.utf.commands.RFQCancelCmdImpl
- All Implemented Interfaces:
- AccCommand, ControllerCommand, ECCommand, ECTargetableCommand, Protectable, RFQCancelCmd, ToolsControllerCommand
- public class RFQCancelCmdImpl
- extends ToolsControllerCommandImpl
- implements RFQCancelCmd
ControllerCommand class implementation for canceling RFQs.
- See Also:
validateParameters()
,
Method Summary |
void |
performExecute()
Cancels the RFQs and sets all corresponding responses to the CANCELED state. |
void |
validateParameters()
Checks if the required parameter offering_id exists. |
Methods inherited from class com.ibm.commerce.command.ControllerCommandImpl |
fulfills, getForUserId, getGeneric, getOwner, getRequestProperties, getResolvedRequestProperties, getResponseProperties, getRetriable, isGeneric, isRetriable, mergeProperties, setForUserId, setGeneric, setOwner, setResponseProperties, setRetriable, setViewInputProperties |
Methods inherited from class com.ibm.commerce.command.AbstractECTargetableCommand |
accessControlCheck, checkIsAllowed, checkResourcePermission, execute, finalize, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getDefaultProperties, getResources, getStoreId, getUser, getUserId, isReadyToCallExecute, reset, setAccCheck, setCommandContext, setCommandIfName, setDefaultProperties |
Methods inherited from interface com.ibm.commerce.command.ControllerCommand |
execute, getGeneric, getRequestProperties, getResolvedRequestProperties, getResponseProperties, getRetriable, getViewInputProperties, isGeneric, isRetriable, mergeProperties, setGeneric, setRequestProperties, setRetriable, setViewInputProperties |
Methods inherited from interface com.ibm.commerce.command.ECCommand |
checkIsAllowed, checkResourcePermission, getCommandContext, getCommandIfName, getCommandName, getDefaultProperties, getResources, getStoreId, getUser, getUserId, setCommandContext, setCommandIfName, setDefaultProperties |
RFQCancelCmdImpl
public RFQCancelCmdImpl()
performExecute
public void performExecute()
throws ECException
- Cancels the RFQs and sets all corresponding responses to the CANCELED state.
Calls the
CancelRFQCmd
task command.
- Specified by:
performExecute
in interface ECCommand
- Overrides:
performExecute
in class AbstractECTargetableCommand
- Throws:
ECException.
- - See Also:
validateParameters()
,
validateParameters
public void validateParameters()
throws ECException
- Checks if the required parameter
offering_id
exists. The parameter
value is a comma separated list of RFQ ids, i.e.,offering_id=10015,10021,10022
.
- Specified by:
validateParameters
in interface ECCommand
- Overrides:
validateParameters
in class AbstractECTargetableCommand
- Throws:
ECException.
-