public interface CMSPageDao extends Dao
Collection<AbstractPageModel> findAllPagesByCatalogVersion(CatalogVersionModel catalogVersion)
catalogVersion - the catalog versionAbstractPageModel objects or empty collection when not found.@Deprecated AbstractPageModel findPageByIdAndCatalogVersion(String id, CatalogVersionModel catalogVersion)
findPagesByIdAndCatalogVersion(String, CatalogVersionModel) instead.id - the id of AbstractPageModel object to findcatalogVersion - the catalog versionAbstractPageModel object or null when not foundList<AbstractPageModel> findPagesByIdAndCatalogVersion(String id, CatalogVersionModel catalogVersion)
id - the id of AbstractPageModel object to findcatalogVersion - the catalog versionAbstractPageModel objects or empty list when not found.@Deprecated AbstractPageModel findPageById(String id, Collection<CatalogVersionModel> catalogVersions)
findPagesById(String, Collection) instead.id - the id of AbstractPageModel object to findcatalogVersions - the catalog versionsAbstractPageModel object or null when not foundList<AbstractPageModel> findPagesById(String id, Collection<CatalogVersionModel> catalogVersions)
id - the id of AbstractPageModel object to findcatalogVersions - the catalog versionsAbstractPageModel object or empty list when not found.Collection<ContentPageModel> findPagesByLabel(String label, Collection<CatalogVersionModel> catalogVersions)
label - the label of ContentPageModel object to findcatalogVersions - the catalog versionsContentPageModel objects or empty collection when not found.@Deprecated AbstractPageModel findDefaultPageForType(ComposedTypeModel composedType, Collection<CatalogVersionModel> catalogVersions)
CMSPageDao#findPagesByType(ComposedTypeModel, Collection, Boolean) instead and set the boolean
to true.composedType - the composed typecatalogVersions - the catalog versionscomposedTypeList<AbstractPageModel> findDefaultPagesByType(ComposedTypeModel composedType, Collection<CatalogVersionModel> catalogVersions)
composedType and catalogVersions.composedType - the composed typecatalogVersions - the catalog versionscomposedType or empty list when not found.List<AbstractPageModel> findPagesByType(ComposedTypeModel composedType, 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.Collection<AbstractPageModel> findAllPagesByLabel(String label, Collection<CatalogVersionModel> catalogVersions)
label - the label for page to foundcatalogVersions - the catalog versionsCollection<ContentPageModel> findAllContentPagesByCatalogVersions(Collection<CatalogVersionModel> catalogVersions)
catalogVersions - the catalog versionsCollection<AbstractPageModel> findAllPagesByTypeAndCatalogVersions(ComposedTypeModel composedType, Collection<CatalogVersionModel> catalogVersions)
composedType and catalog versions.composedType - the composed typecatalogVersions - the catalog versionsCollection<AbstractPageModel> findDefaultPageByTypeAndCatalogVersions(ComposedTypeModel composedType, Collection<CatalogVersionModel> catalogVersions)
composedType - the composed typecatalogVersions - the catalog versionsCollection<ContentPageModel> findDefaultContentPageByLabelAndCatalogVersions(String label, Collection<CatalogVersionModel> catalogVersions)
label - the labelcatalogVersions - the catalog versionsContentPageModel objects or empty collection when not found.@Deprecated Collection<AbstractPageModel> findPagesForContentSlots(Collection<ContentSlotModel> contentSlots, Collection<CatalogVersionModel> catalogVersions)
findPagesByContentSlots(Collection, Collection) instead.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
versionsCollection<AbstractPageModel> findPagesByContentSlots(Collection<ContentSlotModel> contentSlots, 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
versionsCollection<AbstractPageModel> findPagesByPageTemplateContentSlots(Collection<ContentSlotModel> contentSlots, 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
versionsContentPageModel findHomepage(Collection<CatalogVersionModel> catalogVersions)
catalogVersions - the catalog versionsContentPageModel object or null when not foundCopyright © 2017 SAP SE. All Rights Reserved.