public interface ExecutorQueryService
Modifier and Type | Method and Description |
---|---|
List<ErrorInfo> |
getAllErrors()
Deprecated.
use same method name with QueryContext argument that supports paging
|
List<ErrorInfo> |
getAllErrors(QueryContext queryContext)
Returns all errors.
|
List<RequestInfo> |
getAllRequests()
Deprecated.
use same method name with QueryContext argument that supports paging
|
List<RequestInfo> |
getAllRequests(QueryContext queryContext)
Returns all requests
|
List<RequestInfo> |
getCancelledRequests()
Deprecated.
use same method name with QueryContext argument that supports paging
|
List<RequestInfo> |
getCancelledRequests(QueryContext queryContext)
Returns all requests that were cancelled
|
List<RequestInfo> |
getCompletedRequests()
Deprecated.
use same method name with QueryContext argument that supports paging
|
List<RequestInfo> |
getCompletedRequests(QueryContext queryContext)
Returns all comleted requests.
|
List<ErrorInfo> |
getErrorsByRequestId(Long id)
Returns all errors (if any) for given request
|
List<RequestInfo> |
getFutureQueuedRequests()
Deprecated.
use same method name with QueryContext argument that supports paging
|
List<RequestInfo> |
getFutureQueuedRequests(QueryContext queryContext)
Returns requests queued for future execution
|
List<RequestInfo> |
getInErrorRequests()
Deprecated.
use same method name with QueryContext argument that supports paging
|
List<RequestInfo> |
getInErrorRequests(QueryContext queryContext)
Returns all requests that have errors.
|
List<RequestInfo> |
getPendingRequestById(Long id)
Returns given pending request identified by
id |
List<RequestInfo> |
getPendingRequests()
Deprecated.
use same method name with QueryContext argument that supports paging
|
List<RequestInfo> |
getPendingRequests(QueryContext queryContext)
Returns list of pending execution requests.
|
List<RequestInfo> |
getQueuedRequests()
Deprecated.
use same method name with QueryContext argument that supports paging
|
List<RequestInfo> |
getQueuedRequests(QueryContext queryContext)
Returns all queued requests
|
List<RequestInfo> |
getRequestByBusinessKey(String businessKey)
Deprecated.
use same method name with QueryContext argument that supports paging
|
List<RequestInfo> |
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> |
getRequestByCommand(String command,
QueryContext queryContext)
Returns requests configured with given
command |
RequestInfo |
getRequestById(Long id)
Returns request identified by
id regardless of its status |
RequestInfo |
getRequestForProcessing()
Dedicated method for handling special case that is get the request for processing.
|
List<RequestInfo> |
getRequestsByStatus(List<STATUS> statuses)
Deprecated.
use same method name with QueryContext argument that supports paging
|
List<RequestInfo> |
getRequestsByStatus(List<STATUS> statuses,
QueryContext queryContext)
Returns requests based on their status
|
List<RequestInfo> |
getRunningRequests()
Deprecated.
use same method name with QueryContext argument that supports paging
|
List<RequestInfo> |
getRunningRequests(QueryContext queryContext)
Returns all currently running requests
|
@Deprecated List<RequestInfo> getPendingRequests()
List<RequestInfo> getPendingRequestById(Long id)
id
id
- - unique id of the requestRequestInfo getRequestById(Long id)
id
regardless of its statusid
- - unique id of the request@Deprecated List<RequestInfo> getRequestByBusinessKey(String businessKey)
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.businessKey
- - business key of the requestList<ErrorInfo> getErrorsByRequestId(Long id)
id
- - unique id of the request@Deprecated List<RequestInfo> getQueuedRequests()
@Deprecated List<RequestInfo> getCompletedRequests()
@Deprecated List<RequestInfo> getInErrorRequests()
@Deprecated List<RequestInfo> getCancelledRequests()
@Deprecated List<ErrorInfo> getAllErrors()
@Deprecated List<RequestInfo> getAllRequests()
@Deprecated List<RequestInfo> getRunningRequests()
@Deprecated List<RequestInfo> getFutureQueuedRequests()
@Deprecated List<RequestInfo> getRequestsByStatus(List<STATUS> statuses)
statuses
- - statuses that requests should be inRequestInfo getRequestForProcessing()
List<RequestInfo> getPendingRequests(QueryContext queryContext)
List<RequestInfo> getRequestByBusinessKey(String businessKey, QueryContext queryContext)
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.businessKey
- - business key of the requestList<RequestInfo> getRequestByCommand(String command, QueryContext queryContext)
command
command
- - command configured in the requestList<RequestInfo> getQueuedRequests(QueryContext queryContext)
List<RequestInfo> getCompletedRequests(QueryContext queryContext)
List<RequestInfo> getInErrorRequests(QueryContext queryContext)
List<RequestInfo> getCancelledRequests(QueryContext queryContext)
List<ErrorInfo> getAllErrors(QueryContext queryContext)
List<RequestInfo> getAllRequests(QueryContext queryContext)
List<RequestInfo> getRunningRequests(QueryContext queryContext)
List<RequestInfo> getFutureQueuedRequests(QueryContext queryContext)
List<RequestInfo> getRequestsByStatus(List<STATUS> statuses, QueryContext queryContext)
statuses
- - statuses that requests should be inCopyright © 2001-2015 JBoss by Red Hat. All Rights Reserved.