Package ch.tocco.nice2.security.spi.util
Class SubqueryTranslator
java.lang.Object
ch.tocco.nice2.conditionals.api.tree.processing.BaseNodeVisitor
ch.tocco.nice2.security.spi.util.SubqueryTranslator
- All Implemented Interfaces:
- NodeVisitor
Translates the subquery keywords from ACL to another language.
 The function call paths in ACL and PersistQL use different keywords because they're
 actually two separate languages with separate parsers. For example, the keyword for
 `exists` in ACL is indicated by 
SubqueryKeywords.EXISTS in ACL, but
 QueryCompiler.Subqueries.EXISTS
 in PersistQL, even though the syntax is actually the same. This class translates the
 keywords from one language to another.- 
Constructor SummaryConstructors
- 
Method SummaryMethods inherited from class ch.tocco.nice2.conditionals.api.tree.processing.BaseNodeVisitorbeginTree, changed, endTree, hasChanged, visit, visitAnd, visitCondition, visitEquation, visitFactor, visitIdentifier, visitIntegration, visitIsTrue, visitLiteral, visitLogical, visitNot, visitOr, visitParameter, visitPath
- 
Constructor Details- 
SubqueryTranslatorpublic SubqueryTranslator()
 
- 
- 
Method Details- 
visitFuncall- Specified by:
- visitFuncallin interface- NodeVisitor
- Overrides:
- visitFuncallin class- BaseNodeVisitor
 
- 
exists
- 
exists
- 
exists
- 
count
- 
count
- 
count
- 
where
- 
where
- 
where
 
-