## 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>` | ExecutorQueryService.`getAllErrors(QueryContext queryContext)` Returns all errors.
    `List<ErrorInfo>` | ExecutorService.`getAllErrors(QueryContext queryContext)`
    `List<RequestInfo>` | ExecutorQueryService.`getAllRequests(QueryContext queryContext)` Returns all requests
    `List<RequestInfo>` | ExecutorService.`getAllRequests(QueryContext queryContext)`
    `List<RequestInfo>` | ExecutorQueryService.`getCancelledRequests(QueryContext queryContext)` Returns all requests that were cancelled
    `List<RequestInfo>` | ExecutorService.`getCancelledRequests(QueryContext queryContext)`
    `List<RequestInfo>` | ExecutorQueryService.`getCompletedRequests(QueryContext queryContext)` Returns all comleted requests.
    `List<RequestInfo>` | ExecutorService.`getCompletedRequests(QueryContext queryContext)`
    `List<RequestInfo>` | ExecutorQueryService.`getFutureQueuedRequests(QueryContext queryContext)` Returns requests queued for future execution
    `List<RequestInfo>` | ExecutorService.`getFutureQueuedRequests(QueryContext queryContext)`
    `List<RequestInfo>` | ExecutorQueryService.`getInErrorRequests(QueryContext queryContext)` Returns all requests that have errors.
    `List<RequestInfo>` | ExecutorService.`getInErrorRequests(QueryContext queryContext)`
    `List<RequestInfo>` | ExecutorQueryService.`getPendingRequests(QueryContext queryContext)` Returns list of pending execution requests.
    `List<RequestInfo>` | ExecutorService.`getPendingRequests(QueryContext queryContext)`
    `List<RequestInfo>` | ExecutorQueryService.`getQueuedRequests(QueryContext queryContext)` Returns all queued requests
    `List<RequestInfo>` | ExecutorService.`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 configured with given `command`
    `List<RequestInfo>` | ExecutorService.`getRequestsByBusinessKey(String businessKey, QueryContext queryContext)`
    `List<RequestInfo>` | ExecutorService.`getRequestsByCommand(String command, QueryContext queryContext)`
    `List<RequestInfo>` | ExecutorQueryService.`getRequestsByStatus(List<STATUS> statuses, QueryContext queryContext)` Returns requests based on their status
    `List<RequestInfo>` | ExecutorService.`getRequestsByStatus(List<STATUS> statuses, QueryContext queryContext)`
    `List<RequestInfo>` | ExecutorQueryService.`getRunningRequests(QueryContext queryContext)` Returns all currently running requests
    `List<RequestInfo>` | ExecutorService.`getRunningRequests(QueryContext queryContext)`

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

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

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