Class BinaryLogicalSearch
java.lang.Object
com.flowable.microsoft.graph.impl.search.AbstractSearch
com.flowable.microsoft.graph.impl.search.BinaryLogicalSearch
- All Implemented Interfaces:
Search
Abstract superclass for binary logical operations, that is "AND" and
"OR" operations.
This is inspired by the Spring LDAP AbstractBinaryLogicalFilter implementation and adjusted for OData.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal BinaryLogicalSearchAdd a query to this logical operation.final BinaryLogicalSearchappendAll(Collection<Search> subQueries) encode(StringBuilder sb) Encodes the search to a StringBuilder.protected abstract StringImplement this in subclass to return the logical operator, for example "and".Methods inherited from class com.flowable.microsoft.graph.impl.search.AbstractSearch
encode, toString
-
Constructor Details
-
BinaryLogicalSearch
public BinaryLogicalSearch()
-
-
Method Details
-
encode
Description copied from interface:SearchEncodes the search to a StringBuilder.- Parameters:
sb- The StringBuilder to encode the search to- Returns:
- The same StringBuilder as was given
-
getLogicalOperator
Implement this in subclass to return the logical operator, for example "and".- Returns:
- the logical operator.
-
append
Add a query to this logical operation.- Parameters:
query- the query to add.- Returns:
- This instance.
-
appendAll
-