public class RequisitionListItemUpdateCmdImpl extends OrderItemUpdateCmdImpl implements RequisitionListItemUpdateCmd
Input parameters:
Name | Type | Requirement | Description |
---|---|---|---|
requisitionListId | Long | optional | The requisition list ID |
name | String | optional | The requisition list name |
... | The name value pairs similar to OrderItemUpdate |
Output parameters:
Name | Type | Description |
---|---|---|
... | The output similar to OrderItemUpdate |
Behavior:
View:
Modifier and Type | Field and Description |
---|---|
static java.lang.String | CLASSNAME
The name of this class.
|
static java.lang.String | COPYRIGHT
The IBM copyright notice field.
|
protected java.lang.Long | iRequisitionListId
The ID of the requisition list.
|
protected java.lang.String | iRequisitionListName
The name of the requisition list.
|
protected java.lang.String | iRequisitionListStatus
The status of the requisition list.
|
Constructor and Description |
---|
RequisitionListItemUpdateCmdImpl() |
Modifier and Type | Method and Description |
---|---|
protected void | buildATPParameters()
This method builds the ATP parameters.
|
protected void | checkSizeAndQuantity()
This method checks whether the operation can cause the size of the requisition list, as well as the requested quantity, to exceed the defined business threshold.
|
protected void | checkValidStatus(OrderAccessBean orderAB)
This method checks the validation of the order status.
|
protected void | checkValidType(OrderAccessBean orderAB)
This method checks the validation of the order type.
|
protected java.lang.Long | getRequisitionListId()
This method returns the ID of the requisition list.
|
AccessVector | getResources()
This method returns the order access bean.
|
java.lang.String | getStatus()
This method returns the status of the requisition list.
|
java.lang.String | getType()
This method returns the type of the requisition list.
|
protected void | migrateInterestItemsToOrderItems()
It does nothing.
|
void | performExecute()
This method performs the main business logic.
|
protected void | prepareShipInfo()
It does nothing.
|
void | reset()
This method resets all instance variables.
|
protected void | resetSkipRepricingPrepareFlagsForOrder()
This method resets the SKIP_REPRICING prepare flags in the orderItems for the Order
|
protected void | resolveOrderId()
This method resolves the order ID.
|
protected void | setDefaultRequisitionListStatusAndType()
This method sets the default requisition list status and type.
|
void | setName(java.lang.String name)
This method specifies the requisition list name.
|
void | setRequestProperties(TypedProperty reqProperties)
This method sets the request properties.
|
void | setRequisitionListId(java.lang.Long id)
This method specifies the requisition list ID.
|
void | setStatus(java.lang.String status)
This method specifies the status of the requisition list.
|
void | setType(java.lang.String type)
This method specifies the type of the created requisition list.
|
protected void | unLockOrder(java.lang.String orderId)
It unlocks the order.
|
protected void | updateAddressId()
This method updates the shipping address for the all touched order items.
|
protected void | updateFulfillmentCenter()
It does nothing.
|
protected void | updateOrderItem(OrderItemAccessBean orderitemAB, java.lang.Integer i)
It updates the order item.
|
protected void | updateOutOrderName()
This method adds the order ID and the requisition list ID to the output response property.
|
protected void | updatePrice()
It does nothing.
|
protected void | updateRequisitionListName()
This method updates the requisition list name.
|
protected void | updateShipModeId()
This method updates the shipping modes for the all touched order items.
|
protected void | updateShippingAccountNumber()
It does nothing.
|
protected void | updateShippingChargeType()
It does nothing.
|
protected void | updateShippingInstructions()
It does nothing.
|
void | validateParameters()
This method validates the input parameters.
|
protected void | validateTradingPaymentMethods()
This method does nothing.
|
public static final java.lang.String COPYRIGHT
public static final java.lang.String CLASSNAME
protected java.lang.Long iRequisitionListId
protected java.lang.String iRequisitionListStatus
protected java.lang.String iRequisitionListName
protected void checkValidStatus(OrderAccessBean orderAB) throws ECException, javax.ejb.FinderException, javax.ejb.CreateException, javax.naming.NamingException, java.rmi.RemoteException, java.sql.SQLException
protected void checkValidType(OrderAccessBean orderAB) throws ECException, javax.ejb.FinderException, javax.ejb.CreateException, javax.naming.NamingException, java.rmi.RemoteException, java.sql.SQLException
protected java.lang.Long getRequisitionListId()
public AccessVector getResources()
protected void migrateInterestItemsToOrderItems()
public void performExecute() throws ECException
protected void setDefaultRequisitionListStatusAndType()
public void reset()
protected void resolveOrderId() throws ECException
public void setName(java.lang.String name)
public void setRequestProperties(TypedProperty reqProperties) throws ECException
public void setRequisitionListId(java.lang.Long id)
public void setStatus(java.lang.String status)
public void setType(java.lang.String type)
protected void unLockOrder(java.lang.String orderId) throws ECException, javax.ejb.FinderException, javax.ejb.CreateException, javax.naming.NamingException, java.rmi.RemoteException, java.sql.SQLException
protected void resetSkipRepricingPrepareFlagsForOrder() throws java.rmi.RemoteException, javax.naming.NamingException, javax.ejb.FinderException, javax.ejb.CreateException, ECException
protected void prepareShipInfo() throws ECException, javax.ejb.FinderException, javax.ejb.CreateException, javax.naming.NamingException, java.rmi.RemoteException, java.sql.SQLException
protected void updateFulfillmentCenter()
protected void updateShippingInstructions()
protected void buildATPParameters() throws ECException
protected void updateShippingAccountNumber()
protected void updateShippingChargeType()
protected void updateAddressId() throws ECException, javax.ejb.FinderException, javax.ejb.CreateException, javax.naming.NamingException, java.rmi.RemoteException, java.sql.SQLException
protected void updateShipModeId() throws ECException, javax.ejb.FinderException, javax.ejb.CreateException, javax.naming.NamingException, java.rmi.RemoteException, java.sql.SQLException
protected void updateOrderItem(OrderItemAccessBean orderitemAB, java.lang.Integer i) throws ECException, javax.ejb.FinderException, javax.ejb.CreateException, javax.naming.NamingException, java.rmi.RemoteException, java.sql.SQLException
protected void updateOutOrderName()
protected void updatePrice()
protected void updateRequisitionListName() throws ECException
public void validateParameters() throws ECException
It checks whether the request can cause the size of the requisition list, as well as the requested quantity, to exceed business threshold. Then it checks the validation of the following parameter values:
Exception:
protected void validateTradingPaymentMethods()
public java.lang.String getStatus()
public java.lang.String getType()
protected void checkSizeAndQuantity() throws ECException