public abstract class AbstractQueryFilter extends Object
FlexibleSearch query if either existing SearchRestriction
items exist for the query type and the current session user or if there are context
specific filters.| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj)
Filters are considered equal if their codes and types match.
|
String |
getCode()
The code of this filter.
|
String |
getQuery()
The query fragment to inject.
|
ComposedType |
getRestrictionType()
The type which this filter applies to.
|
int |
hashCode() |
public ComposedType getRestrictionType()
public String getQuery()
public String getCode()
If there are two filter 'foo' one for type Product and one for type VariantProduct each query upon variant products will contain the second filter text, any query upon prodcust will contain both texts in conjunction with type separating conditions.
public boolean equals(Object obj)
Copyright © 2017 SAP SE. All Rights Reserved.