Class NavigationPropertyWithIntegrationKeyVisitingStrategy
java.lang.Object
de.hybris.platform.odata2services.filter.impl.AbstractNavigationPropertyVisitingStrategy
de.hybris.platform.odata2services.filter.impl.NavigationPropertyWithIntegrationKeyVisitingStrategy
- All Implemented Interfaces:
BinaryExpressionVisitingStrategy
public class NavigationPropertyWithIntegrationKeyVisitingStrategy
extends AbstractNavigationPropertyVisitingStrategy
This strategy creates a
WhereClauseCondition from a navigation property's integrationKey.
For example, if filtering by catalogVersion/integrationKey eq 'Staged|Default', this strategy looks up the CatalogVersion with
version = 'Staged' and catalog.id = 'Default', then creates a where clause condition containing the CatalogVersion's PK.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected WhereClauseConditionscreateWhereClauseConditionWithOperator(org.apache.olingo.odata2.api.uri.expression.BinaryExpression expression, org.apache.olingo.odata2.api.uri.expression.BinaryOperator operator, Object leftResult, Object rightResult) protected IntegrationKeyToODataEntryGeneratorbooleanisApplicable(org.apache.olingo.odata2.api.uri.expression.BinaryExpression expression, org.apache.olingo.odata2.api.uri.expression.BinaryOperator operator, Object leftResult, Object rightResult) voidsetIntegrationKeyConverter(IntegrationKeyToODataEntryGenerator integrationKeyConverter) Methods inherited from class de.hybris.platform.odata2services.filter.impl.AbstractNavigationPropertyVisitingStrategy
getContext, getItemLookupRequestFactory, getLeftOperandNavPropertyName, getLeftOperandPropertyName, getOperatorConverter, setContext, setItemLookupRequestFactory, setItemSearchService, setOperatorConverter, visit
-
Constructor Details
-
NavigationPropertyWithIntegrationKeyVisitingStrategy
public NavigationPropertyWithIntegrationKeyVisitingStrategy()
-
-
Method Details
-
isApplicable
-
createWhereClauseConditionWithOperator
protected WhereClauseConditions createWhereClauseConditionWithOperator(org.apache.olingo.odata2.api.uri.expression.BinaryExpression expression, org.apache.olingo.odata2.api.uri.expression.BinaryOperator operator, Object leftResult, Object rightResult) - Specified by:
createWhereClauseConditionWithOperatorin classAbstractNavigationPropertyVisitingStrategy
-
getIntegrationKeyConverter
-
setIntegrationKeyConverter
-