public class QuoteGenerateOrderCmdImpl extends com.ibm.commerce.quote.commands.QuoteBaseCmdImpl implements QuoteGenerateOrderCmd
Behaviour
Modifier and Type | Field and Description |
---|---|
static java.lang.String | COPYRIGHT
IBM copyright notice field.
|
Constructor and Description |
---|
QuoteGenerateOrderCmdImpl() |
Modifier and Type | Method and Description |
---|---|
protected boolean | checkStatus(OrderAccessBean abQuote)
Checks the status of the quote.
|
protected void | convertCurrency(OrderAccessBean orderAB)
Converts the currency for the order.
|
protected com.ibm.commerce.order.utils.AdminConfigLoader<com.ibm.commerce.order.utils.OrderThreshold.Part> | getAdminConfigLoader()
Returns the object that is used to get thresholds.
|
java.lang.String | getBlockInfoCopyFlag()
Gets the block info copy flag.
|
java.lang.String | getDescription()
Gets the description of the Order that must be generated from the quote.
|
java.lang.String | getGenOrderId()
Gets the Id of the generated order.
|
AccessVector | getResources()
Gets resources.
|
java.lang.String | getSensitiveInfoCopyFlag()
Gets the sensitive info copy flag.
|
protected void | performCheckForQuoteExpiry(OrderAccessBean quoteAB, OrderAccessBean orderAB)
Performs a check on quote expiry.
|
void | performExecute()
Performs the main business logic.
|
protected OrderAccessBean | performOrderGenerationFromQuote(OrderAccessBean abQuote)
Performs the generation of an order from a quote.
|
protected void | performOrderPreparation(OrderAccessBean orderAB)
Prepares the order generated from the quote.
|
void | reset()
This method should be called after a command has been executed to reset its states variables.
|
void | setBlockInfoCopyFlag(java.lang.String blInfoCopyFlag)
Sets the block info copy flag.
|
void | setDescription(java.lang.String desc)
Sets the description of the Order to be generated from the quote.
|
protected void | setGenOrderId(java.lang.String genOrdId)
Sets the Id of the generated order.
|
void | setQuote(OrderAccessBean abQuote)
Sets the quote to generate an order and adds it to the list of quotes to be processed.
|
void | setRequestProperties(TypedProperty aReqParms)
Overrides the base class method to retrieve the sensitive and block information flags
|
protected void | setResponsePropertiesForCommand()
Sets the response properties for the command invoked.
|
void | setSensitiveInfoCopyFlag(java.lang.String senInfoCopyFlag)
Sets the sensitive info copy flag.
|
public static final java.lang.String COPYRIGHT
protected com.ibm.commerce.order.utils.AdminConfigLoader<com.ibm.commerce.order.utils.OrderThreshold.Part> getAdminConfigLoader()
public void setQuote(OrderAccessBean abQuote)
public java.lang.String getSensitiveInfoCopyFlag()
public void setSensitiveInfoCopyFlag(java.lang.String senInfoCopyFlag)
public java.lang.String getBlockInfoCopyFlag()
public void setBlockInfoCopyFlag(java.lang.String blInfoCopyFlag)
public java.lang.String getDescription()
public void setDescription(java.lang.String desc)
public java.lang.String getGenOrderId()
protected void setGenOrderId(java.lang.String genOrdId)
protected boolean checkStatus(OrderAccessBean abQuote) throws ECException
public void setRequestProperties(TypedProperty aReqParms) throws ECException
public void performExecute() throws ECException
protected void setResponsePropertiesForCommand()
protected OrderAccessBean performOrderGenerationFromQuote(OrderAccessBean abQuote) throws ECException
protected void performCheckForQuoteExpiry(OrderAccessBean quoteAB, OrderAccessBean orderAB) throws ECSystemException
protected void convertCurrency(OrderAccessBean orderAB) throws java.rmi.RemoteException, javax.naming.NamingException, javax.ejb.FinderException, javax.ejb.CreateException, ECException
protected void performOrderPreparation(OrderAccessBean orderAB) throws ECException
public AccessVector getResources() throws ECException
public void reset()