com.ibm.commerce.supplychain.beans

Class SupplierHubItemDataBean

  • java.lang.Object
    • com.ibm.commerce.persistence.AbstractJpaEntityAccessBean
      • com.ibm.commerce.catalog.objects.ItemAccessBean
        • com.ibm.commerce.catalog.beans.ItemDataBean
          • com.ibm.commerce.supplychain.beans.SupplierHubItemDataBean
  • All Implemented Interfaces:
    com.ibm.commerce.beans.DataBean, com.ibm.commerce.beans.InputDataBean, com.ibm.commerce.beans.SmartDataBean, com.ibm.commerce.catalog.beans.ItemInputDataBean, com.ibm.commerce.catalog.beans.ItemSmartDataBean, com.ibm.commerce.security.Protectable, java.io.Serializable


    public class SupplierHubItemDataBean
    extends com.ibm.commerce.catalog.beans.ItemDataBean
    This databean is used by the supplier hub to retrieve applicable contract prices from supplier hosted stores.
    See Also:
    Serialized Form
    • Field Summary

      Fields 
      Modifier and Type Field and Description
      static java.lang.String COPYRIGHT
      The IBM copyright string.
      • Fields inherited from class com.ibm.commerce.catalog.beans.ItemDataBean

        ACCESS_PROFILE_NAME_STOREFRONT_SEARCH
      • Fields inherited from interface com.ibm.commerce.beans.DataBean

        emptyString
    • Constructor Summary

      Constructors 
      Constructor and Description
      SupplierHubItemDataBean()
      Constructor for SupplierHubItemDataBean.
      SupplierHubItemDataBean(com.ibm.commerce.catalog.objects.CatalogEntryAccessBean aabCatalogEntry)
      Constructor for SupplierHubItemDataBean.
      SupplierHubItemDataBean(com.ibm.commerce.catalog.objects.CatalogEntryAccessBean aabCatalogEntry, com.ibm.commerce.command.CommandContext commandContext)
      Constructor for SupplierHubItemDataBean.
      SupplierHubItemDataBean(com.ibm.commerce.catalog.objects.ItemAccessBean aabItem, com.ibm.commerce.command.CommandContext commandContext)
      Constructor for SupplierHubItemDataBean.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      java.lang.Long[] getApplicableContractIds()
      Returns the applicable contract IDs in parallel with the applicable supplier hosted store IDs and prices returned by getApplicableSupplierHostedStoreIds() and getApplicableContractPrices() respectively.
      PriceDataBean[] getApplicableContractPrices()
      Returns the applicable contract prices in parallel with the applicable supplier hosted store IDs and contracts returned by getApplicableSupplierHostedStoreIds() and getApplicableContractIds() respectively.
      java.lang.Integer[] getApplicableSupplierHostedStoreIds()
      Returns the applicable supplier hosted store IDs in parallel with the applicable contract IDs and prices returned by getApplicableContractIds() and getApplicableContractPrices() respectively.
      PriceDataBean getCalculatedContractPrice()
      Returns the lowest applicable contract price.
      • Methods inherited from class com.ibm.commerce.catalog.beans.ItemDataBean

        getAllAttachments, getApplicableContractPriceRanges, getApplicableContracts, getAttachmentsByUsage, getAttachmentUsages, getAttributeDataBeans, getAttributes, getAttributeValueDataBeans, getAttributeValueDataBeans, getAttributeValueDataBeansByAttributeUsage, getAttributeValues, getBundleAccessories, getBundleAssociations, getBundleCrossSells, getBundleUpSells, getCalculatedContractPrice, getCalculatedPrice, getCommandContext, getDefiningAttributes, getDefiningAttributeValueDataBeans, getDescription, getDescriptiveAttributeDataBeans, getDescriptiveAttributes, getDescriptiveAttributeValueDataBeans, getDisplayTaxes, getDynamicKitAccessories, getDynamicKitAssociations, getDynamicKitCrossSells, getDynamicKitUpSells, getErrorMode, getItemAccessories, getItemAssociations, getItemCrossSells, getItemID, getItemReplacements, getItemUpSells, getListPrice, getNumberOfApplicableContractIds, getObjectPath, getPackageAccessories, getPackageAssociations, getPackageCrossSells, getPackageUpSells, getParentProductDataBean, getParentProductDataBeans, getParentProductId, getPartNumber, getProductAccessories, getProductAssociations, getProductCrossSells, getProductUpSells, getRequestProperties, getStandardPrice, isAdminMode, isAnyMerchandisingAssociated, isCalculatedContractPriced, isCheckNumberOfApplicableContractIds, isListPriced, isMerchandisingAssociated, populate, setAdminMode, setAssociationType, setAttachmentUsage, setAttributeUsage, setCommandContext, setDescription, setErrorMode, setItemID, setPartNumber, setRequestProperties
      • Methods inherited from class com.ibm.commerce.catalog.objects.ItemAccessBean

        findByItemSpcId, findByItemSpcIdAndStore, findByItemSpcIdAndStoreNoCache, findByItemSpcIdNoCache, findByProduct, findByProductNoCache, findEntitledItemsByProduct, findEntitledItemsByProduct, findSkuByAttributes, fulfills, getAvailabilityDate, getBaseItem, getBaseItemId, getBaseItemIdInEntityType, getBuyable, getBuyableInEntityType, getCatalogEntriesAccessory, getCatalogEntriesAccessory, getCatalogEntriesAccessory, getCatalogEntriesAccessory, getCatalogEntriesAccessoryByStore, getCatalogEntriesAccessoryByStore, getCatalogEntriesAccessoryByStore, getCatalogEntriesAccessoryByStore, getCatalogEntriesByMAssocTypeAndStore, getCatalogEntriesByMAssocTypeAndStore, getCatalogEntriesByMAssocTypeAndStore, getCatalogEntriesByMAssocTypeAndStore, getCatalogEntriesCrossell, getCatalogEntriesCrossell, getCatalogEntriesCrossell, getCatalogEntriesCrossell, getCatalogEntriesCrossellByStore, getCatalogEntriesCrossellByStore, getCatalogEntriesCrossellByStore, getCatalogEntriesCrossellByStore, getCatalogEntriesUpSell, getCatalogEntriesUpSell, getCatalogEntriesUpSell, getCatalogEntriesUpSell, getCatalogEntriesUpSellByStore, getCatalogEntriesUpSellByStore, getCatalogEntriesUpSellByStore, getCatalogEntriesUpSellByStore, getCatalogEntryReferenceNumber, getCatalogEntryReferenceNumberInEntityType, getDescription, getDescription, getDescriptionNoCache, getDiscontinueDate, getEndDate, getEndOfServiceDate, getEntity, getField1, getField1InEntityType, getField2, getField2InEntityType, getField3, getField3InEntityType, getField4, getField5, getItemspc_id, getItemspc_idInEntityType, getLanguage_id, getLanguage_idInEntityType, getLastOrderDate, getLastUpdate, getLastUpdateInEntityType, getListPrice, getManufacturerName, getManufacturerPartNumber, getMarkForDelete, getMarkForDeleteInEntityType, getMemberId, getMemberIdInEntityType, getOid, getOnAuction, getOnAuctionInEntityType, getOnSpecial, getOnSpecialInEntityType, getOwner, getParentCatalogEntryIds, getStartDate, getState, getTemplateFileName, getTemplateFileName, getTemplateFileName, getTemplateFileName, getType, getUrl, instantiateEntity, isCatalogEntryInStore, setAvailabilityDate, setBaseItemId, setBaseItemId, setBuyable, setBuyable, setDiscontinueDate, setEndDate, setEndOfServiceDate, setField1, setField1, setField2, setField2, setField3, setField3, setField4, setField5, setInitKey_catalogEntryReferenceNumber, setInitKey_catalogEntryReferenceNumber, setItemspc_id, setItemspc_id, setLanguage_id, setLanguage_id, setLastOrderDate, setLastUpdate, setLastUpdate, setManufacturerName, setManufacturerPartNumber, setMarkForDelete, setMarkForDelete, setMemberId, setMemberId, setOid, setOnAuction, setOnAuction, setOnSpecial, setOnSpecial, setStartDate, setState, setUrl
      • Methods inherited from class com.ibm.commerce.persistence.AbstractJpaEntityAccessBean

        createAccessBean, createAccessBean, createAccessBeanCollection, createAccessBeanCollection, createEntityCollection, detach, remove, setUseDataCache, toString
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Field Detail

      • COPYRIGHT

        public static final java.lang.String COPYRIGHT
        The IBM copyright string.
        See Also:
        Constant Field Values
    • Constructor Detail

      • SupplierHubItemDataBean

        public SupplierHubItemDataBean()
        Constructor for SupplierHubItemDataBean.
      • SupplierHubItemDataBean

        public SupplierHubItemDataBean(com.ibm.commerce.catalog.objects.CatalogEntryAccessBean aabCatalogEntry)
        Constructor for SupplierHubItemDataBean.
        Parameters:
        aabCatalogEntry - the catalog entry.
      • SupplierHubItemDataBean

        public SupplierHubItemDataBean(com.ibm.commerce.catalog.objects.CatalogEntryAccessBean aabCatalogEntry,
                                       com.ibm.commerce.command.CommandContext commandContext)
        Constructor for SupplierHubItemDataBean.
        Parameters:
        aabCatalogEntry - the catalog entry.
        commandContext - the command context.
      • SupplierHubItemDataBean

        public SupplierHubItemDataBean(com.ibm.commerce.catalog.objects.ItemAccessBean aabItem,
                                       com.ibm.commerce.command.CommandContext commandContext)
        Constructor for SupplierHubItemDataBean.
        Parameters:
        aabItem - the item.
        commandContext - the command context.