Class HistoricTaskInstanceBaseResource
java.lang.Object
org.flowable.cmmn.rest.service.api.history.task.HistoricTaskInstanceBaseResource
- Direct Known Subclasses:
HistoricTaskInstanceCollectionResource,HistoricTaskInstanceIdentityLinkCollectionResource,HistoricTaskInstanceQueryResource,HistoricTaskInstanceResource,HistoricTaskInstanceVariableDataResource
- Author:
- Tijs Rademakers
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected org.flowable.cmmn.api.CmmnHistoryServiceprotected CmmnRestApiInterceptorprotected CmmnRestResponseFactory -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidaddProcessVariables(org.flowable.task.api.history.HistoricTaskInstanceQuery taskInstanceQuery, List<QueryVariable> variables) protected voidaddTaskVariables(org.flowable.task.api.history.HistoricTaskInstanceQuery taskInstanceQuery, List<QueryVariable> variables) protected org.flowable.task.api.history.HistoricTaskInstanceReturns theHistoricTaskInstancethat is requested and calls the access interceptor.protected org.flowable.task.api.history.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
@Autowired protected org.flowable.cmmn.api.CmmnHistoryService historyService -
restApiInterceptor
-
-
Constructor Details
-
HistoricTaskInstanceBaseResource
public HistoricTaskInstanceBaseResource()
-
-
Method Details
-
getQueryResponse
protected DataResponse<HistoricTaskInstanceResponse> getQueryResponse(HistoricTaskInstanceQueryRequest queryRequest, Map<String, String> allRequestParams) -
getHistoricTaskInstanceFromRequest
protected org.flowable.task.api.history.HistoricTaskInstance getHistoricTaskInstanceFromRequest(String taskId) Returns theHistoricTaskInstancethat is requested and calls the access interceptor. Throws the right exceptions when bad request was made or instance was not found. -
getHistoricTaskInstanceFromRequestWithoutAccessCheck
protected org.flowable.task.api.history.HistoricTaskInstance getHistoricTaskInstanceFromRequestWithoutAccessCheck(String taskId) 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(org.flowable.task.api.history.HistoricTaskInstanceQuery taskInstanceQuery, List<QueryVariable> variables) -
addProcessVariables
protected void addProcessVariables(org.flowable.task.api.history.HistoricTaskInstanceQuery taskInstanceQuery, List<QueryVariable> variables)
-