Class NavigationPropertyVisitingStrategy
java.lang.Object
de.hybris.platform.odata2services.filter.impl.AbstractNavigationPropertyVisitingStrategy
de.hybris.platform.odata2services.filter.impl.NavigationPropertyVisitingStrategy
- All Implemented Interfaces:
BinaryExpressionVisitingStrategy
This strategy creates a
WhereClauseCondition from a navigation property's sub-property that is not an integrationKey.
For example, if filtering by catalogVersion/version eq 'Staged', this strategy looks up all CatalogVersions with
version = 'Staged' and creates a where clause condition containing the PKs of all the matching CatalogVersions.-
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) booleanisApplicable(org.apache.olingo.odata2.api.uri.expression.BinaryExpression expression, org.apache.olingo.odata2.api.uri.expression.BinaryOperator operator, Object leftResult, Object rightResult) Methods inherited from class de.hybris.platform.odata2services.filter.impl.AbstractNavigationPropertyVisitingStrategy
getContext, getItemLookupRequestFactory, getLeftOperandNavPropertyName, getLeftOperandPropertyName, getOperatorConverter, setContext, setItemLookupRequestFactory, setItemSearchService, setOperatorConverter, visit
-
Constructor Details
-
NavigationPropertyVisitingStrategy
public NavigationPropertyVisitingStrategy()
-
-
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
-