com.ibm.commerce.orderquotation.commands
Class RequestOrderQuotationCmdImpl

java.lang.Object
  |
  +--CacheableCommandImpl
        |
        +--com.ibm.commerce.command.AbstractECTargetableCommand
              |
              +--com.ibm.commerce.command.TaskCommandImpl
                    |
                    +--com.ibm.commerce.orderquotation.commands.RequestOrderQuotationCmdImpl
All Implemented Interfaces:
ECCommand, ECTargetableCommand, RequestOrderQuotationCmd, TaskCommand

public class RequestOrderQuotationCmdImpl
extends TaskCommandImpl
implements RequestOrderQuotationCmd

Transmit requests for quotation Orders to one or more quote enabled referral stores.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.ibm.commerce.command. AbstractECTargetableCommand
commandContext
 
Fields inherited from interface com.ibm.commerce.orderquotation.commands. RequestOrderQuotationCmd
COPYRIGHT, defaultCommandClassName, NAME
 
Fields inherited from interface com.ibm.commerce.command. ECTargetableCommand
COPYRIGHT
 
Fields inherited from interface com.ibm.commerce.command. ECCommand
defaultCommandClassName
 
Constructor Summary
RequestOrderQuotationCmdImpl()
          Constructor for RequestOrderQuotationCmdImpl
 
Method Summary
 java.util.List getOrderQuotationRelIds()
          Gets the list of ids of the order quotation rel objects created.
 java.util.List getQuotationRequests()
          Gets the quotationRequests
 void performExecute()
          Execute the command.
 void reset()
          Resets the command.
 void setQuotationRequests(java.util.List theQuotationRequests)
          Set the list of quotation requests that are to be transmitted.
 void validateParameters()
          Check mandatory parameters.
 
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
 

Constructor Detail

RequestOrderQuotationCmdImpl

public RequestOrderQuotationCmdImpl()
Constructor for RequestOrderQuotationCmdImpl
Method Detail

setQuotationRequests

public void setQuotationRequests(java.util.List theQuotationRequests)
Set the list of quotation requests that are to be transmitted.
Specified by:
setQuotationRequests in interface RequestOrderQuotationCmd
Parameters:
theQuotationRequests - The list of quotation requests.

performExecute

public void performExecute()
                    throws ECException
Execute the command.
Specified by:
performExecute in interface ECCommand
Overrides:
performExecute in class AbstractECTargetableCommand
Throws:
ECException - These exceptions are allowed to percolate.

reset

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

validateParameters

public void validateParameters()
                        throws ECException
Check mandatory parameters.
Specified by:
validateParameters in interface ECCommand
Overrides:
validateParameters in class AbstractECTargetableCommand
Throws:
ECApplicationException - Raised with message _ERR_BAD_MISSING_CMD_PARAMETER if quotationRequests is not specified.
ECException

getQuotationRequests

public java.util.List getQuotationRequests()
Gets the quotationRequests
Returns:
The list of quotation requests.

getOrderQuotationRelIds

public java.util.List getOrderQuotationRelIds()
Gets the list of ids of the order quotation rel objects created.
Specified by:
getOrderQuotationRelIds in interface RequestOrderQuotationCmd
Returns:
The list of order quotation rel ids.