Interface PageTemplateDao
- All Superinterfaces:
Dao
The Interface PageTemplateDao for finding page templates.
- Spring Bean ID:
- cmsPageTemplateDao
-
Method Summary
Modifier and TypeMethodDescriptionfindAllContentPagesByCatalogVersions(Collection<CatalogVersionModel> catalogVersions) Find all content pages by catalog versions.findAllPagesByCatalogVersion(CatalogVersionModel catalogVersion) Find all pages by catalog version.findAllPagesByLabel(String label, Collection<CatalogVersionModel> catalogVersions) Find all pages by label and catalog version.findAllPagesByTypeAndCatalogVersions(ComposedTypeModel composedType, Collection<CatalogVersionModel> catalogVersions) Find all pages by composed type and catalog versions.findDefaultContentPageByLabelAndCatalogVersions(String label, Collection<CatalogVersionModel> catalogVersions) Find default content page by label and catalog versions.findDefaultPageByTypeAndCatalogVersions(ComposedTypeModel composedType, Collection<CatalogVersionModel> catalogVersions) Find default page by type and catalog versions.findDefaultPagesByType(ComposedTypeModel composedType, Collection<CatalogVersionModel> catalogVersions) Find default pages by composed type and catalog version.findPagesByIdAndCatalogVersion(String id, CatalogVersionModel catalogVersion) Find pages by id and catalog version.findPagesByIdAndCatalogVersions(String id, Collection<CatalogVersionModel> catalogVersions) findPagesByLabel(String label, Collection<CatalogVersionModel> catalogVersions) Find pages by label and catalog version.
-
Method Details
-
findAllPagesByCatalogVersion
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 findcatalogVersion- 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 labelcatalogVersions- 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 typecatalogVersions- 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 labelcatalogVersions- 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 typecatalogVersions- 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 typecatalogVersions- 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 labelcatalogVersions- the catalog versions- Returns:
- the collection of found pages or empty collection when not found.
-