|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object lumis.search.filter.SearchFilterGroup
@StableMinor(version="6.2", sinceVersion="4.2.2") public class SearchFilterGroup
Allows the creation of composite filters by grouping them together and using a logical operator to join them.
Field Summary | |
---|---|
static String |
GROUP_OPERATOR_AND
Performs a logical AND when grouping the filters. |
static String |
GROUP_OPERATOR_OR
Performs a logical OR when grouping the filters. |
Constructor Summary | |
---|---|
SearchFilterGroup()
|
Method Summary | |
---|---|
List<? extends ISearchQueryFilter> |
getFilters()
Returns the filters in this group. |
String |
getOperator()
Returns the operator for grouping the filters. |
void |
setFilters(List<? extends ISearchQueryFilter> filters)
Sets the filters in this group. |
void |
setOperator(String operator)
Sets the operator for grouping the filters. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String GROUP_OPERATOR_AND
public static final String GROUP_OPERATOR_OR
Constructor Detail |
---|
public SearchFilterGroup()
Method Detail |
---|
public String getOperator()
setOperator(String)
public void setOperator(String operator)
GROUP_OPERATOR_AND
.
This class contains some operator constants defined as standard operators
for clauses. The actual allowed operators and interpretation given
depend on the Searcher
implementation being used.
It is recommended that all searchers implement the standard
operators defined in this class for best compatibility.
operator
- the operator value to set.GROUP_OPERATOR_AND
,
GROUP_OPERATOR_OR
public List<? extends ISearchQueryFilter> getFilters()
public void setFilters(List<? extends ISearchQueryFilter> filters)
filters
- a list containing the filters.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |