Class BaseProcessInstanceResource
java.lang.Object
org.flowable.rest.service.api.runtime.process.BaseProcessInstanceResource
- Direct Known Subclasses:
ProcessInstanceCollectionResource
,ProcessInstanceDiagramResource
,ProcessInstanceIdentityLinkCollectionResource
,ProcessInstanceIdentityLinkResource
,ProcessInstanceQueryResource
,ProcessInstanceResource
- Author:
- Frederik Heremans
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected RepositoryService
protected BpmnRestApiInterceptor
protected RestResponseFactory
protected RuntimeService
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected void
addVariables
(ProcessInstanceQuery processInstanceQuery, List<QueryVariable> variables) protected ProcessInstance
getProcessInstanceFromRequest
(String processInstanceId) Returns theProcessInstance
that is requested and calls the access interceptor.protected ProcessInstance
getProcessInstanceFromRequestWithoutAccessCheck
(String processInstanceId) Returns theProcessInstance
that is requested without calling the access interceptor Throws the right exceptions when bad request was made or instance was not found.protected DataResponse<ProcessInstanceResponse>
getQueryResponse
(ProcessInstanceQueryRequest queryRequest, Map<String, String> requestParams)
-
Field Details
-
restResponseFactory
-
runtimeService
-
repositoryService
-
restApiInterceptor
-
-
Constructor Details
-
BaseProcessInstanceResource
public BaseProcessInstanceResource()
-
-
Method Details
-
getQueryResponse
protected DataResponse<ProcessInstanceResponse> getQueryResponse(ProcessInstanceQueryRequest queryRequest, Map<String, String> requestParams) -
addVariables
protected void addVariables(ProcessInstanceQuery processInstanceQuery, List<QueryVariable> variables) -
getProcessInstanceFromRequest
Returns theProcessInstance
that is requested and calls the access interceptor. Throws the right exceptions when bad request was made or instance was not found. -
getProcessInstanceFromRequestWithoutAccessCheck
Returns theProcessInstance
that is requested without calling the access interceptor Throws the right exceptions when bad request was made or instance was not found.
-