Package com.netscape.cmscore.ldap
Interface ILdapExpression
-
- All Known Implementing Classes:
LdapAndExpression,LdapOrExpression,LdapSimpleExpression
public interface ILdapExpressionInterface for a Ldap predicate expression.- Version:
- $Revision$, $Date$
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringEQUAL_STRstatic java.lang.StringGE_STRstatic java.lang.StringGT_STRstatic java.lang.StringLE_STRstatic java.lang.StringLT_STRstatic java.lang.StringNEQUAL_STRstatic intOP_EQUALstatic intOP_GEstatic intOP_GTstatic intOP_LEstatic intOP_LTstatic intOP_NEQUAL
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleanevaluate(SessionContext sc)Evaluate the Expression.booleanevaluate(IRequest req)Evaluate the Expression.java.lang.StringtoString()Convert to a string.
-
-
-
Field Detail
-
OP_EQUAL
static final int OP_EQUAL
- See Also:
- Constant Field Values
-
OP_NEQUAL
static final int OP_NEQUAL
- See Also:
- Constant Field Values
-
OP_GT
static final int OP_GT
- See Also:
- Constant Field Values
-
OP_LT
static final int OP_LT
- See Also:
- Constant Field Values
-
OP_GE
static final int OP_GE
- See Also:
- Constant Field Values
-
OP_LE
static final int OP_LE
- See Also:
- Constant Field Values
-
EQUAL_STR
static final java.lang.String EQUAL_STR
- See Also:
- Constant Field Values
-
NEQUAL_STR
static final java.lang.String NEQUAL_STR
- See Also:
- Constant Field Values
-
GT_STR
static final java.lang.String GT_STR
- See Also:
- Constant Field Values
-
GE_STR
static final java.lang.String GE_STR
- See Also:
- Constant Field Values
-
LT_STR
static final java.lang.String LT_STR
- See Also:
- Constant Field Values
-
LE_STR
static final java.lang.String LE_STR
- See Also:
- Constant Field Values
-
-
Method Detail
-
evaluate
boolean evaluate(SessionContext sc) throws ELdapException
Evaluate the Expression.- Parameters:
sc- The SessionContext on which we are applying the condition.- Returns:
- The return value.
- Throws:
ELdapExeption- Failed to evaluate expression.ELdapException
-
evaluate
boolean evaluate(IRequest req) throws ELdapException
Evaluate the Expression.- Parameters:
req- The PKIRequest on which we are applying the condition.- Returns:
- The return value.
- Throws:
ELdapExeption- Failed to evaluate expression.ELdapException
-
toString
java.lang.String toString()
Convert to a string.- Overrides:
toStringin classjava.lang.Object- Returns:
- String representation of expression.
-
-