Interface CMSContentCatalogDao

  • All Superinterfaces:
    Dao
    All Known Implementing Classes:
    DefaultCMSContentCatalogDao

    public interface CMSContentCatalogDao
    extends Dao
    The Interface CMSContentCatalogDao for finding ContentCatalogs.
    Spring Bean ID:
    cmsContentCatalogDao
    • Method Detail

      • findAllContentCatalogs

        java.util.Collection<ContentCatalogModel> findAllContentCatalogs()
        Find all content catalogs.
        Returns:
        the collection of found ContentCatalogModel objects or empty collection when not found
      • findAllContentCatalogsOrderedBy

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

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

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