Package com.netscape.cmscore.ldap
Class LdapAndExpression
- java.lang.Object
-
- com.netscape.cmscore.ldap.LdapAndExpression
-
- All Implemented Interfaces:
ILdapExpression
public class LdapAndExpression extends java.lang.Object implements ILdapExpression
This class represents an expression of the form. Expressions are used as predicates for publishing rule selection. - Version:
- $Revision$, $Date$
- Author:
- mzhao
-
-
Constructor Summary
Constructors Constructor Description LdapAndExpression(ILdapExpression exp1, ILdapExpression exp2)
-
Method Summary
All Methods Instance Methods Concrete 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.
-
-
-
Constructor Detail
-
LdapAndExpression
public LdapAndExpression(ILdapExpression exp1, ILdapExpression exp2)
-
-
Method Detail
-
evaluate
public boolean evaluate(SessionContext sc) throws ELdapException
Description copied from interface:ILdapExpressionEvaluate the Expression.- Specified by:
evaluatein interfaceILdapExpression- Parameters:
sc- The SessionContext on which we are applying the condition.- Returns:
- The return value.
- Throws:
ELdapException
-
evaluate
public boolean evaluate(IRequest req) throws ELdapException
Description copied from interface:ILdapExpressionEvaluate the Expression.- Specified by:
evaluatein interfaceILdapExpression- Parameters:
req- The PKIRequest on which we are applying the condition.- Returns:
- The return value.
- Throws:
ELdapException
-
toString
public java.lang.String toString()
Description copied from interface:ILdapExpressionConvert to a string.- Specified by:
toStringin interfaceILdapExpression- Overrides:
toStringin classjava.lang.Object- Returns:
- String representation of expression.
-
-