public interface ModelEntityService
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
addIntegrationKeyToODataEntry(EdmEntitySet entitySet,
ODataEntry oDataEntry)
Adds the alias value for an item's integrationKey to the oDataEntry
|
int |
count(ItemLookupRequest lookupRequest)
Counts how many items in the platform match the provided request conditions.
|
ItemModel |
createOrUpdateItem(StorageRequest request,
CreateItemStrategy createItemStrategy)
create or update platform items based on an ODataEntry
|
ODataEntry |
getODataEntry(ItemConversionRequest conversionRequest)
Converts an itemModel into a ODataEntry
|
ItemModel |
lookup(ItemLookupRequest lookupRequest)
gets an itemModel based on the given information.
|
ItemLookupResult<ItemModel> |
lookupItems(ItemLookupRequest lookupRequest)
Searches for item models matching the conditions in the specified request.
|
ItemModel createOrUpdateItem(StorageRequest request, CreateItemStrategy createItemStrategy) throws EdmException
request - Parameter object that holds values for creating or updating an item.createItemStrategy - strategy used to create non-existing itemsEdmException - in case there is an OData related issueItemModel lookup(ItemLookupRequest lookupRequest) throws EdmException
lookupRequest - Parameter object that holds values for getting an itemModelEdmException - in case there is an OData related issueItemLookupResult<ItemModel> lookupItems(ItemLookupRequest lookupRequest) throws EdmException
lookupRequest - Parameter object that holds values for getting an itemModelEdmException - in case there is an OData related issueODataEntry getODataEntry(ItemConversionRequest conversionRequest) throws EdmException
conversionRequest - Parameter object that holds values for getting an ODataEntryEdmException - in case there is an OData related issuejava.lang.String addIntegrationKeyToODataEntry(EdmEntitySet entitySet,
ODataEntry oDataEntry)
entitySet - Edmx representation of the itemoDataEntry - request body represented as xml or jsonint count(ItemLookupRequest lookupRequest) throws EdmException
lookupRequest - a request specifying an item type, at a minimum, and possibly other conditions. For example, the
request may point to the objects nested in the request's base item type and referred by the navigation segments.EdmException - in case there is an OData related issueCopyright © 2018 SAP SE. All Rights Reserved.