Class XPathQueryEvaluator
- java.lang.Object
-
- org.apache.jackrabbit.core.security.user.XPathQueryEvaluator
-
-
Constructor Summary
Constructors Constructor Description XPathQueryEvaluator(XPathQueryBuilder builder, UserManagerImpl userManager, SessionImpl session)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static String
escape(String string)
Escapestring
for matching in jcr escaped node namesstatic String
escapeForQuery(String value)
Iterator<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)
-
-
-
Constructor Detail
-
XPathQueryEvaluator
public XPathQueryEvaluator(XPathQueryBuilder builder, UserManagerImpl userManager, SessionImpl session)
-
-
Method Detail
-
eval
public Iterator<Authorizable> eval() throws RepositoryException
- Throws:
RepositoryException
-
visit
public void visit(org.apache.jackrabbit.core.security.user.XPathQueryBuilder.NodeCondition condition) throws RepositoryException
- Throws:
RepositoryException
-
visit
public void visit(org.apache.jackrabbit.core.security.user.XPathQueryBuilder.PropertyCondition condition) throws RepositoryException
- Throws:
RepositoryException
-
visit
public void visit(org.apache.jackrabbit.core.security.user.XPathQueryBuilder.ContainsCondition condition)
-
visit
public void visit(org.apache.jackrabbit.core.security.user.XPathQueryBuilder.ImpersonationCondition condition)
-
visit
public void visit(org.apache.jackrabbit.core.security.user.XPathQueryBuilder.NotCondition condition) throws RepositoryException
- Throws:
RepositoryException
-
visit
public void visit(org.apache.jackrabbit.core.security.user.XPathQueryBuilder.AndCondition condition) throws RepositoryException
- Throws:
RepositoryException
-
visit
public void visit(org.apache.jackrabbit.core.security.user.XPathQueryBuilder.OrCondition condition) throws RepositoryException
- Throws:
RepositoryException
-
escape
public static String escape(String string)
Escapestring
for matching in jcr escaped node names- Parameters:
string
- string to escape- Returns:
- escaped string
-
-