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 HistoryServiceprotected BpmnRestApiInterceptorprotected RestResponseFactory -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidaddProcessVariables(HistoricTaskInstanceQuery taskInstanceQuery, List<QueryVariable> variables) protected voidaddTaskVariables(HistoricTaskInstanceQuery taskInstanceQuery, List<QueryVariable> variables) protected HistoricTaskInstanceReturns theHistoricTaskInstancethat is requested and calls the access interceptor.protected HistoricTaskInstanceReturns theHistoricTaskInstancethat 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 theHistoricTaskInstancethat is requested and calls the access interceptor. Throws the right exceptions when bad request was made or instance was not found. -
getHistoricTaskInstanceFromRequestWithoutAccessCheck
Returns theHistoricTaskInstancethat 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)
-