public class OrderCreateQuoteCmdImpl extends ControllerCommandImpl implements OrderCreateQuoteCmd
Parameters
Behaviour
The command does the following :
Modifier and Type | Field and Description |
---|---|
static java.lang.String | COPYRIGHT
IBM copyright notice field.
|
Constructor and Description |
---|
OrderCreateQuoteCmdImpl() |
Modifier and Type | Method and Description |
---|---|
protected java.lang.StringBuffer | buildWhereClauseForOrder(java.lang.String orderId)
Builds the where clause for the SQL for each Order to run against the database.
|
void | checkInputOrderIdNumbers()
Checks the OrderId parameters for Number format.
|
protected boolean | checkStatus(OrderAccessBean abOrder)
Overrides method from base class.
|
void | checkUrl()
Checks for the existence of the URL parameter in the request.
|
protected void | findOrders()
Locates the Quotes in the database from the request parameters provided.
|
protected java.util.ArrayList | getArrListOrders()
Gets the Quote names for the output
|
java.lang.String | getBlockInfoCopyFlag()
Gets the block info copy flag.
|
boolean | getCommit()
Gets the commit flag.
|
java.lang.String | getDescription()
Gets the description of the Order to be generated from Quote.
|
protected java.lang.String[] | getOrderRnParms()
Gets the Quote (id) parameters
|
protected java.lang.String[] | getOutOrderNames()
Gets the Quote names for the output
|
java.lang.String | getQuoteOrderId()
Gets the Id of the Quote created from Order.
|
AccessVector | getResources()
Gets resources.
|
java.lang.String | getSensitiveInfoCopyFlag()
Gets the sensitive info copy flag.
|
protected java.lang.String | getType()
Gets the Type parameter
|
java.lang.String | getUrl()
Gets the URL.
|
protected void | lockItemSpecificationsInOrders(java.util.ArrayList arrListOrders)
This method prevents deadlocks when acting on inventory.
|
protected void | lockItemSpecificationsInOrders(OrderAccessBean abOrder)
This method is used to prevent deadlocks when acting on inventory.
|
void | performExecute()
Executes the business logic of this command implementation.
|
void | reset()
Resets the instance fields.
|
protected void | setArrListOrders(java.util.ArrayList arrListOrders)
Sets the ArrListOrders.
|
void | setBlockInfoCopyFlag(java.lang.String blInfoCopyFlag)
Sets the block info copy flag.
|
void | setCommit(boolean commit)
Sets the commit flag to control whether each quote is processed in a separate.
|
void | setDescription(java.lang.String desc)
Sets the description of the Order to be generated from Quote.
|
void | setOrder(OrderAccessBean abOrder)
Sets the Order to create Quote from.
|
protected void | setOrderRnParms(java.lang.String[] aarrstrOrderRnParms)
Sets the Order (rn) parameters
|
protected void | setOutOrderNames(java.lang.String[] aarrstrOutOrderNames)
Sets the Quote names for the output
|
void | setQuoteOrderId(java.lang.String qid)
Sets the Id of the Quote created from Order.
|
void | setRequestProperties(TypedProperty aReqParms)
The WebController calls the setRequestProperties method before invoking the execute method in this command.
|
void | setResponsePropertiesForCommand()
Sets the response properties for the command invoked.
|
void | setSensitiveInfoCopyFlag(java.lang.String senInfoCopyFlag)
Sets the sensitive info copy flag.
|
protected void | setType(java.lang.String astrType)
Sets the Type parameter
|
void | setUrl(java.lang.String astrUrl)
Sets the URL.
|
void | validateParameters()
Performs server side parameters checking.
|
public static final java.lang.String COPYRIGHT
public java.lang.String getUrl()
public void setUrl(java.lang.String astrUrl)
protected java.lang.String getType()
protected void setType(java.lang.String astrType)
protected java.lang.String[] getOrderRnParms()
protected java.lang.String[] getOutOrderNames()
protected void setOrderRnParms(java.lang.String[] aarrstrOrderRnParms)
protected void setOutOrderNames(java.lang.String[] aarrstrOutOrderNames)
protected java.util.ArrayList getArrListOrders()
protected void setArrListOrders(java.util.ArrayList arrListOrders)
public void setOrder(OrderAccessBean abOrder)
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 getQuoteOrderId()
public void setQuoteOrderId(java.lang.String qid)
protected boolean checkStatus(OrderAccessBean abOrder) throws ECException
public void checkInputOrderIdNumbers() throws ECException
protected java.lang.StringBuffer buildWhereClauseForOrder(java.lang.String orderId)
protected void findOrders() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.naming.NamingException, javax.ejb.FinderException, ECException
public void performExecute() throws ECException
public void setRequestProperties(TypedProperty aReqParms) throws ECException
public void setResponsePropertiesForCommand()
public void validateParameters() throws ECException
public void checkUrl() throws ECException
public boolean getCommit()
public void setCommit(boolean commit)
protected void lockItemSpecificationsInOrders(OrderAccessBean abOrder) throws ECException
protected void lockItemSpecificationsInOrders(java.util.ArrayList arrListOrders) throws ECException
public AccessVector getResources() throws ECException
public void reset()