|
spring-ldap-core | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.springframework.ldap.filter.AbstractFilter
org.springframework.ldap.filter.BinaryLogicalFilter
public abstract class BinaryLogicalFilter
Abstract superclass for binary logical operations, that is "AND" and "OR" operations.
| Field Summary | |
|---|---|
protected List<Filter> |
queryList
|
| Constructor Summary | |
|---|---|
BinaryLogicalFilter()
|
|
| Method Summary | |
|---|---|
BinaryLogicalFilter |
append(Filter query)
Add a query to this logical operation. |
BinaryLogicalFilter |
appendAll(Collection<Filter> subQueries)
|
StringBuffer |
encode(StringBuffer buff)
Encodes the filter to a StringBuffer. |
boolean |
equals(Object o)
All filters must implement equals. |
protected abstract String |
getLogicalOperator()
Implement this in subclass to return the logical operator, for example &qout;&&qout;. |
int |
hashCode()
All filters must implement hashCode. |
| Methods inherited from class org.springframework.ldap.filter.AbstractFilter |
|---|
encode, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected List<Filter> queryList
| Constructor Detail |
|---|
public BinaryLogicalFilter()
| Method Detail |
|---|
public StringBuffer encode(StringBuffer buff)
Filter
encode in interface Filterencode in class AbstractFilterbuff - The StringBuffer to encode the filter to
protected abstract String getLogicalOperator()
public boolean equals(Object o)
Filter
equals in interface Filterequals in class Objecttrue if the objects are equal.public int hashCode()
Filter
hashCode in interface FilterhashCode in class ObjectObject.hashCode()public final BinaryLogicalFilter append(Filter query)
query - the query to add.
public final BinaryLogicalFilter appendAll(Collection<Filter> subQueries)
|
spring-ldap-core | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||