public class PrepareInvoiceCmdImpl extends TaskCommandImpl implements PrepareInvoiceCmd
This command uses the following AccessBeans:
This command does not call other TaskCommand.
Constructor and Description |
---|
PrepareInvoiceCmdImpl() |
Modifier and Type | Method and Description |
---|---|
protected java.sql.Timestamp | getInvoiceDate()
Returns the date for the invoice.
|
protected java.lang.String | getInvoiceId()
Returns the internal ID of the invoice record.
|
protected OrderAccessBean | getOrder()
Returns the OrderAccessBean representing the order.
|
protected java.lang.Long | getOrderId()
Returns the ID of the order for which the Invoice is to be prepared.
|
protected java.lang.Integer | getOrderReleaseNum()
Returns the Release Number of these Order Release for which the Invoice is to be prepared.
|
boolean | isReadyToCallExecute()
This method is called by the Command Framework to check if all basic mandatory parameters have been set for this command.
|
void | performExecute()
Performs the main business logic of the command.
|
void | reset()
Resets the instance variables of the command.
|
protected void | setInvoiceDate(java.sql.Timestamp newInvoiceDate)
Sets the date of the invoice.
|
protected void | setInvoiceId(java.lang.String newInvoiceId)
Sets the invoiceId property of the command.
|
void | setOrderId(java.lang.Long aOrderId)
Sets the orderId property of the command.
|
void | setOrderReleaseNum(java.lang.Integer newOrderReleaseNum)
Sets the orderReleaseNum property of the command.
|
protected java.sql.Timestamp getInvoiceDate()
protected java.lang.String getInvoiceId()
protected OrderAccessBean getOrder()
protected java.lang.Long getOrderId()
protected java.lang.Integer getOrderReleaseNum()
public boolean isReadyToCallExecute()
public void performExecute() throws ECException
public void reset()
This is useful if the command instance is to be called multiple times with different command parameters.
protected void setInvoiceDate(java.sql.Timestamp newInvoiceDate)
protected void setInvoiceId(java.lang.String newInvoiceId)
public void setOrderId(java.lang.Long aOrderId)
public void setOrderReleaseNum(java.lang.Integer newOrderReleaseNum)