|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.jackrabbit.core.query.QueryManagerImpl
public class QueryManagerImpl
This class implements the QueryManager
interface.
Constructor Summary | |
---|---|
QueryManagerImpl(SessionContext sessionContext,
SearchManager searchMgr)
Creates a new QueryManagerImpl for the passed
session |
Method Summary | |
---|---|
Query |
createQuery(String statement,
String language)
|
QueryObjectModelFactory |
getQOMFactory()
Returns a QueryObjectModelFactory with which a JCR-JQOM
query can be built programmatically. |
Query |
getQuery(Node node)
|
String[] |
getSupportedQueryLanguages()
|
Iterable<Node> |
getWeaklyReferringNodes(Node node)
Returns the ids of the nodes that refer to the node by weak
references. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public QueryManagerImpl(SessionContext sessionContext, SearchManager searchMgr) throws RepositoryException
QueryManagerImpl
for the passed
session
sessionContext
- component context of the current sessionsearchMgr
- the search manager of this workspace.
RepositoryException
- if an error occurs while initializing the
query manager.Method Detail |
---|
public Query createQuery(String statement, String language) throws RepositoryException
createQuery
in interface QueryManager
RepositoryException
public Query getQuery(Node node) throws RepositoryException
getQuery
in interface QueryManager
RepositoryException
public String[] getSupportedQueryLanguages() throws RepositoryException
getSupportedQueryLanguages
in interface QueryManager
RepositoryException
public QueryObjectModelFactory getQOMFactory()
QueryObjectModelFactory
with which a JCR-JQOM
query can be built programmatically.
getQOMFactory
in interface QueryManager
QueryObjectModelFactory
objectpublic Iterable<Node> getWeaklyReferringNodes(Node node) throws RepositoryException
node
by weak
references.
node
- the target node.
RepositoryException
- if an error occurs.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |