Class XPathQueryBuilder

  • All Implemented Interfaces:
    QueryBuilder<org.apache.jackrabbit.core.security.user.XPathQueryBuilder.Condition>

    public class XPathQueryBuilder
    extends Object
    implements QueryBuilder<org.apache.jackrabbit.core.security.user.XPathQueryBuilder.Condition>
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      org.apache.jackrabbit.core.security.user.XPathQueryBuilder.Condition and​(org.apache.jackrabbit.core.security.user.XPathQueryBuilder.Condition condition1, org.apache.jackrabbit.core.security.user.XPathQueryBuilder.Condition condition2)  
      org.apache.jackrabbit.core.security.user.XPathQueryBuilder.Condition contains​(String relPath, String searchExpr)  
      org.apache.jackrabbit.core.security.user.XPathQueryBuilder.Condition eq​(String relPath, Value value)  
      org.apache.jackrabbit.core.security.user.XPathQueryBuilder.Condition exists​(String relPath)  
      org.apache.jackrabbit.core.security.user.XPathQueryBuilder.Condition ge​(String relPath, Value value)  
      String getGroupName()  
      org.apache.jackrabbit.core.security.user.XPathQueryBuilder.Condition gt​(String relPath, Value value)  
      org.apache.jackrabbit.core.security.user.XPathQueryBuilder.Condition impersonates​(String name)  
      boolean isDeclaredMembersOnly()  
      org.apache.jackrabbit.core.security.user.XPathQueryBuilder.Condition le​(String relPath, Value value)  
      org.apache.jackrabbit.core.security.user.XPathQueryBuilder.Condition like​(String relPath, String pattern)  
      org.apache.jackrabbit.core.security.user.XPathQueryBuilder.Condition lt​(String relPath, Value value)  
      org.apache.jackrabbit.core.security.user.XPathQueryBuilder.Condition nameMatches​(String pattern)  
      org.apache.jackrabbit.core.security.user.XPathQueryBuilder.Condition neq​(String relPath, Value value)  
      org.apache.jackrabbit.core.security.user.XPathQueryBuilder.Condition not​(org.apache.jackrabbit.core.security.user.XPathQueryBuilder.Condition condition)  
      org.apache.jackrabbit.core.security.user.XPathQueryBuilder.Condition or​(org.apache.jackrabbit.core.security.user.XPathQueryBuilder.Condition condition1, org.apache.jackrabbit.core.security.user.XPathQueryBuilder.Condition condition2)  
      org.apache.jackrabbit.core.security.user.XPathQueryBuilder.Condition property​(String relPath, org.apache.jackrabbit.core.security.user.XPathQueryBuilder.RelationOp op, Value value)  
      void setCondition​(org.apache.jackrabbit.core.security.user.XPathQueryBuilder.Condition condition)  
      void setLimit​(long offset, long maxCount)  
      void setLimit​(Value bound, long maxCount)  
      void setScope​(String groupName, boolean declaredOnly)  
      void setSelector​(Class<? extends Authorizable> selector)  
      void setSortOrder​(String propertyName, QueryBuilder.Direction direction)  
      void setSortOrder​(String propertyName, QueryBuilder.Direction direction, boolean ignoreCase)  
    • Constructor Detail

      • XPathQueryBuilder

        public XPathQueryBuilder()
    • Method Detail

      • getGroupName

        public String getGroupName()
      • isDeclaredMembersOnly

        public boolean isDeclaredMembersOnly()
      • setSelector

        public void setSelector​(Class<? extends Authorizable> selector)
        Specified by:
        setSelector in interface QueryBuilder<org.apache.jackrabbit.core.security.user.XPathQueryBuilder.Condition>
      • setScope

        public void setScope​(String groupName,
                             boolean declaredOnly)
        Specified by:
        setScope in interface QueryBuilder<org.apache.jackrabbit.core.security.user.XPathQueryBuilder.Condition>
      • setCondition

        public void setCondition​(org.apache.jackrabbit.core.security.user.XPathQueryBuilder.Condition condition)
        Specified by:
        setCondition in interface QueryBuilder<org.apache.jackrabbit.core.security.user.XPathQueryBuilder.Condition>
      • setLimit

        public void setLimit​(Value bound,
                             long maxCount)
        Specified by:
        setLimit in interface QueryBuilder<org.apache.jackrabbit.core.security.user.XPathQueryBuilder.Condition>
      • setLimit

        public void setLimit​(long offset,
                             long maxCount)
        Specified by:
        setLimit in interface QueryBuilder<org.apache.jackrabbit.core.security.user.XPathQueryBuilder.Condition>
      • property

        public org.apache.jackrabbit.core.security.user.XPathQueryBuilder.Condition property​(String relPath,
                                                                                             org.apache.jackrabbit.core.security.user.XPathQueryBuilder.RelationOp op,
                                                                                             Value value)
      • nameMatches

        public org.apache.jackrabbit.core.security.user.XPathQueryBuilder.Condition nameMatches​(String pattern)
        Specified by:
        nameMatches in interface QueryBuilder<org.apache.jackrabbit.core.security.user.XPathQueryBuilder.Condition>
      • neq

        public org.apache.jackrabbit.core.security.user.XPathQueryBuilder.Condition neq​(String relPath,
                                                                                        Value value)
        Specified by:
        neq in interface QueryBuilder<org.apache.jackrabbit.core.security.user.XPathQueryBuilder.Condition>
      • eq

        public org.apache.jackrabbit.core.security.user.XPathQueryBuilder.Condition eq​(String relPath,
                                                                                       Value value)
        Specified by:
        eq in interface QueryBuilder<org.apache.jackrabbit.core.security.user.XPathQueryBuilder.Condition>
      • lt

        public org.apache.jackrabbit.core.security.user.XPathQueryBuilder.Condition lt​(String relPath,
                                                                                       Value value)
        Specified by:
        lt in interface QueryBuilder<org.apache.jackrabbit.core.security.user.XPathQueryBuilder.Condition>
      • le

        public org.apache.jackrabbit.core.security.user.XPathQueryBuilder.Condition le​(String relPath,
                                                                                       Value value)
        Specified by:
        le in interface QueryBuilder<org.apache.jackrabbit.core.security.user.XPathQueryBuilder.Condition>
      • gt

        public org.apache.jackrabbit.core.security.user.XPathQueryBuilder.Condition gt​(String relPath,
                                                                                       Value value)
        Specified by:
        gt in interface QueryBuilder<org.apache.jackrabbit.core.security.user.XPathQueryBuilder.Condition>
      • ge

        public org.apache.jackrabbit.core.security.user.XPathQueryBuilder.Condition ge​(String relPath,
                                                                                       Value value)
        Specified by:
        ge in interface QueryBuilder<org.apache.jackrabbit.core.security.user.XPathQueryBuilder.Condition>
      • exists

        public org.apache.jackrabbit.core.security.user.XPathQueryBuilder.Condition exists​(String relPath)
        Specified by:
        exists in interface QueryBuilder<org.apache.jackrabbit.core.security.user.XPathQueryBuilder.Condition>
      • like

        public org.apache.jackrabbit.core.security.user.XPathQueryBuilder.Condition like​(String relPath,
                                                                                         String pattern)
        Specified by:
        like in interface QueryBuilder<org.apache.jackrabbit.core.security.user.XPathQueryBuilder.Condition>
      • contains

        public org.apache.jackrabbit.core.security.user.XPathQueryBuilder.Condition contains​(String relPath,
                                                                                             String searchExpr)
        Specified by:
        contains in interface QueryBuilder<org.apache.jackrabbit.core.security.user.XPathQueryBuilder.Condition>
      • impersonates

        public org.apache.jackrabbit.core.security.user.XPathQueryBuilder.Condition impersonates​(String name)
        Specified by:
        impersonates in interface QueryBuilder<org.apache.jackrabbit.core.security.user.XPathQueryBuilder.Condition>
      • not

        public org.apache.jackrabbit.core.security.user.XPathQueryBuilder.Condition not​(org.apache.jackrabbit.core.security.user.XPathQueryBuilder.Condition condition)
        Specified by:
        not in interface QueryBuilder<org.apache.jackrabbit.core.security.user.XPathQueryBuilder.Condition>
      • and

        public org.apache.jackrabbit.core.security.user.XPathQueryBuilder.Condition and​(org.apache.jackrabbit.core.security.user.XPathQueryBuilder.Condition condition1,
                                                                                        org.apache.jackrabbit.core.security.user.XPathQueryBuilder.Condition condition2)
        Specified by:
        and in interface QueryBuilder<org.apache.jackrabbit.core.security.user.XPathQueryBuilder.Condition>
      • or

        public org.apache.jackrabbit.core.security.user.XPathQueryBuilder.Condition or​(org.apache.jackrabbit.core.security.user.XPathQueryBuilder.Condition condition1,
                                                                                       org.apache.jackrabbit.core.security.user.XPathQueryBuilder.Condition condition2)
        Specified by:
        or in interface QueryBuilder<org.apache.jackrabbit.core.security.user.XPathQueryBuilder.Condition>