Class DefaultCatalogFacade

  • All Implemented Interfaces:
    CatalogFacade

    public class DefaultCatalogFacade
    extends java.lang.Object
    implements CatalogFacade
    Default implementation of CatalogFacade to retrieve information about catalogs which the current user has access (read and/or write) to.
    • Constructor Detail

      • DefaultCatalogFacade

        public DefaultCatalogFacade()
    • Method Detail

      • getContentCatalogs

        public java.util.List<CatalogData> getContentCatalogs​(java.lang.String siteId)
        Description copied from interface: CatalogFacade
        Given a site id, this method will return a list of all content catalogs where the current user has at least a READ access to one of the catalog version of the catalog.
        Specified by:
        getContentCatalogs in interface CatalogFacade
        Parameters:
        siteId - the site identifier
        Returns:
        All catalogs that are configured for a site where the user as a least a READ access to a catalog version of the catalog; never null
      • getProductCatalogs

        public java.util.List<CatalogData> getProductCatalogs​(java.lang.String siteId)
        Description copied from interface: CatalogFacade
        Given a site id, this method will return a list of all product catalogs where the current user has at least a READ access to one of the catalog version of the catalog.
        Specified by:
        getProductCatalogs in interface CatalogFacade
        Parameters:
        siteId - the site identifier
        Returns:
        All catalogs that are configured for a site where the user as a least a READ access to a catalog version of the catalog; never null
      • setBaseSiteService

        public void setBaseSiteService​(BaseSiteService baseSiteService)
      • setCmsAdminSiteService

        public void setCmsAdminSiteService​(CMSAdminSiteService cmsAdminSiteService)
      • setCmsCatalogVersionService

        public void setCmsCatalogVersionService​(CMSCatalogVersionService cmsCatalogVersionService)
      • setContentCatalogLevelComparator

        public void setContentCatalogLevelComparator​(ContentCatalogLevelComparator contentCatalogLevelComparator)