Class DefaultCMSContentCatalogDao

    • Constructor Detail

      • DefaultCMSContentCatalogDao

        public DefaultCMSContentCatalogDao()
    • Method Detail

      • findAllContentCatalogsOrderedBy

        public java.util.Collection<ContentCatalogModel> findAllContentCatalogsOrderedBy​(java.lang.String orderField)
        Find all content catalogs ordered by field orderField.
        Specified by:
        findAllContentCatalogsOrderedBy in interface CMSContentCatalogDao
        Parameters:
        orderField - the order field
        Returns:
        the collection of found ContentCatalogModel objects or empty collection when not found
      • hasCMSItems

        public boolean hasCMSItems​(CatalogVersionModel versionModel)
        Checks whether there are some CMS items related to passed as parameter CatalogVersionModel object.
        Specified by:
        hasCMSItems in interface CMSContentCatalogDao
        Parameters:
        versionModel - the CatalogVersionModel object
        Returns:
        true, if successful
      • hasCMSRelations

        public boolean hasCMSRelations​(CatalogVersionModel versionModel)
        Checks whether there are some CMSRelationModel objects related to passed as parameter CatalogVersionModel object.
        Specified by:
        hasCMSRelations in interface CMSContentCatalogDao
        Parameters:
        versionModel - the CatalogVersionModel model
        Returns:
        true, if successful