public interface CMSContentCatalogDao extends Dao
| Modifier and Type | Method and Description |
|---|---|
Collection<ContentCatalogModel> |
findAllContentCatalogs()
Find all content catalogs.
|
Collection<ContentCatalogModel> |
findAllContentCatalogsOrderedBy(String orderField)
Find all content catalogs ordered by field
orderField. |
ContentCatalogModel |
findContentCatalogById(String id)
Find a single content catalog having the given id.
|
boolean |
hasCMSItems(CatalogVersionModel versionModel)
Checks whether there are some CMS items related to passed as parameter
CatalogVersionModel object. |
boolean |
hasCMSRelations(CatalogVersionModel versionModel)
Checks whether there are some
CMSRelationModel objects related to passed as parameter
CatalogVersionModel object. |
Collection<ContentCatalogModel> findAllContentCatalogs()
ContentCatalogModel objects or empty collection when not foundCollection<ContentCatalogModel> findAllContentCatalogsOrderedBy(String orderField)
orderField.orderField - the order fieldContentCatalogModel objects or empty collection when not foundboolean hasCMSItems(CatalogVersionModel versionModel)
CatalogVersionModel object.versionModel - the CatalogVersionModel objectboolean hasCMSRelations(CatalogVersionModel versionModel)
CMSRelationModel objects related to passed as parameter
CatalogVersionModel object.versionModel - the CatalogVersionModel modelContentCatalogModel findContentCatalogById(String id) throws UnknownIdentifierException, AmbiguousIdentifierException
id - catalog idContentCatalogModelIllegalArgumentException - when id is null.UnknownIdentifierException - when no ContentCatalogModel with the given id could be found.AmbiguousIdentifierException - when more than one ContentCatalogModel with the given id is foundCopyright © 2017 SAP SE. All Rights Reserved.