public interface CMSContentCatalogDao extends Dao
| Modifier and Type | Method and Description |
|---|---|
java.util.Collection<ContentCatalogModel> |
findAllContentCatalogs()
Find all content catalogs.
|
java.util.Collection<ContentCatalogModel> |
findAllContentCatalogsOrderedBy(java.lang.String orderField)
Find all content catalogs ordered by field
orderField. |
ContentCatalogModel |
findContentCatalogById(java.lang.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. |
java.util.Collection<ContentCatalogModel> findAllContentCatalogs()
ContentCatalogModel objects or empty collection when not foundjava.util.Collection<ContentCatalogModel> findAllContentCatalogsOrderedBy(java.lang.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(java.lang.String id) throws UnknownIdentifierException, AmbiguousIdentifierException
id - catalog idContentCatalogModeljava.lang.IllegalArgumentException - 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 © 2018 SAP SE. All Rights Reserved.