java.lang.Object | +--CacheableCommandImpl | +--com.ibm.commerce.command.AbstractECTargetableCommand | +--com.ibm.commerce.command.ControllerCommandImpl | +--com.ibm.commerce.orderitems.commands.OrderItemBaseCmdImpl
This is the base class for OrderItemAdd and OrderItemUpdate. This command calls the following TaskCommands:
SetOrderOrganizationCmd
ResolveSkuCmd
AddOrderItemComponentsCmd
GetContractUnitPriceCmd
ResolveFulfillmentCenterCmd
ExtendOrderItemProcessCmd
OrderAccessBean
OrderItemAccessBean
CatalogEntryAccessBean
CatalogEntryShippingAccessBean
BaseItemAccessBean
ItemSpecificationAccessBean
CompositeCatalogEntryAccessBean
PackageAccessBean
AddressAccessBean
UserAccessBean
InterestItemAccessBean
InterestItemListAccessBean
OrderItemComponentAccessBean
ShippingModeAccessBean
StoreAccessBean
Field Summary | |
---|---|
protected
CatalogEntryAccessBean |
cachedCurrentCatEntryAB Deprecated. |
protected
static java.lang.String |
CONTINUE_FALSE Deprecated. |
protected
static java.lang.String |
CONTINUE_TRUE Deprecated. |
static java.lang.String |
COPYRIGHT IBM copyright notice field. |
static int |
GENERATED_ORDERITEM Deprecated. |
protected
ATPParameters |
iATPParms ATP parameters. |
protected
boolean |
iCommandExecuted Deprecated. |
protected
java.lang.String |
iContinue Input parameter: continue. |
protected
java.util.Hashtable |
ihsATPParmsDefaults ATP parameter defaults. |
protected
java.util.Hashtable |
ihsCatalogEntryAccessBeans A list of cached catalog entry access beans. |
protected
java.util.Hashtable |
ihshAddress_id Input parameter: addressId. |
protected
java.util.Hashtable |
ihshAttr_name Input parameter: attrName. |
protected
java.util.Hashtable |
ihshAttr_value Input parameter: attrValue. |
protected
java.util.Hashtable |
ihshCatentry_id Input parameter: catEntryId. |
protected
java.util.Hashtable |
ihshComment Input parameter: comment. |
protected
java.util.Hashtable |
ihshConfigurationId Input parameter: configurationId. |
protected
java.util.Hashtable |
ihshContract_id Input parameter: contractId. |
protected
java.util.Hashtable |
ihshCorrelationGroup Input parameter: correlationGroup. |
protected
java.util.Hashtable |
ihshDescription Input parameter: description. |
protected
java.util.Hashtable |
ihshExpandConfigurationId Input parameter: expandConfigurationId. |
protected
java.util.Hashtable |
ihshField1 Input parameter: field1. |
protected
java.util.Hashtable |
ihshField2 Input parameter: field2. |
protected
java.util.Hashtable |
ihshKey Keys contains all enumeration group. |
protected
java.util.Hashtable |
ihshMember_id Input parameter: memberId. |
protected
java.util.Hashtable |
ihshOffer_id Input parameter: offerId. |
protected
java.util.Hashtable |
ihshOrderitem_id Input parameter: orderItemId. |
protected
java.util.Hashtable |
ihshOrderResourceList Resource list for orders. |
protected
java.util.Hashtable |
ihshOutOrderItemId Out order item ids. |
protected
java.util.Hashtable |
ihshPart_number Input parameter: partNumber. |
protected
java.util.Hashtable |
ihshQuantity Input parameter: quantity. |
protected
java.util.Hashtable |
ihshShipmode_id Input parameter: shipModeId. |
protected
java.util.Hashtable |
ihshStoreResourceList Resource list for stores. |
protected
java.util.Hashtable |
ihshUom Input parameter: UOM. |
protected
java.lang.String[] |
iList_id Input parameter: listId. |
protected
java.lang.Long |
iList_order_id Order id for newly created order when listId is specified. |
protected
java.lang.String |
iNew_order_id Order id for newly created order. |
protected
boolean |
iNewQuantity Keeps track of quanity changes or if new order item is inserted. |
protected
java.lang.Long |
inItemSpecId Instance variable. |
protected
java.lang.String |
iOrder_desc Input parameter: orderDesc. |
protected
java.lang.String |
iOrderComment Input parameter: orderComment. |
protected
TypedProperty |
iOrderIdProperty Order id list. |
protected
java.util.Hashtable |
iOrderItemIndex A map from order item id to the enumeration group i. |
protected
java.lang.String[] |
iOut_order_name Input parameter: outOrderName. |
protected
java.lang.String[] |
iOut_orderitem_name Input parameter: outOrderItemName. |
protected
java.util.Vector |
iResolvedOrderIdList Resolved order id list. |
protected
TypedProperty |
iResolvedRequestProperties Resolved request properties used by user traffic. |
protected
AccessVector |
iResourcelist Resource list. |
protected
java.lang.Long |
iSavedItemSpecId ItemspcId. |
protected
java.util.Set |
isetDeletedOrderitemIds Deleted order item id set. |
protected
java.util.Hashtable |
iUniqueOrderIdList Unique order id list. |
protected
java.util.Hashtable |
iUniqueOrderitemIdList Unique order item id list. |
protected
java.util.Hashtable |
iUniqueStoreIdList Unique store id list. |
protected
java.lang.String[] |
iValidInputPOrderValues Instance variable. |
protected
java.util.Vector |
ivecComponentList Instance variable. |
static int |
MANUAL_FULFILLMENT_CENTER Deprecated. |
static int |
MANUAL_PRICE Deprecated. |
static int |
NORMAL_ORDERITEM Deprecated. |
protected
static int |
QUOTATION_ORDERITEM Deprecated. |
protected
static java.lang.String |
STR_ADDRESS_ID Deprecated. |
protected
static java.lang.String |
STR_ATTR_NAME Deprecated. |
protected
static java.lang.String |
STR_ATTR_VALUE Deprecated. |
protected
static java.lang.String |
STR_CATENTRY_ID Deprecated. |
protected
static java.lang.String |
STR_COMMENT Deprecated. |
protected
static java.lang.String |
STR_CONFIGURATION_ID Deprecated. |
protected
static java.lang.String |
STR_CONTINUE Deprecated. |
protected
static java.lang.String |
STR_CONTRACT_ID Deprecated. |
protected
static java.lang.String |
STR_CORRELATION_GROUP Deprecated. |
protected
static java.lang.String |
STR_DESCRIPTION Deprecated. |
protected
static java.lang.String |
STR_EXPAND_CONFIGURATION_ID Deprecated. |
protected
static java.lang.String |
STR_FIELD1 Deprecated. |
protected
static java.lang.String |
STR_FIELD2 Deprecated. |
static java.lang.String |
STR_INVALID_INPUT_ERROR_VIEW The invalid input error view. |
protected
static java.lang.String |
STR_LIST_ID Deprecated. |
protected
static java.lang.String |
STR_MEMBER_ID Deprecated. |
protected
static java.lang.String |
STR_OFFER_ID Deprecated. |
protected
static java.lang.String |
STR_ORDER_COMMENT Deprecated. |
protected
static java.lang.String |
STR_ORDER_DESC Deprecated. |
protected
static java.lang.String |
STR_ORDER_ID Deprecated. |
protected
static java.lang.String |
STR_ORDERITEM_ID Deprecated. |
protected
static java.lang.String |
STR_OUT_ORDER_NAME Deprecated. |
protected
static java.lang.String |
STR_OUT_ORDERITEM_NAME Deprecated. |
protected
static java.lang.String |
STR_PART_NUMBER Deprecated. |
protected
static java.lang.String |
STR_QUANTITY Deprecated. |
protected
static java.lang.String |
STR_SHIPMODE_ID Deprecated. |
protected
static java.lang.String |
STR_STORE_ID Deprecated. |
protected
static java.lang.String |
STR_UOM Deprecated. |
Fields inherited from class com.ibm.commerce.command. ControllerCommandImpl |
requestProperties,
responseProperties,
retriable,
viewReqProperties |
Fields inherited from class com.ibm.commerce.command. AbstractECTargetableCommand |
commandContext |
Fields inherited from interface com.ibm.commerce.orderitems.commands. OrderItemAddCmd |
badPartNumberErrorView,
badPartNumberList,
badPartNumberQuantityList,
defaultCommandClassName,
goodPartNumberList,
goodPartNumberQuantityList,
multiplePartNumberCatalogEntriesList,
multiplePartNumberList,
multiplePartNumberQuantityList,
NAME |
Fields inherited from interface com.ibm.commerce.orderitems.commands. OrderItemUpdateCmd |
defaultCommandClassName,
NAME |
Constructor Summary | |
---|---|
OrderItemBaseCmdImpl() |
Method Summary | |
---|---|
protected
void |
checkBuyable(java.lang.Long catentry_id) Checks whether the catalog entry is buyable and available in the store. |
protected
void |
checkProductEntitlement(java.lang.Long catentry_id,
java.lang.Long member_id) Checks whether the user is entitled to buy this product. |
protected
void |
checkValidStatus(
OrderAccessBean orderAB) Checks whether the status of the order is valid when you modify the order. |
protected
java.lang.String |
createOrder() Creates a new order. |
protected
OrderItemAccessBean |
createOrderItem(java.lang.Integer i, java.lang.Long catentry_id,
java.lang.String orderId) Create an order item. |
protected
java.lang.Long |
getAddressId(java.lang.Integer i) Gets the input parameter addressId with enumeration group i. |
ATPParameters |
getATPParms() Gets the input ATP parameters. |
protected
java.util.Hashtable |
getAttributeNVP(java.lang.Integer i) Gets the input parameter attrName_i and attrValue_i and puts them into a hashtable. |
protected
CatalogEntryAccessBean |
getCatalogEntryAccessBean(java.lang.String astrCatalogEntry) Get the catalog entry access bean from a cached hashtable. |
protected
java.lang.Long |
getCatEntryId(java.lang.Integer i) Gets the input parameter catEntryId with enumeration group i. |
protected
java.lang.String |
getComment(java.lang.Integer i) Gets the input parameter comment with enumeration group i. |
protected
java.lang.String |
getConfigurationId(java.lang.Integer i) Gets the input parameter configurationId with enumeration group i. |
protected
java.lang.String |
getContinue() Gets the input parameter continue. |
protected
java.lang.Long[] |
getContractId(java.lang.Integer i) Gets the input parameter contarctId with enumeration group i. |
protected
java.lang.Long |
getCorrelationGroup(java.lang.Integer i) Gets the input parameter correlationGroup with enumeration group i. |
java.util.Set |
getDeletedOrderItemIds() Returns a Set of (String) identifiers of deleted OrderItems. |
protected
java.lang.String |
getDescription(java.lang.Integer i) Gets the input parameter Description with enumeration group i. |
protected
java.lang.String |
getExpandConfigurationId(java.lang.Integer i) Gets the input parameter expandConfigurationId with enumeration group i. |
protected
java.lang.Integer |
getField1(java.lang.Integer i) Gets the input parameter field1 with enumeration group i. |
protected
java.lang.String |
getField2(java.lang.Integer i) Gets the input parameter field2 with enumeration group i. |
protected
java.lang.Long |
getItemSpecId() Gets the itemSpecId. |
protected
java.lang.Long |
getMemberId(java.lang.Integer i) Gets the input parameter memberId with enumeration group i. |
java.lang.Long |
getNewOrderId() Gets the id of the newly created order. |
java.util.Hashtable |
getNewOrderItemIds() Returns a Hashtable whose (String) values are identifiers of newly created OrderItems. |
protected
java.lang.Long[] |
getOfferId(java.lang.Integer i) Gets the input parameter offerId with enumeration group i. |
protected
java.lang.String |
getOrderComment() Gets the input parameter OrderComment. |
protected
java.lang.String |
getOrderDesc() Gets the input parameter OrderDesc. |
protected
java.lang.String[] |
getOrderId() Gets the resolved order ids. |
java.lang.String[] |
getOrderIds() Return a list of order ids which are touched or created by the command. |
protected
java.lang.Long |
getOrderItemId(java.lang.Integer i) Gets the input parameter orderItemId with enumeration group i. |
java.lang.String[] |
getOrderItemIds() Return a list of order item ids which are created or updated by the command. |
protected
java.lang.String |
getPartNumber(java.lang.Integer i) Gets the input parameter partNumber with enumeration group i. |
protected
java.lang.Double |
getQuantity(java.lang.Integer i) Gets the input parameter quantity with enumeration group i. |
protected
java.util.Vector |
getResolvedOrderId() Gets the list of resolved order id. |
TypedProperty |
getResolvedRequestProperties() Gets the resolved request properties. |
AccessVector |
getResources() Gets the resources. |
protected
QuantityAmount |
getRoundedQuantityAmount(java.lang.Long catentry_id,
java.lang.Double quantity) Returns a rounded quantity amount based on the catalog entry. |
protected
java.lang.Integer |
getShipModeId(java.lang.Integer i) Gets the input parameter shipModeId with enumeration group i. |
UserAccessBean |
getTheUser() Returns super.getUser(). |
java.lang.Long |
getTheUserId() Returns super.getUserId(). |
protected
java.lang.Long[] |
getTradingId(java.lang.Integer i) Gets the input parameter contractId with enumeration group i. |
protected
java.util.Hashtable |
getUniqueOrderId() Returns a Hashtable whose (String) keys are identifiers of created or updated Orders. |
protected
java.util.Hashtable |
getUniqueOrderItemId() Returns a Hashtable whose (String) keys are identifiers of created or updated OrderItems. |
protected
java.lang.String |
getUOM(java.lang.Integer i) Gets the input parameter UOM with enumeration group i. |
protected
void |
insertAddressId(
OrderItemAccessBean orderitemAB, java.lang.Integer i) Deprecated. |
protected
void |
insertItemSpecId(
OrderItemAccessBean orderitemAB) Inserts an item spec id to the order item. |
protected
void |
insertOrderItem(java.lang.Integer i,
java.lang.Long catentry_id) Inserts a new order item to each resolved orders. |
protected
void |
insertOrderItem(
InterestItemAccessBean iitemAB) Creates a new order item based on the interest item and insert into the order. |
protected
void |
insertOrderItems(java.lang.Integer i,
java.lang.String expandConfigurationId) Insert order items based on the expandConfigurationId parameter. |
protected
void |
insertPartNumber(
OrderItemAccessBean orderitemAB, java.lang.Integer i) Inserts the part number to the order item. |
protected
void |
invalidateAllocation(
OrderItemAccessBean aabOI) Invalidate the allocation for the order item. |
protected
void |
migrateInterestItemsToOrderItems() Migrate all interest items to order items when listId is specified. |
protected
void |
orderItemAdd(java.lang.Integer i) Add order item for enumeration group i. |
protected
void |
orderItemUpdate(java.lang.Integer i) Update order item for enumeration group i. |
void |
performExecute() For each enumeration group i: It checks whether the parameters orderItemId_i, expandConfigurationId_i, partNumber_i or catEntryId_i are specified. The order of precedence is: orderItemId_i, expandConfigurationId_i, partNumber_i and catEntryId_i. |
void |
reset() reset all instance variables. |
protected
void |
resolveOrderId() Resolves order ids by calling MiscCmd.getListOfPendingOrders(). |
protected
java.lang.Long |
resolveSku(java.lang.Integer i,
java.lang.Long catentry_id) It calls ResolveSkuCmd to resolve the sku and calls checkBuyable(). |
void |
setAddressId(java.util.Hashtable ahshAddress_id) Set the address id parameters (optional). |
void |
setATPParms(
ATPParameters newATPParms) Set the ATP parameters. |
void |
setAttrName(java.util.Hashtable ahshAttr_name) Set the attribute name parameters (optional). |
void |
setAttrValue(java.util.Hashtable ahshAttr_value) Set the attribute value parameters (optional). |
void |
setCatEntryId(java.util.Hashtable ahshCatentry_id) Set the attribute name parameters. |
void |
setComment(java.util.Hashtable ahshComment) Set the comment parameters (optional). |
void |
setConfigurationId(java.util.Hashtable ahshConfigurationId) Set the configurationId parameter. |
void |
setContinue(java.lang.String aContinue) Set the continue parameter (optional). |
void |
setContractId(java.util.Hashtable ahshContract_id) Set the contract id parameters (optional). |
void |
setCorrelationGroup(java.util.Hashtable ahshCorrelationGroup) Set the correlation group parameters. |
void |
setDescription(java.util.Hashtable ahshDescription) Set the description parameters (optional). |
void |
setExpandConfigurationId(java.util.Hashtable ahshExpandConfigurationId) Set the expandConfigurationId parameter. |
void |
setField1(java.util.Hashtable ahshField1) Set the field1 parameters (optional). |
void |
setField2(java.util.Hashtable ahshField2) Set the field2 parameters (optional). |
protected
void |
setItemSpecId(java.lang.Long anItemSpecId) Sets the ItemSpecId |
void |
setListId(java.lang.String[] aList_id) Set the interest item list id parameters (optional). |
void |
setMemberId(java.util.Hashtable ahshMember_id) Set the member id parameters (optional). |
void |
setOfferId(java.util.Hashtable ahshOffer_id) Set the offer id parameters (optional). |
void |
setOrderComment(java.lang.String aOrderComment) Set the Order comment parameter (optional). |
void |
setOrderDesc(java.lang.String aOrder_desc) Set the Order description parameter (optional). |
void |
setOrderId(java.lang.String[] aOrder_id) Set the order id parameters (optional). |
void |
setOrderItemId(java.util.Hashtable ahshOrderitem_id) Set the order item ids for which to update. |
void |
setOutOrderItemName(java.lang.String[] aOut_orderitem_name) Set the out order item name parameters (optional). |
void |
setOutOrderName(java.lang.String[] aOut_order_name) Set the out order name parameters (optional). |
void |
setPartNumber(java.util.Hashtable ahshPart_number) Set the part number parameters (optional). |
void |
setQuantity(java.util.Hashtable ahshQuantity) Set the quantity parameters. |
void |
setQuantity(java.lang.Integer i,
java.lang.Double aQuantity) Set the quantity parameters. |
void |
setRequestProperties(
TypedProperty aRequestProperties) Sets the request properties. |
protected
void |
setResolvedOrderId(java.util.Vector resolvedOrderIdList) Set the resolved id parameters. |
void |
setShipmodeId(java.util.Hashtable ahshShipmode_id) Set the ship mode id parameters (optional). |
void |
setTradingId(java.util.Hashtable ahshTrading_id) Set the trading id parameters (optional). |
void |
setUom(java.util.Hashtable ahshUom) Set the unit of measure parameters (optional). |
protected
void |
unLockOrder(java.lang.String orderId) Unlocks the order. |
protected
void |
updateAddressId() Update the shipping address for the all touched order items. |
protected
void |
updateAddressId(
OrderItemAccessBean orderitemAB, java.lang.Integer i) Deprecated. |
protected
void |
updateAddressId(java.util.Vector orderItems) Updates the address for the order item. |
protected
void |
updateAllShippingAndAddress() It calls updateShippingAndAddress() to update the shipping address and shipping mode for each order item. |
protected
void |
updateComponentList(
OrderItemAccessBean orderitemAB, java.lang.Integer i) Updates the component list for the order item. |
protected
void |
updateCorrelationGroup(
OrderItemAccessBean orderitemAB, java.lang.Integer i) Updates the correlation group for the order item. |
protected
void |
updateCurrency(
OrderAccessBean orderAB) Updates the currency for the order. |
protected
void |
updateFulfillmentCenter() Updates the fulfillment centers and checks for available inventory for all order items modified or created. |
protected
void |
updateItemSpecId(
OrderItemAccessBean orderitemAB) Updates the item spec id for the order item. |
protected
void |
updateOrder() Updates order related information. |
protected
void |
updateOrderItem(java.lang.Integer i,
java.lang.Long orderitem_id) Deprecated. |
protected
void |
updateOrderItem(
OrderItemAccessBean orderitemAB, java.lang.Integer i) Updates the order item. |
protected
void |
updateOutOrderItemId() Adds the ids of the newly created order items to the response properties with key being the input parameter value of outOrderItemName concatenated with "_i" and the value being the id of the order item. |
protected
void |
updateOutOrderItemName() Adds the ids of the created and updated order items to the response properties with key being the input parameter value of outOrderItemName and the value being the String array of order item ids. |
protected
void |
updateOutOrderName() Adds the ids of the created and updated orders to the response properties with key being the input parameter value of outOrderName and the value being the String array of order ids. |
protected
void |
updatePrice() Calculates the best price for the all touched order items. |
protected
void |
updatePrice(
OrderItemAccessBean orderitemAB, java.lang.Integer i) Deprecated. |
protected
void |
updatePrice(java.util.Vector orderItems,
java.lang.String currency) Calculates the best price for the input orderitems. |
protected
boolean |
updateQuantity(
OrderItemAccessBean orderitemAB, java.lang.Integer i) Updates the quantity for the order item. |
protected
void |
updateResourceList() Updates the resources list. |
protected
void |
updateShipModeId() Update the shipping modes for the all touched order items. |
protected
void |
updateShipModeId(
OrderItemAccessBean orderitemAB, java.lang.Integer i) Deprecated. |
protected
void |
updateShipModeId(java.util.Vector orderItems) Updates the shipping mode id for all order items. |
protected
void |
updateShippingAndAddress(
OrderItemAccessBean orderitemAB, java.lang.Integer i) It calls updateAddressId() and updateShipModeId() to update the shipping address and shipping mode for the order item. |
void |
validateParameters() Verify the input parameters. |
protected
void |
validateTradingPaymentMethods() Validate the trading agreements used by the orderitems in an order by checking if they define compatible payment methods and are associated with the same account as the other orderitems in the order. |
Methods inherited from class com.ibm.commerce.command. ControllerCommandImpl |
checkPermission,
fulfills,
getForUserId,
getGeneric,
getOwner,
getRequestProperties,
getResourceOwners,
getResponseProperties,
getRetriable,
getViewInputProperties,
isGeneric,
isRetriable,
mergeProperties,
setForUserId,
setGeneric,
setOwner,
setResponseProperties,
setRetriable,
setViewInputProperties |
Methods inherited from class com.ibm.commerce.command. AbstractECTargetableCommand |
accessControlCheck,
checkIsAllowed,
checkParameters,
checkResourcePermission,
createCommandExecutionEvent,
execute,
finalize,
getAccCheck,
getCommandContext,
getCommandIfName,
getCommandName,
getCommandStoreId,
getDefaultProperties,
getStoreId,
getUser,
getUserId,
isReadyToCallExecute,
setAccCheck,
setCommandContext,
setCommandIfName,
setCommandStoreId,
setDefaultProperties |
Methods inherited from class java.lang.Object |
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait,
wait, wait |
Methods inherited from interface com.ibm.commerce.command. ControllerCommand |
checkPermission,
execute,
getGeneric,
getRequestProperties,
getResponseProperties,
getRetriable,
getViewInputProperties,
isGeneric,
isRetriable,
mergeProperties,
setGeneric,
setRetriable,
setViewInputProperties |
Methods inherited from interface com.ibm.commerce.command. AccCommand |
accessControlCheck,
getAccCheck,
getForUserId,
getResourceOwners,
setAccCheck,
setForUserId,
setOwner |
Methods inherited from interface com.ibm.commerce.command. ECCommand |
checkIsAllowed,
checkResourcePermission,
createCommandExecutionEvent,
getCommandContext,
getCommandIfName,
getCommandName,
getCommandStoreId,
getDefaultProperties,
getStoreId,
getUser,
getUserId,
setCommandContext,
setCommandIfName,
setCommandStoreId,
setDefaultProperties |
Field Detail |
---|
public static final java.lang.String COPYRIGHT
protected static final java.lang.String STR_STORE_ID
protected static final java.lang.String STR_ORDERITEM_ID
protected static final java.lang.String STR_CATENTRY_ID
protected static final java.lang.String STR_PART_NUMBER
protected static final java.lang.String STR_MEMBER_ID
protected static final java.lang.String STR_ATTR_NAME
protected static final java.lang.String STR_ATTR_VALUE
protected static final java.lang.String STR_QUANTITY
protected static final java.lang.String STR_ADDRESS_ID
protected static final java.lang.String STR_SHIPMODE_ID
protected static final java.lang.String STR_COMMENT
protected static final java.lang.String STR_FIELD1
protected static final java.lang.String STR_FIELD2
protected static final java.lang.String STR_CONTRACT_ID
protected static final java.lang.String STR_OFFER_ID
protected static final java.lang.String STR_UOM
protected static final java.lang.String STR_ORDER_ID
protected static final java.lang.String STR_OUT_ORDER_NAME
protected static final java.lang.String STR_OUT_ORDERITEM_NAME
protected static final java.lang.String STR_ORDER_DESC
protected static final java.lang.String STR_LIST_ID
protected static final java.lang.String STR_DESCRIPTION
protected static final java.lang.String STR_CONFIGURATION_ID
protected static final java.lang.String STR_CORRELATION_GROUP
public static final int NORMAL_ORDERITEM
public static final int GENERATED_ORDERITEM
public static final int MANUAL_PRICE
public static final int MANUAL_FULFILLMENT_CENTER
protected static final java.lang.String CONTINUE_TRUE
protected static final java.lang.String CONTINUE_FALSE
protected static final int QUOTATION_ORDERITEM
protected static final java.lang.String STR_CONTINUE
protected static final java.lang.String STR_EXPAND_CONFIGURATION_ID
protected static final java.lang.String STR_ORDER_COMMENT
public static final java.lang.String STR_INVALID_INPUT_ERROR_VIEW
protected java.lang.String[] iValidInputPOrderValues
protected java.lang.Long inItemSpecId
protected java.util.Vector ivecComponentList
protected java.util.Hashtable ihshOrderitem_id
protected java.util.Hashtable ihshCatentry_id
protected java.util.Hashtable ihshPart_number
protected java.util.Hashtable ihshMember_id
protected java.util.Hashtable ihshAttr_name
protected java.util.Hashtable ihshAttr_value
protected java.util.Hashtable ihshQuantity
protected java.util.Hashtable ihshAddress_id
protected java.util.Hashtable ihshShipmode_id
protected java.util.Hashtable ihshComment
protected java.util.Hashtable ihshDescription
protected java.util.Hashtable ihshField1
protected java.util.Hashtable ihshField2
protected java.util.Hashtable ihshContract_id
protected java.util.Hashtable ihshOffer_id
protected java.util.Hashtable ihshUom
protected java.util.Hashtable ihshCorrelationGroup
protected java.lang.String[] iOut_order_name
protected java.lang.String[] iOut_orderitem_name
protected java.lang.String iOrder_desc
protected java.lang.String[] iList_id
protected java.lang.Long iList_order_id
protected java.lang.String iNew_order_id
protected java.util.Hashtable ihshKey
protected boolean iCommandExecuted
protected boolean iNewQuantity
protected ATPParameters iATPParms
protected java.util.Hashtable ihsATPParmsDefaults
protected java.util.Hashtable ihshConfigurationId
protected java.util.Hashtable ihshOrderResourceList
protected java.util.Hashtable ihshStoreResourceList
protected AccessVector iResourcelist
protected java.util.Hashtable ihshOutOrderItemId
protected CatalogEntryAccessBean cachedCurrentCatEntryAB
protected java.util.Hashtable ihsCatalogEntryAccessBeans
protected java.util.Hashtable iOrderItemIndex
protected java.lang.String iContinue
protected java.util.Hashtable ihshExpandConfigurationId
protected java.lang.String iOrderComment
protected java.lang.Long iSavedItemSpecId
protected TypedProperty iResolvedRequestProperties
protected TypedProperty iOrderIdProperty
protected java.util.Vector iResolvedOrderIdList
protected java.util.Hashtable iUniqueOrderIdList
protected java.util.Hashtable iUniqueOrderitemIdList
protected java.util.Set isetDeletedOrderitemIds
protected java.util.Hashtable iUniqueStoreIdList
Constructor Detail |
---|
public OrderItemBaseCmdImpl()
Method Detail |
---|
protected void checkBuyable(java.lang.Long catentry_id) throws ECException, FinderException, CreateException, javax.naming.NamingException, java.rmi.RemoteException, java.sql.SQLException
catentry_id
- catalog entry id.ECException
- it throws ECApplicationException with message key _ERR_PROD_NOT_ORDERABLE if
the product is not buyable. it throws ECApplicationException with message key
_ERR_CATENTRY_NOT_EXISTING_IN_STORE if the product is not available in the
store.FinderException
CreateException
javax.naming.NamingException
java.rmi.RemoteException
java.sql.SQLException
protected void checkProductEntitlement(java.lang.Long catentry_id, java.lang.Long member_id) throws ECException, FinderException, CreateException, javax.naming.NamingException, java.rmi.RemoteException, java.sql.SQLException
catentry_id
- catalog entry id.member_id
- member id.
ECApplicationException
- with message key _ERR_PS_ENTRY_INVALID if
the user is not entitled to buy this product.FinderException
CreateException
javax.naming.NamingException
java.rmi.RemoteException
java.sql.SQLException
ECException
protected void checkValidStatus(OrderAccessBean orderAB) throws ECException, FinderException, CreateException, javax.naming.NamingException, java.rmi.RemoteException, java.sql.SQLException
orderAB
- OrderAccessBean.
ECApplicationException
- with message key _ERR_ORDER_WRONG_STATUS if
the status is not valid.FinderException
CreateException
javax.naming.NamingException
java.rmi.RemoteException
java.sql.SQLException
ECException
protected java.lang.String createOrder() throws ECException, FinderException, CreateException, javax.naming.NamingException, java.rmi.RemoteException, java.sql.SQLException
ECException
FinderException
CreateException
javax.naming.NamingException
java.rmi.RemoteException
java.sql.SQLException
protected OrderItemAccessBean createOrderItem(java.lang.Integer i, java.lang.Long catentry_id, java.lang.String orderId) throws ECException, FinderException, CreateException, javax.naming.NamingException, java.rmi.RemoteException, java.sql.SQLException
i
- enumeration groupcatentry_id
- catalog entry id.orderId
- order id.ECException
FinderException
CreateException
javax.naming.NamingException
java.rmi.RemoteException
java.sql.SQLException
protected java.lang.Long getAddressId(java.lang.Integer i) throws InvalidParameterValueException
i
- enumeration group
InvalidParameterValueException
- if the input addressId_i is not a
valid number.public ATPParameters getATPParms()
protected java.util.Hashtable getAttributeNVP(java.lang.Integer i) throws InvalidParameterValueException
i
- enumeration group
InvalidParameterValueException
- if the input attrName_i is not a
valid number.protected CatalogEntryAccessBean getCatalogEntryAccessBean(java.lang.String astrCatalogEntry) throws java.rmi.RemoteException, javax.naming.NamingException, FinderException, CreateException
astrCatalogEntry
- catalog entry id.FinderException
CreateException
javax.naming.NamingException
java.rmi.RemoteException
protected java.lang.Long getCatEntryId(java.lang.Integer i) throws InvalidParameterValueException
i
- enumeration group
InvalidParameterValueException
- if the input catEntryId_i is not a
valid number.protected java.lang.String getComment(java.lang.Integer i)
i
- enumeration groupprotected java.lang.String getConfigurationId(java.lang.Integer i)
i
- enumeration groupprotected java.lang.String getContinue()
protected java.lang.Long[] getContractId(java.lang.Integer i) throws InvalidParameterValueException
i
- enumeration group
InvalidParameterValueException
- if the input contractId_i is not a
valid number.protected java.lang.Long getCorrelationGroup(java.lang.Integer i) throws InvalidParameterValueException
i
- enumeration group.
InvalidParameterValueException
- if the input correlationGroup_i is
not a valid number.protected java.lang.String getDescription(java.lang.Integer i)
i
- enumeration groupprotected java.lang.String getExpandConfigurationId(java.lang.Integer i)
i
- enumeration groupprotected java.lang.Integer getField1(java.lang.Integer i) throws InvalidParameterValueException
i
- enumeration group
InvalidParameterValueException
- if the input field1_i is not a
valid number.protected java.lang.String getField2(java.lang.Integer i)
i
- enumeration groupprotected java.lang.Long getItemSpecId()
protected java.lang.Long getMemberId(java.lang.Integer i) throws InvalidParameterValueException
i
- enumeration group
InvalidParameterValueException
- if the input memberId_i is not a
valid number.public java.lang.Long getNewOrderId()
public java.util.Hashtable getNewOrderItemIds()
getNewOrderItemIds
in interface
OrderItemUpdateCmd
protected java.lang.Long[] getOfferId(java.lang.Integer i) throws InvalidParameterValueException
i
- enumeration group
InvalidParameterValueException
- if the input offerId_i is not a
valid number.protected java.lang.String getOrderComment()
protected java.lang.String getOrderDesc()
protected java.lang.String[] getOrderId() throws ECException
ECException
public java.lang.String[] getOrderIds()
getOrderIds
in interface
OrderItemAddCmd
protected java.lang.Long getOrderItemId(java.lang.Integer i) throws InvalidParameterValueException
i
- enumeration group
InvalidParameterValueException
- if the input orderItemId_i is not a
valid number.public java.lang.String[] getOrderItemIds()
getOrderItemIds
in interface
OrderItemAddCmd
protected java.lang.String getPartNumber(java.lang.Integer i)
i
- enumeration groupprotected java.lang.Double getQuantity(java.lang.Integer i) throws InvalidParameterValueException
i
- enumeration group
InvalidParameterValueException
- if the input quantity_i is not a
valid number.protected java.util.Vector getResolvedOrderId()
public TypedProperty getResolvedRequestProperties()
getResolvedRequestProperties
in interface
ControllerCommand
getResolvedRequestProperties
in class
ControllerCommandImpl
public AccessVector getResources()
getResources
in interface
ECCommand
getResources
in class
AbstractECTargetableCommand
protected QuantityAmount getRoundedQuantityAmount(java.lang.Long catentry_id, java.lang.Double quantity) throws ECException
catentry_id
- catalog entry id.
ECSystemException
- with ECMessage key _ERR_NUMBER_FORMAT_EXCEPTION
if createRoundedQuantityAmount() throws an exception.ECException
protected java.lang.Integer getShipModeId(java.lang.Integer i) throws InvalidParameterValueException
i
- enumeration group
InvalidParameterValueException
- if the input shipModeId_i is not a
valid number.public UserAccessBean getTheUser() throws ECSystemException
ECSystemException
- if super.getUser() throws
ECSystemException.public java.lang.Long getTheUserId()
protected java.lang.Long[] getTradingId(java.lang.Integer i) throws InvalidParameterValueException
i
- enumeration group
InvalidParameterValueException
- if the input contractId_i is not a
valid number.protected java.util.Hashtable getUniqueOrderId()
protected java.util.Hashtable getUniqueOrderItemId()
public java.util.Set getDeletedOrderItemIds()
getDeletedOrderItemIds
in interface
OrderItemUpdateCmd
protected java.lang.String getUOM(java.lang.Integer i)
i
- enumeration groupprotected void insertAddressId(OrderItemAccessBean orderitemAB, java.lang.Integer i)
orderitemAB
- OrderItemAccessBeani
- enumeration groupprotected void insertItemSpecId(OrderItemAccessBean orderitemAB) throws ECException
orderitemAB
- OrderItemAccessBeanECException
protected void insertOrderItem(InterestItemAccessBean iitemAB) throws ECException, FinderException, CreateException, javax.naming.NamingException, java.rmi.RemoteException, java.sql.SQLException
iitemAB
- InterestItemAccessBeanECException
FinderException
CreateException
javax.naming.NamingException
java.rmi.RemoteException
java.sql.SQLException
protected void insertOrderItem(java.lang.Integer i, java.lang.Long catentry_id) throws ECException, FinderException, CreateException, javax.naming.NamingException, java.rmi.RemoteException, java.sql.SQLException
i
- enumeration groupcatentry_id
- catalog entry id.ECException
FinderException
CreateException
javax.naming.NamingException
java.rmi.RemoteException
java.sql.SQLException
protected void insertOrderItems(java.lang.Integer i, java.lang.String expandConfigurationId) throws ECException, FinderException, CreateException, javax.naming.NamingException, java.rmi.RemoteException, java.sql.SQLException
i
- enumeration groupexpandConfigurationId
- expand configuration idECException
FinderException
CreateException
javax.naming.NamingException
java.rmi.RemoteException
java.sql.SQLException
protected void insertPartNumber(OrderItemAccessBean orderitemAB, java.lang.Integer i) throws ECException, FinderException, CreateException, javax.naming.NamingException, java.rmi.RemoteException, java.sql.SQLException
orderitemAB
- OrderItemAccessBeani
- enumeration groupECException
FinderException
CreateException
javax.naming.NamingException
java.rmi.RemoteException
java.sql.SQLException
protected void invalidateAllocation(OrderItemAccessBean aabOI) throws ECException, FinderException, CreateException, javax.naming.NamingException, java.rmi.RemoteException, java.sql.SQLException
aabOI
- OrderItemAccessBeanECException
FinderException
CreateException
javax.naming.NamingException
java.rmi.RemoteException
java.sql.SQLException
protected void migrateInterestItemsToOrderItems() throws ECException, FinderException, CreateException, javax.naming.NamingException, java.rmi.RemoteException, java.sql.SQLException
ECException
FinderException
CreateException
javax.naming.NamingException
java.rmi.RemoteException
java.sql.SQLException
protected void orderItemAdd(java.lang.Integer i) throws ECException, FinderException, CreateException, javax.naming.NamingException, java.rmi.RemoteException, java.sql.SQLException
i
- enumeration group.ECException
FinderException
CreateException
javax.naming.NamingException
java.rmi.RemoteException
java.sql.SQLException
protected void orderItemUpdate(java.lang.Integer i) throws ECException, FinderException, CreateException, javax.naming.NamingException, java.rmi.RemoteException, java.sql.SQLException
i
- enumeration group.ECException
FinderException
CreateException
javax.naming.NamingException
java.rmi.RemoteException
java.sql.SQLException
public void performExecute() throws ECException
performExecute
in interface
ECCommand
performExecute
in class
AbstractECTargetableCommand
ECException
public void reset()
reset
in class
AbstractECTargetableCommand
protected void resolveOrderId() throws ECException
ECException
protected java.lang.Long resolveSku(java.lang.Integer i, java.lang.Long catentry_id) throws ECException, FinderException, CreateException, javax.naming.NamingException, java.rmi.RemoteException, java.sql.SQLException
i
- enumeration groupcatentry_id
- catalog entry id.ECException
FinderException
CreateException
javax.naming.NamingException
java.rmi.RemoteException
java.sql.SQLException
public void setAddressId(java.util.Hashtable ahshAddress_id)
setAddressId
in interface
OrderItemAddCmd
ahshAddress_id
- a list of address idpublic void setATPParms(ATPParameters newATPParms)
newATPParms
- ATPParameterspublic void setAttrName(java.util.Hashtable ahshAttr_name)
setAttrName
in interface
OrderItemAddCmd
ahshAttr_name
- a list of attribute namespublic void setAttrValue(java.util.Hashtable ahshAttr_value)
setAttrValue
in interface
OrderItemAddCmd
ahshAttr_value
- a list of attribute
values.public void setCatEntryId(java.util.Hashtable ahshCatentry_id)
setCatEntryId
in interface
OrderItemAddCmd
ahshCatentry_id
- a list of catalog entry
ids.public void setComment(java.util.Hashtable ahshComment)
setComment
in interface
OrderItemAddCmd
ahshComment
- a list of commentspublic void setConfigurationId(java.util.Hashtable ahshConfigurationId)
setConfigurationId
in interface
OrderItemAddCmd
ahshConfigurationId
- a list of configuration
ids.public void setContinue(java.lang.String aContinue)
setContinue
in interface
OrderItemAddCmd
aContinue
- a string can be either "0" or
"1".public void setContractId(java.util.Hashtable ahshContract_id)
setContractId
in interface
OrderItemAddCmd
ahshContract_id
- a list of contract ids.public void setCorrelationGroup(java.util.Hashtable ahshCorrelationGroup)
setCorrelationGroup
in interface
OrderItemAddCmd
ahshCorrelationGroup
- a list of correlation
groups.public void setDescription(java.util.Hashtable ahshDescription)
setDescription
in interface
OrderItemAddCmd
ahshDescription
- a list of order item
descriptions.public void setExpandConfigurationId(java.util.Hashtable ahshExpandConfigurationId)
setExpandConfigurationId
in interface
OrderItemAddCmd
ahshExpandConfigurationId
- a list of expand configuration
ids.public void setField1(java.util.Hashtable ahshField1)
setField1
in interface
OrderItemAddCmd
ahshField1
- a list of field1.public void setField2(java.util.Hashtable ahshField2)
setField2
in interface
OrderItemAddCmd
protected void setItemSpecId(java.lang.Long anItemSpecId) throws ECException
anItemSpecId
- item spec id.ECException
public void setListId(java.lang.String[] aList_id)
setListId
in interface
OrderItemAddCmd
aList_id
- an array of interest item list
ids.public void setMemberId(java.util.Hashtable ahshMember_id)
setMemberId
in interface
OrderItemAddCmd
ahshMember_id
- a list of member ids.public void setOfferId(java.util.Hashtable ahshOffer_id)
setOfferId
in interface
OrderItemAddCmd
ahshOffer_id
- a list of offer ids.public void setOrderComment(java.lang.String aOrderComment)
setOrderComment
in interface
OrderItemAddCmd
aOrderComment
- order comment.public void setOrderDesc(java.lang.String aOrder_desc)
setOrderDesc
in interface
OrderItemAddCmd
aOrder_desc
- order description.public void setOrderId(java.lang.String[] aOrder_id)
setOrderId
in interface
OrderItemAddCmd
aOrder_id
- an array of order ids.public void setOrderItemId(java.util.Hashtable ahshOrderitem_id)
setOrderItemId
in interface
OrderItemUpdateCmd
ahshOrderitem_id
- a list of order item
ids.public void setOutOrderItemName(java.lang.String[] aOut_orderitem_name)
setOutOrderItemName
in interface
OrderItemAddCmd
aOut_orderitem_name
- an array of out order item
names.public void setOutOrderName(java.lang.String[] aOut_order_name)
setOutOrderName
in interface
OrderItemAddCmd
aOut_order_name
- an array of out order
names.public void setPartNumber(java.util.Hashtable ahshPart_number)
setPartNumber
in interface
OrderItemAddCmd
ahshPart_number
- a list of part numbers.public void setQuantity(java.lang.Integer i, java.lang.Double aQuantity)
i
- enumeration groupaQuantity
- a quantity.public void setQuantity(java.util.Hashtable ahshQuantity)
setQuantity
in interface
OrderItemAddCmd
ahshQuantity
- a list of quantities.public void setRequestProperties(TypedProperty aRequestProperties) throws ECException
setRequestProperties
in interface
ControllerCommand
setRequestProperties
in class
ControllerCommandImpl
aRequestProperties
- request properties.ECException
protected void setResolvedOrderId(java.util.Vector resolvedOrderIdList)
resolvedOrderIdList
- a list of resolved order
ids.public void setShipmodeId(java.util.Hashtable ahshShipmode_id)
setShipmodeId
in interface
OrderItemAddCmd
ahshShipmode_id
- a list of shipping mode
ids.public void setTradingId(java.util.Hashtable ahshTrading_id)
setTradingId
in interface
OrderItemAddCmd
ahshTrading_id
- a list of trading ids.public void setUom(java.util.Hashtable ahshUom)
setUom
in interface
OrderItemAddCmd
ahshUom
- a list of UOMs.protected void unLockOrder(java.lang.String orderId) throws ECException, FinderException, CreateException, javax.naming.NamingException, java.rmi.RemoteException, java.sql.SQLException
orderId
- order id.ECException
FinderException
CreateException
javax.naming.NamingException
java.rmi.RemoteException
java.sql.SQLException
protected void updateAddressId() throws ECException, FinderException, CreateException, javax.naming.NamingException, java.rmi.RemoteException, java.sql.SQLException
ECException
FinderException
CreateException
javax.naming.NamingException
java.rmi.RemoteException
java.sql.SQLException
protected void updateAddressId(OrderItemAccessBean orderitemAB, java.lang.Integer i) throws ECException, FinderException, CreateException, javax.naming.NamingException, java.rmi.RemoteException, java.sql.SQLException
orderitemAB
- OrderItemAccessBeani
- enumeration groupECException
FinderException
CreateException
javax.naming.NamingException
java.rmi.RemoteException
java.sql.SQLException
protected void updateAddressId(java.util.Vector orderItems) throws ECException, FinderException, CreateException, javax.naming.NamingException, java.rmi.RemoteException, java.sql.SQLException
orderItems
- a list of OrderItemAccessBeanECException
FinderException
CreateException
javax.naming.NamingException
java.rmi.RemoteException
java.sql.SQLException
protected void updateAllShippingAndAddress() throws ECException, FinderException, CreateException, javax.naming.NamingException, java.rmi.RemoteException, java.sql.SQLException
ECException
FinderException
CreateException
javax.naming.NamingException
java.rmi.RemoteException
java.sql.SQLException
protected void updateComponentList(OrderItemAccessBean orderitemAB, java.lang.Integer i) throws ECException, FinderException, CreateException, javax.naming.NamingException, java.rmi.RemoteException, java.sql.SQLException
orderitemAB
- OrderItemAccessBeani
- enumeration groupECException
FinderException
CreateException
javax.naming.NamingException
java.rmi.RemoteException
java.sql.SQLException
protected void updateCorrelationGroup(OrderItemAccessBean orderitemAB, java.lang.Integer i) throws ECException, FinderException, CreateException, javax.naming.NamingException, java.rmi.RemoteException, java.sql.SQLException
orderitemAB
- OrderItemAccessBeani
- enumeration groupECException
FinderException
CreateException
javax.naming.NamingException
java.rmi.RemoteException
java.sql.SQLException
protected void updateCurrency(OrderAccessBean orderAB) throws ECException, FinderException, CreateException, javax.naming.NamingException, java.rmi.RemoteException, java.sql.SQLException
orderAB
- OrderAccessBeanECException
FinderException
CreateException
javax.naming.NamingException
java.rmi.RemoteException
java.sql.SQLException
protected void updateFulfillmentCenter() throws ECException, FinderException, CreateException, javax.naming.NamingException, java.rmi.RemoteException, java.sql.SQLException
ECException
FinderException
CreateException
javax.naming.NamingException
java.rmi.RemoteException
java.sql.SQLException
protected void updateItemSpecId(OrderItemAccessBean orderitemAB) throws ECException
orderitemAB
- OrderItemAccessBeanECException
protected void updateOrder() throws ECException, FinderException, CreateException, javax.naming.NamingException, java.rmi.RemoteException
ECException
FinderException
CreateException
javax.naming.NamingException
java.rmi.RemoteException
java.sql.SQLException
protected void updateOrderItem(OrderItemAccessBean orderitemAB, java.lang.Integer i) throws ECException, FinderException, CreateException, javax.naming.NamingException, java.rmi.RemoteException, java.sql.SQLException
orderitemAB
- OrderItemAccessBeani
- enumeration groupECException
FinderException
CreateException
javax.naming.NamingException
java.rmi.RemoteException
java.sql.SQLException
protected void updateOrderItem(java.lang.Integer i, java.lang.Long orderitem_id) throws ECException, FinderException, CreateException, javax.naming.NamingException, java.rmi.RemoteException, java.sql.SQLException
i
- enumeration grouporderitem_id
- order item id
ECApplicationException
- with message key _ERR_INVALID_ORDER_ITEM_ID
if the order item cannot be found in the database.FinderException
CreateException
javax.naming.NamingException
java.rmi.RemoteException
java.sql.SQLException
ECException
protected void updateOutOrderItemId()
protected void updateOutOrderItemName()
protected void updateOutOrderName()
protected void updatePrice() throws ECException, FinderException, CreateException, javax.naming.NamingException, java.rmi.RemoteException, java.sql.SQLException
ECException
FinderException
CreateException
javax.naming.NamingException
java.rmi.RemoteException
java.sql.SQLException
protected void updatePrice(OrderItemAccessBean orderitemAB, java.lang.Integer i) throws ECException, FinderException, CreateException, javax.naming.NamingException, java.rmi.RemoteException, java.sql.SQLException
orderitemAB
- OrderItemAccessBeani
- enumeration groupECException
FinderException
CreateException
javax.naming.NamingException
java.rmi.RemoteException
java.sql.SQLException
protected void updatePrice(java.util.Vector orderItems, java.lang.String currency) throws ECException, FinderException, CreateException, javax.naming.NamingException, java.rmi.RemoteException, java.sql.SQLException
If price has been obtainted previously, the price will be refreshed according to the Price Refresh Flag (PRICEREFFLAGS) in STORE as follows: 0: Default, same as 1 except that it will not save the trading id and the offer id. 1: This means useCurrentOnly. This uses the prices directly referenced by the OrderItems. Fail if they can no longer be used. 2: This means useCurrentOrSearchAgain. This is the same as useCurrentOnly, but instead of failing when they can no longer be used, it searches the ones that were originally searched when the OrderItems were created or updated with new trading ids/offer ids specified. 4: This means alwaysSearchAgain. This option always searches the prices that were originally searched when the OrderItems were created or updated with new trading ids/offer ids specified.
orderItems
- a list of OrderItemAccessBeancurrency
- currencyECException
FinderException
CreateException
javax.naming.NamingException
java.rmi.RemoteException
java.sql.SQLException
protected boolean updateQuantity(OrderItemAccessBean orderitemAB, java.lang.Integer i) throws ECException, FinderException, CreateException, javax.naming.NamingException, java.rmi.RemoteException, java.sql.SQLException
orderitemAB
- OrderItemAccessBeani
- enumeration groupECException
FinderException
CreateException
javax.naming.NamingException
java.rmi.RemoteException
java.sql.SQLException
protected void updateResourceList() throws ECException, FinderException, CreateException, javax.naming.NamingException, java.rmi.RemoteException
ECException
FinderException
CreateException
javax.naming.NamingException
java.rmi.RemoteException
java.sql.SQLException
protected void updateShipModeId() throws ECException, FinderException, CreateException, javax.naming.NamingException, java.rmi.RemoteException, java.sql.SQLException
ECException
FinderException
CreateException
javax.naming.NamingException
java.rmi.RemoteException
java.sql.SQLException
protected void updateShipModeId(java.util.Vector orderItems) throws ECException, FinderException, CreateException, javax.naming.NamingException, java.rmi.RemoteException, java.sql.SQLException
orderItems
- a list of OrderItemAccessBeanECException
FinderException
CreateException
javax.naming.NamingException
java.rmi.RemoteException
java.sql.SQLException
protected void updateShipModeId(OrderItemAccessBean orderitemAB, java.lang.Integer i) throws ECException, FinderException, CreateException, javax.naming.NamingException, java.rmi.RemoteException, java.sql.SQLException
orderitemAB
- OrderItemAccessBeani
- enumeration groupECException
FinderException
CreateException
javax.naming.NamingException
java.rmi.RemoteException
java.sql.SQLException
protected void updateShippingAndAddress(OrderItemAccessBean orderitemAB, java.lang.Integer i) throws ECException, FinderException, CreateException, javax.naming.NamingException, java.rmi.RemoteException, java.sql.SQLException
orderitemAB
- OrderItemAccessBeani
- enumeration groupECException
FinderException
CreateException
javax.naming.NamingException
java.rmi.RemoteException
java.sql.SQLException
public void validateParameters() throws ECException
validateParameters
in interface
ECCommand
validateParameters
in class
AbstractECTargetableCommand
ECException
protected void validateTradingPaymentMethods() throws ECException, FinderException, CreateException, javax.naming.NamingException, java.rmi.RemoteException, java.sql.SQLException
ECException
FinderException
CreateException
javax.naming.NamingException
java.rmi.RemoteException
java.sql.SQLException