Class XPathQueryBuilder

  • All Implemented Interfaces:

    public class XPathQueryBuilder
    extends Object
    implements QueryBuilder<>
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description and​( condition1, condition2) contains​(String relPath, String searchExpr) eq​(String relPath, Value value) exists​(String relPath) ge​(String relPath, Value value)  
      String getGroupName() gt​(String relPath, Value value) impersonates​(String name)  
      boolean isDeclaredMembersOnly() le​(String relPath, Value value) like​(String relPath, String pattern) lt​(String relPath, Value value) nameMatches​(String pattern) neq​(String relPath, Value value) not​( condition) or​( condition1, condition2) property​(String relPath, op, Value value)  
      void setCondition​( 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<>
      • setScope

        public void setScope​(String groupName,
                             boolean declaredOnly)
        Specified by:
        setScope in interface QueryBuilder<>
      • setCondition

        public void setCondition​( condition)
        Specified by:
        setCondition in interface QueryBuilder<>
      • setLimit

        public void setLimit​(Value bound,
                             long maxCount)
        Specified by:
        setLimit in interface QueryBuilder<>
      • setLimit

        public void setLimit​(long offset,
                             long maxCount)
        Specified by:
        setLimit in interface QueryBuilder<>
      • property

        public property​(String relPath,
                                                                                             Value value)
      • nameMatches

        public nameMatches​(String pattern)
        Specified by:
        nameMatches in interface QueryBuilder<>
      • neq

        public neq​(String relPath,
                                                                                        Value value)
        Specified by:
        neq in interface QueryBuilder<>
      • eq

        public eq​(String relPath,
                                                                                       Value value)
        Specified by:
        eq in interface QueryBuilder<>
      • lt

        public lt​(String relPath,
                                                                                       Value value)
        Specified by:
        lt in interface QueryBuilder<>
      • le

        public le​(String relPath,
                                                                                       Value value)
        Specified by:
        le in interface QueryBuilder<>
      • gt

        public gt​(String relPath,
                                                                                       Value value)
        Specified by:
        gt in interface QueryBuilder<>
      • ge

        public ge​(String relPath,
                                                                                       Value value)
        Specified by:
        ge in interface QueryBuilder<>
      • exists

        public exists​(String relPath)
        Specified by:
        exists in interface QueryBuilder<>
      • like

        public like​(String relPath,
                                                                                         String pattern)
        Specified by:
        like in interface QueryBuilder<>
      • contains

        public contains​(String relPath,
                                                                                             String searchExpr)
        Specified by:
        contains in interface QueryBuilder<>
      • impersonates

        public impersonates​(String name)
        Specified by:
        impersonates in interface QueryBuilder<>
      • not

        public not​( condition)
        Specified by:
        not in interface QueryBuilder<>
      • and

        public and​( condition1,
        Specified by:
        and in interface QueryBuilder<>
      • or

        public or​( condition1,
        Specified by:
        or in interface QueryBuilder<>