org.apache.directory.server.core.event
Interface Evaluator
- All Known Implementing Classes:
- ExpressionEvaluator, LeafEvaluator, ScopeEvaluator, SubstringEvaluator
public interface Evaluator
Tests if an entry is eligible for return by evaluating a filter expression on
the candidate. The evaluation can proceed by applying the filter on the
attributes of the entry itself or indices can be used for rapid evaluation.
- Version:
- $Rev: 666516 $
- Author:
- Apache Directory Project
Method Summary |
boolean |
evaluate(org.apache.directory.shared.ldap.filter.ExprNode node,
java.lang.String dn,
ServerEntry entry)
Evaluates a candidate to determine if a filter expression selects it. |
evaluate
boolean evaluate(org.apache.directory.shared.ldap.filter.ExprNode node,
java.lang.String dn,
ServerEntry entry)
throws javax.naming.NamingException
- Evaluates a candidate to determine if a filter expression selects it.
- Parameters:
node
- the filter expression to evaluate on the candidatedn
- the normalized distinguished name of the entry being testedentry
- the entry to evaluate
- Returns:
- true if the filter selects the candidate false otherwise
- Throws:
javax.naming.NamingException
- if there is a database fault during evaluation
Copyright © 2003-2009 Apache Software Foundation. All Rights Reserved.