Interface CMSPageTemplateDao

All Superinterfaces:
Dao
All Known Implementing Classes:
DefaultCMSPageTemplateDao

public interface CMSPageTemplateDao extends Dao
The Interface CMSPageTemplateDao for finding PageTemplateModel objects.
Spring Bean ID:
cmsPageTemplateDao
  • Method Details

    • findAllPageTemplatesByCatalogVersion

      Collection<PageTemplateModel> findAllPageTemplatesByCatalogVersion(CatalogVersionModel catalogVersion)
      Find all page templates by catalog version.
      Parameters:
      catalogVersion - the catalog version
      Returns:
      the collection of found PageTemplateModel objects or empty collection when not found.
    • findAllPageTemplatesByCatalogVersion

      Collection<PageTemplateModel> findAllPageTemplatesByCatalogVersion(CatalogVersionModel catalogVersion, boolean active)
      Find all page templates by catalog version and active boolean flag.
      Parameters:
      catalogVersion - the catalog version
      active - determines which page templates to find - active or not active
      Returns:
      the collection of found PageTemplateModel objects or empty collection when not found.
    • findAllPageTemplatesByCatalogVersions

      Collection<PageTemplateModel> findAllPageTemplatesByCatalogVersions(Collection<CatalogVersionModel> catalogVersions, boolean active)
      Find all page templates by catalog versions and active boolean flag.
      Parameters:
      catalogVersions - the catalog versions
      active - determines which page templates to find - active or not active
      Returns:
      the collection of found PageTemplateModel objects or empty collection when not found.
    • findPageTemplatesByIdAndCatalogVersion

      List<PageTemplateModel> findPageTemplatesByIdAndCatalogVersion(String id, CatalogVersionModel catalogVersion)
      Find page templates by id and catalog version.
      Parameters:
      id - the id of PageTemplateModel object to find
      catalogVersion - the catalog version
      Returns:
      the list of found PageTemplateModel objects or empty list when not found.
    • findAllRestrictedPageTemplatesByCatalogVersion

      Collection<PageTemplateModel> findAllRestrictedPageTemplatesByCatalogVersion(CatalogVersionModel catalogVersion, boolean active, CMSPageTypeModel pageType)
      Find all restricted page templates by catalog version, active boolean flag and cms page type.
      Parameters:
      catalogVersion - the catalog version
      active - determines which page templates to find - active or not active
      pageType - the cms page type
      Returns:
      the collection of found PageTemplateModel objects or empty collection when not found.
    • findAllRestrictedPageTemplatesByCatalogVersion

      Collection<PageTemplateModel> findAllRestrictedPageTemplatesByCatalogVersion(Collection<CatalogVersionModel> catalogVersions, boolean active, CMSPageTypeModel pageType)
      Find all restricted page templates by catalog versions, active boolean flag and cms page type.
      Parameters:
      catalogVersions - the catalog versions
      active - determines which page templates to find - active or not active
      pageType - the cms page type
      Returns:
      the collection of found PageTemplateModel objects or empty collection when not found.