Class HistoricTaskInstanceBaseResource
java.lang.Object
org.flowable.rest.service.api.history.HistoricTaskInstanceBaseResource
- Direct Known Subclasses:
HistoricTaskInstanceCollectionResource
,HistoricTaskInstanceIdentityLinkCollectionResource
,HistoricTaskInstanceQueryResource
,HistoricTaskInstanceResource
- Author:
- Tijs Rademakers
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected HistoryService
protected BpmnRestApiInterceptor
protected RestResponseFactory
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected void
addProcessVariables
(HistoricTaskInstanceQuery taskInstanceQuery, List<QueryVariable> variables) protected void
addTaskVariables
(HistoricTaskInstanceQuery taskInstanceQuery, List<QueryVariable> variables) protected HistoricTaskInstance
Returns theHistoricTaskInstance
that is requested and calls the access interceptor.protected HistoricTaskInstance
Returns theHistoricTaskInstance
that is requested without calling the access interceptor Throws the right exceptions when bad request was made or instance was not found.protected DataResponse<HistoricTaskInstanceResponse>
getQueryResponse
(HistoricTaskInstanceQueryRequest queryRequest, Map<String, String> allRequestParams)
-
Field Details
-
restResponseFactory
-
historyService
-
restApiInterceptor
-
-
Constructor Details
-
HistoricTaskInstanceBaseResource
public HistoricTaskInstanceBaseResource()
-
-
Method Details
-
getQueryResponse
protected DataResponse<HistoricTaskInstanceResponse> getQueryResponse(HistoricTaskInstanceQueryRequest queryRequest, Map<String, String> allRequestParams) -
getHistoricTaskInstanceFromRequest
Returns theHistoricTaskInstance
that is requested and calls the access interceptor. Throws the right exceptions when bad request was made or instance was not found. -
getHistoricTaskInstanceFromRequestWithoutAccessCheck
Returns theHistoricTaskInstance
that is requested without calling the access interceptor Throws the right exceptions when bad request was made or instance was not found. -
addTaskVariables
protected void addTaskVariables(HistoricTaskInstanceQuery taskInstanceQuery, List<QueryVariable> variables) -
addProcessVariables
protected void addProcessVariables(HistoricTaskInstanceQuery taskInstanceQuery, List<QueryVariable> variables)
-