Class DefaultContentCatalogService

  • All Implemented Interfaces:
    ContentCatalogService, java.io.Serializable, org.springframework.beans.factory.Aware, org.springframework.beans.factory.BeanNameAware, org.springframework.beans.factory.InitializingBean

    public class DefaultContentCatalogService
    extends AbstractCMSService
    implements ContentCatalogService
    Default implementation of ContentCatalogService interface.
    See Also:
    Serialized Form
    • Constructor Detail

      • DefaultContentCatalogService

        public DefaultContentCatalogService()
    • Method Detail

      • getContentCatalogs

        public java.util.Collection<ContentCatalogModel> getContentCatalogs​(java.lang.String orderField)
        returns all content catalogs, ordered by the given orderField
        Specified by:
        getContentCatalogs in interface ContentCatalogService
        Parameters:
        orderField - the field to order the content catalogs by
        Returns:
        all content catalogs
      • isContentCatalog

        public boolean isContentCatalog​(CatalogModel catalog)
        Checks if passed as parameter CatalogModel object is content catalog.
        Specified by:
        isContentCatalog in interface ContentCatalogService
        Parameters:
        catalog - the catalog to check
        Returns:
        true, if is content catalog
      • isContentCatalog

        public boolean isContentCatalog​(CatalogVersionModel catalogVersion)
        Checks if passed as parameter CatalogVersionModel object is content catalog.
        Specified by:
        isContentCatalog in interface ContentCatalogService
        Parameters:
        catalogVersion - the catalog version
        Returns:
        true, if is content catalog
      • isProductCatalog

        public boolean isProductCatalog​(CatalogModel catalog)
        Checks if passed as parameter CatalogModel object is product catalog.
        Specified by:
        isProductCatalog in interface ContentCatalogService
        Parameters:
        catalog - the catalog
        Returns:
        true, if is product catalog
      • isProductCatalog

        public boolean isProductCatalog​(CatalogVersionModel catalogVersion)
        Checks if passed as parameter CatalogVersionModel object is product catalog.
        Specified by:
        isProductCatalog in interface ContentCatalogService
        Parameters:
        catalogVersion - the catalog version
        Returns:
        true, if is product catalog
      • setCatalogVersionService

        public void setCatalogVersionService​(CatalogVersionService catalogVersionService)
      • setCmsContentCatalogDao

        public void setCmsContentCatalogDao​(CMSContentCatalogDao cmsContentCatalogDao)
      • setCmsPageDao

        public void setCmsPageDao​(CMSPageDao cmsPageDao)
      • setTypeService

        public void setTypeService​(TypeService typeService)
      • hasDefaultPage

        protected boolean hasDefaultPage​(java.lang.String composedTypeCode)
      • hasPagesOfType

        protected boolean hasPagesOfType​(ComposedTypeModel composedType)