public interface PersistenceService
| Modifier and Type | Method and Description |
|---|---|
ODataEntry |
createEntityData(StorageRequest storageRequest)
Create or update a commerce suite item and return it as an ODataEntry
|
ItemLookupResult<ODataEntry> |
getEntities(ItemLookupRequest lookupRequest,
ConversionOptions options)
Searches for items matching the conditions of the specifed request
|
ODataEntry |
getEntityData(ItemLookupRequest lookupRequest,
ConversionOptions options)
Get a commerce suite item as an ODataEntry
|
ODataEntry createEntityData(StorageRequest storageRequest) throws EdmException
storageRequest - Parameter object that holds values for creating or updating an item.EdmException - when not being able to persist the given infoODataEntry getEntityData(ItemLookupRequest lookupRequest, ConversionOptions options) throws EdmException
lookupRequest - Parameter object that holds values for getting an item.options - Parameter that indicates options to be used during item conversion.EdmException - when not being able to persist the given infoItemLookupResult<ODataEntry> getEntities(ItemLookupRequest lookupRequest, ConversionOptions options) throws EdmException
lookupRequest - specifies what items need to be found and conditions for matching the items existing in the platform.options - Parameter that indicates options to be used during item conversionEdmException - when not being able to retrieve the entitiesCopyright © 2018 SAP SE. All Rights Reserved.