Class BaseCaseInstanceResource
java.lang.Object
org.flowable.cmmn.rest.service.api.runtime.caze.BaseCaseInstanceResource
- Direct Known Subclasses:
BaseVariableResource,CaseInstanceCollectionResource,CaseInstanceDiagramResource,CaseInstanceIdentityLinkCollectionResource,CaseInstanceIdentityLinkResource,CaseInstanceQueryResource,CaseInstanceResource
- Author:
- Tijs Rademakers
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected org.flowable.cmmn.api.CmmnRepositoryServiceprotected CmmnRestApiInterceptorprotected CmmnRestResponseFactoryprotected org.flowable.cmmn.api.CmmnRuntimeService -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidaddVariables(org.flowable.cmmn.api.runtime.CaseInstanceQuery caseInstanceQuery, List<QueryVariable> variables) protected org.flowable.cmmn.api.runtime.CaseInstancegetCaseInstanceFromRequest(String caseInstanceId) Returns theCaseInstancethat is requested and calls the access interceptor.protected org.flowable.cmmn.api.runtime.CaseInstancegetCaseInstanceFromRequestWithoutAccessCheck(String caseInstanceId) Returns theCaseInstancethat is requested without calling the access interceptor Throws the right exceptions when bad request was made or instance was not found.protected DataResponse<CaseInstanceResponse>getQueryResponse(CaseInstanceQueryRequest queryRequest, Map<String, String> requestParams)
-
Field Details
-
restResponseFactory
-
runtimeService
@Autowired protected org.flowable.cmmn.api.CmmnRuntimeService runtimeService -
repositoryService
@Autowired protected org.flowable.cmmn.api.CmmnRepositoryService repositoryService -
restApiInterceptor
-
-
Constructor Details
-
BaseCaseInstanceResource
public BaseCaseInstanceResource()
-
-
Method Details
-
getQueryResponse
protected DataResponse<CaseInstanceResponse> getQueryResponse(CaseInstanceQueryRequest queryRequest, Map<String, String> requestParams) -
getCaseInstanceFromRequest
protected org.flowable.cmmn.api.runtime.CaseInstance getCaseInstanceFromRequest(String caseInstanceId) Returns theCaseInstancethat is requested and calls the access interceptor. Throws the right exceptions when bad request was made or instance was not found. -
getCaseInstanceFromRequestWithoutAccessCheck
protected org.flowable.cmmn.api.runtime.CaseInstance getCaseInstanceFromRequestWithoutAccessCheck(String caseInstanceId) Returns theCaseInstancethat is requested without calling the access interceptor Throws the right exceptions when bad request was made or instance was not found. -
addVariables
protected void addVariables(org.flowable.cmmn.api.runtime.CaseInstanceQuery caseInstanceQuery, List<QueryVariable> variables)
-