public class QuoteSaveCmdImpl extends com.ibm.commerce.quote.commands.QuoteBaseCmdImpl implements QuoteSaveCmd
Behaviour
Modifier and Type | Field and Description |
---|---|
static java.lang.String | COPYRIGHT
IBM copyright notice field.
|
Constructor and Description |
---|
QuoteSaveCmdImpl() |
Modifier and Type | Method and Description |
---|---|
protected boolean | checkQuoteSinceLastUpdate(OrderAccessBean abQuote)
Checks the quote to see if the QuoteGoodFor period has passed since the last update on the quote.
|
java.sql.Timestamp | getExpireDate()
Gets the expiry date for the quote.
|
java.lang.Long | getExpirePeriod()
Gets the expiry period for the quote.
|
void | performExecute()
Performs the main business logic.
|
protected void | performQuoteSave(OrderAccessBean abQuote)
Performs the quote save operation.
|
void | reset()
Resets the command.
|
void | setQuote(OrderAccessBean abQuote)
Sets the quote to be saved and adds it to the list of quotes to be processed.
|
void | setQuoteExpireDate(java.sql.Timestamp expDate)
Sets the expiry date for the quote.
|
void | setQuoteExpirePeriod(java.lang.Long expirePeriodTime)
Sets the expiry period for the quote.
|
void | setRequestProperties(TypedProperty aReqParms)
Sets the request properties of this command implementation.
|
public static final java.lang.String COPYRIGHT
public void setQuote(OrderAccessBean abQuote)
public void setQuoteExpirePeriod(java.lang.Long expirePeriodTime)
public void setQuoteExpireDate(java.sql.Timestamp expDate)
public java.lang.Long getExpirePeriod()
public java.sql.Timestamp getExpireDate()
public void performExecute() throws ECException
public void setRequestProperties(TypedProperty aReqParms) throws ECException
protected void performQuoteSave(OrderAccessBean abQuote) throws java.rmi.RemoteException, javax.naming.NamingException, javax.ejb.FinderException, javax.ejb.CreateException, javax.ejb.RemoveException, ECException
protected boolean checkQuoteSinceLastUpdate(OrderAccessBean abQuote) throws java.rmi.RemoteException, javax.naming.NamingException, javax.ejb.FinderException, javax.ejb.CreateException, javax.ejb.RemoveException, ECException
public void reset()