org.modeshape.jcr.api.query

## Interface QueryManager

- All Superinterfaces:
    QueryManager

      public interface QueryManager
      extends QueryManager

  A specialization of the standard JCR `QueryManager` interface that returns the ModeShape-specific extension interfaces from `getQOMFactory()` and `getQuery(Node)`.

- - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `Query` | `createQuery(String statement, String language)`
    `QueryObjectModelFactory` | `getQOMFactory()`
    `Query` | `getQuery(Node node)`

    - ### Methods inherited from interface javax.jcr.query.QueryManager

      `getSupportedQueryLanguages`

- - ### Method Detail

    - #### getQOMFactory

          QueryObjectModelFactory getQOMFactory()

      Specified by:
        `getQOMFactory` in interface `QueryManager`

    - #### createQuery

          Query createQuery(String statement,
                          String language)
                            throws InvalidQueryException,
                                   RepositoryException

      Specified by:
        `createQuery` in interface `QueryManager`
      Throws:
        `InvalidQueryException`
        `RepositoryException`

    - #### getQuery

          Query getQuery(Node node)
                         throws InvalidQueryException,
                                RepositoryException

      Specified by:
        `getQuery` in interface `QueryManager`
      Throws:
        `InvalidQueryException`
        `RepositoryException`

Copyright © 2008-2014 JBoss, a division of Red Hat. All Rights Reserved.