public interface CMSVersionDao
CMSVersionModel objects.| Modifier and Type | Method and Description |
|---|---|
java.util.List<CMSVersionModel> |
findAllByItemUidAndItemCatalogVersion(java.lang.String itemUid,
CatalogVersionModel itemCatalogVersion)
Finds all
CMSVersionModel for a given CMSItemModel |
java.util.Optional<CMSVersionModel> |
findByItemUidAndLabel(java.lang.String itemUid,
java.lang.String label,
CatalogVersionModel itemCatalogVersion)
Finds the
CMSVersionModel for an item identified by its itemUid containing the given label |
java.util.Optional<CMSVersionModel> |
findByUid(java.lang.String uid)
Finds the
CMSVersionModel uniquely identified by its uid |
java.util.Optional<CMSVersionModel> findByUid(java.lang.String uid)
CMSVersionModel uniquely identified by its uiduid - the CMSVersionModel uidCMSVersionModel that matches the criteria or empty if not foundjava.lang.IllegalArgumentException - if uid is emptyjava.util.Optional<CMSVersionModel> findByItemUidAndLabel(java.lang.String itemUid, java.lang.String label, CatalogVersionModel itemCatalogVersion)
CMSVersionModel for an item identified by its itemUid containing the given labelitemUid - the uid of the item modellabel - the label of the cms version modelitemCatalogVersion - the CatalogVersionModel to which the item belongs toCMSVersionModel that matches the criteria or empty if not foundjava.lang.IllegalArgumentException - if either itemUid, label, or itemCatalogVersion is empty or nulljava.util.List<CMSVersionModel> findAllByItemUidAndItemCatalogVersion(java.lang.String itemUid, CatalogVersionModel itemCatalogVersion)
CMSVersionModel for a given CMSItemModelitemUid - the uid of the CMSItemModelitemCatalogVersion - the CatalogVersionModel to which the CMSItemModel belongs.CMSVersionModelCopyright © 2018 SAP SE. All Rights Reserved.