public class AdminQuoteItemUpdateCmdImpl extends QuoteItemUpdateCmdImpl implements AdminQuoteItemUpdateCmd
Behavior
Modifier and Type | Field and Description |
---|---|
static java.lang.String | CLASS_NAME
The full name of this class.
|
static java.lang.String | COPYRIGHT
IBM copyright notice field.
|
Constructor and Description |
---|
AdminQuoteItemUpdateCmdImpl() |
Modifier and Type | Method and Description |
---|---|
protected void | adminUpdatePrice(OrderItemAccessBean orderitemAB, java.lang.Integer i)
Update the price for an order item.
|
protected java.lang.String | getCurrency(java.lang.Integer i)
Return the currency for enumeration group i.
|
protected java.lang.String | getCurrentOrderId()
current processing order id
|
protected java.lang.Integer | getFulfillmentCenterId(java.lang.Integer i)
Return the fulfillment center id for enumeration group i.
|
protected java.lang.String | getOverrideReasonCode(java.lang.Integer j)
Override Reason Code
|
protected java.lang.String | getPrice(java.lang.Integer i)
Return the price for enumeration group i.
|
protected java.lang.String | getRemark(java.lang.Integer j)
override remark
|
java.lang.Long | getTheUserId()
Returns user id.
|
protected void | notifyBlocker(boolean toBlock, java.lang.String aComment)
notify the order block manager of the override Invokes OrderItemsCmdHelper.notifyBlocker
|
void | reset()
Resets the instance variables.
|
void | setCurrency(java.util.Hashtable ahshCurrency)
Sets the currency.
|
protected void | setCurrentOrderId(java.lang.String anOrderId)
current processing order id
|
void | setForUserId(java.lang.Long aForUserId)
Sets the for user id.
|
void | setFulfillmentCenterId(java.util.Hashtable ahshFulfillmentCenterId)
Sets the fulfillment center id to be stored in OrderItem.
|
void | setNewTradingId(java.lang.Long anTradingId)
Sets the trading id to be stored in OrderItem.
|
void | setPrice(java.util.Hashtable ahshPrice)
Sets the price.
|
void | setRequestProperties(TypedProperty aRequestProperties)
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)
to validate 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 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)
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 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)