Interface ItemLookupStrategy
- All Known Implementing Classes:
DefaultItemLookupStrategy
Deprecated, for removal: This API element is subject to removal in a future version.
A strategy for searching an item in the platform persistent storage based on the request.
-
Method Summary
Modifier and TypeMethodDescriptionintcount(ItemLookupRequest lookupRequest) Deprecated, for removal: This API element is subject to removal in a future version.Counts how many items in the platform match the provided request conditions.lookup(ItemLookupRequest lookupRequest) Deprecated, for removal: This API element is subject to removal in a future version.Looks for anItemon the commerce suite based on the given information.lookupItems(ItemLookupRequest lookupRequest) Deprecated, for removal: This API element is subject to removal in a future version.Looks forItems in the commerce suite based on the given request parameters.
-
Method Details
-
lookup
ItemModel lookup(ItemLookupRequest lookupRequest) throws org.apache.olingo.odata2.api.edm.EdmException Deprecated, for removal: This API element is subject to removal in a future version.Looks for anItemon the commerce suite based on the given information.- Parameters:
lookupRequest- request information- Returns:
- an item model matching the request condition, i.e. the integration key value.
- Throws:
org.apache.olingo.odata2.api.edm.EdmException- when request is invalid
-
lookupItems
ItemLookupResult<ItemModel> lookupItems(ItemLookupRequest lookupRequest) throws org.apache.olingo.odata2.api.edm.EdmException Deprecated, for removal: This API element is subject to removal in a future version.Looks forItems in the commerce suite based on the given request parameters.- Parameters:
lookupRequest- request information conditions, i.e. type of items to find, page conditions- Returns:
- result of the lookup based on the given criteria
- Throws:
org.apache.olingo.odata2.api.edm.EdmException- when request is invalid
-
count
Deprecated, for removal: This API element is subject to removal in a future version.Counts how many items in the platform match the provided request conditions.- Parameters:
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.- Returns:
- number of items in the platform matching the request conditions.
- Throws:
org.apache.olingo.odata2.api.edm.EdmException- if the request is invalid
-
ItemSearchServiceinstead