public class UpdateReleaseManifestStatusCmdImpl extends TaskCommandImpl implements UpdateReleaseManifestStatusCmd, ECConstants, ECToolsConstants, com.ibm.commerce.base.helpers.EJBConstants
This command will update the order status and fulfillment status. If the order release is packed and shipped, the status of the order release will be set to 'MNF'. The fulfillment status of all the order items in the order release will be set to 'SHIP'. And the status of the order will be set to 'S' if all order items in the order are packed and shipped.
Modifier and Type | Field and Description |
---|---|
static java.lang.String | COPYRIGHT
IBM Copyright
|
Constructor and Description |
---|
UpdateReleaseManifestStatusCmdImpl()
Default constructor
|
Modifier and Type | Method and Description |
---|---|
protected void | finalizePament(OrderReleaseAccessBean abOrdRelease, java.sql.Timestamp currentTime)
Finalize the payment for the release that has shipped.
|
java.lang.String | getManifestFound()
Return the flag to indicate if there is any shipment tracking information for the order release is found.
|
java.util.Vector | getOrderItemVector()
Get the vector or shipped items
|
java.lang.Long | getOrdersId()
Return the order identifier.
|
java.lang.Integer | getOrdReleaseNum()
Return order release number.
|
boolean | isReadyToCallExecute()
This command is ready to be executed.
|
void | performExecute()
This method performs the order and fulfillment status.
|
protected void | raiseBusinessEvent()
This method raises the business event for the shipped order items.
|
void | reset()
This method resets the command local variable.
|
void | setManifestFound(java.lang.String newManifestFound)
Set the flag to indicate if there is any shipment tracking information for the order release is found.
|
void | setOrdersId(java.lang.Long newOrdersId)
Set the order identifier.
|
void | setOrdReleaseNum(java.lang.Integer newOrdReleaseNum)
Set order release number.
|
void | setRequestProperties(TypedProperty newRequestProperties)
Set request properties.
|
protected void | updateInventory(OrderReleaseAccessBean abOrdRelease, java.sql.Timestamp currentTime)
Update inventory.
|
void | validateParameters()
This method checks the information needed for updating the order and fulfillment status.
|
public static final java.lang.String COPYRIGHT
public UpdateReleaseManifestStatusCmdImpl()
public java.lang.String getManifestFound()
public java.lang.Long getOrdersId()
public java.lang.Integer getOrdReleaseNum()
public void setManifestFound(java.lang.String newManifestFound)
public void setOrdersId(java.lang.Long newOrdersId)
public void setOrdReleaseNum(java.lang.Integer newOrdReleaseNum)
public java.util.Vector getOrderItemVector()
public void setRequestProperties(TypedProperty newRequestProperties) throws ECApplicationException
public boolean isReadyToCallExecute()
public void validateParameters() throws ECException
public void performExecute() throws ECException
This method uses the following AccessBeans:
This method calls the following task command:
Exception:
public void reset()
protected void updateInventory(OrderReleaseAccessBean abOrdRelease, java.sql.Timestamp currentTime) throws java.rmi.RemoteException, javax.naming.NamingException, javax.ejb.CreateException, java.sql.SQLException, javax.ejb.FinderException
protected void finalizePament(OrderReleaseAccessBean abOrdRelease, java.sql.Timestamp currentTime) throws javax.naming.NamingException, javax.ejb.FinderException, java.rmi.RemoteException, javax.ejb.CreateException, ECException
protected void raiseBusinessEvent() throws ECException