com.ibm.commerce.utf.commands
Class RFQResponseRejectCmdImpl

java.lang.Object
  CacheableCommandImpl
      com.ibm.commerce.command.AbstractECTargetableCommand
          com.ibm.commerce.command.ControllerCommandImpl
              com.ibm.commerce.tools.command.ToolsControllerCommandImpl
                  com.ibm.commerce.utf.commands.RFQResponseRejectCmdImpl
All Implemented Interfaces:
AccCommand, ControllerCommand, ECCommand, ECTargetableCommand, Protectable, RFQResponseRejectCmd, ToolsControllerCommand

public class RFQResponseRejectCmdImpl
extends ToolsControllerCommandImpl
implements RFQResponseRejectCmd

This is the default implementation of the RFQResponseRejectCmd.

This command calls the following TaskCommands:

This command uses the following AccessBeans
See Also:
Serialized Form

Field Summary
protected AccessVector iResourcelist
Access Vector.
Fields inherited from class com.ibm.commerce.command.ControllerCommandImpl
requestProperties, responseProperties, retriable, viewReqProperties
Fields inherited from class com.ibm.commerce.command.AbstractECTargetableCommand
commandContext
Fields inherited from interface com.ibm.commerce.utf.commands.RFQResponseRejectCmd
COPYRIGHT, defaultCommandClassName, NAME
Constructor Summary
RFQResponseRejectCmdImpl()
Method Summary
AccessVector getResources()
Return the access Vector for access control
void performExecute()
Sets the specified RFQ responses to the LOST state.
void reset()
Reset the command.
void validateParameters()
Checks if the required parameters, rfq_id and response_id exist.
Methods inherited from class com.ibm.commerce.tools.command.ToolsControllerCommandImpl
getViewInputProperties, setRequestProperties
Methods inherited from class com.ibm.commerce.command.ControllerCommandImpl
checkPermission, fulfills, getForUserId, getGeneric, getOwner, getRequestProperties, getResolvedRequestProperties, getResourceOwners, getResponseProperties, getRetriable, isGeneric, isRetriable, mergeProperties, setForUserId, setGeneric, setOwner, setResponseProperties, setRetriable, setViewInputProperties
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
Methods inherited from interface com.ibm.commerce.command.ControllerCommand
checkPermission, execute, getGeneric, getRequestProperties, getResolvedRequestProperties, getResponseProperties, getRetriable, getViewInputProperties, isGeneric, isRetriable, mergeProperties, setGeneric, setRequestProperties, setRetriable, setViewInputProperties
Methods inherited from interface com.ibm.commerce.command.AccCommand
accessControlCheck, getAccCheck, getForUserId, getResourceOwners, setAccCheck, setForUserId, setOwner
Methods inherited from interface com.ibm.commerce.command.ECCommand
checkIsAllowed, checkResourcePermission, createCommandExecutionEvent, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getStoreId, getUser, getUserId, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties
Methods inherited from interface com.ibm.commerce.security.Protectable
fulfills, getOwner
Field Detail

iResourcelist

protected AccessVector iResourcelist
Access Vector.
Constructor Detail

RFQResponseRejectCmdImpl

public RFQResponseRejectCmdImpl()
Method Detail

reset

public void reset()
Reset the command.
Overrides:
reset in class AbstractECTargetableCommand

getResources

public AccessVector getResources()
                          throws ECException
Return the access Vector for access control
Specified by:
getResources in interface ECCommand
Overrides:
getResources in class AbstractECTargetableCommand
Returns:
the AccessVector.
Throws:
ECException
See Also:
ECCommand.getResources()

performExecute

public void performExecute()
                    throws ECException
Sets the specified RFQ responses to the LOST state. Calls the RejectRFQResponsesCmd task command.
Specified by:
performExecute in interface ECCommand
Overrides:
performExecute in class AbstractECTargetableCommand
Throws:
ECException.
ECException
See Also:
ECCommand.performExecute()

validateParameters

public void validateParameters()
                        throws ECException
Checks if the required parameters, rfq_id and response_id exist. The response_id parameter value is a comma separated list of RFQ response ids, i.e.,response_id=10015,10021,10022.
Specified by:
validateParameters in interface ECCommand
Overrides:
validateParameters in class AbstractECTargetableCommand
Throws:
ECException.
ECException
See Also:
ECCommand.validateParameters()

Feedback