public interface CMSItemDao
CMSItemModel objects generically.| Modifier and Type | Method and Description |
|---|---|
SearchResult<CMSItemModel> |
findByTypeCodeAndName(CatalogVersionModel catalogVersion,
java.lang.String typeCode,
java.lang.String name)
Find all CMS Items on a given catalog and typeCode matching the provided name.
|
CMSItemModel |
findByUid(java.lang.String uid,
CatalogVersionModel catalogVersion)
Finds the
CMSItemModel uniquely identified by its uid and catalogVersion |
CMSItemModel findByUid(java.lang.String uid, CatalogVersionModel catalogVersion)
CMSItemModel uniquely identified by its uid and catalogVersionuid - the CMSItemModel uidcatalogVersion - the CatalogVersionModel to which the item belongs toCMSItemModelSearchResult<CMSItemModel> findByTypeCodeAndName(CatalogVersionModel catalogVersion, java.lang.String typeCode, java.lang.String name)
catalogVersion - the catalogVersion to count the cms items fromtypeCode - the type code we want to count from.name - the name of the cms item, never null.Copyright © 2018 SAP SE. All Rights Reserved.