public interface ModelEntityService
| Modifier and Type | Method and Description |
|---|---|
void |
addIntegrationKeyToODataEntry(EdmEntitySet entitySet,
ODataEntry oDataEntry)
Adds the alias value for an item's integrationKey to the oDataEntry
|
ItemModel |
createOrUpdateItem(StorageRequest request,
CreateItemStrategy createItemStrategy)
create or update platform items based on an ODataEntry
|
ODataEntry |
getODataEntry(RetrievalRequest request)
Converts an itemModel into a ODataEntry
|
ItemModel |
lookup(StorageRequest storageRequest)
gets an itemModel based on the given information.
|
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(StorageRequest storageRequest) throws EdmException
storageRequest - Parameter object that holds values for getting an itemModelEdmException - in case there is an OData related issueODataEntry getODataEntry(RetrievalRequest request) throws EdmException
request - Parameter object that holds values for getting an ODataEntryEdmException - in case there is an OData related issuevoid addIntegrationKeyToODataEntry(EdmEntitySet entitySet,
ODataEntry oDataEntry)
throws EdmException
entitySet - Edmx representation of the itemoDataEntry - request body represented as xml or jsonEdmException - in case there is an OData related issueCopyright © 2018 SAP SE. All Rights Reserved.