public interface ItemLookupStrategy
| Modifier and Type | Method and Description |
|---|---|
int |
count(ItemLookupRequest lookupRequest)
Counts how many items in the platform match the provided request conditions.
|
ItemModel |
lookup(ItemLookupRequest lookupRequest)
Looks for an
Item on the commerce suite based on the given information. |
ItemLookupResult<ItemModel> |
lookupItems(ItemLookupRequest lookupRequest)
Looks for
Items in the commerce suite based on the given request parameters. |
ItemModel lookup(ItemLookupRequest lookupRequest) throws EdmException
Item on the commerce suite based on the given information.lookupRequest - request informationEdmException - when request is invalidItemLookupResult<ItemModel> lookupItems(ItemLookupRequest lookupRequest) throws EdmException
Items in the commerce suite based on the given request parameters.lookupRequest - request information conditions, i.e. type of items to find, page conditionsEdmException - when request is invalidint 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 - if the request is invalidCopyright © 2018 SAP SE. All Rights Reserved.