com.ibm.commerce.supplychain.beans

Class SupplierHubCategoryDataBean

  • java.lang.Object
    • com.ibm.commerce.persistence.AbstractJpaEntityAccessBean
      • com.ibm.commerce.catalog.objects.CatalogGroupAccessBean
        • com.ibm.commerce.catalog.beans.CategoryDataBean
          • com.ibm.commerce.supplychain.beans.SupplierHubCategoryDataBean
  • All Implemented Interfaces:
    com.ibm.commerce.beans.DataBean, com.ibm.commerce.beans.InputDataBean, com.ibm.commerce.beans.SmartDataBean, com.ibm.commerce.catalog.beans.CategoryInputDataBean, com.ibm.commerce.catalog.beans.CategorySmartDataBean, com.ibm.commerce.security.Protectable, java.io.Serializable


    public class SupplierHubCategoryDataBean
    extends com.ibm.commerce.catalog.beans.CategoryDataBean
    This databean is used by the supplier hub to retrieve products, packages and bundles in a category, with product set entitlements in supplier hosted stores taken into consideration.
    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.CategoryDataBean

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

        emptyString
    • Constructor Summary

      Constructors 
      Constructor and Description
      SupplierHubCategoryDataBean()
      Constructor for SupplierHubCategoryDataBean.
      SupplierHubCategoryDataBean(com.ibm.commerce.catalog.objects.CatalogGroupAccessBean abCatGroup)
      Constructor for SupplierHubCategoryDataBean.
      SupplierHubCategoryDataBean(com.ibm.commerce.catalog.objects.CatalogGroupAccessBean abCatGroup, com.ibm.commerce.command.CommandContext aCommandContext)
      Constructor for SupplierHubCategoryDataBean.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      com.ibm.commerce.catalog.beans.BundleDataBean[] getBundles()
      Returns bundles in this category.
      com.ibm.commerce.catalog.beans.PackageDataBean[] getPackages()
      Returns packages in this category.
      com.ibm.commerce.catalog.beans.ProductDataBean[] getProducts()
      Returns products in this category.
      void populate()
      Populates this databean.
      • Methods inherited from class com.ibm.commerce.catalog.beans.CategoryDataBean

        getAllAttachments, getAttachmentsByUsage, getAttachmentUsages, getCatalogEntryDataBeans, getCatalogId, getCategoryAccessories, getCategoryAttributes, getCategoryCrossSells, getCategoryId, getCategoryUpSells, getCommandContext, getDeepFetch, getDescription, getDynamicKits, getExclusionPSIds, getFilterEnabled, getIdentifier, getInclusionPSIds, getItems, getObjectPath, getParentCategories, getRequestProperties, getSubCategories, hasSubCategories, isAdminMode, isChildCategory, isMerchandisingAssociated, setAdminMode, setAttachmentUsage, setCatalogId, setCategoryId, setCommandContext, setDeepFetch, setDescription, setExclusionPSIds, setFilterEnabled, setIdentifier, setInclusionPSIds, setRequestProperties
      • Methods inherited from class com.ibm.commerce.catalog.objects.CatalogGroupAccessBean

        findByCatalogGroupIds, findByCatalogGroupIdsNoCache, findByCatalogId, findByCatalogIdAndProductSetId, findByCatalogIdAndProductSetIdAndStore, findByCatalogIdAndStore, findByCatalogIdAndStoreNoCache, findByCatalogIdNoCache, findByChildGroupId, findByChildGroupIdAndStore, findByChildGroupIdAndStoreNoCache, findByChildGroupIdNoCache, findByIdentifierAndStore, findByIdentifierAndStoreNoCache, findByKeyAndStore, findByKeyAndStoreNoCache, findByMemberIdAndCategoryId, findByMemberIdAndCategoryIdNoCache, findByMemberIdAndIdentifier, findByMemberIdAndIdentifierNoCache, findByParentGroupId, findByParentGroupIdAndStore, findByParentGroupIdAndStoreNoCache, findByParentGroupIdNoCache, findEntitledCatalogGroupsByCatalog, findEntitledCatalogGroupsByCatalogAndStore, findEntitledChildCatalogGroupsByCatalogAndParentGroup, findEntitledChildCatalogGroupsByCatalogAndParentGroupAndStore, fulfills, getAttributes, getAttributes, getCatalogEntries, getCatalogEntries, getCatalogEntries, getCatalogEntriesByStore, getCatalogEntriesByStore, getCatalogEntriesByStore, getCatalogEntriesByStore, getCatalogEntriesByStore, getCatalogEntriesByStoreOrderByPartNumber, getCatalogEntriesByStoreOrderByPartNumber, getCatalogGroupReferenceNumber, getCatalogGroupReferenceNumberInEntityType, getCategoryAccessory, getCategoryAccessory, getCategoryAccessoryByStore, getCategoryAccessoryByStore, getCategoryCrossSell, getCategoryCrossSell, getCategoryCrossSellByStore, getCategoryCrossSellByStore, getCategoryUpSell, getCategoryUpSell, getCategoryUpSellByStore, getCategoryUpSellByStore, getDescription, getDescription, getDescriptionNoCache, getEntitledSubCatalogGroups, getEntitledSubCatalogGroupsByStore, getEntitledSubCatalogGroupsByStore, getEntity, getField1, getField2, getLanguage_id, getLanguage_idInEntityType, getLastUpdate, getLastUpdateInEntityType, getMarkForDelete, getMarkForDeleteInEntityType, getMemberId, getMemberIdInEntityType, getNumSubCatEntries, getNumSubCatEntriesByStore, getNumSubCatGroups, getNumSubCatGroupsByStore, getOid, getOwner, getParentCatalogGroups, getProductSetIds, getSubCatalogGroups, getSubCatalogGroupsByStore, getTemplateFileName, getTemplateFileName, getTemplateFileName, getTemplateFileName, instantiateEntity, isCatalogGroupInStore, setField1, setField2, setInitKey_catalogGroupReferenceNumber, setInitKey_catalogGroupReferenceNumber, setlanguage_id, setlanguage_id, setLastUpdate, setLastUpdate, setMarkForDelete, setMarkForDelete, setMemberId, setMemberId, setOid
      • 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

      • SupplierHubCategoryDataBean

        public SupplierHubCategoryDataBean()
        Constructor for SupplierHubCategoryDataBean.
      • SupplierHubCategoryDataBean

        public SupplierHubCategoryDataBean(com.ibm.commerce.catalog.objects.CatalogGroupAccessBean abCatGroup)
        Constructor for SupplierHubCategoryDataBean.
        Parameters:
        abCatGroup -
        Throws:
        CreateException
        RemoteException
        FinderException
        NamingException
      • SupplierHubCategoryDataBean

        public SupplierHubCategoryDataBean(com.ibm.commerce.catalog.objects.CatalogGroupAccessBean abCatGroup,
                                           com.ibm.commerce.command.CommandContext aCommandContext)
        Constructor for SupplierHubCategoryDataBean.
        Parameters:
        abCatGroup -
        aCommandContext -
        Throws:
        CreateException
        RemoteException
        FinderException
        NamingException
    • Method Detail

      • getBundles

        public com.ibm.commerce.catalog.beans.BundleDataBean[] getBundles()
                                                                   throws com.ibm.commerce.exception.ECException
        Returns bundles in this category.
        Specified by:
        getBundles in interface com.ibm.commerce.catalog.beans.CategorySmartDataBean
        Overrides:
        getBundles in class com.ibm.commerce.catalog.beans.CategoryDataBean
        Returns:
        the bundles.
        Throws:
        com.ibm.commerce.exception.ECException
        See Also:
        CategoryDataBean.getBundles()
      • getPackages

        public com.ibm.commerce.catalog.beans.PackageDataBean[] getPackages()
                                                                     throws com.ibm.commerce.exception.ECException
        Returns packages in this category.
        Specified by:
        getPackages in interface com.ibm.commerce.catalog.beans.CategorySmartDataBean
        Overrides:
        getPackages in class com.ibm.commerce.catalog.beans.CategoryDataBean
        Returns:
        the packages.
        Throws:
        com.ibm.commerce.exception.ECException
        See Also:
        CategoryDataBean.getPackages()
      • getProducts

        public com.ibm.commerce.catalog.beans.ProductDataBean[] getProducts()
                                                                     throws com.ibm.commerce.exception.ECException
        Returns products in this category.
        Specified by:
        getProducts in interface com.ibm.commerce.catalog.beans.CategorySmartDataBean
        Overrides:
        getProducts in class com.ibm.commerce.catalog.beans.CategoryDataBean
        Returns:
        the products.
        Throws:
        com.ibm.commerce.exception.ECException
        See Also:
        CategoryDataBean.getProducts()
      • populate

        public void populate()
                      throws java.lang.Exception
        Populates this databean.
        Specified by:
        populate in interface com.ibm.commerce.beans.SmartDataBean
        Overrides:
        populate in class com.ibm.commerce.catalog.beans.CategoryDataBean
        Throws:
        java.lang.Exception
        See Also:
        CategoryDataBean.populate()