Interface PageTemplateDao

All Superinterfaces:
Dao

public interface PageTemplateDao extends Dao
The Interface PageTemplateDao for finding page templates.
Spring Bean ID:
cmsPageTemplateDao
  • Method Details

    • findAllPagesByCatalogVersion

      Collection<AbstractPageModel> findAllPagesByCatalogVersion(CatalogVersionModel catalogVersion)
      Find all pages by catalog version.
      Parameters:
      catalogVersion - the catalog version
      Returns:
      the collection of found pages or empty collection when not found.
    • findPagesByIdAndCatalogVersion

      List<AbstractPageModel> findPagesByIdAndCatalogVersion(String id, CatalogVersionModel catalogVersion)
      Find pages by id and catalog version.
      Parameters:
      id - the id of page to find
      catalogVersion - the catalog version
      Returns:
      the list of found pages or empty list when not found.
    • findPagesByIdAndCatalogVersions

      List<AbstractPageModel> findPagesByIdAndCatalogVersions(String id, Collection<CatalogVersionModel> catalogVersions)
    • findPagesByLabel

      Collection<ContentPageModel> findPagesByLabel(String label, Collection<CatalogVersionModel> catalogVersions)
      Find pages by label and catalog version.
      Parameters:
      label - the label
      catalogVersions - the catalog versions
      Returns:
      the collection of found pages or empty collection when not found.
    • findDefaultPagesByType

      List<AbstractPageModel> findDefaultPagesByType(ComposedTypeModel composedType, Collection<CatalogVersionModel> catalogVersions)
      Find default pages by composed type and catalog version.
      Parameters:
      composedType - the composed type
      catalogVersions - the catalog versions
      Returns:
      the list of found pages or empty list when not found.
    • findAllPagesByLabel

      Collection<AbstractPageModel> findAllPagesByLabel(String label, Collection<CatalogVersionModel> catalogVersions)
      Find all pages by label and catalog version.
      Parameters:
      label - the label
      catalogVersions - the catalog versions
      Returns:
      the collection of found pages or empty collection when not found.
    • findAllContentPagesByCatalogVersions

      Collection<ContentPageModel> findAllContentPagesByCatalogVersions(Collection<CatalogVersionModel> catalogVersions)
      Find all content pages by catalog versions.
      Parameters:
      catalogVersions - the catalog versions
      Returns:
      the collection of found pages or empty collection when not found.
    • findAllPagesByTypeAndCatalogVersions

      Collection<AbstractPageModel> findAllPagesByTypeAndCatalogVersions(ComposedTypeModel composedType, Collection<CatalogVersionModel> catalogVersions)
      Find all pages by composed type and catalog versions.
      Parameters:
      composedType - the composed type
      catalogVersions - the catalog versions
      Returns:
      the collection of found pages or empty collection when not found.
    • findDefaultPageByTypeAndCatalogVersions

      Collection<AbstractPageModel> findDefaultPageByTypeAndCatalogVersions(ComposedTypeModel composedType, Collection<CatalogVersionModel> catalogVersions)
      Find default page by type and catalog versions.
      Parameters:
      composedType - the composed type
      catalogVersions - the catalog versions
      Returns:
      the collection list of found pages or empty collection when not found.
    • findDefaultContentPageByLabelAndCatalogVersions

      Collection<ContentPageModel> findDefaultContentPageByLabelAndCatalogVersions(String label, Collection<CatalogVersionModel> catalogVersions)
      Find default content page by label and catalog versions.
      Parameters:
      label - the label
      catalogVersions - the catalog versions
      Returns:
      the collection of found pages or empty collection when not found.