public class XPathQueryEvaluator extends Object
Query
s use XPath
and some minimal client side filtering.Constructor and Description |
---|
XPathQueryEvaluator(XPathQueryBuilder builder,
UserManagerImpl userManager,
SessionImpl session) |
Modifier and Type | Method and Description |
---|---|
static String |
escape(String string)
Escape
string for matching in jcr escaped node names |
static String |
escapeForQuery(String value) |
Iterator<org.apache.jackrabbit.api.security.user.Authorizable> |
eval() |
void |
visit(org.apache.jackrabbit.core.security.user.XPathQueryBuilder.AndCondition condition) |
void |
visit(org.apache.jackrabbit.core.security.user.XPathQueryBuilder.ContainsCondition condition) |
void |
visit(org.apache.jackrabbit.core.security.user.XPathQueryBuilder.ImpersonationCondition condition) |
void |
visit(org.apache.jackrabbit.core.security.user.XPathQueryBuilder.NodeCondition condition) |
void |
visit(org.apache.jackrabbit.core.security.user.XPathQueryBuilder.NotCondition condition) |
void |
visit(org.apache.jackrabbit.core.security.user.XPathQueryBuilder.OrCondition condition) |
void |
visit(org.apache.jackrabbit.core.security.user.XPathQueryBuilder.PropertyCondition condition) |
public XPathQueryEvaluator(XPathQueryBuilder builder, UserManagerImpl userManager, SessionImpl session)
public Iterator<org.apache.jackrabbit.api.security.user.Authorizable> eval() throws RepositoryException
RepositoryException
public void visit(org.apache.jackrabbit.core.security.user.XPathQueryBuilder.NodeCondition condition) throws RepositoryException
RepositoryException
public void visit(org.apache.jackrabbit.core.security.user.XPathQueryBuilder.PropertyCondition condition) throws RepositoryException
RepositoryException
public void visit(org.apache.jackrabbit.core.security.user.XPathQueryBuilder.ContainsCondition condition)
public void visit(org.apache.jackrabbit.core.security.user.XPathQueryBuilder.ImpersonationCondition condition)
public void visit(org.apache.jackrabbit.core.security.user.XPathQueryBuilder.NotCondition condition) throws RepositoryException
RepositoryException
public void visit(org.apache.jackrabbit.core.security.user.XPathQueryBuilder.AndCondition condition) throws RepositoryException
RepositoryException
public void visit(org.apache.jackrabbit.core.security.user.XPathQueryBuilder.OrCondition condition) throws RepositoryException
RepositoryException
public static String escape(String string)
string
for matching in jcr escaped node namesstring
- string to escapeCopyright © 2004–2024 The Apache Software Foundation. All rights reserved.