public interface QueryManager extends QueryManager
QueryManager interface that returns the ModeShape-specific
extension interfaces from getQOMFactory() and getQuery(Node).| Modifier and Type | Method and Description |
|---|---|
Query |
createQuery(String statement,
String language) |
Query |
createQuery(String statement,
String language,
Locale locale)
Extends the default
createQuery(String, String) method by allowing an additional Locale
to be passed in. |
QueryObjectModelFactory |
getQOMFactory() |
Query |
getQuery(Node node) |
getSupportedQueryLanguagesQueryObjectModelFactory getQOMFactory()
getQOMFactory in interface QueryManagerQuery createQuery(String statement, String language) throws InvalidQueryException, RepositoryException
createQuery in interface QueryManagerInvalidQueryExceptionRepositoryExceptionQuery createQuery(String statement, String language, Locale locale) throws InvalidQueryException, RepositoryException
createQuery(String, String) method by allowing an additional Locale
to be passed in. This locale will be taken into account when performing comparisons of string properties.statement - a Stringlanguage - a Stringlocale - a Locale, may not be nullQuery objectInvalidQueryException - if the query statement is syntactically invalid or the specified language is not supported.RepositoryException - if another error occurs.createQuery(String, String)Query getQuery(Node node) throws InvalidQueryException, RepositoryException
getQuery in interface QueryManagerInvalidQueryExceptionRepositoryExceptionCopyright © 2008–2016 JBoss, a division of Red Hat. All rights reserved.