## Uses of Interface
org.jbpm.services.api.query.model.QueryDefinition

- Packages that use QueryDefinition
  Package | Description
  --- | ---
  org.jbpm.kie.services.impl.query |
  org.jbpm.kie.services.impl.query.persistence |
  org.jbpm.services.api.query |
  org.jbpm.services.ejb.impl.query |

- - ### Uses of QueryDefinition in org.jbpm.kie.services.impl.query

    Classes in org.jbpm.kie.services.impl.query that implement QueryDefinition
    Modifier and Type | Class | Description
    --- | --- | ---
    `class` | `SqlQueryDefinition` |

    Methods in org.jbpm.kie.services.impl.query that return QueryDefinition
    Modifier and Type | Method | Description
    --- | --- | ---
    `QueryDefinition` | QueryServiceImpl.`getQuery​(String uniqueQueryName)` |

    Methods in org.jbpm.kie.services.impl.query that return types with arguments of type QueryDefinition
    Modifier and Type | Method | Description
    --- | --- | ---
    `List<QueryDefinition>` | QueryServiceImpl.`getQueries​(org.kie.api.runtime.query.QueryContext queryContext)` |

    Methods in org.jbpm.kie.services.impl.query with parameters of type QueryDefinition
    Modifier and Type | Method | Description
    --- | --- | ---
    `void` | QueryServiceImpl.`registerQuery​(QueryDefinition queryDefinition)` |
    `void` | QueryServiceImpl.`replaceQuery​(QueryDefinition queryDefinition)` |

  - ### Uses of QueryDefinition in org.jbpm.kie.services.impl.query.persistence

    Methods in org.jbpm.kie.services.impl.query.persistence that return QueryDefinition
    Modifier and Type | Method | Description
    --- | --- | ---
    `QueryDefinition` | QueryDefinitionEntity.`toQueryDefinition()` |

    Constructors in org.jbpm.kie.services.impl.query.persistence with parameters of type QueryDefinition
    Constructor | Description
    --- | ---
    `QueryDefinitionEntity​(QueryDefinition queryDefinition)` |

  - ### Uses of QueryDefinition in org.jbpm.services.api.query

    Methods in org.jbpm.services.api.query that return QueryDefinition
    Modifier and Type | Method | Description
    --- | --- | ---
    `QueryDefinition` | QueryService.`getQuery​(String uniqueQueryName)` | Returns query definition details that is registered under given uniqueQueryName

    Methods in org.jbpm.services.api.query that return types with arguments of type QueryDefinition
    Modifier and Type | Method | Description
    --- | --- | ---
    `List<QueryDefinition>` | QueryService.`getQueries​(org.kie.api.runtime.query.QueryContext queryContext)` | Returns list of query definitions registered in the system

    Methods in org.jbpm.services.api.query with parameters of type QueryDefinition
    Modifier and Type | Method | Description
    --- | --- | ---
    `void` | QueryService.`registerQuery​(QueryDefinition queryDefinition)` | Registers new query definition in the system so it can be used for executing queries on top of it.
    `void` | QueryService.`replaceQuery​(QueryDefinition queryDefinition)` | Registers or replaces existing query.

  - ### Uses of QueryDefinition in org.jbpm.services.ejb.impl.query

    Methods in org.jbpm.services.ejb.impl.query with parameters of type QueryDefinition
    Modifier and Type | Method | Description
    --- | --- | ---
    `void` | QueryServiceEJBImpl.`registerQuery​(QueryDefinition queryDefinition)` |
    `void` | QueryServiceEJBImpl.`replaceQuery​(QueryDefinition queryDefinition)` |