public class OrderItemBaseCmdImpl extends OrderBaseCmdImpl implements OrderItemAddCmd, OrderItemUpdateCmd
The command calls ResolveOrdersCmd with the input parameter orderId to get a list of orders. If orderId is not specified, the default is "." (the current pending orders).
The command can handle multiple items at one transaction. The enumeration group is a list of enumerations, each element is in format parameterName_i=parameterValue.
The command does the following for each enumeration group i of parameters:
Either updating an existing order item when the orderItemId_ i is specified or creating a new order item when the partNumber_ i or catEntryId_ i is specified, the command uses the rest of the parameters to update the order item.
For any orders in which one or more order items got updated or inserted, the orders are unlocked and the lastUpdate fields are updated with the current time stamp.
Updates the price for all order items that were updated or created by the command.
If the orderComment parameter is specified, replace the Order comment attribute with the value specified by the orderComment parameter.
Update ship information which includes shipping instruction, shipping carrier account number, and shipping charge type. When a new order is created, the member ID of the new order is set to the current user in the command context and the currency is also taken from the one in the command context.
After all enumeration groups are processed, if doInventory is set to N, the command will not do inventory action. If doInventory is set to Y, the command does a fulfillment center updating and inventory checking for all order items modified or created.
Calls the ExtendOrderItemProcessCmd task command to perform additional processing to meet any unique requirements. Sets a RedirectView that will redirect to the URL that is specified.
Modifier and Type | Field and Description |
---|---|
protected CatalogEntryAccessBean | cachedCurrentCatEntryAB
Deprecated.
|
protected static java.lang.String | CONTINUE_FALSE
Deprecated.
Replaced by com.ibm.commerce.order.utils.OrderConstants.CONTINUE_FALSE
|
protected static java.lang.String | CONTINUE_TRUE
Deprecated.
Replaced by com.ibm.commerce.order.utils.OrderConstants.CONTINUE_TRUE
|
static java.lang.String | COPYRIGHT
IBM copyright notice field.
|
protected static int | DOM_INVENTORY
DOM inventory
|
static int | GENERATED_ORDERITEM
Deprecated.
Replaced by com.ibm.commerce.order.utils.OrderConstants.PREPAREFLAGS_GENERATED
|
protected ATPParameters | iATPParms
ATP parameters.
|
protected boolean | iCommandExecuted
Deprecated.
|
protected java.lang.String | iContinue
Input parameter: continue.
|
protected java.util.Hashtable | ihash_Comp_priceLocks
component pricelocks
|
protected java.util.Hashtable | ihash_Comp_prices
component prices
|
protected java.util.Hashtable | ihash_Comp_quantities
dynamic kit quantities
|
protected java.util.Hashtable | ihash_configurations
configurations of the dynamic kit
|
protected java.util.Hashtable | ihash_dk_price
dynamic kit price
|
protected java.util.Hashtable | ihash_dk_priceLock
dynamic kit price lock
|
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 | ihshFulfillmentCenterId
Input parameter: fulfillmentCenterId.
|
protected java.util.Hashtable | ihshIsExpedited
Input parameter: isExpedited.
|
protected java.util.Hashtable | ihshKey
Keys of this Hashtable are enumeration group numbers in type of Integer.
|
protected java.util.Hashtable | ihshMember_id
Input parameter: memberId.
|
protected java.util.Hashtable | ihshOffer_id
Input parameter: offerId.
|
protected java.util.Hashtable | ihshOICompListId
Input parameter: OICompListId.
|
protected java.util.Hashtable | ihshOrderitem_id
Input parameter: orderItemId.
|
protected java.util.Hashtable | ihshOrderResourceList
Resource list for orders.
|
protected java.util.Hashtable | ihshOutOIComponents
Stores the internal list of kit components.
|
protected java.util.Hashtable | ihshOutOrderItemId
Out order item IDs.
|
protected java.util.Hashtable | ihshPart_number
Input parameter: partNumber.
|
protected java.util.Hashtable | ihshPhysicalStoreId
Input parameter: physicalStoreId.
|
protected java.util.Hashtable | ihshQuantity
Input parameter: quantity.
|
protected java.util.Hashtable | ihshRequestedShipDate
Input parameter: requestedShipDate.
|
protected java.util.Hashtable | ihshShipCarrAccntNum
Input parameter: shipCarrAccntNum.
|
protected java.util.Hashtable | ihshShipChargeType_id
Input parameter: shipChargeType.
|
protected java.util.Hashtable | ihshShipInstructs
Input parameter: shipInstructions.
|
protected java.util.Hashtable | ihshShipmode_id
Input parameter: shipModeId.
|
protected java.util.Hashtable | ihshStoreResourceList
Resource list for stores.
|
protected java.util.Hashtable | ihshTieShipCode
Input parameter: ihshTieShipCode.
|
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 a newly created order when listId is specified.
|
protected java.lang.String | iNew_order_id
Order ID for a newly created order.
|
protected boolean | iNewQuantity
Keeps track of quantity changes or if a 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 | isetDeletedCatEntryIds
Deleted catalog entry ID set.
|
protected java.util.Set | isetDeletedOrderitemIds
Deleted order item ID set.
|
protected java.lang.String | iShipAsComplete
Input parameter: ship as complete.
|
protected java.lang.Long | iStoreOwnerId
Store owner ID.
|
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.
Replaced by com.ibm.commerce.order.utils.OrderConstants.PREPAREFLAGS_FULFILLMENT_CENTER_OVERRIDE
|
static int | MANUAL_PRICE
Deprecated.
Replaced by com.ibm.commerce.order.utils.OrderConstants.PREPAREFLAGS_PRICE_OVERRIDE
|
static int | NORMAL_ORDERITEM
Deprecated.
Use "0x00" instead
|
protected static int | QUOTATION_ORDERITEM
Deprecated.
Replaced by com.ibm.commerce.order.utils.OrderConstants.PREPAREFLAGS_QUOTATION
|
protected static java.lang.String | STR_ADDRESS_ID
Deprecated.
Replaced by com.ibm.commerce.order.utils.OrderConstants.EC_ADDRESS_ID
|
protected static java.lang.String | STR_ATTR_NAME
Deprecated.
Replaced by com.ibm.commerce.order.utils.OrderConstants.EC_ATTR_NAME
|
protected static java.lang.String | STR_ATTR_VALUE
Deprecated.
Replaced by com.ibm.commerce.order.utils.OrderConstants.EC_ATTR_VALUE
|
protected static java.lang.String | STR_CATENTRY_ID
Deprecated.
Replaced by com.ibm.commerce.order.utils.OrderConstants.EC_CATENTRY_ID
|
protected static java.lang.String | STR_COMMENT
Deprecated.
Replaced by com.ibm.commerce.order.utils.OrderConstants.EC_COMMENT
|
protected static java.lang.String | STR_CONFIGURATION_ID
Deprecated.
Replaced by com.ibm.commerce.order.utils.OrderConstants.EC_CONFIGURATION_ID
|
protected static java.lang.String | STR_CONTINUE
Deprecated.
Replaced by com.ibm.commerce.order.utils.OrderConstants.EC_CONTINUE
|
protected static java.lang.String | STR_CONTRACT_ID
Deprecated.
Replaced by com.ibm.commerce.order.utils.OrderConstants.EC_CONTRACT_ID
|
protected static java.lang.String | STR_CORRELATION_GROUP
Deprecated.
Replaced by com.ibm.commerce.order.utils.OrderConstants.EC_CORRELATTION_GROUP
|
protected static java.lang.String | STR_DESCRIPTION
Deprecated.
Use "description" instead
|
protected static java.lang.String | STR_EXPAND_CONFIGURATION_ID
Deprecated.
Replaced by com.ibm.commerce.order.utils.OrderConstants.EC_EXPAND_CONFIGURATION_ID
|
protected static java.lang.String | STR_FIELD1
Deprecated.
Replaced by com.ibm.commerce.order.utils.OrderConstants.EC_FIELD1
|
protected static java.lang.String | STR_FIELD2
Deprecated.
Replaced by com.ibm.commerce.order.utils.OrderConstants.EC_FIELD2
|
static java.lang.String | STR_INVALID_INPUT_ERROR_VIEW
The invalid input error view.
|
protected static java.lang.String | STR_LIST_ID
Deprecated.
Replaced by com.ibm.commerce.order.utils.OrderConstants.EC_LIST_ID
|
protected static java.lang.String | STR_MEMBER_ID
Deprecated.
Replaced by com.ibm.commerce.order.utils.OrderConstants.EC_MEMBER_ID
|
protected static java.lang.String | STR_OFFER_ID
Deprecated.
Replaced by com.ibm.commerce.order.utils.OrderConstants.EC_OFFER_ID
|
protected static java.lang.String | STR_ORDER_COMMENT
Deprecated.
Replaced by com.ibm.commerce.order.utils.OrderConstants.EC_ORDER_COMMENT
|
protected static java.lang.String | STR_ORDER_DESC
Deprecated.
Replaced by com.ibm.commerce.order.utils.OrderConstants.EC_ORDER_DESC
|
protected static java.lang.String | STR_ORDER_ID
Deprecated.
Replaced by com.ibm.commerce.order.utils.OrderConstants.EC_ORDER_ID
|
protected static java.lang.String | STR_ORDERITEM_ID
Deprecated.
Replaced by com.ibm.commerce.order.utils.OrderConstants.EC_ORDERITEM_ID
|
protected static java.lang.String | STR_OUT_ORDER_NAME
Deprecated.
Replaced by com.ibm.commerce.order.utils.OrderConstants.EC_OUT_ORDER_NAME
|
protected static java.lang.String | STR_OUT_ORDERITEM_NAME
Deprecated.
Replaced by com.ibm.commerce.order.utils.OrderConstants.EC_OUT_ORDERITEM_NAME
|
protected static java.lang.String | STR_PART_NUMBER
Deprecated.
Replaced by com.ibm.commerce.order.utils.OrderConstants.EC_PART_NUMBER
|
protected static java.lang.String | STR_QUANTITY
Deprecated.
Replaced by com.ibm.commerce.order.utils.OrderConstants.EC_QUANTITY
|
protected static java.lang.String | STR_SHIPMODE_ID
Deprecated.
Replaced by com.ibm.commerce.order.utils.OrderConstants.EC_SHIPMODE_ID
|
protected static java.lang.String | STR_STORE_ID
Deprecated.
Replaced by com.ibm.commerce.server.ECConstants.EC_STORE_ID
|
protected static java.lang.String | STR_UOM
Deprecated.
Replaced by com.ibm.commerce.order.utils.OrderConstants.EC_UOM
|
Constructor and Description |
---|
OrderItemBaseCmdImpl() |
Modifier and Type | Method and Description |
---|---|
protected void | addIntoUniqueOrderitem(java.util.Hashtable orderitemIdList)
add order item ids from orderitemIdList into iUniqueOrderitemIdList
|
protected void | addToCreatedItemBusinessEvent(OrderItemAccessBean orderitemAB)
Adds to the business event data for the business event auditing
|
protected void | buildATPParameters()
This method builds the ATP parameters.
|
protected void | calculateOrder()
This method calls OrderCalculateCmd to calculate the order.
|
protected void | captureChangesForBusinessAuditing(OrderItemAccessBean orderitemAB, com.ibm.commerce.order.utils.OrderItemDataPair orderItemChange, java.lang.Integer i)
Capture changes to items for business event auditing
|
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 long | checkQuantity(com.ibm.commerce.order.utils.OrderThreshold.Part type)
This method performs the quantity check.
|
protected void | checkSize(long numToAdd, com.ibm.commerce.order.utils.OrderThreshold.Part type)
This method checks whether adding the items would exceed the size threshold for shopping cart or requisition list.
|
protected void | checkSizeAndQuantity()
This method checks whether the operation can cause the size of the shopping cart, as well as the requested quantity, to exceed the defined business threshold.
|
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 boolean | editableForFutureOrder(OrderItemAccessBean abOrderItem)
This method checks if an order item is editable for future order.
|
protected void | flush()
flush all SQL update statements to the database
|
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 java.lang.String | getCalculateOrder()
Gets Calculate Order
|
java.lang.String | getCalculationUsageIds()
Gets the calculation usage ids.
|
protected CatalogEntryAccessBean | getCatalogEntryAccessBean(java.lang.String astrCatalogEntry)
Gets 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 | getCompListId(java.lang.Integer i)
Gets the input parameter oiCompListId 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 contractId 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 | getDeletedOrderItemCatEntryIds()
Returns a Set of catalog entry ID of deleted OrderItems.
|
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 MonetaryAmount | getDynamicKitPrice(java.lang.String strCatalogEntryId, java.lang.String currency, java.lang.String configuration)
Get the dynamic kit price.
|
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.Integer | getFulfillmentCenterId(java.lang.Integer i)
This method returns the fulfillment center ID for enumeration group i.
|
java.lang.String | getIsExpedited(java.lang.Integer i)
This method returns the ihshIsExpedited.
|
protected java.lang.Long | getItemSpecId()
Gets the itemSpecId.
|
protected java.util.Vector | getListOfTouchedOrderItems(java.lang.String orderId)
Returns a vector of order item access beans which are touched in the command.
|
protected java.util.Map | getMapOfOrderItemAccessBeans(java.util.Collection colOrderItemIds) |
protected java.lang.Long | getMemberId(java.lang.Integer i)
Gets the input parameter memberId with enumeration group i.
|
protected boolean | getNewContractVersionNeedsToBeUsed(java.lang.Integer i)
Returns if a new contract version needs to be used for the offer.
|
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.
|
java.util.Vector | getNonBuyableCatentryIds()
This method returns the list of nonBuyable catentry_id.
|
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.
|
java.util.Vector | getOutOfInvItems()
This method returns the list of Items not available in Inventory
|
protected java.lang.String | getPartNumber(java.lang.Integer i)
Gets the input parameter partNumber with enumeration group i.
|
protected java.lang.Integer | getPhysicalStoreId(java.lang.Integer i)
This method returns the physical store ID for enumeration group i.
|
protected java.lang.Double | getQuantity(java.lang.Integer i)
Gets the input parameter quantity with enumeration group i.
|
boolean | getRepriceOrderFlag()
Gets the repriceOrderFlag.
|
protected java.sql.Timestamp | getRequestedShipDate(java.lang.Integer i)
Gets the input parameter RequestedShipDate 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.String | getShipAsComplete()
Gets the input parameter ShipAsComplete.
|
protected java.lang.String | getShipCarrAccntNum(java.lang.Integer i)
Gets the input parameter shipChargTypeId with enumeration group i.
|
protected java.lang.String | getShipChargeTypeId(java.lang.Integer i)
Gets the input parameter shipChargeTypeId with enumeration group i.
|
protected java.lang.String | getShipInstructions(java.lang.Integer i)
Gets the input parameter shipInstructions with enumeration group i.
|
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().
|
java.lang.Short | getTieShipCode(java.lang.Integer i)
This method returns the tieCode.
|
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 | handleBadParts()
Handles and reports non-valid parts.
|
protected static boolean | hasConflictTieCode(java.lang.Short tie, OrderItemAccessBean orderitemAB)
This method checks if the new tieCode has a tie to any items of the order that have been shipped.
|
protected void | initPartNumbers()
This method instantiates part number members.
|
protected void | insertAddressId(OrderItemAccessBean orderitemAB, java.lang.Integer i)
Deprecated.
Replaced by setAddressId(Hashtable ahshAddress_id)
|
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)
This method inserts a new order item to each resolved orders.
|
protected void | insertOrderItem(InterestItemAccessBean iitemAB)
This method 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)
This method inserts 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 | markExpedited(OrderItemAccessBean ABorderitem, java.lang.Integer j)
markExpedited marks the OrderItem on isExpedited field with Y or N
|
protected void | markFutureOrderItem(OrderItemAccessBean ABorderitem, java.lang.Integer j)
This method sets RequestedShipDate for an OrderItem
|
protected void | markTieShipCode(OrderItemAccessBean ABorderitem, java.lang.Integer j)
markTieShipCode marks the OrderItem on tieship field with a code
|
protected void | migrateInterestItemsToOrderItems()
This method copies all interest items, (i.e.
|
protected void | orderItemAdd(java.lang.Integer i)
This method adds order item for enumeration group i.
|
protected void | orderItemUpdate(java.lang.Integer i)
This method updates 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.
|
protected void | prepareShipInfo()
This method calls PrepareShipInfoCmd to verify the shipping carrier accounts if shipping mode is changed.
|
protected boolean | quoteIsStillGood(OrderItemAccessBean orderitemAB)
quoteIsStillGood
|
protected void | raiseBusinessEvents()
This method calls RaiseOrderEventCmd to raise business events ORDERITEM_CREATION_EVENT and ORDERITEM_UPDATE_EVENT.
|
protected void | refreshUpdateItemsAndUniqueItems()
This method is to double check whether the items in updatedOrderItem map are still existing in database or not.
|
protected java.util.Hashtable | removeUniqueOrderitem()
Remove unique order item from iUniqueOrderitemIdList.
|
void | reset()
Reset all instance variables.
|
protected void | resetSkipRepricingPrepareFlagsForOrder()
This method resets the SKIP_REPRICING prepare flags in the OrderItems for the Order, if we are trying to change the Item quantity or add a new Item to an Order that was previously generated from a Quote.
|
protected void | resetSkipRepricingPrepareFlagsForOrder(OrderAccessBean orderAB)
Resets the SKIP_REPRICING prepare flags in the OrderItems for the Order.
|
protected java.lang.Long | resolveCatentryByPartNumberAndMember(java.lang.Integer nKey)
This method resolves the catentryId for the given enumeration group number.
|
protected void | resolveFulfillmentCenter()
This method resolves the fulfillment center from physical store id.
|
protected java.util.Hashtable | resolveMemberId(TypedProperty req) |
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).
|
protected void | setCalculateOrder(java.lang.String a)
Sets Calculate Order
|
void | setCalculationUsageIds(java.lang.String stringCalculationUsageIds)
Sets the calculation usage ids.
|
void | setCarrAccntNum(java.util.Hashtable parahshShipCarrAccntNum)
Set the shipAccount number parameters (optional).
|
void | setCatEntryId(java.util.Hashtable ahshCatentry_id)
Set the attribute name parameters.
|
void | setChargeTypes(java.util.Hashtable parahshShipChargeType_id)
Set the shipChargeType ID parameters (optional).
|
void | setComment(java.util.Hashtable ahshComment)
Set the comment parameters (optional).
|
void | setComp_priceLocks(java.util.Hashtable comp_priceLocks)
Set the components pricelocks to hashtable
|
void | setComp_prices(java.util.Hashtable comp_prices)
Set the components prices to hashtable
|
void | setComp_quantities(java.util.Hashtable comp_quantities)
Set the components quantities
|
void | setCompListId(java.util.Hashtable ahshOICompList_id)
This method sets the list of IDs from the oicomplist table - used for Dynamic kits.
|
void | setConfiguration(java.util.Hashtable configurations) |
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 | setDk_price(java.util.Hashtable dk_price)
Set the dynamickit price
|
void | setDk_priceLock(java.util.Hashtable dk_priceLock)
Set the dynamickit price lock
|
void | setDoPrice(java.lang.String strDoPrice)
This method sets the do price parameter.
|
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).
|
void | setFulfillmentCenterId(java.util.Hashtable ahshFulfillmentCenterId)
Set the fulfillment center ID (optional).
|
void | setIsExpedited(java.util.Hashtable ahshIsExpedited)
Sets the ihshIsExpedited.
|
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 | setPhysicalStoreId(java.util.Hashtable ahshPhysicalStoreId)
Set the physical store ID (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 | setRepriceOrderFlag(boolean repriceOrder)
Sets the flag that indicates that the Order needs to be priced again
|
void | setRequestedShipDate(java.util.Hashtable ahshRequestedShipDate)
Set the RequestedShipDate parameters.
|
void | setRequestProperties(TypedProperty aRequestProperties)
Sets the request properties.
|
protected void | setResolvedOrderId(java.util.Vector resolvedOrderIdList)
Set the resolved ID parameters.
|
void | setShipAsComplete(java.lang.String aShipAsComplete)
Set the ShipAsComplete parameter (optional).
|
void | setShipInstructions(java.util.Hashtable parahshShipInstructs)
Set the shipInstructs parameters (optional).
|
void | setShipmodeId(java.util.Hashtable ahshShipmode_id)
Set the ship mode ID parameters (optional).
|
void | setTieShipCode(java.util.Hashtable ahshTieShipCode)
This method sets the ihshTieShipCode.
|
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 com.ibm.commerce.order.utils.OrderItemDataPair | startTrackingChangesForBusinessAuditing(OrderItemAccessBean orderitemAB, java.lang.Integer i)
Starting tracking item changes for business events.
|
protected void | unLockOrder(java.lang.String orderId)
Unlocks the order.
|
protected void | updateAddressId()
This method updates the shipping address for all the touched order items.
|
protected void | updateAddressId(OrderItemAccessBean orderitemAB, java.lang.Integer i)
Deprecated.
Replaced by updateAddressId(Vector orderItems)
|
protected void | updateAddressId(java.util.Vector orderItems)
Updates the address for the order item.
|
protected void | updateAllFulfillmentCenter()
This method updates the fulfillment center for each order item.
|
protected void | updateAllOrderItems()
Deprecated.
|
protected void | updateAllShippingAndAddress()
It calls updateShippingAndAddress(OrderItemAccessBean, Integer) 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()
This method updates the fulfillment centers and checks for available inventory for all order items modified or created.
|
protected void | updateFulfillmentCenter(OrderItemAccessBean orderitemAB)
Deprecated.
|
protected void | updateFulfillmentCenter(OrderItemAccessBean orderitemAB, java.lang.Integer i)
This method updates the fulfillment center ID for the order item if passed in.
|
protected void | updateItemSpecId(OrderItemAccessBean orderitemAB)
Updates the item spec ID for the order item.
|
protected void | updateOrder()
This method 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)
This method updates the order item.
|
protected void | updateOutOrderItemId()
This method adds the IDs of the newly created order items to the response properties.
|
protected void | updateOutOrderItemName()
This method adds the IDs of the created and updated order items to the response properties.
|
protected void | updateOutOrderName()
This method adds the IDs of the created and updated orders to the response properties.
|
protected void | updatePrice()
This method calculates the best price for all the touched order items.
|
protected void | updatePrice(OrderItemAccessBean orderitemAB, java.lang.Integer i)
Deprecated.
Replaced by updatePrice(Vector orderItems, String currency)
|
protected void | updatePrice(java.util.Vector orderItems, java.lang.String currency)
This method 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 | updateRequestedShipDate()
It calls updateShippingAndAddress() to update the shipping address and shipping mode for each order item.
|
protected void | updateResourceList()
Updates the resources list.
|
protected void | updateShipModeId()
This method updates the shipping modes for all the touched order items.
|
protected void | updateShipModeId(OrderItemAccessBean orderitemAB, java.lang.Integer i)
Deprecated.
Replaced by updateShipModeId(Vector orderItems)
|
protected void | updateShipModeId(java.util.Vector orderItems)
This method updates the shipping mode ID for all the touched order items.
|
protected void | updateShippingAccountNumber()
This method updates the shipping account number for all the touched order items.
|
protected void | UpdateShippingAccountNumber(java.util.Vector orderItems)
This method calls UpdateShipInfoCmd to update the shipping carrier account number if passed in.
|
protected void | updateShippingAndAddress(OrderItemAccessBean orderitemAB, java.lang.Integer i)
This method updates the shipping address and shipping mode for the order item.
|
protected void | updateShippingChargeType()
This method updates the shipping charge type for all the touched order items.
|
protected void | UpdateShippingChargeType(java.util.Vector orderItems)
This method calls UpdateShipInfoCmd to update the shipping charge type if passed in.
|
protected void | updateShippingInstructions()
This method updates the shipping instructions for all the touched order items.
|
protected void | UpdateShippingInstructions(java.util.Vector orderItems)
This method calls UpdateShipInfoCmd to update the shipping Instructions if passed in.
|
protected void | validateOrderItemStatus()
This method validates the order items status.
|
void | validateParameters()
This method verifies the input parameters.
|
protected void | validateTradingPaymentMethods()
This method validates the trading agreements used by the OrderItems in an order.
|
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
protected static final int DOM_INVENTORY
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 ihshShipInstructs
protected java.util.Hashtable ihshShipChargeType_id
protected java.util.Hashtable ihshShipCarrAccntNum
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 ihshFulfillmentCenterId
protected java.util.Hashtable ihshPhysicalStoreId
protected java.util.Hashtable ihshComment
protected java.util.Hashtable ihshDescription
protected java.util.Hashtable ihshField1
protected java.util.Hashtable ihshField2
protected java.util.Hashtable ihshIsExpedited
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 ihshOICompListId
protected java.util.Hashtable ihash_Comp_prices
protected java.util.Hashtable ihash_Comp_priceLocks
protected java.util.Hashtable ihash_dk_price
protected java.util.Hashtable ihash_dk_priceLock
protected java.util.Hashtable ihash_Comp_quantities
protected java.util.Hashtable ihash_configurations
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.String iShipAsComplete
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.Set isetDeletedCatEntryIds
protected java.util.Hashtable iUniqueStoreIdList
protected java.util.Hashtable ihshRequestedShipDate
protected java.util.Hashtable ihshTieShipCode
protected java.lang.Long iStoreOwnerId
protected java.util.Hashtable ihshOutOIComponents
public java.lang.String getCalculationUsageIds()
public void setCalculationUsageIds(java.lang.String stringCalculationUsageIds)
protected void checkBuyable(java.lang.Long catentry_id) throws ECException, javax.ejb.FinderException, javax.ejb.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, javax.ejb.FinderException, javax.ejb.CreateException, javax.naming.NamingException, java.rmi.RemoteException, java.sql.SQLException
protected void checkValidStatus(OrderAccessBean orderAB) throws ECException, javax.ejb.FinderException, javax.ejb.CreateException, javax.naming.NamingException, java.rmi.RemoteException, java.sql.SQLException
protected void validateOrderItemStatus() throws ECException
protected java.lang.String createOrder() throws ECException, javax.ejb.FinderException, javax.ejb.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, javax.ejb.FinderException, javax.ejb.CreateException, javax.naming.NamingException, java.rmi.RemoteException, java.sql.SQLException
protected void addToCreatedItemBusinessEvent(OrderItemAccessBean orderitemAB) throws ECSystemException
protected java.lang.Long getAddressId(java.lang.Integer i) throws InvalidParameterValueException
protected java.lang.String getShipInstructions(java.lang.Integer i)
protected java.lang.String getShipChargeTypeId(java.lang.Integer i)
protected java.lang.String getShipCarrAccntNum(java.lang.Integer i)
public ATPParameters getATPParms()
protected java.util.Hashtable getAttributeNVP(java.lang.Integer i) throws InvalidParameterValueException
protected CatalogEntryAccessBean getCatalogEntryAccessBean(java.lang.String astrCatalogEntry) throws java.rmi.RemoteException, javax.naming.NamingException, javax.ejb.FinderException, javax.ejb.CreateException
protected java.lang.Long getCatEntryId(java.lang.Integer i) throws InvalidParameterValueException
protected java.lang.String getComment(java.lang.Integer i)
protected java.lang.String getConfigurationId(java.lang.Integer i)
protected java.lang.String getCompListId(java.lang.Integer i)
protected java.lang.String getContinue()
protected java.lang.Long[] getContractId(java.lang.Integer i) throws InvalidParameterValueException
protected boolean getNewContractVersionNeedsToBeUsed(java.lang.Integer i) throws InvalidParameterValueException
protected java.lang.Long getCorrelationGroup(java.lang.Integer i) throws InvalidParameterValueException
protected java.lang.String getDescription(java.lang.Integer i)
protected java.lang.String getExpandConfigurationId(java.lang.Integer i)
protected java.lang.Integer getField1(java.lang.Integer i) throws InvalidParameterValueException
protected java.lang.String getField2(java.lang.Integer i)
protected java.lang.Long getItemSpecId()
protected java.lang.Long getMemberId(java.lang.Integer i) throws InvalidParameterValueException
public java.lang.Long getNewOrderId()
public java.util.Hashtable getNewOrderItemIds()
protected java.lang.Long[] getOfferId(java.lang.Integer i) throws InvalidParameterValueException
protected java.lang.String getOrderComment()
protected java.lang.String getShipAsComplete()
protected java.lang.String getOrderDesc()
protected java.lang.String[] getOrderId() throws ECException
public java.lang.String[] getOrderIds()
protected java.lang.Long getOrderItemId(java.lang.Integer i) throws InvalidParameterValueException
public java.lang.String[] getOrderItemIds()
protected java.lang.String getPartNumber(java.lang.Integer i)
protected java.lang.Double getQuantity(java.lang.Integer i) throws InvalidParameterValueException
protected java.sql.Timestamp getRequestedShipDate(java.lang.Integer i) throws ECException, java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
protected java.util.Vector getResolvedOrderId()
public TypedProperty getResolvedRequestProperties()
public AccessVector getResources()
protected QuantityAmount getRoundedQuantityAmount(java.lang.Long catentry_id, java.lang.Double quantity) throws ECException
protected java.lang.Integer getShipModeId(java.lang.Integer i) throws InvalidParameterValueException
protected java.lang.Integer getFulfillmentCenterId(java.lang.Integer i) throws InvalidParameterValueException
protected java.lang.Integer getPhysicalStoreId(java.lang.Integer i) throws InvalidParameterValueException
public UserAccessBean getTheUser() throws ECSystemException
public java.lang.Long getTheUserId()
protected java.lang.Long[] getTradingId(java.lang.Integer i) throws InvalidParameterValueException
protected java.util.Hashtable getUniqueOrderId()
protected java.util.Hashtable getUniqueOrderItemId()
public java.util.Set getDeletedOrderItemIds()
public java.util.Set getDeletedOrderItemCatEntryIds()
protected java.lang.String getUOM(java.lang.Integer i)
protected void insertAddressId(OrderItemAccessBean orderitemAB, java.lang.Integer i)
protected void insertItemSpecId(OrderItemAccessBean orderitemAB) throws ECException
protected void insertOrderItem(InterestItemAccessBean iitemAB) throws ECException, javax.ejb.FinderException, javax.ejb.CreateException, javax.naming.NamingException, java.rmi.RemoteException, java.sql.SQLException
protected void insertOrderItem(java.lang.Integer i, java.lang.Long catentry_id) throws ECException, javax.ejb.FinderException, javax.ejb.CreateException, javax.naming.NamingException, java.rmi.RemoteException, java.sql.SQLException
protected void insertOrderItems(java.lang.Integer i, java.lang.String expandConfigurationId) throws ECException, javax.ejb.FinderException, javax.ejb.CreateException, javax.naming.NamingException, java.rmi.RemoteException, java.sql.SQLException
protected void insertPartNumber(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 invalidateAllocation(OrderItemAccessBean aabOI) throws ECException, javax.ejb.FinderException, javax.ejb.CreateException, javax.naming.NamingException, java.rmi.RemoteException, java.sql.SQLException
protected void migrateInterestItemsToOrderItems() throws ECException, javax.ejb.FinderException, javax.ejb.CreateException, javax.naming.NamingException, java.rmi.RemoteException, java.sql.SQLException
protected void orderItemAdd(java.lang.Integer i) throws ECException, javax.ejb.FinderException, javax.ejb.CreateException, javax.naming.NamingException, java.rmi.RemoteException, java.sql.SQLException
protected void orderItemUpdate(java.lang.Integer i) throws ECException, javax.ejb.FinderException, javax.ejb.CreateException, javax.naming.NamingException, java.rmi.RemoteException, java.sql.SQLException
protected void captureChangesForBusinessAuditing(OrderItemAccessBean orderitemAB, com.ibm.commerce.order.utils.OrderItemDataPair orderItemChange, java.lang.Integer i) throws ECSystemException
protected com.ibm.commerce.order.utils.OrderItemDataPair startTrackingChangesForBusinessAuditing(OrderItemAccessBean orderitemAB, java.lang.Integer i) throws java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException, ECSystemException
public void performExecute() throws ECException
protected java.lang.Long resolveCatentryByPartNumberAndMember(java.lang.Integer nKey) throws InvalidParameterValueException, java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException
protected void setCalculateOrder(java.lang.String a)
protected java.lang.String getCalculateOrder()
protected void flush() throws ECException
protected void calculateOrder() throws ECException
protected java.util.Vector getListOfTouchedOrderItems(java.lang.String orderId) throws ECException, javax.ejb.FinderException, javax.ejb.CreateException, javax.naming.NamingException, java.rmi.RemoteException, java.sql.SQLException
protected java.util.Map getMapOfOrderItemAccessBeans(java.util.Collection colOrderItemIds)
public void reset()
protected java.util.Hashtable resolveMemberId(TypedProperty req) throws ECException
protected void resolveOrderId() throws ECException
protected java.lang.Long resolveSku(java.lang.Integer i, java.lang.Long catentry_id) throws ECException, javax.ejb.FinderException, javax.ejb.CreateException, javax.naming.NamingException, java.rmi.RemoteException, java.sql.SQLException
public void setAddressId(java.util.Hashtable ahshAddress_id)
public void setShipInstructions(java.util.Hashtable parahshShipInstructs)
public void setChargeTypes(java.util.Hashtable parahshShipChargeType_id)
public void setCarrAccntNum(java.util.Hashtable parahshShipCarrAccntNum)
public void setATPParms(ATPParameters newATPParms)
public void setAttrName(java.util.Hashtable ahshAttr_name)
public void setAttrValue(java.util.Hashtable ahshAttr_value)
public void setCatEntryId(java.util.Hashtable ahshCatentry_id)
public void setComment(java.util.Hashtable ahshComment)
public void setConfigurationId(java.util.Hashtable ahshConfigurationId)
public void setContinue(java.lang.String aContinue)
public void setContractId(java.util.Hashtable ahshContract_id)
public void setCorrelationGroup(java.util.Hashtable ahshCorrelationGroup)
public void setDescription(java.util.Hashtable ahshDescription)
public void setExpandConfigurationId(java.util.Hashtable ahshExpandConfigurationId)
public void setField1(java.util.Hashtable ahshField1)
public void setField2(java.util.Hashtable ahshField2)
protected void setItemSpecId(java.lang.Long anItemSpecId) throws ECException
public void setListId(java.lang.String[] aList_id)
public void setMemberId(java.util.Hashtable ahshMember_id)
public void setOfferId(java.util.Hashtable ahshOffer_id)
public void setOrderComment(java.lang.String aOrderComment)
public void setShipAsComplete(java.lang.String aShipAsComplete)
public void setOrderDesc(java.lang.String aOrder_desc)
public void setOrderId(java.lang.String[] aOrder_id)
public void setOrderItemId(java.util.Hashtable ahshOrderitem_id)
public void setOutOrderItemName(java.lang.String[] aOut_orderitem_name)
public void setOutOrderName(java.lang.String[] aOut_order_name)
public void setPartNumber(java.util.Hashtable ahshPart_number)
public void setQuantity(java.lang.Integer i, java.lang.Double aQuantity)
public void setQuantity(java.util.Hashtable ahshQuantity)
public void setRequestedShipDate(java.util.Hashtable ahshRequestedShipDate)
public void setRequestProperties(TypedProperty aRequestProperties) throws ECException
protected void setResolvedOrderId(java.util.Vector resolvedOrderIdList)
public void setShipmodeId(java.util.Hashtable ahshShipmode_id)
public void setFulfillmentCenterId(java.util.Hashtable ahshFulfillmentCenterId)
public void setPhysicalStoreId(java.util.Hashtable ahshPhysicalStoreId)
public void setTradingId(java.util.Hashtable ahshTrading_id)
public void setUom(java.util.Hashtable ahshUom)
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 updateAddressId() throws ECException, javax.ejb.FinderException, javax.ejb.CreateException, javax.naming.NamingException, java.rmi.RemoteException, java.sql.SQLException
public void setRepriceOrderFlag(boolean repriceOrder)
public boolean getRepriceOrderFlag()
protected void resetSkipRepricingPrepareFlagsForOrder() throws java.rmi.RemoteException, javax.naming.NamingException, javax.ejb.FinderException, javax.ejb.CreateException, ECException
protected void resetSkipRepricingPrepareFlagsForOrder(OrderAccessBean orderAB) throws java.rmi.RemoteException, javax.naming.NamingException, javax.ejb.FinderException, javax.ejb.CreateException, ECException
protected void updateShippingInstructions() throws ECException, javax.ejb.FinderException, javax.ejb.CreateException, javax.naming.NamingException, java.rmi.RemoteException, java.sql.SQLException
protected void updateShippingAccountNumber() throws ECException, javax.ejb.FinderException, javax.ejb.CreateException, javax.naming.NamingException, java.rmi.RemoteException, java.sql.SQLException
protected void updateShippingChargeType() throws ECException, javax.ejb.FinderException, javax.ejb.CreateException, javax.naming.NamingException, java.rmi.RemoteException, java.sql.SQLException
protected void updateAddressId(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 updateAddressId(java.util.Vector orderItems) throws ECException, javax.ejb.FinderException, javax.ejb.CreateException, javax.naming.NamingException, java.rmi.RemoteException, java.sql.SQLException
protected void UpdateShippingInstructions(java.util.Vector orderItems) throws ECException, javax.ejb.FinderException, javax.ejb.CreateException, javax.naming.NamingException, java.rmi.RemoteException, java.sql.SQLException
protected void UpdateShippingAccountNumber(java.util.Vector orderItems) throws ECException, javax.ejb.FinderException, javax.ejb.CreateException, javax.naming.NamingException, java.rmi.RemoteException, java.sql.SQLException
protected void UpdateShippingChargeType(java.util.Vector orderItems) throws ECException, javax.ejb.FinderException, javax.ejb.CreateException, javax.naming.NamingException, java.rmi.RemoteException, java.sql.SQLException
protected void prepareShipInfo() throws ECException, javax.ejb.FinderException, javax.ejb.CreateException, javax.naming.NamingException, java.rmi.RemoteException, java.sql.SQLException
protected void updateAllOrderItems() throws ECException, javax.ejb.FinderException, javax.ejb.CreateException, javax.naming.NamingException, java.rmi.RemoteException, java.sql.SQLException
protected void updateAllShippingAndAddress() throws ECException, javax.ejb.FinderException, javax.ejb.CreateException, javax.naming.NamingException, java.rmi.RemoteException, java.sql.SQLException
protected void updateAllFulfillmentCenter() throws ECException
protected void updateRequestedShipDate() throws ECException, javax.ejb.FinderException, javax.ejb.CreateException, javax.naming.NamingException, java.rmi.RemoteException, java.sql.SQLException
protected void updateComponentList(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 updateCorrelationGroup(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 updateCurrency(OrderAccessBean orderAB) throws ECException, javax.ejb.FinderException, javax.ejb.CreateException, javax.naming.NamingException, java.rmi.RemoteException, java.sql.SQLException
protected void addIntoUniqueOrderitem(java.util.Hashtable orderitemIdList) throws ECException
protected java.util.Hashtable removeUniqueOrderitem() throws ECException
protected void updateFulfillmentCenter() throws ECException, javax.ejb.FinderException, javax.ejb.CreateException, javax.naming.NamingException, java.rmi.RemoteException, java.sql.SQLException
protected void updateFulfillmentCenter(OrderItemAccessBean orderitemAB, java.lang.Integer i) throws InvalidParameterValueException, java.rmi.RemoteException, javax.ejb.CreateException, javax.ejb.FinderException, javax.naming.NamingException, ECException, java.sql.SQLException
protected void updateFulfillmentCenter(OrderItemAccessBean orderitemAB) throws ECException, javax.ejb.FinderException, javax.ejb.CreateException, javax.naming.NamingException, java.rmi.RemoteException, java.sql.SQLException
protected void updateItemSpecId(OrderItemAccessBean orderitemAB) throws ECException
protected void updateOrder() throws ECException, javax.ejb.FinderException, javax.ejb.CreateException, javax.naming.NamingException, java.rmi.RemoteException
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 updateOrderItem(java.lang.Integer i, java.lang.Long orderitem_id) throws ECException, javax.ejb.FinderException, javax.ejb.CreateException, javax.naming.NamingException, java.rmi.RemoteException, java.sql.SQLException
protected void updateOutOrderItemId()
protected void updateOutOrderItemName()
protected void updateOutOrderName()
protected boolean quoteIsStillGood(OrderItemAccessBean orderitemAB) throws ECException, javax.ejb.FinderException, javax.ejb.CreateException, javax.naming.NamingException, java.rmi.RemoteException, java.sql.SQLException
protected void updatePrice() throws ECException, javax.ejb.FinderException, javax.ejb.CreateException, javax.naming.NamingException, java.rmi.RemoteException, java.sql.SQLException
protected void updatePrice(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(java.util.Vector orderItems, java.lang.String currency) throws ECException, javax.ejb.FinderException, javax.ejb.CreateException, javax.naming.NamingException, java.rmi.RemoteException, java.sql.SQLException
If price has been obtained 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 when they can no longer be used, it not failed. It searches the ones that were originally searched when the OrderItems were created or updated with new trading IDs or 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 or offer IDs specified.
8: Before calling price command, sum the quantity for the OrderItems with same catentry. It will get the best price and update the OrderItem offerId and tradingId. It will not save the tradingId and offerId in the ORDITRD and ORDIOFFER.
protected boolean updateQuantity(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 resolveFulfillmentCenter() throws ECException
protected void updateResourceList() throws ECException, javax.ejb.FinderException, javax.ejb.CreateException, javax.naming.NamingException, java.rmi.RemoteException
protected void updateShipModeId() throws ECException, javax.ejb.FinderException, javax.ejb.CreateException, javax.naming.NamingException, java.rmi.RemoteException, java.sql.SQLException
protected void updateShipModeId(java.util.Vector orderItems) throws ECException, javax.ejb.FinderException, javax.ejb.CreateException, javax.naming.NamingException, java.rmi.RemoteException, java.sql.SQLException
protected void updateShipModeId(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 updateShippingAndAddress(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 markFutureOrderItem(OrderItemAccessBean ABorderitem, java.lang.Integer j) throws ECException, javax.ejb.FinderException, javax.ejb.CreateException, javax.naming.NamingException, java.rmi.RemoteException, java.sql.SQLException
protected boolean editableForFutureOrder(OrderItemAccessBean abOrderItem)
protected void markExpedited(OrderItemAccessBean ABorderitem, java.lang.Integer j) throws ECException, javax.ejb.FinderException, javax.ejb.CreateException, javax.naming.NamingException, java.rmi.RemoteException, java.sql.SQLException
protected void markTieShipCode(OrderItemAccessBean ABorderitem, java.lang.Integer j) throws ECException, javax.ejb.FinderException, javax.ejb.CreateException, javax.naming.NamingException, java.rmi.RemoteException, java.sql.SQLException
protected static boolean hasConflictTieCode(java.lang.Short tie, OrderItemAccessBean orderitemAB) throws java.rmi.RemoteException, javax.naming.NamingException, javax.ejb.FinderException, javax.ejb.CreateException
public void validateParameters() throws ECException
protected void buildATPParameters() throws ECException
protected void validateTradingPaymentMethods() throws ECException, javax.ejb.FinderException, javax.ejb.CreateException, javax.naming.NamingException, java.rmi.RemoteException, java.sql.SQLException
public java.lang.String getIsExpedited(java.lang.Integer i)
public void setIsExpedited(java.util.Hashtable ahshIsExpedited)
public java.lang.Short getTieShipCode(java.lang.Integer i) throws ECException
public void setTieShipCode(java.util.Hashtable ahshTieShipCode)
public java.util.Vector getOutOfInvItems()
public java.util.Vector getNonBuyableCatentryIds()
public void setCompListId(java.util.Hashtable ahshOICompList_id)
protected void initPartNumbers()
protected void handleBadParts() throws ECApplicationException
protected void raiseBusinessEvents() throws javax.ejb.CreateException, java.rmi.RemoteException, javax.naming.NamingException, javax.ejb.FinderException, ECSystemException
protected void refreshUpdateItemsAndUniqueItems() throws java.rmi.RemoteException, javax.naming.NamingException, javax.ejb.FinderException, javax.ejb.CreateException
public void setDoPrice(java.lang.String strDoPrice)
protected void checkSizeAndQuantity() throws ECException
protected long checkQuantity(com.ibm.commerce.order.utils.OrderThreshold.Part type) throws ECException
protected void checkSize(long numToAdd, com.ibm.commerce.order.utils.OrderThreshold.Part type) throws ECException
public void setComp_prices(java.util.Hashtable comp_prices)
public void setComp_priceLocks(java.util.Hashtable comp_priceLocks)
public void setDk_price(java.util.Hashtable dk_price)
public void setDk_priceLock(java.util.Hashtable dk_priceLock)
public void setComp_quantities(java.util.Hashtable comp_quantities)
public void setConfiguration(java.util.Hashtable configurations)
protected MonetaryAmount getDynamicKitPrice(java.lang.String strCatalogEntryId, java.lang.String currency, java.lang.String configuration)