public interface CMSComponentDao extends Dao
| Modifier and Type | Method and Description |
|---|---|
java.util.List<AbstractCMSComponentModel> |
findAllCMSComponentsByCatalogVersion(CatalogVersionModel catalogVersion)
Find cms components that belong to a given catalog version.
|
SearchResult<AbstractCMSComponentModel> |
findByCatalogVersionAndMask(CatalogVersionModel catalogVersionModel,
java.lang.String mask,
PageableData pageableData)
For a given mask used as filter and a
PageableData query, will return a page object consisting of the
content list of the requested page number and the total number of entities for the given mask |
AbstractCMSComponentModel |
findCMSComponent(java.lang.String id,
java.lang.String contentSlotId,
java.util.Collection<CatalogVersionModel> catalogVersions)
Deprecated.
since 4.3. Please, use
findCMSComponents(String, String, Collection) instead. |
AbstractCMSComponentModel |
findCMSComponentById(java.lang.String id)
Deprecated.
since 4.3. Please, use
findCMSComponentsById(String) instead. |
AbstractCMSComponentModel |
findCMSComponentByIdAndCatalogVersion(java.lang.String id,
CatalogVersionModel catalogVersion)
Deprecated.
since 4.3. Please, use
findCMSComponentsByIdAndCatalogVersion(String, CatalogVersionModel) instead. |
AbstractCMSComponentModel |
findCMSComponentByIdAndCatalogVersions(java.lang.String id,
java.util.Collection<CatalogVersionModel> catalogVersions)
Deprecated.
since 4.3. Please, use
findCMSComponentsByIdAndCatalogVersions(String, Collection) instead. |
AbstractCMSComponentContainerModel |
findCMSComponentContainerByIdAndCatalogVersion(java.lang.String id,
CatalogVersionModel catalogVersion)
Deprecated.
since 4.3. Please, use
findCMSComponentContainersByIdAndCatalogVersion(String, CatalogVersionModel)
instead. |
java.util.List<AbstractCMSComponentContainerModel> |
findCMSComponentContainersByIdAndCatalogVersion(java.lang.String id,
CatalogVersionModel catalogVersion)
Find cms component containers by id and catalog version.
|
java.util.List<AbstractCMSComponentModel> |
findCMSComponents(java.lang.String id,
java.lang.String contentSlotId,
java.util.Collection<CatalogVersionModel> catalogVersions)
Find cms components by id, contentSlotId and catalog versions.
|
java.util.List<AbstractCMSComponentModel> |
findCMSComponentsById(java.lang.String id)
Find cms components by id.
|
java.util.List<AbstractCMSComponentModel> |
findCMSComponentsByIdAndCatalogVersion(java.lang.String id,
CatalogVersionModel catalogVersion)
Find cms components by id and catalog version.
|
java.util.List<AbstractCMSComponentModel> |
findCMSComponentsByIdAndCatalogVersions(java.lang.String id,
java.util.Collection<CatalogVersionModel> catalogVersions)
Find cms components by id and catalog versions.
|
<T extends AbstractCMSComponentModel> |
findCMSComponentsByIdsAndCatalogVersions(java.util.Collection<java.lang.String> ids,
java.util.Collection<CatalogVersionModel> catalogVersions,
SearchPageData searchPageData)
Find cms components by list of IDs and catalog versions with pagination and sorting.
|
java.util.List<SimpleCMSComponentModel> |
findCMSComponentsOfContainerByIdAndCatalogVersion(java.lang.String id,
CatalogVersionModel catalogVersion)
Find cms components of container by id and catalog version.
|
@Deprecated AbstractCMSComponentModel findCMSComponentByIdAndCatalogVersions(java.lang.String id, java.util.Collection<CatalogVersionModel> catalogVersions)
findCMSComponentsByIdAndCatalogVersions(String, Collection) instead.id - the id of CMS componentcatalogVersions - the collection of catalog versionsjava.util.List<AbstractCMSComponentModel> findCMSComponentsByIdAndCatalogVersions(java.lang.String id, java.util.Collection<CatalogVersionModel> catalogVersions)
id - the id of CMS componentcatalogVersions - the collection of catalog versions<T extends AbstractCMSComponentModel> SearchPageData<T> findCMSComponentsByIdsAndCatalogVersions(java.util.Collection<java.lang.String> ids, java.util.Collection<CatalogVersionModel> catalogVersions, SearchPageData searchPageData)
T - the AbstractCMSComponentModel subclass typeids - the collection of ids of CMS componentscatalogVersions - the collection of catalog versionssearchPageData - the searchPageData contains requested pagination and sorting information@Deprecated AbstractCMSComponentModel findCMSComponent(java.lang.String id, java.lang.String contentSlotId, java.util.Collection<CatalogVersionModel> catalogVersions)
findCMSComponents(String, String, Collection) instead.id - the idcontentSlotId - the content slot idcatalogVersions - the catalog versionsjava.util.List<AbstractCMSComponentModel> findCMSComponents(java.lang.String id, java.lang.String contentSlotId, java.util.Collection<CatalogVersionModel> catalogVersions)
id - the id of CMS component.contentSlotId - the if of content slotcatalogVersions - the collection of catalog versions@Deprecated AbstractCMSComponentModel findCMSComponentByIdAndCatalogVersion(java.lang.String id, CatalogVersionModel catalogVersion)
findCMSComponentsByIdAndCatalogVersion(String, CatalogVersionModel) instead.id - the idcatalogVersion - the catalog versionjava.util.List<AbstractCMSComponentModel> findCMSComponentsByIdAndCatalogVersion(java.lang.String id, CatalogVersionModel catalogVersion)
id - the id of CMS componentcatalogVersion - the catalog version@Deprecated AbstractCMSComponentModel findCMSComponentById(java.lang.String id)
findCMSComponentsById(String) instead.id - the idjava.util.List<AbstractCMSComponentModel> findCMSComponentsById(java.lang.String id)
id - the id of CMS component@Deprecated AbstractCMSComponentContainerModel findCMSComponentContainerByIdAndCatalogVersion(java.lang.String id, CatalogVersionModel catalogVersion)
findCMSComponentContainersByIdAndCatalogVersion(String, CatalogVersionModel)
instead.id - the idcatalogVersion - the catalog versionjava.util.List<AbstractCMSComponentContainerModel> findCMSComponentContainersByIdAndCatalogVersion(java.lang.String id, CatalogVersionModel catalogVersion)
id - the id of CMS componentcatalogVersion - the catalog versionjava.util.List<SimpleCMSComponentModel> findCMSComponentsOfContainerByIdAndCatalogVersion(java.lang.String id, CatalogVersionModel catalogVersion)
id - the id of CMS componentcatalogVersion - the catalog versionjava.util.List<AbstractCMSComponentModel> findAllCMSComponentsByCatalogVersion(CatalogVersionModel catalogVersion)
catalogVersion - - the catalog versionSearchResult<AbstractCMSComponentModel> findByCatalogVersionAndMask(CatalogVersionModel catalogVersionModel, java.lang.String mask, PageableData pageableData)
PageableData query, will return a page object consisting of the
content list of the requested page number and the total number of entities for the given maskcatalogVersionModel - the catalog version to filter onmask - the string value on which components will be filtered, implementations may choose to filter on the
component namepageableData - the PageableData object containing the page request details. PageableData may contain a String
value for sort, this will be used by a sorting strategy to select the most appropriate query or resort
to a default one.Copyright © 2018 SAP SE. All Rights Reserved.