public class AdminOrderItemUpdateCOCmdImpl extends OrderItemUpdateCmdImpl implements AdminOrderItemUpdateCOCmd
Name | Description |
---|---|
fulfillmentCenterId_i | Fulfillment center Id related to the enumeration group i, Optional |
price_i | Price related to the enumeration group i, Optional |
currency_i | Currency related to the enumeration group i, Optional, but if price_i is passed, it's mandatory |
overrideReasonCode_i | Price override reason code to the enumeration group i, Optional |
remark_i | Remark to the enumeration group i, Optional |
forUserId | The for User Id, the owner Id of the order, Mandatory |
contractId | The contract Id, the owner Id of the order, Optional |
Modifier and Type | Field and Description |
---|---|
static java.lang.String | CLASS_NAME
The full name of this class.
|
static java.lang.String | COPYRIGHT
The IBM copyright notice field.
|
Constructor and Description |
---|
AdminOrderItemUpdateCOCmdImpl() |
Modifier and Type | Method and Description |
---|---|
protected void | adminUpdatePrice(OrderItemAccessBean orderitemAB, java.lang.Integer i)
This method updates the price for an order item.
|
protected void | captureChangesForBusinessAuditing(OrderItemAccessBean orderitemAB, com.ibm.commerce.order.utils.OrderItemDataPair orderItemChange, java.lang.Integer i)
This method captures changes to items for business event auditing.
|
protected java.lang.String | getCurrency(java.lang.Integer i)
This method returns the currency for enumeration group i.
|
protected java.lang.String | getCurrentOrderId()
This method gets current processing order id
|
java.lang.Long | getForUserId()
This method gets the for user id.
|
protected java.lang.Integer | getFulfillmentCenterId(java.lang.Integer i)
This method returns the fulfillment center id for enumeration group i.
|
java.lang.Long | getNewTradingId()
This method gets the trading id to be stored in OrderItem.
|
protected java.lang.String | getOverrideReasonCode(java.lang.Integer j)
This method gets the price override Reason Code for the enumeration group j
|
protected java.lang.String | getPrice(java.lang.Integer i)
This method returns the price for enumeration group i.
|
protected java.lang.String | getRemark(java.lang.Integer j)
This method gets the price override remark for the enumeration group j
|
java.lang.Long | getTheUserId()
This method returns user id.
|
protected void | notifyBlocker(boolean toBlock, java.lang.String aComment)
This method notifies the order block manager of the override
|
void | reset()
This method resets the instance variables.
|
void | setCurrency(java.util.Hashtable ahshCurrency)
This method sets the currency.
|
protected void | setCurrentOrderId(java.lang.String anOrderId)
This method sets current processing order id
|
void | setForUserId(java.lang.Long aForUserId)
This method sets the for user id.
|
void | setFulfillmentCenterId(java.util.Hashtable ahshFulfillmentCenterId)
This method sets the fulfillment center id to be stored in OrderItem.
|
void | setNewTradingId(java.lang.Long anTradingId)
This method sets the trading id to be stored in OrderItem.
|
void | setPrice(java.util.Hashtable ahshPrice)
This method sets the price.
|
void | setRequestProperties(TypedProperty aRequestProperties)
This method sets the request properties.
|
protected void | updateOrderItem(OrderItemAccessBean orderitemAB, java.lang.Integer i)
It calls the same method in the super class and then call adminUpdatePrice(orderitemAB, i).
|
protected void | updatePrice()
It overwrites the method in the super class and does nothing.
|
protected int | validatePrice(java.lang.Integer i)
Deprecated.
replaced by validatePrice(OrderItemAccessBean, Integer).
|
protected int | validatePrice(OrderItemAccessBean orderitemAB, java.lang.Integer i)
This method validates if the overriding price is valid by calling the OrderItemsCmdHelper.validatePrice
|
public static final java.lang.String COPYRIGHT
public static final java.lang.String CLASS_NAME
protected java.lang.String getCurrency(java.lang.Integer i)
protected java.lang.Integer getFulfillmentCenterId(java.lang.Integer i) throws InvalidParameterValueException
protected java.lang.String getPrice(java.lang.Integer i)
public java.lang.Long getTheUserId()
public void reset()
public void setCurrency(java.util.Hashtable ahshCurrency)
public void setForUserId(java.lang.Long aForUserId)
public java.lang.Long getForUserId()
public void setFulfillmentCenterId(java.util.Hashtable ahshFulfillmentCenterId)
public void setPrice(java.util.Hashtable ahshPrice)
public void setRequestProperties(TypedProperty aRequestProperties) throws ECException
public void setNewTradingId(java.lang.Long anTradingId)
public java.lang.Long getNewTradingId()
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 updatePrice()
protected void adminUpdatePrice(OrderItemAccessBean orderitemAB, java.lang.Integer i) throws ECException, javax.ejb.FinderException, javax.ejb.CreateException, javax.naming.NamingException, java.rmi.RemoteException
protected int validatePrice(java.lang.Integer i) throws ECException
protected int validatePrice(OrderItemAccessBean orderitemAB, java.lang.Integer i) throws ECException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException, java.rmi.RemoteException
protected void notifyBlocker(boolean toBlock, java.lang.String aComment) throws ECException
protected java.lang.String getRemark(java.lang.Integer j)
protected java.lang.String getOverrideReasonCode(java.lang.Integer j)
protected java.lang.String getCurrentOrderId()
protected void setCurrentOrderId(java.lang.String anOrderId)
protected void captureChangesForBusinessAuditing(OrderItemAccessBean orderitemAB, com.ibm.commerce.order.utils.OrderItemDataPair orderItemChange, java.lang.Integer i) throws ECSystemException