Class LdapOrExpression

  • All Implemented Interfaces:
    ILdapExpression

    public class LdapOrExpression
    extends java.lang.Object
    implements ILdapExpression
    This class represents an Or expression of the form (var1 op val1 OR var2 op val2). Expressions are used as predicates for publishing rule selection.
    Version:
    $Revision$, $Date$
    Author:
    mzhao
    • Method Detail

      • evaluate

        public boolean evaluate​(SessionContext sc)
                         throws com.netscape.certsrv.ldap.ELdapException
        Description copied from interface: ILdapExpression
        Evaluate the Expression.
        Specified by:
        evaluate in interface ILdapExpression
        Parameters:
        sc - The SessionContext on which we are applying the condition.
        Returns:
        The return value.
        Throws:
        com.netscape.certsrv.ldap.ELdapException
      • evaluate

        public boolean evaluate​(com.netscape.certsrv.request.IRequest req)
                         throws com.netscape.certsrv.ldap.ELdapException
        Description copied from interface: ILdapExpression
        Evaluate the Expression.
        Specified by:
        evaluate in interface ILdapExpression
        Parameters:
        req - The PKIRequest on which we are applying the condition.
        Returns:
        The return value.
        Throws:
        com.netscape.certsrv.ldap.ELdapException
      • toString

        public java.lang.String toString()
        Description copied from interface: ILdapExpression
        Convert to a string.
        Specified by:
        toString in interface ILdapExpression
        Overrides:
        toString in class java.lang.Object
        Returns:
        String representation of expression.