Class DefaultItemLookupStrategy
java.lang.Object
de.hybris.platform.odata2services.odata.persistence.lookup.DefaultItemLookupStrategy
- All Implemented Interfaces:
ItemLookupStrategy
@Deprecated(since="2205",
forRemoval=true)
public class DefaultItemLookupStrategy
extends Object
implements ItemLookupStrategy
Deprecated, for removal: This API element is subject to removal in a future version.
-
Constructor Summary
ConstructorsConstructorDescriptionDeprecated, for removal: This API element is subject to removal in a future version. -
Method Summary
Modifier and TypeMethodDescriptionprotected FlexibleSearchQuerybuildQuery(FlexibleSearchQueryBuilder builder) Deprecated, for removal: This API element is subject to removal in a future version.buildWhereForKeyNavProperties(ItemLookupRequest lookupRequest) Deprecated, for removal: This API element is subject to removal in a future version.intcount(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.protected FlexibleSearchServiceDeprecated, for removal: This API element is subject to removal in a future version.protected IntegrationObjectServiceDeprecated, for removal: This API element is subject to removal in a future version.protected ItemLookupRequestFactoryDeprecated, for removal: This API element is subject to removal in a future version.protected booleanisCollectionNavigationPropertyQuery(ItemLookupRequest lookupRequest) Deprecated, for removal: This API element is subject to removal in a future version.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.protected ItemModellookupInternal(ItemLookupRequest lookupRequest) Deprecated, for removal: This API element is subject to removal in a future version.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.protected FlexibleSearchQueryBuilderqueryBuilder(ItemLookupRequest lookupRequest) Deprecated, for removal: This API element is subject to removal in a future version.protected SearchResult<ItemModel>search(FlexibleSearchQueryBuilder builder) Deprecated, for removal: This API element is subject to removal in a future version.protected SearchResult<ItemModel>search(FlexibleSearchQuery query) Deprecated, for removal: This API element is subject to removal in a future version.voidsetFlexibleSearchService(FlexibleSearchService flexibleSearchService) Deprecated, for removal: This API element is subject to removal in a future version.voidsetIntegrationObjectService(IntegrationObjectService integrationObjectService) Deprecated, for removal: This API element is subject to removal in a future version.voidsetItemLookupRequestFactory(ItemLookupRequestFactory itemLookupRequestFactory) Deprecated, for removal: This API element is subject to removal in a future version.toMap(org.apache.olingo.odata2.api.ep.entry.ODataEntry oDataEntry) Deprecated, for removal: This API element is subject to removal in a future version.
-
Constructor Details
-
DefaultItemLookupStrategy
public DefaultItemLookupStrategy()Deprecated, for removal: This API element is subject to removal in a future version.
-
-
Method Details
-
lookup
public 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.Description copied from interface:ItemLookupStrategyLooks for anItemon the commerce suite based on the given information.- Specified by:
lookupin interfaceItemLookupStrategy- 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
-
count
public int count(ItemLookupRequest lookupRequest) throws org.apache.olingo.odata2.api.edm.EdmException Deprecated, for removal: This API element is subject to removal in a future version.Description copied from interface:ItemLookupStrategyCounts how many items in the platform match the provided request conditions.- Specified by:
countin interfaceItemLookupStrategy- 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
-
lookupItems
public 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.Description copied from interface:ItemLookupStrategyLooks forItems in the commerce suite based on the given request parameters.- Specified by:
lookupItemsin interfaceItemLookupStrategy- 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
-
lookupInternal
protected ItemModel lookupInternal(ItemLookupRequest lookupRequest) throws org.apache.olingo.odata2.api.edm.EdmException Deprecated, for removal: This API element is subject to removal in a future version.- Throws:
org.apache.olingo.odata2.api.edm.EdmException
-
search
Deprecated, for removal: This API element is subject to removal in a future version. -
search
Deprecated, for removal: This API element is subject to removal in a future version. -
buildQuery
Deprecated, for removal: This API element is subject to removal in a future version. -
queryBuilder
protected FlexibleSearchQueryBuilder queryBuilder(ItemLookupRequest lookupRequest) throws org.apache.olingo.odata2.api.edm.EdmException Deprecated, for removal: This API element is subject to removal in a future version.- Throws:
org.apache.olingo.odata2.api.edm.EdmException
-
toMap
Deprecated, for removal: This API element is subject to removal in a future version. -
getFlexibleSearchService
Deprecated, for removal: This API element is subject to removal in a future version. -
setFlexibleSearchService
Deprecated, for removal: This API element is subject to removal in a future version. -
getIntegrationObjectService
Deprecated, for removal: This API element is subject to removal in a future version. -
setIntegrationObjectService
Deprecated, for removal: This API element is subject to removal in a future version. -
getItemLookupRequestFactory
Deprecated, for removal: This API element is subject to removal in a future version. -
setItemLookupRequestFactory
Deprecated, for removal: This API element is subject to removal in a future version.
-
ItemSearchServiceinstead