public class DefaultCMSContentCatalogDao extends AbstractItemDao implements CMSContentCatalogDao
CMSContentCatalogDao interface.flexibleSearchService, modelService| Constructor and Description |
|---|
DefaultCMSContentCatalogDao() |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
executeRelationshipCount(FlexibleSearchQuery fQuery,
CatalogVersionModel versionModel) |
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. |
getAllSources, getFlexibleSearchService, getModelService, getSource, load, loadAll, search, search, searchUnique, setFlexibleSearchService, setModelServicepublic Collection<ContentCatalogModel> findAllContentCatalogs()
findAllContentCatalogs in interface CMSContentCatalogDaoContentCatalogModel objects or empty collection when not foundpublic Collection<ContentCatalogModel> findAllContentCatalogsOrderedBy(String orderField)
orderField.findAllContentCatalogsOrderedBy in interface CMSContentCatalogDaoorderField - the order fieldContentCatalogModel objects or empty collection when not foundpublic boolean hasCMSItems(CatalogVersionModel versionModel)
CatalogVersionModel object.hasCMSItems in interface CMSContentCatalogDaoversionModel - the CatalogVersionModel objectpublic boolean hasCMSRelations(CatalogVersionModel versionModel)
CMSRelationModel objects related to passed as parameter
CatalogVersionModel object.hasCMSRelations in interface CMSContentCatalogDaoversionModel - the CatalogVersionModel modelprotected boolean executeRelationshipCount(FlexibleSearchQuery fQuery, CatalogVersionModel versionModel)
public ContentCatalogModel findContentCatalogById(String id)
findContentCatalogById in interface CMSContentCatalogDaoid - catalog idContentCatalogModelCopyright © 2017 SAP SE. All Rights Reserved.