public interface CMSItemFacade
| Modifier and Type | Method and Description |
|---|---|
java.util.Map<java.lang.String,java.lang.Object> |
createItem(java.util.Map<java.lang.String,java.lang.Object> itemMap)
Create CMS Items given the attribute value map.
|
void |
deleteCMSItemByUuid(java.lang.String uuid)
Deletes one single CMSItem by its uuid (Universal Unique Identifier)
|
SearchResult<java.util.Map<java.lang.String,java.lang.Object>> |
findCMSItems(CMSItemSearchData cmsItemSearchData,
PageableData pageableData)
A paged Search for CMSItems in a given catalogversion.
|
java.util.List<java.util.Map<java.lang.String,java.lang.Object>> |
findCMSItems(java.util.List<java.lang.String> uuids)
A Search for CMSItems by their universally unique identifiers
|
java.util.Map<java.lang.String,java.lang.Object> |
getCMSItemByUuid(java.lang.String uuid)
Get one single CMSItem by its uuid (Universal Unique Identifier) For more information about Unique Identifiers,
see
UniqueItemIdentifierService |
java.util.Map<java.lang.String,java.lang.Object> |
updateItem(java.lang.String uuid,
java.util.Map<java.lang.String,java.lang.Object> itemMap)
Updates a CMS Item given the attribute value map and its uuid.
|
java.util.Map<java.lang.String,java.lang.Object> |
validateItemForCreate(java.util.Map<java.lang.String,java.lang.Object> itemMap)
Validates CMS Items given the attribute value map.
|
java.util.Map<java.lang.String,java.lang.Object> |
validateItemForUpdate(java.lang.String uuid,
java.util.Map<java.lang.String,java.lang.Object> itemMap)
Validates a CMS Item given the attribute value map and its uuid.
|
java.util.List<java.util.Map<java.lang.String,java.lang.Object>> findCMSItems(java.util.List<java.lang.String> uuids)
throws CMSItemNotFoundException
uuids - The list of uuids of the CMSItems to look forCMSItemNotFoundException - if the item is not foundSearchResult<java.util.Map<java.lang.String,java.lang.Object>> findCMSItems(CMSItemSearchData cmsItemSearchData, PageableData pageableData)
cmsItemSearchData - The catalog and filter informationpageableData - The paging informationValidationException - When catalog or paging information is missingjava.util.Map<java.lang.String,java.lang.Object> getCMSItemByUuid(java.lang.String uuid)
throws CMSItemNotFoundException
UniqueItemIdentifierServiceuuid - - the universal unique identifierMap<String, Object> representation of the CMS ItemCMSItemNotFoundException - when a CMS Item can not be found for a given uuid.java.util.Map<java.lang.String,java.lang.Object> createItem(java.util.Map<java.lang.String,java.lang.Object> itemMap)
throws CMSItemNotFoundException
itemMap - - the Map<String, Object> that contains the attributes values for the new CMSItem.CMSItemNotFoundException - when a CMS Item can not be found for a given uuid.java.util.Map<java.lang.String,java.lang.Object> updateItem(java.lang.String uuid,
java.util.Map<java.lang.String,java.lang.Object> itemMap)
throws CMSItemNotFoundException
UniqueItemIdentifierServiceuuid - - the universal unique identifieritemMap - - the Map<String, Object> that contains the attributes values for the new CMSItem.CMSItemNotFoundException - when a CMS Item can not be found for a given uuid.void deleteCMSItemByUuid(java.lang.String uuid)
throws CMSItemNotFoundException
uuid - - the universal unique identifierCMSItemNotFoundException - when a CMS Item can not be found for a given uuid.java.util.Map<java.lang.String,java.lang.Object> validateItemForUpdate(java.lang.String uuid,
java.util.Map<java.lang.String,java.lang.Object> itemMap)
throws CMSItemNotFoundException
UniqueItemIdentifierServiceuuid - - the universal unique identifieritemMap - - the Map<String, Object> that contains the attributes values for the new CMSItem.CMSItemNotFoundException - when a CMS Item can not be found for a given uuid.java.util.Map<java.lang.String,java.lang.Object> validateItemForCreate(java.util.Map<java.lang.String,java.lang.Object> itemMap)
throws CMSItemNotFoundException
itemMap - - the Map<String, Object> that contains the attributes values for the new CMSItem.CMSItemNotFoundException - when a CMS Item can not be found for a given uuid.Copyright © 2018 SAP SE. All Rights Reserved.