com.ibm.commerce.orderquotation.commands
Class StoreRequestOrderQuotationCmdImpl

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

public class StoreRequestOrderQuotationCmdImpl
extends TaskCommandImpl
implements StoreRequestOrderQuotationCmd

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

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. StoreRequestOrderQuotationCmd
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
StoreRequestOrderQuotationCmdImpl()
          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

StoreRequestOrderQuotationCmdImpl

public StoreRequestOrderQuotationCmdImpl()
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 StoreRequestOrderQuotationCmd
Parameters:
theQuotationRequests - The 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 StoreRequestOrderQuotationCmd
Returns:
The list of order quotation rel ids.