com.ibm.commerce.order.commands

Class OrderCopyCmd.Group

  • java.lang.Object
    • com.ibm.commerce.order.commands.OrderCopyCmd.Group
  • Enclosing interface:
    OrderCopyCmd


    public static class OrderCopyCmd.Group
    extends java.lang.Object
    The OrderCopy enumeration group.
    • Constructor Summary

      Constructors 
      Constructor and Description
      Group() 
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      java.lang.Long getAddressId()
      Get the shipping address of the new/copied/updated order item(s).
      java.util.Hashtable getAttributes()
      Get the attributes of the product.
      java.lang.String getBlockInfoCopyFlag()
      Get the lag indicating whether to copy Block info or not.
      java.lang.Long getCatalogEntryId()
      Get the catalog entry of the new/copied order item(s).
      java.lang.String getComment()
      Get the comment of the new/copied/updated order item(s).
      java.lang.String[] getCompListId()
      Get list of oicomplist_id from oicomplist table.
      java.lang.String getConfigurationId()
      Get the configuration ID of the new/copied order item(s).
      java.lang.Long[] getContractIds()
      Get the possible contracts of the new/copied/updated order item(s).
      java.lang.String[] getCopyOrderItemAbbreviations()
      Get the order items in the source orders to be copied.
      OrderItemAccessBean[] getCopyOrderItems()
      Get the order items in the source orders to be copied.
      java.lang.Long getCorrelationGroup()
      Get the correlation group of the new/copied/updated order item(s).
      java.lang.String getDescription()
      Get the description of the new/copied/updated order item(s).
      java.lang.Integer getField1()
      Get field1 of the new/copied/updated order item(s).
      java.lang.String getField2()
      Get field2 of the new/copied/updated order item(s).
      java.lang.String[] getFromOrderAbbreviations()
      Get the source orders.
      OrderAccessBean[] getFromOrders()
      Get the source orders.
      java.lang.Integer getFulfillmentCenterId()
      Get the fulfillment center of the new/copied/updated order item(s).
      java.lang.Long getMemberId()
      Get the member to be used in resolving the order abbreviation(s).
      boolean getNewOrderItem()
      Get whether a new order item should be added to the target order.
      java.lang.Long[] getOfferIds()
      Get the possible offers of the new/copied/updated order item(s).
      java.lang.String getPartNumber()
      Get the part number of the new/copied order item(s).
      java.lang.Long getPartOwnerId()
      Get the memberId that owns the CatalogEntry identified by the part number.
      java.lang.Double getQuantity()
      Get the quantity of the new/copied/updated order item(s).
      java.lang.String getSensitiveInfoCopyFlag()
      Get the flag indicating whether to copy sensitive info (Payments for example) or not.
      java.lang.Integer getShipmodeId()
      Get the shipping mode of the new/copied/updated order item(s).
      java.lang.String getUom()
      Get the unit of measure of the quantity.
      java.lang.String[] getUpdateOrderItemAbbreviations()
      Get the order items in the target order to be updated.
      OrderItemAccessBean[] getUpdateOrderItems()
      Get the order items in the target order to be updated.
      boolean isSetAddressIdCalled()
      Get if the setAddressId(Long anAddressId) has been called.
      boolean isSetCatalogEntryIdCalled()
      Get if the setCatalogEntryId(Long anCatalogEntryId) has been called.
      boolean isSetContractIdsCalled()
      Get if setContractIds(Long[] anContractIds) has been called.
      boolean isSetCorrelationGroupCalled()
      Get if the setCorrelationGroup(Long anCorrelationGroup) has been called.
      boolean isSetField1Called()
      Get if setField1(Integer anField1) has been called.
      boolean isSetFulfillmentCenterIdCalled()
      Get if setFulfillmentCenterId(Integer anFulfillmentCenterId) has been called.
      boolean isSetOfferIdsCalled()
      Get if setOfferIds(Long[] anOfferIds) has been called.
      boolean isSetShipmodeIdCalled()
      Get if setShipmodeId(Integer anShipmodeId) has been called.
      void setAddressId(java.lang.Long anAddressId)
      Set the shipping address of the new/copied/updated order item(s).
      void setAttributes(java.util.Hashtable ahshAttributes)
      Set the attributes of the product.
      void setBlockInfoCopyFlag(java.lang.String astrBlockInfoCopyFlag)
      Set the lag indicating whether to copy Block info or not.
      void setCatalogEntryId(java.lang.Long anCatalogEntryId)
      Set the catalog entry of the new/copied order item(s).
      void setComment(java.lang.String astrComment)
      Set the comment of the new/copied/updated order item(s).
      void setCompListId(java.lang.String[] astrCompListId)
      Set list of oicomplist_id from oicomplist table.
      void setConfigurationId(java.lang.String astrConfigId)
      Set the configuration ID of the new/copied order item(s).
      void setContractIds(java.lang.Long[] anContractIds)
      Set the possible contracts of the new/copied/updated order item(s).
      void setCopyOrderItemAbbreviations(java.lang.String[] astrCopyOrderItemAbbreviations)
      Set the order items in the source orders to be copied.
      void setCopyOrderItems(OrderItemAccessBean[] aabCopyOrderItems)
      Set the order items in the source orders to be copied.
      void setCorrelationGroup(java.lang.Long anCorrelationGroup)
      Set the correlation group of the new/copied/updated order item(s).
      void setDescription(java.lang.String astrDescription)
      Set the description of the new/copied/updated order item(s).
      void setField1(java.lang.Integer anField1)
      Set field1 of the new/copied/updated order item(s).
      void setField2(java.lang.String astrField2)
      Set field2 of the new/copied/updated order item(s).
      void setFromOrderAbbreviations(java.lang.String[] astrFromOrderAbbreviations)
      Set the source orders.
      void setFromOrders(OrderAccessBean[] aabFromOrders)
      Set the source orders.
      void setFulfillmentCenterId(java.lang.Integer anFulfillmentCenterId)
      Set the fulfillment center of the new/copied/updated order item(s).
      void setMemberId(java.lang.Long anMemberId)
      Set the member to be used in resolving the order abbreviation(s).
      void setNewOrderItem(boolean abNewOrderItem)
      Set whether a new order item should be added to the target order.
      void setOfferIds(java.lang.Long[] anOfferIds)
      Set the possible offers of the new/copied/updated order item(s).
      void setPartNumber(java.lang.String astrPartNumber)
      Set the part number of the new/copied order item(s).
      void setPartOwnerId(java.lang.Long anPartOwnerId)
      Set the memberId that owns the CatalogEntry identified by the part number.
      void setQuantity(java.lang.Double adQuantity)
      Set the quantity of the new/copied/updated order item(s).
      void setSensitiveInfoCopyFlag(java.lang.String astrSensitiveInfoCopyFlag)
      Set the flag indicating whether to copy sensitive info (Payments for example) or not.
      void setShipmodeId(java.lang.Integer anShipmodeId)
      Set the shipping mode of the new/copied/updated order item(s).
      void setUom(java.lang.String astrUom)
      Set the unit of measure of the quantity.
      void setUpdateOrderItemAbbreviations(java.lang.String[] astrUpdateOrderItemAbbreviations)
      Set the order items in the target order to be updated.
      void setUpdateOrderItems(OrderItemAccessBean[] aabUpdateOrderItems)
      Set the order items in the target order to be updated.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • Group

        public Group()
    • Method Detail

      • setFromOrders

        public void setFromOrders(OrderAccessBean[] aabFromOrders)
        Set the source orders.
        Default: null (this enumeration group does not need any source order)
        Parameters:
        aabFromOrders - the source orders
      • getFromOrders

        public OrderAccessBean[] getFromOrders()
        Get the source orders.
        Returns:
        the source orders
      • setCopyOrderItems

        public void setCopyOrderItems(OrderItemAccessBean[] aabCopyOrderItems)
        Set the order items in the source orders to be copied.
        Default: null (all order items in the source orders are to be copied)
        Parameters:
        aabCopyOrderItems - the order items in the source orders to be copied
      • getCopyOrderItems

        public OrderItemAccessBean[] getCopyOrderItems()
        Get the order items in the source orders to be copied.
        Returns:
        the order items in the source orders to be copied
      • setUpdateOrderItems

        public void setUpdateOrderItems(OrderItemAccessBean[] aabUpdateOrderItems)
        Set the order items in the target order to be updated.
        Default: null (none of the order items in the target order is to be updated)
        Parameters:
        aabUpdateOrderItems - the order items in the target order to be updated
      • getUpdateOrderItems

        public OrderItemAccessBean[] getUpdateOrderItems()
        Get the order items in the target order to be updated.
        Returns:
        the order items in the target order to be updated
      • setNewOrderItem

        public void setNewOrderItem(boolean abNewOrderItem)
        Set whether a new order item should be added to the target order.
        Default: false
        Parameters:
        abNewOrderItem - whether a new order item should be added to the target order
      • getNewOrderItem

        public boolean getNewOrderItem()
        Get whether a new order item should be added to the target order.
        Returns:
        whether a new order item should be added to the target order
      • setQuantity

        public void setQuantity(java.lang.Double adQuantity)
        Set the quantity of the new/copied/updated order item(s).
        Default: null (the quantity of the new/copied/updated order item(s) should be left unchanged)
        Parameters:
        adQuantity - the quantity of the new/copied/updated order item(s)
      • getQuantity

        public java.lang.Double getQuantity()
        Get the quantity of the new/copied/updated order item(s).
        Returns:
        the quantity of the new/copied/updated order item(s)
      • setAttributes

        public void setAttributes(java.util.Hashtable ahshAttributes)
        Set the attributes of the product.
        Default: null (no attributes)
        Parameters:
        ahshAttributes - the attributes of the product.
      • Key: attribute name (String)
      • Value: attribute values (String[])
      • getAttributes

        public java.util.Hashtable getAttributes()
        Get the attributes of the product.
        Returns:
        the attributes of the product
      • setAddressId

        public void setAddressId(java.lang.Long anAddressId)
        Set the shipping address of the new/copied/updated order item(s).
        Default: null (the shipping address of the new/copied/updated order item(s) should be left unchanged)
        Parameters:
        anAddressId - the shipping address of the new/copied/updated order item(s)
      • getAddressId

        public java.lang.Long getAddressId()
        Get the shipping address of the new/copied/updated order item(s).
        Returns:
        the shipping address of the new/copied/updated order item(s)
      • isSetAddressIdCalled

        public boolean isSetAddressIdCalled()
        Get if the setAddressId(Long anAddressId) has been called.
        Returns:
        if the setAddressId(Long anAddressId) has been called.
      • setCatalogEntryId

        public void setCatalogEntryId(java.lang.Long anCatalogEntryId)
        Set the catalog entry of the new/copied order item(s).
        Default: null (the catalog entry of the copied order item(s) should be left unchanged)
        Parameters:
        anCatalogEntryId - the catalog entry of the new/copied order item(s)
      • getCatalogEntryId

        public java.lang.Long getCatalogEntryId()
        Get the catalog entry of the new/copied order item(s).
        Returns:
        the catalog entry of the new/copied order item(s)
      • isSetCatalogEntryIdCalled

        public boolean isSetCatalogEntryIdCalled()
        Get if the setCatalogEntryId(Long anCatalogEntryId) has been called.
        Returns:
        if the setCatalogEntryId(Long anCatalogEntryId) has been called
      • setContractIds

        public void setContractIds(java.lang.Long[] anContractIds)
        Set the possible contracts of the new/copied/updated order item(s).
        Default: null (use the default set of possible contracts/the contract of the copied/updated order item(s) should be left unchanged)
        Parameters:
        anContractIds - the possible contracts of the new/copied/updated order item(s)
      • getContractIds

        public java.lang.Long[] getContractIds()
        Get the possible contracts of the new/copied/updated order item(s).
        Returns:
        the possible contracts of the new/copied/updated order item(s)
      • isSetContractIdsCalled

        public boolean isSetContractIdsCalled()
        Get if setContractIds(Long[] anContractIds) has been called.
        Returns:
        if setContractIds(Long[] anContractIds) has been called
      • setField1

        public void setField1(java.lang.Integer anField1)
        Set field1 of the new/copied/updated order item(s).
        Default: null (field1 of the new/copied/updated order item(s) should be left unchanged)
        Parameters:
        anField1 - field1 of the new/copied/updated order item(s)
      • getField1

        public java.lang.Integer getField1()
        Get field1 of the new/copied/updated order item(s).
        Returns:
        field1 of the new/copied/updated order item(s)
      • isSetField1Called

        public boolean isSetField1Called()
        Get if setField1(Integer anField1) has been called.
        Returns:
        if setField1(Integer anField1) has been called
      • setMemberId

        public void setMemberId(java.lang.Long anMemberId)
        Set the member to be used in resolving the order abbreviation(s).
        Default: null (use the current user to resolve the order abbreviation(s))
        Parameters:
        anMemberId - the member to be used in resolving the order abbreviation(s)
      • getMemberId

        public java.lang.Long getMemberId()
        Get the member to be used in resolving the order abbreviation(s).
        Returns:
        the member to be used in resolving the order abbreviation(s)
      • setOfferIds

        public void setOfferIds(java.lang.Long[] anOfferIds)
        Set the possible offers of the new/copied/updated order item(s).
        Default: null (use the default set of possible offers/the offer of the copied/updated order item(s) should be left unchanged)
        Parameters:
        anOfferIds - the possible offers of the new/copied/updated order item(s)
      • getOfferIds

        public java.lang.Long[] getOfferIds()
        Get the possible offers of the new/copied/updated order item(s).
        Returns:
        the possible offers of the new/copied/updated order item(s)
      • isSetOfferIdsCalled

        public boolean isSetOfferIdsCalled()
        Get if setOfferIds(Long[] anOfferIds) has been called.
        Returns:
        if setOfferIds(Long[] anOfferIds) has been called
      • setShipmodeId

        public void setShipmodeId(java.lang.Integer anShipmodeId)
        Set the shipping mode of the new/copied/updated order item(s).
        Default: null (the shipping mode of the new/copied/updated order item(s) should be left unchanged)
        Parameters:
        anShipmodeId - the shipping mode of the new/copied/updated order item(s)
      • getShipmodeId

        public java.lang.Integer getShipmodeId()
        Get the shipping mode of the new/copied/updated order item(s).
        Returns:
        the shipping mode of the new/copied/updated order item(s).
      • isSetShipmodeIdCalled

        public boolean isSetShipmodeIdCalled()
        Get if setShipmodeId(Integer anShipmodeId) has been called.
        Returns:
        if setShipmodeId(Integer anShipmodeId) has been called
      • setFulfillmentCenterId

        public void setFulfillmentCenterId(java.lang.Integer anFulfillmentCenterId)
        Set the fulfillment center of the new/copied/updated order item(s).
        Default: null (the fulfillment center of the new/copied/updated order item(s) should be left unchanged)
        Parameters:
        anFulfillmentCenterId - the fulfillment center of the new/copied/updated order item(s)
      • getFulfillmentCenterId

        public java.lang.Integer getFulfillmentCenterId()
        Get the fulfillment center of the new/copied/updated order item(s).
        Returns:
        the fulfillment center of the new/copied/updated order item(s).
      • isSetFulfillmentCenterIdCalled

        public boolean isSetFulfillmentCenterIdCalled()
        Get if setFulfillmentCenterId(Integer anFulfillmentCenterId) has been called.
        Returns:
        true if setFulfillmentCenterId(Integer anFulfillmentCenterId) has been called
      • setComment

        public void setComment(java.lang.String astrComment)
        Set the comment of the new/copied/updated order item(s).
        Default: null (the comment of the new/copied/updated order item(s) should be left unchanged)
        Parameters:
        astrComment - the comment of the new/copied/updated order item(s)
      • getComment

        public java.lang.String getComment()
        Get the comment of the new/copied/updated order item(s).
        Returns:
        the comment of the new/copied/updated order item(s)
      • setCopyOrderItemAbbreviations

        public void setCopyOrderItemAbbreviations(java.lang.String[] astrCopyOrderItemAbbreviations)
        Set the order items in the source orders to be copied.
        Default: null (all order items in the source orders are to be copied)
        Parameters:
        astrCopyOrderItemAbbreviations - the order items in the source orders to be copied
      • getCopyOrderItemAbbreviations

        public java.lang.String[] getCopyOrderItemAbbreviations()
        Get the order items in the source orders to be copied.
        Returns:
        the order items in the source orders to be copied
      • setDescription

        public void setDescription(java.lang.String astrDescription)
        Set the description of the new/copied/updated order item(s).
        Default: null (the description of the new/copied/updated order item(s) should be left unchanged)
        Parameters:
        astrDescription - the description of the new/copied/updated order item(s)
      • getDescription

        public java.lang.String getDescription()
        Get the description of the new/copied/updated order item(s).
        Returns:
        the description of the new/copied/updated order item(s)
      • setField2

        public void setField2(java.lang.String astrField2)
        Set field2 of the new/copied/updated order item(s).
        Default: null (field2 of the new/copied/updated order item(s) should be left unchanged)
        Parameters:
        astrField2 - field2 of the new/copied/updated order item(s)
      • getField2

        public java.lang.String getField2()
        Get field2 of the new/copied/updated order item(s).
        Returns:
        field2 of the new/copied/updated order item(s)
      • setFromOrderAbbreviations

        public void setFromOrderAbbreviations(java.lang.String[] astrFromOrderAbbreviations)
        Set the source orders.
        Default: null (this enumeration group does not need any source order)
        Parameters:
        astrFromOrderAbbreviations - the source orders
      • getFromOrderAbbreviations

        public java.lang.String[] getFromOrderAbbreviations()
        Get the source orders.
        Returns:
        the source orders
      • setPartOwnerId

        public void setPartOwnerId(java.lang.Long anPartOwnerId)
        Set the memberId that owns the CatalogEntry identified by the part number. Both a part number and a part owner are required to uniquely identify a CatalogEntry.
        Default: null (the parameter in the method OrderItemUpdateCmd.setMemberId(Hashtable) will not be set when calling OrderItemUpdateCmd to add or update the OrderItem)
        Parameters:
        anPartOwnerId - the owner of the CatalogEntry identified by the part number.
      • getPartOwnerId

        public java.lang.Long getPartOwnerId()
        Get the memberId that owns the CatalogEntry identified by the part number. Both a part number and a part owner are required to uniquely identify a CatalogEntry.
        Returns:
        the memberId that owns the CatalogEntry identified by the part number
      • setPartNumber

        public void setPartNumber(java.lang.String astrPartNumber)
        Set the part number of the new/copied order item(s).
        Default: null (the part number of the copied order item(s) should be left unchanged)
        Parameters:
        astrPartNumber - the part number of the new/copied order item(s)
      • getPartNumber

        public java.lang.String getPartNumber()
        Get the part number of the new/copied order item(s).
        Returns:
        the part number of the new/copied order item(s)
      • setUom

        public void setUom(java.lang.String astrUom)
        Set the unit of measure of the quantity.
        Default: null (the quantity is normalized)
        Parameters:
        astrUom - the unit of measure of the quantity
      • getUom

        public java.lang.String getUom()
        Get the unit of measure of the quantity.
        Returns:
        the unit of measure of the quantity
      • setUpdateOrderItemAbbreviations

        public void setUpdateOrderItemAbbreviations(java.lang.String[] astrUpdateOrderItemAbbreviations)
        Set the order items in the target order to be updated.
        Default: null (none of the order items in the target order is to be updated).
        Parameters:
        astrUpdateOrderItemAbbreviations - the order items in the target order to be updated
      • getUpdateOrderItemAbbreviations

        public java.lang.String[] getUpdateOrderItemAbbreviations()
        Get the order items in the target order to be updated.
        Returns:
        the order items in the target order to be updated
      • setConfigurationId

        public void setConfigurationId(java.lang.String astrConfigId)
        Set the configuration ID of the new/copied order item(s).
        Default: null (the configuration ID of the copied order item(s) should be left unchanged)
        Parameters:
        astrConfigId - the configuration ID of the new/copied order item(s)
      • getConfigurationId

        public java.lang.String getConfigurationId()
        Get the configuration ID of the new/copied order item(s).
        Returns:
        the configuration ID of the new/copied order item(s)
      • setCorrelationGroup

        public void setCorrelationGroup(java.lang.Long anCorrelationGroup)
        Set the correlation group of the new/copied/updated order item(s).
        Default: null (the correlation group of the new/copied/updated order item(s) should be left unchanged)
        Parameters:
        anCorrelationGroup - the correlation group of the new/copied/updated order item(s)
      • getCorrelationGroup

        public java.lang.Long getCorrelationGroup()
        Get the correlation group of the new/copied/updated order item(s).
        Returns:
        the correlation group of the new/copied/updated order item(s)
      • isSetCorrelationGroupCalled

        public boolean isSetCorrelationGroupCalled()
        Get if the setCorrelationGroup(Long anCorrelationGroup) has been called.
        Returns:
        if the setCorrelationGroup(Long anCorrelationGroup) has been called
      • setCompListId

        public void setCompListId(java.lang.String[] astrCompListId)
        Set list of oicomplist_id from oicomplist table.
        Default: null
        Parameters:
        astrCompListId - list of oicomplist_id from oicomplist table
      • getCompListId

        public java.lang.String[] getCompListId()
        Get list of oicomplist_id from oicomplist table.
        Returns:
        list of oicomplist_id from oicomplist table
      • setSensitiveInfoCopyFlag

        public void setSensitiveInfoCopyFlag(java.lang.String astrSensitiveInfoCopyFlag)
        Set the flag indicating whether to copy sensitive info (Payments for example) or not.
        Default value is "N" - sensitive information not copied by default
        Parameters:
        astrSensitiveInfoCopyFlag - indicating whether to copy sensitive info (Payments for example) or not
      • getSensitiveInfoCopyFlag

        public java.lang.String getSensitiveInfoCopyFlag()
        Get the flag indicating whether to copy sensitive info (Payments for example) or not.
        Returns:
        the flag indicating whether to copy sensitive info (Payments for example) or not
      • setBlockInfoCopyFlag

        public void setBlockInfoCopyFlag(java.lang.String astrBlockInfoCopyFlag)
        Set the lag indicating whether to copy Block info or not.
        Default value is "N" - user can specify "Y" if block info is to be copied to the new order.
        Parameters:
        astrBlockInfoCopyFlag -
      • getBlockInfoCopyFlag

        public java.lang.String getBlockInfoCopyFlag()
        Get the lag indicating whether to copy Block info or not.
        Returns:
        the lag indicating whether to copy Block info or not