com.ibm.commerce.supplychain.beans

Class SupplierHubPackageDataBean

  • java.lang.Object
    • com.ibm.commerce.persistence.AbstractJpaEntityAccessBean
      • com.ibm.commerce.catalog.objects.PackageAccessBean
        • com.ibm.commerce.catalog.beans.PackageDataBean
          • com.ibm.commerce.supplychain.beans.SupplierHubPackageDataBean
  • All Implemented Interfaces:
    com.ibm.commerce.beans.DataBean, com.ibm.commerce.beans.InputDataBean, com.ibm.commerce.beans.SmartDataBean, com.ibm.commerce.catalog.beans.PackageInputDataBean, com.ibm.commerce.catalog.beans.PackageSmartDataBean, java.io.Serializable


    public class SupplierHubPackageDataBean
    extends com.ibm.commerce.catalog.beans.PackageDataBean
    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 interface com.ibm.commerce.beans.DataBean

        emptyString
    • Constructor Summary

      Constructors 
      Constructor and Description
      SupplierHubPackageDataBean()
      Constructor for SupplierHubPackageDataBean.
      SupplierHubPackageDataBean(com.ibm.commerce.catalog.objects.CatalogEntryAccessBean aabCatalogEntry)
      Constructor for SupplierHubPackageDataBean.
      SupplierHubPackageDataBean(com.ibm.commerce.catalog.objects.CatalogEntryAccessBean aabCatalogEntry, com.ibm.commerce.command.CommandContext commandContext)
      Constructor for SupplierHubPackageDataBean.
    • 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.PackageDataBean

        getAllAttachments, getApplicableContractPriceRanges, getApplicableContracts, getAttachmentsByUsage, getAttachmentUsages, getAttributeDataBeans, getAttributes, getBundleAccessories, getBundleAssociations, getBundleCrossSells, getBundleUpSells, getCalculatedPrice, getCommandContext, getDescription, getDescriptiveAttributeDataBeans, getDescriptiveAttributes, getDisplayTaxes, getDynamicKitAccessories, getDynamicKitAssociations, getDynamicKitCrossSells, getDynamicKitUpSells, getItemAccessories, getItemAssociations, getItemCrossSells, getItemUpSells, getListPrice, getNumberOfApplicableContractIds, getObjectPath, getPackageAccessories, getPackageAssociations, getPackageCrossSells, getPackagedItems, getPackagedPackages, getPackagedProducts, getPackageID, getPackagePartNumber, getPackageReplacements, getPackageUpSells, getProductAccessories, getProductAssociations, getProductCrossSells, getProductUpSells, getRequestProperties, getStandardPrice, isAdminMode, isAnyMerchandisingAssociated, isCalculatedContractPriced, isCheckNumberOfApplicableContractIds, isListPriced, isMerchandisingAssociated, populate, setAdminMode, setAssociationType, setAttachmentUsage, setCommandContext, setDescription, setPackageID, setPackagePartNumber, setRequestProperties
      • Methods inherited from class com.ibm.commerce.catalog.objects.PackageAccessBean

        findByAttributes, findByBaseItemId, findByBaseItemIdAndStore, findByItemSpcId, findByItemSpcIdAndStore, findPackageByAttributes, 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, 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, getPackageAttributes, getPackageComponents, getParentCatalogEntryIds, getPartNumber, 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, setPartNumber, 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

      • SupplierHubPackageDataBean

        public SupplierHubPackageDataBean()
        Constructor for SupplierHubPackageDataBean.
      • SupplierHubPackageDataBean

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

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