com.ibm.commerce.orderitems.commands

Class OrderItemBaseCmdImpl

  • All Implemented Interfaces:
    AccCommand, ControllerCommand, ECCommand, ECTargetableCommand, OrderItemAddCmd, OrderItemUpdateCmd, Protectable, com.ibm.websphere.cache.Sizeable, com.ibm.websphere.command.CacheableCommand, com.ibm.websphere.command.Command, com.ibm.websphere.command.CommandCaller, com.ibm.websphere.command.TargetableCommand, java.io.Serializable
    Direct Known Subclasses:
    DOMOrderItemBaseCmdImpl, ExternalOrderItemBaseCmdImpl, OrderItemAddCmdImpl, OrderItemUpdateCmdImpl, com.ibm.commerce.quote.commands.QuoteItemBaseCmdImpl


    public class OrderItemBaseCmdImpl
    extends OrderBaseCmdImpl
    implements OrderItemAddCmd, OrderItemUpdateCmd
    This is the base class for OrderItemAddCmdImpl and OrderItemUpdateCmdImpl.

    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.

    • i is element index in the input enumeration. For example, OrderItemAdd?orderItemId_3=1004&orderItemId_7=1003&quantity_3=5&quantity_7=10 The quantity of these two order items will be updated to 5 and 10 according to corresponding index 3 and 7.
    • If a parameter has enumeration group 0, this parameter will apply to any missing enumeration group. For example, OrderItemAdd?catEntryId_1=1001&catEntryId_2=1002&quantity_0=5&quantity_2=10 The quantity for catEntryId 1001 will change to 5 and the quantity for catEntryId 1002 will change to 10. This means that the quantity_0=5 acted as a default for the missing quantity_1 attribute. However, the explicitly specified quantity_2=10 was used.
    • If a parameter does not have an enumeration group, then it overrides all other enumeration groups. For example, OrderItemAdd?catEntryId_1=1001&catEntryId_2=1002&quantity=3&quantity_0=5&quantity_2=10 The quantity for catEntryId 1001 and 1002 will change to 3. The quantity=3 attribute overrides the value of quantity_2, assigning a value of 3 for the missing quantity_1 attribute.
    • The parameters orderItemId_i, expandConfigurationId_ i, partNumber_ i, and catEntryId_ i are the keys for each enumeration group. It does not make sense to have one catEntryId to apply to all enumeration groups, so you should not use enumeration group 0 for these parameters. If you use enumeration group 0 or do not specify the enumeration group for these parameters, the command will handle only one item; all parameters in other enumeration groups will be ignored.
    • The command does the following for each enumeration group i of parameters:

      • Only one of the following parameters should be specified: orderItemId_i, expandConfigurationId_i, partNumber_i, or catEntryId_i.
      • If more than one of the above parameters are specified, only one takes effect and the others are ignored. The order of precedence is orderItemId_i, expandConfigurationId_i, partNumber_i, then catEntryId_i;
      • If the parameter orderItemId_i is specified, the parameters expandConfigurationId_i, partNumber_i, and catEntryId_ i are ignored. The command tries to update the order item.
      • If the parameter partNumber_i or parameter catEntryId_i is specified, the command tries to create a new order item and insert it into all resolved orders. If the list of resolved orders is empty, a new pending order is created.
      • If the parameter partNumber_i is specified, the parameter catEntryId_i is ignored. The command uses the partNumber_i with the optional parameter memberId_i to find the catalog entry. When partnumber_i is specified and memberId_i is not specified to the OrderItemAdd command, the following algorithm determines the CatalogEntry to be added:
        • If there is only one CatalogEntry with the specified partnumber for sale in the current Store (that is, in any of the Stores in the catalog StorePath of the current Store), use that CatalogEntry.
        • If there is more than one such CatalogEntry object, the partnumber is ambiguous, exception is thrown.
      • If the parameter expandConfigurationId_i is specified, the command tries to create multiple new order items and insert them into one order. That is, the list of resolved orders should be maximal to one. If the list of resolved orders contains more than one order, the created order items are inserted into only one order. It does the following things:
        • It finds all rows in the OICOMPLIST table where the CONIFGURATIONID = expandConfigurationId_i and ORDERITEMS_ID is null.
        • For each row found above, it uses the field CATENTRY_ID to create a new order item.
        • The quantity in the order item is the quantity_i specified on the URL multiplied by the field CATALOGQUANTITY.
        • If the field UNITPRICE and the field CURRENCY are both not null, they are copied to the order item and the priceoveridden bit in the prepareflags of the order item is set.
        • The field ORDERITEMS_ID of the row is set to the orderitems_id of the newly created order item.
        • The configurationid of the order item will be set to the expandConfigurationId_ i.
        • Update the OrderItem prepareFlags attribute to indicate 'notConfigured'.
      • When creating a new order item, the parameter quantity_ i is required and must be a positive number. The member ID of the order item is taken from the member ID in the order. The storeId is also required.
      • If the same enumeration group i is specified more than once, only one is effective and the others are ignored.
      • To add a new order item with catEntryId, the following things are checked:
        • It calls the ResolveSkuCmd task command to resolve the SKU.
        • It checks if the catalog entry is buyable in this store.
        • It checks if the customer is entitled to buy this catalog entry.
        • If any of these checks fail, an exception is thrown. But if the parameter continue is specified with value 1, the error is ignored. This order item is not added and the command continues to process the next order item.

      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.

      • If the quantity_i is zero, the order item is removed from the order. The order item is sent to a trash can order, or is removed from the database. See, Configuring deleting order items and requisition lists.
      • If the quantity_i is different from the orderItem's original quantity and doPrice is N, the price bit flag PREPAREFLAGS_PRICE_REFRESHED is set to 0.
      • If the parameter addressId_i is not specified, for a registered user, the default is the addressId in the ADDRESS table (where the STATUS column has a value of P and the value in the NICKNAME column is the user's login ID obtained from the LOGONID column in the USERREG table if there is no shipping address defined in the contract used in this order item, otherwise it is the shipping address that the contract allows). If the address cannot be found in the ADDRESS table, the addressId will be NULL for the order item in the ORDERITEMS table. For the existing shipping address of an order item, it will be refreshed with the address identifiers of the address belonging to the same user with status "P" and the same nickname. If there is no such address, then set the default to the addressId if you can find the default address.
      • If the parameter shipModeId_i is not specified, the default is taken from the STOREDEF table.
      • It calls the ResolveOrderItemPriceCmd task command to get the contract price of the product or item using the specified trading agreements (contracts) or the eligible trading agreements, except for order items which were generated or whose price were manually entered (overridden by the administrator). All input trading agreements to be used are verified if they apply compatible payment methods. The currency is always the same as the currency from the order.
      • The SKIP_REPRICING attribute in the prepareFlags field protects the pricing of an item. If changes are made to the order item that affect price (including shipping and taxes), it removes the SKIP_REPRICING attribute.

      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 doPrice parameter is set to N, do the following checks to determine whether to reset the PREPAREFLAGS_PRICE_REFRESHED price bit flag of each order item.
        • If the offerIds parameter is set for the order item and it is different from ORDERITEMS.OFFER_ID , or ORDERITEMS.OFFER_ID is null, reset the bit flag to 0.
        • If the contractIds parameter is set for the order item and it is different from ORDERITEMS.TRADING_ID, or ORDERITEMS.TRADING_ID is null, reset the bit flag to 0.
        • Call the CheckAndResetOrderItemPriceFlagCmd task command to check and reset the PREPAREFLAGS_PRICE_REFRESHED bit flag for the order item if its created time has been expired.
      • For each order item, if doPrice is N and the PREPAREFLAGS_PRICE_REFRESHED bit flag is 1, then the price is not refreshed. If the bit flag is 0, the price is refreshed with the same behavior as doPrice=Y, which is the default value of the doPrice parameter.
      • Update order item prices if the order items are not generated items, quotations, or price overridden items.
      • Set the PREPAREFLAGS_PRICE_REFRESHED bit flag to 1 for updated order items.

      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.

      This command calls the following TaskCommands:

      This command uses the following AccessBeans:

      Possible callers:

      • OrderProcessingHelper
      • CalculateOrderCmdImpl
      • PromotionEngineOrderCalculateCmdImpl
      • AddItemsToFulfillmentOrderCmdImpl
      • RequisitionListItemUpdateCmdImpl
      • RequisitionListSubmitCmdImpl
      • CSROrderItemAddCmdImpl
      • OrderCopyCmdImpl
      • OrderItemMoveCmdImpl
      • PreProcessOrderCmdImpl
      • GuestUserOrderMigrationEventListener
      • MigrateRegisteredUserEntriesCmdImpl
      • CSROrderItemAddressUpdateCmdImpl
      • CSROrderItemAddCmdImpl
      • CSROrderItemUCmdImpl
    See Also:
    Serialized Form
    • Field Detail

      • COPYRIGHT

        public static final java.lang.String COPYRIGHT
        IBM copyright notice field.
        See Also:
        Constant Field Values
      • NORMAL_ORDERITEM

        public static final int NORMAL_ORDERITEM
        Deprecated. Use "0x00" instead
        Reserved for IBM internal use.
        See Also:
        Constant Field Values
      • GENERATED_ORDERITEM

        public static final int GENERATED_ORDERITEM
        Deprecated. Replaced by com.ibm.commerce.order.utils.OrderConstants.PREPAREFLAGS_GENERATED
        Reserved for IBM internal use.
        See Also:
        Constant Field Values
      • MANUAL_PRICE

        public static final int MANUAL_PRICE
        Deprecated. Replaced by com.ibm.commerce.order.utils.OrderConstants.PREPAREFLAGS_PRICE_OVERRIDE
        Reserved for IBM internal use.
        See Also:
        Constant Field Values
      • MANUAL_FULFILLMENT_CENTER

        public static final int MANUAL_FULFILLMENT_CENTER
        Deprecated. Replaced by com.ibm.commerce.order.utils.OrderConstants.PREPAREFLAGS_FULFILLMENT_CENTER_OVERRIDE
        Reserved for IBM internal use.
        See Also:
        Constant Field Values
      • STR_INVALID_INPUT_ERROR_VIEW

        public static final java.lang.String STR_INVALID_INPUT_ERROR_VIEW
        The invalid input error view.
        See Also:
        Constant Field Values
    • Constructor Detail

      • OrderItemBaseCmdImpl

        public OrderItemBaseCmdImpl()
    • Method Detail

      • getOrderField1

        public java.lang.Integer getOrderField1()
        Get the value for orderField1.
        Returns:
        The value for orderField1
      • setOrderField1

        public void setOrderField1(java.lang.Integer orderField1)
        Set the value for orderField1
        Parameters:
        orderField1 - The value of orderField1
      • getOrderField2

        public java.math.BigDecimal getOrderField2()
        Get the value for orderField2.
        Returns:
        The value for orderField2
      • setOrderField2

        public void setOrderField2(java.math.BigDecimal orderField2)
        Set the value for orderField2
        Parameters:
        orderField2 - The value of orderField2
      • getOrderField3

        public java.lang.String getOrderField3()
        Get the value for orderField3.
        Returns:
        The value for orderField3
      • setOrderField3

        public void setOrderField3(java.lang.String orderField3)
        Set the value for orderField3
        Parameters:
        orderField3 - The value of orderField3
      • getCalculationUsageIds

        public java.lang.String getCalculationUsageIds()
        Gets the calculation usage ids.
        Returns:
        A String of the calculation usage ids.
      • setCalculationUsageIds

        public void setCalculationUsageIds(java.lang.String stringCalculationUsageIds)
        Sets the calculation usage ids.
        Parameters:
        stringCalculationUsageIds - A String of the calculation usage ids.
      • getATPParms

        public ATPParameters getATPParms()
        Gets the input ATP parameters.
        Returns:
        ATPParameters.
      • getNewOrderId

        public java.lang.Long getNewOrderId()
        Gets the ID of the newly created order.
        Returns:
        order ID, or null.
      • getNewOrderItemIds

        public java.util.Hashtable getNewOrderItemIds()
        Returns a Hashtable whose (String) values are identifiers of newly created OrderItems. The keys are the (Integer) enumeration group identifiers that created them.
        Specified by:
        getNewOrderItemIds in interface OrderItemUpdateCmd
        Returns:
        The hashtable.
      • getOrderIds

        public java.lang.String[] getOrderIds()
        Return a list of order IDs which are touched or created by the command. These order IDs are also appended to redirection URL.
        Specified by:
        getOrderIds in interface OrderItemAddCmd
        Specified by:
        getOrderIds in interface OrderItemUpdateCmd
        Returns:
        An array of order IDs.
      • getOrderItemIds

        public java.lang.String[] getOrderItemIds()
        Return a list of order item IDs which are created or updated by the command. These order item IDs are also appended to redirection URL.
        Specified by:
        getOrderItemIds in interface OrderItemAddCmd
        Specified by:
        getOrderItemIds in interface OrderItemUpdateCmd
        Returns:
        An array of order item IDs.
      • getTheUserId

        public java.lang.Long getTheUserId()
        Returns super.getUserId().
        Returns:
        The user ID.
      • getDeletedOrderItemIds

        public java.util.Set getDeletedOrderItemIds()
        Returns a Set of (String) identifiers of deleted OrderItems.
        Specified by:
        getDeletedOrderItemIds in interface OrderItemUpdateCmd
        Returns:
        The Set.
      • getDeletedOrderItemCatEntryIds

        public java.util.Set getDeletedOrderItemCatEntryIds()
        Returns a Set of catalog entry ID of deleted OrderItems.
        Returns:
        The Set of catalog entry ID with String type.
      • reset

        public void reset()
        Reset all instance variables.
        Specified by:
        reset in interface com.ibm.websphere.command.Command
        Overrides:
        reset in class AbstractECTargetableCommand
      • setAddressId

        public void setAddressId(java.util.Hashtable ahshAddress_id)
        Set the address ID parameters (optional).
        Specified by:
        setAddressId in interface OrderItemAddCmd
        Specified by:
        setAddressId in interface OrderItemUpdateCmd
        Parameters:
        ahshAddress_id - A list of address IDs.
      • setShipInstructions

        public void setShipInstructions(java.util.Hashtable parahshShipInstructs)
        Set the shipInstructs parameters (optional).
        Parameters:
        parahshShipInstructs - A list of ship instructions.
      • setChargeTypes

        public void setChargeTypes(java.util.Hashtable parahshShipChargeType_id)
        Set the shipChargeType ID parameters (optional).
        Parameters:
        parahshShipChargeType_id - A list of charge types.
      • setCarrAccntNum

        public void setCarrAccntNum(java.util.Hashtable parahshShipCarrAccntNum)
        Set the shipAccount number parameters (optional).
        Parameters:
        parahshShipCarrAccntNum - A list of charge types.
      • setATPParms

        public void setATPParms(ATPParameters newATPParms)
        Set the ATP parameters.
        Parameters:
        newATPParms - ATPParameters.
      • setAttrName

        public void setAttrName(java.util.Hashtable ahshAttr_name)
        Set the attribute name parameters (optional). The attribute name is used to determine a SKU together with the attribute value.
        Specified by:
        setAttrName in interface OrderItemAddCmd
        Specified by:
        setAttrName in interface OrderItemUpdateCmd
        Parameters:
        ahshAttr_name - A list of attribute names.
      • setAttrValue

        public void setAttrValue(java.util.Hashtable ahshAttr_value)
        Set the attribute value parameters (optional). The attribute value is used to determine a SKU together with the attribute name.
        Specified by:
        setAttrValue in interface OrderItemAddCmd
        Specified by:
        setAttrValue in interface OrderItemUpdateCmd
        Parameters:
        ahshAttr_value - A list of attribute values.
      • setCatEntryId

        public void setCatEntryId(java.util.Hashtable ahshCatentry_id)
        Set the attribute name parameters. This parameter is mandatory if the partNumber parameter is not set. This parameter is ignored when the partNumber parameter is set.
        Specified by:
        setCatEntryId in interface OrderItemAddCmd
        Specified by:
        setCatEntryId in interface OrderItemUpdateCmd
        Parameters:
        ahshCatentry_id - A list of catalog entry IDs.
      • setComment

        public void setComment(java.util.Hashtable ahshComment)
        Set the comment parameters (optional).
        Specified by:
        setComment in interface OrderItemAddCmd
        Specified by:
        setComment in interface OrderItemUpdateCmd
        Parameters:
        ahshComment - A list of comments.
      • setConfigurationId

        public void setConfigurationId(java.util.Hashtable ahshConfigurationId)
        Set the configurationId parameter. This parameter is optional unless the OrderItem is for a dynamic kit with components.
        Specified by:
        setConfigurationId in interface OrderItemAddCmd
        Specified by:
        setConfigurationId in interface OrderItemUpdateCmd
        Parameters:
        ahshConfigurationId - a list of configuration IDs.
      • setContinue

        public void setContinue(java.lang.String aContinue)
        Set the continue parameter (optional).
        Specified by:
        setContinue in interface OrderItemAddCmd
        Specified by:
        setContinue in interface OrderItemUpdateCmd
        Parameters:
        aContinue - A string can be either "0" or "1".
      • setContractId

        public void setContractId(java.util.Hashtable ahshContract_id)
        Set the contract ID parameters (optional). It is used to calculate the price.
        Specified by:
        setContractId in interface OrderItemAddCmd
        Specified by:
        setContractId in interface OrderItemUpdateCmd
        Parameters:
        ahshContract_id - A list of contract IDs.
      • setDescription

        public void setDescription(java.util.Hashtable ahshDescription)
        Set the description parameters (optional).
        Specified by:
        setDescription in interface OrderItemAddCmd
        Specified by:
        setDescription in interface OrderItemUpdateCmd
        Parameters:
        ahshDescription - A list of order item descriptions.
      • setField1

        public void setField1(java.util.Hashtable ahshField1)
        Set the field1 parameters (optional).
        Specified by:
        setField1 in interface OrderItemAddCmd
        Specified by:
        setField1 in interface OrderItemUpdateCmd
        Parameters:
        ahshField1 - A list of field1.
      • setField2

        public void setField2(java.util.Hashtable ahshField2)
        Set the field2 parameters (optional).
        Specified by:
        setField2 in interface OrderItemAddCmd
        Specified by:
        setField2 in interface OrderItemUpdateCmd
        Parameters:
        ahshField2 - A list of field2.
      • setListId

        public void setListId(java.lang.String[] aList_id)
        Set the interest item list ID parameters (optional).
        Specified by:
        setListId in interface OrderItemAddCmd
        Specified by:
        setListId in interface OrderItemUpdateCmd
        Parameters:
        aList_id - An array of interest item list IDs.
      • setMemberId

        public void setMemberId(java.util.Hashtable ahshMember_id)
        Set the member ID parameters (optional). It is the catalog owner's member ID. It is necessary when the partNumber parameter is set. Together with the partNumber, the catalog entry ID can uniquely be determined.
        Specified by:
        setMemberId in interface OrderItemAddCmd
        Specified by:
        setMemberId in interface OrderItemUpdateCmd
        Parameters:
        ahshMember_id - A list of member IDs.
      • setOfferId

        public void setOfferId(java.util.Hashtable ahshOffer_id)
        Set the offer ID parameters (optional). It is used to calculate the price.
        Specified by:
        setOfferId in interface OrderItemAddCmd
        Specified by:
        setOfferId in interface OrderItemUpdateCmd
        Parameters:
        ahshOffer_id - A list of offer IDs.
      • setShipAsComplete

        public void setShipAsComplete(java.lang.String aShipAsComplete)
        Set the ShipAsComplete parameter (optional).
        Parameters:
        aShipAsComplete - ShipAsComplete
      • setOrderId

        public void setOrderId(java.lang.String[] aOrder_id)
        Set the order ID parameters (optional). If it is not set, the current pending order ID will be used. If there is no current pending order, a new order will be created.
        Specified by:
        setOrderId in interface OrderItemAddCmd
        Specified by:
        setOrderId in interface OrderItemUpdateCmd
        Parameters:
        aOrder_id - An array of order IDs.
      • setOrderItemId

        public void setOrderItemId(java.util.Hashtable ahshOrderitem_id)
        Set the order item IDs for which to update.
        Specified by:
        setOrderItemId in interface OrderItemUpdateCmd
        Parameters:
        ahshOrderitem_id - A list of order item IDs.
      • setOutOrderItemName

        public void setOutOrderItemName(java.lang.String[] aOut_orderitem_name)
        Set the out order item name parameters (optional). If it is not set, the default name is "orderItemId".
        Specified by:
        setOutOrderItemName in interface OrderItemAddCmd
        Specified by:
        setOutOrderItemName in interface OrderItemUpdateCmd
        Parameters:
        aOut_orderitem_name - An array of out order item names.
      • setOutOrderName

        public void setOutOrderName(java.lang.String[] aOut_order_name)
        Set the out order name parameters (optional). If it is not set, the default name is "orderId".
        Specified by:
        setOutOrderName in interface OrderItemAddCmd
        Specified by:
        setOutOrderName in interface OrderItemUpdateCmd
        Parameters:
        aOut_order_name - An array of out order names.
      • setPartNumber

        public void setPartNumber(java.util.Hashtable ahshPart_number)
        Set the part number parameters (optional).
        Specified by:
        setPartNumber in interface OrderItemAddCmd
        Specified by:
        setPartNumber in interface OrderItemUpdateCmd
        Parameters:
        ahshPart_number - A list of part numbers.
      • setQuantity

        public void setQuantity(java.lang.Integer i,
                                java.lang.Double aQuantity)
        Set the quantity parameters. It is mandatory if adding a new order item.
        Parameters:
        i - enumeration group
        aQuantity - A quantity.
      • setQuantity

        public void setQuantity(java.util.Hashtable ahshQuantity)
        Set the quantity parameters. It is mandatory if adding a new order item.
        Specified by:
        setQuantity in interface OrderItemAddCmd
        Specified by:
        setQuantity in interface OrderItemUpdateCmd
        Parameters:
        ahshQuantity - A list of quantities.
      • setRequestedShipDate

        public void setRequestedShipDate(java.util.Hashtable ahshRequestedShipDate)
        Set the RequestedShipDate parameters. It is optional if adding a new order item.
        Specified by:
        setRequestedShipDate in interface OrderItemUpdateCmd
        Parameters:
        ahshRequestedShipDate - A list of requestedShipDate.
      • setShipmodeId

        public void setShipmodeId(java.util.Hashtable ahshShipmode_id)
        Set the ship mode ID parameters (optional).
        Specified by:
        setShipmodeId in interface OrderItemAddCmd
        Specified by:
        setShipmodeId in interface OrderItemUpdateCmd
        Parameters:
        ahshShipmode_id - A list of shipping mode IDs.
      • setPhysicalStoreId

        public void setPhysicalStoreId(java.util.Hashtable ahshPhysicalStoreId)
        Set the physical store ID (optional).
        Parameters:
        ahshPhysicalStoreId - A list of physical store ID.
      • setTradingId

        public void setTradingId(java.util.Hashtable ahshTrading_id)
        Set the trading ID parameters (optional). It is used to calculate the price.
        Specified by:
        setTradingId in interface OrderItemAddCmd
        Specified by:
        setTradingId in interface OrderItemUpdateCmd
        Parameters:
        ahshTrading_id - A list of trading IDs.
      • setUom

        public void setUom(java.util.Hashtable ahshUom)
        Set the unit of measure parameters (optional).
        Specified by:
        setUom in interface OrderItemAddCmd
        Specified by:
        setUom in interface OrderItemUpdateCmd
        Parameters:
        ahshUom - A list of UOMs.
      • setRepriceOrderFlag

        public void setRepriceOrderFlag(boolean repriceOrder)
        Sets the flag that indicates that the Order needs to be priced again
        Parameters:
        repriceOrder -
      • getRepriceOrderFlag

        public boolean getRepriceOrderFlag()
        Gets the repriceOrderFlag.
        Returns:
        repriceOrderFlag.
      • getIsExpedited

        public java.lang.String getIsExpedited(java.lang.Integer i)
        This method returns the ihshIsExpedited.
        Parameters:
        i -
        Returns:
        Hashtable
      • setIsExpedited

        public void setIsExpedited(java.util.Hashtable ahshIsExpedited)
        Sets the ihshIsExpedited.
        Parameters:
        ahshIsExpedited - The ihshIsExpedited to set.
      • getTieShipCode

        public java.lang.Short getTieShipCode(java.lang.Integer i)
                                       throws ECException
        This method returns the tieCode.
        Parameters:
        i -
        Returns:
        Short
        Throws:
        ECException
      • setTieShipCode

        public void setTieShipCode(java.util.Hashtable ahshTieShipCode)
        This method sets the ihshTieShipCode.
        Parameters:
        ahshTieShipCode - The ihshTieShipCode to set.
      • getOutOfInvItems

        public java.util.Vector getOutOfInvItems()
        This method returns the list of Items not available in Inventory
        Specified by:
        getOutOfInvItems in interface OrderItemUpdateCmd
        Returns:
        Vector
      • getNonBuyableCatentryIds

        public java.util.Vector getNonBuyableCatentryIds()
        This method returns the list of nonBuyable catentry_id.
        Specified by:
        getNonBuyableCatentryIds in interface OrderItemAddCmd
        Returns:
        Vector of String
      • setCompListId

        public void setCompListId(java.util.Hashtable ahshOICompList_id)
        This method sets the list of IDs from the oicomplist table - used for Dynamic kits.
        Specified by:
        setCompListId in interface OrderItemUpdateCmd
        Parameters:
        ahshOICompList_id -
      • setDoPrice

        public void setDoPrice(java.lang.String strDoPrice)
        This method sets the do price parameter.
        Parameters:
        strDoPrice - The String value indicating whether to do price.
      • setComp_prices

        public void setComp_prices(java.util.Hashtable comp_prices)
        Set the components prices to hashtable
        Parameters:
        comp_prices - a list of components prices to be set
      • setComp_priceLocks

        public void setComp_priceLocks(java.util.Hashtable comp_priceLocks)
        Set the components pricelocks to hashtable
        Parameters:
        comp_priceLocks - a list of pricelocks to be set
      • setDk_price

        public void setDk_price(java.util.Hashtable dk_price)
        Set the dynamickit price
        Parameters:
        dk_price - is the price of the Dynamic kit.
      • setDk_priceLock

        public void setDk_priceLock(java.util.Hashtable dk_priceLock)
        Set the dynamickit price lock
        Parameters:
        dk_priceLock - is the price lock of the Dynamic kit.
      • setComp_quantities

        public void setComp_quantities(java.util.Hashtable comp_quantities)
        Set the components quantities
        Parameters:
        comp_quantities - is a list of quantities
      • setConfiguration

        public void setConfiguration(java.util.Hashtable configurations)
        Parameters:
        configurations - is the configuration of the predefined dynamic kit.