|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.jackrabbit.core.query.QueryManagerImpl
public class QueryManagerImpl
This class implements the QueryManager interface.
| Constructor Summary | |
|---|---|
QueryManagerImpl(SessionImpl session,
ItemManager itemMgr,
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(SessionImpl session,
ItemManager itemMgr,
SearchManager searchMgr)
throws RepositoryException
QueryManagerImpl for the passed
session
session - the session for this query manager.itemMgr - the item manager of the session.searchMgr - 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 InvalidQueryException,
RepositoryException
createQuery in interface QueryManagerInvalidQueryException
RepositoryException
public Query getQuery(Node node)
throws InvalidQueryException,
RepositoryException
getQuery in interface QueryManagerInvalidQueryException
RepositoryException
public String[] getSupportedQueryLanguages()
throws RepositoryException
getSupportedQueryLanguages in interface QueryManagerRepositoryExceptionpublic QueryObjectModelFactory getQOMFactory()
QueryObjectModelFactory with which a JCR-JQOM
query can be built programmatically.
getQOMFactory in interface QueryManagerQueryObjectModelFactory object
public 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 | |||||||||