public class DefaultCMSPageTemplateDao extends AbstractItemDao implements CMSPageTemplateDao
CMSPageTemplateDao interface.| Modifier and Type | Field and Description |
|---|---|
protected static java.lang.String |
CATALOG_VERSIONS_QUERY_PARAM |
flexibleSearchService, modelService| Constructor and Description |
|---|
DefaultCMSPageTemplateDao() |
| Modifier and Type | Method and Description |
|---|---|
java.util.Collection<PageTemplateModel> |
findAllPageTemplatesByCatalogVersion(CatalogVersionModel catalogVersion)
Find all page templates by catalog version.
|
java.util.Collection<PageTemplateModel> |
findAllPageTemplatesByCatalogVersion(CatalogVersionModel catalogVersion,
boolean active)
Find all page templates by catalog version and
active boolean flag. |
java.util.Collection<PageTemplateModel> |
findAllPageTemplatesByCatalogVersions(java.util.Collection<CatalogVersionModel> catalogVersions,
boolean active)
Find all page templates by catalog versions and
active boolean flag. |
java.util.Collection<PageTemplateModel> |
findAllRestrictedPageTemplatesByCatalogVersion(CatalogVersionModel catalogVersion,
boolean active,
CMSPageTypeModel pageType)
Find all restricted page templates by catalog version,
active boolean flag and cms page type. |
java.util.Collection<PageTemplateModel> |
findAllRestrictedPageTemplatesByCatalogVersion(java.util.Collection<CatalogVersionModel> catalogVersions,
boolean active,
CMSPageTypeModel pageType)
Find all restricted page templates by catalog versions,
active boolean flag and cms page type. |
java.util.List<PageTemplateModel> |
findPageTemplatesByIdAndCatalogVersion(java.lang.String id,
CatalogVersionModel catalogVersion)
Find page templates by id and catalog version.
|
getAllSources, getFlexibleSearchService, getModelService, getSource, load, loadAll, search, search, searchUnique, setFlexibleSearchService, setModelServiceprotected static final java.lang.String CATALOG_VERSIONS_QUERY_PARAM
public java.util.Collection<PageTemplateModel> findAllPageTemplatesByCatalogVersion(CatalogVersionModel catalogVersion)
findAllPageTemplatesByCatalogVersion in interface CMSPageTemplateDaocatalogVersion - the catalog versionPageTemplateModel objects or empty collection when not found.public java.util.Collection<PageTemplateModel> findAllPageTemplatesByCatalogVersion(CatalogVersionModel catalogVersion, boolean active)
active boolean flag.findAllPageTemplatesByCatalogVersion in interface CMSPageTemplateDaocatalogVersion - the catalog versionactive - determines which page templates to find - active or not activePageTemplateModel objects or empty collection when not found.public java.util.Collection<PageTemplateModel> findAllPageTemplatesByCatalogVersions(java.util.Collection<CatalogVersionModel> catalogVersions, boolean active)
active boolean flag.findAllPageTemplatesByCatalogVersions in interface CMSPageTemplateDaocatalogVersions - the catalog versionsactive - determines which page templates to find - active or not activePageTemplateModel objects or empty collection when not found.public java.util.Collection<PageTemplateModel> findAllRestrictedPageTemplatesByCatalogVersion(CatalogVersionModel catalogVersion, boolean active, CMSPageTypeModel pageType)
active boolean flag and cms page type.findAllRestrictedPageTemplatesByCatalogVersion in interface CMSPageTemplateDaocatalogVersion - the catalog versionactive - determines which page templates to find - active or not activepageType - the cms page typePageTemplateModel objects or empty collection when not found.public java.util.List<PageTemplateModel> findPageTemplatesByIdAndCatalogVersion(java.lang.String id, CatalogVersionModel catalogVersion)
findPageTemplatesByIdAndCatalogVersion in interface CMSPageTemplateDaoid - the id of PageTemplateModel object to findcatalogVersion - the catalog versionPageTemplateModel objects or empty list when not found.public java.util.Collection<PageTemplateModel> findAllRestrictedPageTemplatesByCatalogVersion(java.util.Collection<CatalogVersionModel> catalogVersions, boolean active, CMSPageTypeModel pageType)
CMSPageTemplateDaoactive boolean flag and cms page type.findAllRestrictedPageTemplatesByCatalogVersion in interface CMSPageTemplateDaocatalogVersions - the catalog versionsactive - determines which page templates to find - active or not activepageType - the cms page typePageTemplateModel objects or empty collection when not found.Copyright © 2018 SAP SE. All Rights Reserved.