Class HistoricTaskInstanceBaseResource
- java.lang.Object
-
- org.flowable.cmmn.rest.service.api.history.task.HistoricTaskInstanceBaseResource
-
- Direct Known Subclasses:
HistoricTaskInstanceCollectionResource,HistoricTaskInstanceIdentityLinkCollectionResource,HistoricTaskInstanceQueryResource,HistoricTaskInstanceResource,HistoricTaskInstanceVariableDataResource
public class HistoricTaskInstanceBaseResource extends Object
- Author:
- Tijs Rademakers
-
-
Field Summary
Fields Modifier and Type Field Description protected org.flowable.cmmn.api.CmmnHistoryServicehistoryServiceprotected CmmnRestApiInterceptorrestApiInterceptorprotected CmmnRestResponseFactoryrestResponseFactory
-
Constructor Summary
Constructors Constructor Description HistoricTaskInstanceBaseResource()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected 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.HistoricTaskInstancegetHistoricTaskInstanceFromRequest(String taskId)Returns theHistoricTaskInstancethat is requested and calls the access interceptor.protected org.flowable.task.api.history.HistoricTaskInstancegetHistoricTaskInstanceFromRequestWithoutAccessCheck(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.protected DataResponse<HistoricTaskInstanceResponse>getQueryResponse(HistoricTaskInstanceQueryRequest queryRequest, Map<String,String> allRequestParams, String serverRootUrl)
-
-
-
Field Detail
-
restResponseFactory
@Autowired protected CmmnRestResponseFactory restResponseFactory
-
historyService
@Autowired protected org.flowable.cmmn.api.CmmnHistoryService historyService
-
restApiInterceptor
@Autowired(required=false) protected CmmnRestApiInterceptor restApiInterceptor
-
-
Method Detail
-
getQueryResponse
protected DataResponse<HistoricTaskInstanceResponse> getQueryResponse(HistoricTaskInstanceQueryRequest queryRequest, Map<String,String> allRequestParams, String serverRootUrl)
-
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)
-
-