## Uses of Class
org.kie.api.runtime.query.QueryContext

- Packages that use QueryContext
  Package | Description
  --- | ---
  org.kie.api.executor |
  org.kie.api.runtime.query |

- - ### Uses of QueryContext in org.kie.api.executor

    Methods in org.kie.api.executor with parameters of type QueryContext
    Modifier and Type | Method and Description
    --- | ---
    `List<ErrorInfo>` | ExecutorService.`getAllErrors(QueryContext queryContext)`
    `List<ErrorInfo>` | ExecutorQueryService.`getAllErrors(QueryContext queryContext)`
    `List<RequestInfo>` | ExecutorService.`getAllRequests(QueryContext queryContext)`
    `List<RequestInfo>` | ExecutorQueryService.`getAllRequests(QueryContext queryContext)`
    `List<RequestInfo>` | ExecutorService.`getCancelledRequests(QueryContext queryContext)`
    `List<RequestInfo>` | ExecutorQueryService.`getCancelledRequests(QueryContext queryContext)`
    `List<RequestInfo>` | ExecutorService.`getCompletedRequests(QueryContext queryContext)`
    `List<RequestInfo>` | ExecutorQueryService.`getCompletedRequests(QueryContext queryContext)`
    `List<RequestInfo>` | ExecutorService.`getFutureQueuedRequests(QueryContext queryContext)`
    `List<RequestInfo>` | ExecutorQueryService.`getFutureQueuedRequests(QueryContext queryContext)`
    `List<RequestInfo>` | ExecutorService.`getInErrorRequests(QueryContext queryContext)`
    `List<RequestInfo>` | ExecutorQueryService.`getInErrorRequests(QueryContext queryContext)`
    `List<RequestInfo>` | ExecutorService.`getPendingRequests(QueryContext queryContext)`
    `List<RequestInfo>` | ExecutorQueryService.`getPendingRequests(QueryContext queryContext)`
    `List<RequestInfo>` | ExecutorService.`getQueuedRequests(QueryContext queryContext)`
    `List<RequestInfo>` | ExecutorQueryService.`getQueuedRequests(QueryContext queryContext)`
    `List<RequestInfo>` | ExecutorQueryService.`getRequestByBusinessKey(String businessKey, QueryContext queryContext)` Returns requests identified by `businessKey` usually it should be only one with given business key but it does not have to as same business key requests can be processed sequentially and thus might be in different statuses.
    `List<RequestInfo>` | ExecutorQueryService.`getRequestByCommand(String command, QueryContext queryContext)` Returns requests that are scheduled to run given command
    `List<RequestInfo>` | ExecutorService.`getRequestsByBusinessKey(String businessKey, List<STATUS> statuses, QueryContext queryContext)`
    `List<RequestInfo>` | ExecutorQueryService.`getRequestsByBusinessKey(String businessKey, List<STATUS> statuses, QueryContext queryContext)` Returns requests identified by `businessKey` usually it should be only one with given business key but it does not have to as same business key requests can be processed sequentially and thus might be in different statuses.
    `List<RequestInfo>` | ExecutorService.`getRequestsByBusinessKey(String businessKey, QueryContext queryContext)`
    `List<RequestInfo>` | ExecutorService.`getRequestsByCommand(String command, List<STATUS> statuses, QueryContext queryContext)`
    `List<RequestInfo>` | ExecutorQueryService.`getRequestsByCommand(String command, List<STATUS> statuses, QueryContext queryContext)` Returns requests that are scheduled to run given command
    `List<RequestInfo>` | ExecutorService.`getRequestsByCommand(String command, QueryContext queryContext)`
    `List<RequestInfo>` | ExecutorService.`getRequestsByDeployment(String deploymentId, List<STATUS> statuses, QueryContext queryContext)`
    `List<RequestInfo>` | ExecutorQueryService.`getRequestsByDeployment(String deploymentId, List<STATUS> statuses, QueryContext queryContext)` Returns requests by deployment id
    `List<RequestInfo>` | ExecutorService.`getRequestsByProcessInstance(Long processInstanceId, List<STATUS> statuses, QueryContext queryContext)`
    `List<RequestInfo>` | ExecutorQueryService.`getRequestsByProcessInstance(Long processInstanceId, List<STATUS> statuses, QueryContext queryContext)` Returns requests by process instance id
    `List<RequestInfo>` | ExecutorService.`getRequestsByStatus(List<STATUS> statuses, QueryContext queryContext)`
    `List<RequestInfo>` | ExecutorQueryService.`getRequestsByStatus(List<STATUS> statuses, QueryContext queryContext)`
    `List<RequestInfo>` | ExecutorService.`getRunningRequests(QueryContext queryContext)`
    `List<RequestInfo>` | ExecutorQueryService.`getRunningRequests(QueryContext queryContext)`

  - ### Uses of QueryContext in org.kie.api.runtime.query

    Subclasses of QueryContext in org.kie.api.runtime.query
    Modifier and Type | Class and Description
    --- | ---
    `class` | `AdvancedQueryContext` Extension class to the basic ordering and pagination queries which use `QueryContext`.

    Constructors in org.kie.api.runtime.query with parameters of type QueryContext
    Constructor and Description
    `AdvancedQueryContext(QueryContext queryContext)`
    `AdvancedQueryContext(QueryContext queryContext, String orderByClause)`
    `QueryContext(QueryContext queryContext)`

Copyright © 2001–2018 JBoss by Red Hat. All rights reserved.