Class XPathQueryBuilder
- java.lang.Object
-
- org.apache.jackrabbit.core.security.user.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>
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.apache.jackrabbit.api.security.user.QueryBuilder
QueryBuilder.Direction
-
-
Constructor Summary
Constructors Constructor Description XPathQueryBuilder()
-
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)
-
-
-
Method Detail
-
getGroupName
public String getGroupName()
-
isDeclaredMembersOnly
public boolean isDeclaredMembersOnly()
-
setSelector
public void setSelector(Class<? extends Authorizable> selector)
- Specified by:
setSelector
in interfaceQueryBuilder<org.apache.jackrabbit.core.security.user.XPathQueryBuilder.Condition>
-
setScope
public void setScope(String groupName, boolean declaredOnly)
- Specified by:
setScope
in interfaceQueryBuilder<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 interfaceQueryBuilder<org.apache.jackrabbit.core.security.user.XPathQueryBuilder.Condition>
-
setSortOrder
public void setSortOrder(String propertyName, QueryBuilder.Direction direction, boolean ignoreCase)
- Specified by:
setSortOrder
in interfaceQueryBuilder<org.apache.jackrabbit.core.security.user.XPathQueryBuilder.Condition>
-
setSortOrder
public void setSortOrder(String propertyName, QueryBuilder.Direction direction)
- Specified by:
setSortOrder
in interfaceQueryBuilder<org.apache.jackrabbit.core.security.user.XPathQueryBuilder.Condition>
-
setLimit
public void setLimit(Value bound, long maxCount)
- Specified by:
setLimit
in interfaceQueryBuilder<org.apache.jackrabbit.core.security.user.XPathQueryBuilder.Condition>
-
setLimit
public void setLimit(long offset, long maxCount)
- Specified by:
setLimit
in interfaceQueryBuilder<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 interfaceQueryBuilder<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 interfaceQueryBuilder<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 interfaceQueryBuilder<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 interfaceQueryBuilder<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 interfaceQueryBuilder<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 interfaceQueryBuilder<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 interfaceQueryBuilder<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 interfaceQueryBuilder<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 interfaceQueryBuilder<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 interfaceQueryBuilder<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 interfaceQueryBuilder<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 interfaceQueryBuilder<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 interfaceQueryBuilder<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 interfaceQueryBuilder<org.apache.jackrabbit.core.security.user.XPathQueryBuilder.Condition>
-
-