public interface CMSPageDao extends Dao
| Modifier and Type | Method and Description |
|---|---|
java.util.Collection<ContentPageModel> |
findAllContentPagesByCatalogVersions(java.util.Collection<CatalogVersionModel> catalogVersions)
Find all active content pages by catalog versions.
|
java.util.Collection<ContentPageModel> |
findAllContentPagesByCatalogVersionsAndPageStatuses(java.util.Collection<CatalogVersionModel> catalogVersions,
java.util.List<CmsPageStatus> pageStatuses)
Find all content pages by catalog versions and a list of page statuses.
|
java.util.Collection<AbstractPageModel> |
findAllPagesByCatalogVersion(CatalogVersionModel catalogVersion)
Find all active pages by catalog version.
|
java.util.Collection<AbstractPageModel> |
findAllPagesByCatalogVersionAndPageStatuses(CatalogVersionModel catalogVersion,
java.util.List<CmsPageStatus> pageStatuses)
Find all pages by catalog version and a list of page statuses.
|
java.util.Collection<AbstractPageModel> |
findAllPagesByTypeAndCatalogVersions(ComposedTypeModel composedType,
java.util.Collection<CatalogVersionModel> catalogVersions)
Find all pages by composed type of
composedType and catalog versions. |
java.util.Collection<AbstractPageModel> |
findAllPagesByTypeAndCatalogVersionsAndPageStatuses(ComposedTypeModel composedType,
java.util.Collection<CatalogVersionModel> catalogVersions,
java.util.List<CmsPageStatus> pageStatuses)
Find all pages by composed type of
composedType and catalog versions. |
java.util.Collection<ContentPageModel> |
findDefaultContentPageByLabelAndCatalogVersions(java.lang.String label,
java.util.Collection<CatalogVersionModel> catalogVersions)
Find default content page with active status by label and catalog versions.
|
java.util.Collection<ContentPageModel> |
findDefaultContentPageByLabelAndCatalogVersionsAndPageStatuses(java.lang.String label,
java.util.Collection<CatalogVersionModel> catalogVersions,
java.util.List<CmsPageStatus> pageStatuses)
Find default content page by label, catalog versions and page status.
|
java.util.Collection<AbstractPageModel> |
findDefaultPageByTypeAndCatalogVersions(ComposedTypeModel composedType,
java.util.Collection<CatalogVersionModel> catalogVersions)
Find default page by type and catalog versions.
|
java.util.Collection<AbstractPageModel> |
findDefaultPageByTypeAndCatalogVersionsAndPageStatuses(ComposedTypeModel composedType,
java.util.Collection<CatalogVersionModel> catalogVersions,
java.util.List<CmsPageStatus> pageStatuses)
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 of
composedType and catalogVersions. |
ContentPageModel |
findHomepage(java.util.Collection<CatalogVersionModel> catalogVersions)
Find homepage with active status for the given collection of catalog versions.
|
ContentPageModel |
findHomepageByPageStatuses(java.util.Collection<CatalogVersionModel> catalogVersions,
java.util.List<CmsPageStatus> pageStatuses)
Find homepage for the given collection of catalog versions and page statuses.
|
java.util.Collection<ContentPageModel> |
findHomepagesByPageStatuses(java.util.Collection<CatalogVersionModel> catalogVersions,
java.util.List<CmsPageStatus> pageStatuses)
Find all homepages for the given collection of catalog versions and page statuses.
|
java.util.Collection<AbstractPageModel> |
findPagesByContentSlots(java.util.Collection<ContentSlotModel> contentSlots,
java.util.Collection<CatalogVersionModel> catalogVersions)
Finds and returns all pages for the given collection of content slots.
|
java.util.Collection<AbstractPageModel> |
findPagesByContentSlotsAndPageStatuses(java.util.Collection<ContentSlotModel> contentSlots,
java.util.Collection<CatalogVersionModel> catalogVersions,
java.util.List<CmsPageStatus> pageStatuses)
Finds and returns all pages for the given collection of content slots.
|
java.util.List<AbstractPageModel> |
findPagesById(java.lang.String id,
java.util.Collection<CatalogVersionModel> catalogVersions)
Find pages by id and catalog versions.
|
java.util.List<AbstractPageModel> |
findPagesByIdAndCatalogVersion(java.lang.String id,
CatalogVersionModel catalogVersion)
Find active pages by id and catalog version.
|
java.util.List<AbstractPageModel> |
findPagesByIdAndCatalogVersionAndPageStatuses(java.lang.String id,
CatalogVersionModel catalogVersion,
java.util.List<CmsPageStatus> pageStatuses)
Find pages by id and catalog version and a list of page statuses.
|
<T extends AbstractPageModel> |
findPagesByIdAndPageStatuses(java.lang.String id,
java.util.Collection<CatalogVersionModel> catalogVersions,
java.util.List<CmsPageStatus> pageStatuses)
Find pages by id and catalog versions and page status.
|
java.util.Collection<ContentPageModel> |
findPagesByLabel(java.lang.String label,
java.util.Collection<CatalogVersionModel> catalogVersions)
Find pages by label and catalog versions.
|
<T extends AbstractPageModel> |
findPagesByLabelAndPageStatuses(java.lang.String label,
java.util.Collection<CatalogVersionModel> catalogVersions,
java.util.List<CmsPageStatus> pageStatuses)
Find pages by label, catalog versions and page statuses.
|
java.util.Collection<AbstractPageModel> |
findPagesByPageTemplateContentSlots(java.util.Collection<ContentSlotModel> contentSlots,
java.util.Collection<CatalogVersionModel> catalogVersions)
Finds and returns all pages that uses given content slots by page templates
|
java.util.Collection<AbstractPageModel> |
findPagesByPageTemplateContentSlotsAndPageStatuses(java.util.Collection<ContentSlotModel> contentSlots,
java.util.Collection<CatalogVersionModel> catalogVersions,
java.util.List<CmsPageStatus> pageStatuses)
Finds and returns all pages that uses given content slots by page templates
|
java.util.List<AbstractPageModel> |
findPagesByType(ComposedTypeModel composedType,
java.util.Collection<CatalogVersionModel> catalogVersions,
boolean isDefault)
Find default or non-default active pages by composed type of
composedType and catalogVersions. |
java.util.List<AbstractPageModel> |
findPagesByTypeAndPageStatuses(ComposedTypeModel composedType,
java.util.Collection<CatalogVersionModel> catalogVersions,
boolean isDefault,
java.util.List<CmsPageStatus> pageStatuses)
Find default or non-default pages by composed type of
composedType and catalogVersions and a list of
page statuses. |
java.util.Collection<AbstractPageModel> findAllPagesByCatalogVersion(CatalogVersionModel catalogVersion)
catalogVersion - the catalog versionAbstractPageModel objects or empty collection when not found.java.util.Collection<AbstractPageModel> findAllPagesByCatalogVersionAndPageStatuses(CatalogVersionModel catalogVersion, java.util.List<CmsPageStatus> pageStatuses)
catalogVersion - the catalog versionpageStatuses - a list of page statusesAbstractPageModel objects or empty collection when not found.java.util.List<AbstractPageModel> findPagesByIdAndCatalogVersion(java.lang.String id, CatalogVersionModel catalogVersion)
id - the id of AbstractPageModel object to findcatalogVersion - the catalog versionAbstractPageModel objects or empty list when not found.java.util.List<AbstractPageModel> findPagesByIdAndCatalogVersionAndPageStatuses(java.lang.String id, CatalogVersionModel catalogVersion, java.util.List<CmsPageStatus> pageStatuses)
id - the id of AbstractPageModel object to findcatalogVersion - the catalog versionpageStatuses - a list of page statusesAbstractPageModel objects or empty list when not found.<T extends AbstractPageModel> java.util.List<T> findPagesByIdAndPageStatuses(java.lang.String id, java.util.Collection<CatalogVersionModel> catalogVersions, java.util.List<CmsPageStatus> pageStatuses)
id - the id of AbstractPageModel object to findcatalogVersions - the catalog versionspageStatuses - page status. i.e. active, deletedAbstractPageModel object or empty list when not found.java.util.List<AbstractPageModel> findPagesById(java.lang.String id, java.util.Collection<CatalogVersionModel> catalogVersions)
id - the id of AbstractPageModel object to findcatalogVersions - the catalog versionsAbstractPageModel object or empty list when not found.java.util.Collection<ContentPageModel> findPagesByLabel(java.lang.String label, java.util.Collection<CatalogVersionModel> catalogVersions)
label - the label of ContentPageModel object to findcatalogVersions - the catalog versionsContentPageModel objects or empty collection when not found.<T extends AbstractPageModel> java.util.Collection<T> findPagesByLabelAndPageStatuses(java.lang.String label, java.util.Collection<CatalogVersionModel> catalogVersions, java.util.List<CmsPageStatus> pageStatuses)
label - the label of ContentPageModel object to findcatalogVersions - the catalog versionspageStatuses - page status. i.e. active, deletedAbstractPageModel objects or empty collection when not found.java.util.List<AbstractPageModel> findDefaultPagesByType(ComposedTypeModel composedType, java.util.Collection<CatalogVersionModel> catalogVersions)
composedType and catalogVersions.composedType - the composed typecatalogVersions - the catalog versionscomposedType or empty list when not found.java.util.List<AbstractPageModel> findPagesByType(ComposedTypeModel composedType, java.util.Collection<CatalogVersionModel> catalogVersions, boolean isDefault)
composedType and catalogVersions.composedType - the composed typecatalogVersions - the catalog versionsisDefault - true to find default pages; false otherwisecomposedType or empty list when not found.java.util.List<AbstractPageModel> findPagesByTypeAndPageStatuses(ComposedTypeModel composedType, java.util.Collection<CatalogVersionModel> catalogVersions, boolean isDefault, java.util.List<CmsPageStatus> pageStatuses)
composedType and catalogVersions and a list of
page statuses.composedType - the composed typecatalogVersions - the catalog versionsisDefault - true to find default pages; false otherwisepageStatuses - a list of page statusescomposedType or empty list when not found.java.util.Collection<ContentPageModel> findAllContentPagesByCatalogVersions(java.util.Collection<CatalogVersionModel> catalogVersions)
catalogVersions - the catalog versionsjava.util.Collection<ContentPageModel> findAllContentPagesByCatalogVersionsAndPageStatuses(java.util.Collection<CatalogVersionModel> catalogVersions, java.util.List<CmsPageStatus> pageStatuses)
catalogVersions - the catalog versionspageStatuses - a list of page statusesjava.util.Collection<AbstractPageModel> findAllPagesByTypeAndCatalogVersions(ComposedTypeModel composedType, java.util.Collection<CatalogVersionModel> catalogVersions)
composedType and catalog versions.composedType - the composed typecatalogVersions - the catalog versionsjava.util.Collection<AbstractPageModel> findAllPagesByTypeAndCatalogVersionsAndPageStatuses(ComposedTypeModel composedType, java.util.Collection<CatalogVersionModel> catalogVersions, java.util.List<CmsPageStatus> pageStatuses)
composedType and catalog versions.composedType - the composed typecatalogVersions - the catalog versionspageStatuses - page status. i.e. active, deletedjava.util.Collection<AbstractPageModel> findDefaultPageByTypeAndCatalogVersions(ComposedTypeModel composedType, java.util.Collection<CatalogVersionModel> catalogVersions)
composedType - the composed typecatalogVersions - the catalog versionsjava.util.Collection<AbstractPageModel> findDefaultPageByTypeAndCatalogVersionsAndPageStatuses(ComposedTypeModel composedType, java.util.Collection<CatalogVersionModel> catalogVersions, java.util.List<CmsPageStatus> pageStatuses)
composedType - the composed typecatalogVersions - the catalog versionspageStatuses - page status. i.e. active, deletedjava.util.Collection<ContentPageModel> findDefaultContentPageByLabelAndCatalogVersions(java.lang.String label, java.util.Collection<CatalogVersionModel> catalogVersions)
label - the labelcatalogVersions - the catalog versionsContentPageModel objects or empty collection when not found.java.util.Collection<ContentPageModel> findDefaultContentPageByLabelAndCatalogVersionsAndPageStatuses(java.lang.String label, java.util.Collection<CatalogVersionModel> catalogVersions, java.util.List<CmsPageStatus> pageStatuses)
label - the labelcatalogVersions - the catalog versionspageStatuses - - page status. i.e. active, deletedContentPageModel objects or empty collection when not found.java.util.Collection<AbstractPageModel> findPagesByContentSlots(java.util.Collection<ContentSlotModel> contentSlots, java.util.Collection<CatalogVersionModel> catalogVersions)
contentSlots - - collection of content slots that will be searched for pagescatalogVersions - - collection of catalog versions that result pages will be filtered withAbstractPageModel objects that are valid for given content slots and catalog
versionsjava.util.Collection<AbstractPageModel> findPagesByContentSlotsAndPageStatuses(java.util.Collection<ContentSlotModel> contentSlots, java.util.Collection<CatalogVersionModel> catalogVersions, java.util.List<CmsPageStatus> pageStatuses)
contentSlots - - collection of content slots that will be searched for pagescatalogVersions - - collection of catalog versions that result pages will be filtered withpageStatuses - - page status. i.e. active, deletedAbstractPageModel objects that are valid for given content slots and catalog
versionsjava.util.Collection<AbstractPageModel> findPagesByPageTemplateContentSlots(java.util.Collection<ContentSlotModel> contentSlots, java.util.Collection<CatalogVersionModel> catalogVersions)
contentSlots - - collection of content slots that will be searched for pagescatalogVersions - - collection of catalog versions that result pages will be filtered withAbstractPageModel objects that are valid for given content slots and catalog
versionsjava.util.Collection<AbstractPageModel> findPagesByPageTemplateContentSlotsAndPageStatuses(java.util.Collection<ContentSlotModel> contentSlots, java.util.Collection<CatalogVersionModel> catalogVersions, java.util.List<CmsPageStatus> pageStatuses)
contentSlots - - collection of content slots that will be searched for pagescatalogVersions - - collection of catalog versions that result pages will be filtered withpageStatuses - - page status. i.e. active, deletedAbstractPageModel objects that are valid for given content slots and catalog
versionsContentPageModel findHomepage(java.util.Collection<CatalogVersionModel> catalogVersions)
catalogVersions - the catalog versionsContentPageModel object or null when not foundContentPageModel findHomepageByPageStatuses(java.util.Collection<CatalogVersionModel> catalogVersions, java.util.List<CmsPageStatus> pageStatuses)
catalogVersions - - the catalog versionspageStatuses - - list of page status, e.g. active, deletedContentPageModel object or null when not foundjava.util.Collection<ContentPageModel> findHomepagesByPageStatuses(java.util.Collection<CatalogVersionModel> catalogVersions, java.util.List<CmsPageStatus> pageStatuses)
catalogVersions - - the catalog versionspageStatuses - - list of page status, e.g. active, deletedContentPageModel objects or empty when not foundCopyright © 2018 SAP SE. All Rights Reserved.