Interface PageTemplateDao
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.Collection<ContentPageModel>findAllContentPagesByCatalogVersions(java.util.Collection<CatalogVersionModel> catalogVersions)Find all content pages by catalog versions.java.util.Collection<AbstractPageModel>findAllPagesByCatalogVersion(CatalogVersionModel catalogVersion)Find all pages by catalog version.java.util.Collection<AbstractPageModel>findAllPagesByLabel(java.lang.String label, java.util.Collection<CatalogVersionModel> catalogVersions)Find all pages by label and catalog version.java.util.Collection<AbstractPageModel>findAllPagesByTypeAndCatalogVersions(ComposedTypeModel composedType, java.util.Collection<CatalogVersionModel> catalogVersions)Find all pages by composed type and catalog versions.java.util.Collection<ContentPageModel>findDefaultContentPageByLabelAndCatalogVersions(java.lang.String label, java.util.Collection<CatalogVersionModel> catalogVersions)Find default content page by label and catalog versions.java.util.Collection<AbstractPageModel>findDefaultPageByTypeAndCatalogVersions(ComposedTypeModel composedType, java.util.Collection<CatalogVersionModel> catalogVersions)Find default page by type and catalog versions.java.util.List<AbstractPageModel>findDefaultPagesByType(ComposedTypeModel composedType, java.util.Collection<CatalogVersionModel> catalogVersions)Find default pages by composed type and catalog version.java.util.List<AbstractPageModel>findPagesByIdAndCatalogVersion(java.lang.String id, CatalogVersionModel catalogVersion)Find pages by id and catalog version.java.util.List<AbstractPageModel>findPagesByIdAndCatalogVersions(java.lang.String id, java.util.Collection<CatalogVersionModel> catalogVersions)java.util.Collection<ContentPageModel>findPagesByLabel(java.lang.String label, java.util.Collection<CatalogVersionModel> catalogVersions)Find pages by label and catalog version.
-
-
-
Method Detail
-
findAllPagesByCatalogVersion
java.util.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
java.util.List<AbstractPageModel> findPagesByIdAndCatalogVersion(java.lang.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
java.util.List<AbstractPageModel> findPagesByIdAndCatalogVersions(java.lang.String id, java.util.Collection<CatalogVersionModel> catalogVersions)
-
findPagesByLabel
java.util.Collection<ContentPageModel> findPagesByLabel(java.lang.String label, java.util.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
java.util.List<AbstractPageModel> findDefaultPagesByType(ComposedTypeModel composedType, java.util.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
java.util.Collection<AbstractPageModel> findAllPagesByLabel(java.lang.String label, java.util.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
java.util.Collection<ContentPageModel> findAllContentPagesByCatalogVersions(java.util.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
java.util.Collection<AbstractPageModel> findAllPagesByTypeAndCatalogVersions(ComposedTypeModel composedType, java.util.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
java.util.Collection<AbstractPageModel> findDefaultPageByTypeAndCatalogVersions(ComposedTypeModel composedType, java.util.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
java.util.Collection<ContentPageModel> findDefaultContentPageByLabelAndCatalogVersions(java.lang.String label, java.util.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.
-
-