Class CaseInstanceResource
java.lang.Object
org.flowable.cmmn.rest.service.api.runtime.caze.BaseCaseInstanceResource
org.flowable.cmmn.rest.service.api.runtime.caze.CaseInstanceResource
- Author:
- Tijs Rademakers, Joram Barrez
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected CmmnEngineConfigurationprotected CmmnMigrationServiceFields inherited from class BaseCaseInstanceResource
repositoryService, restApiInterceptor, restResponseFactory, runtimeService -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidchangePlanItemState(String caseInstanceId, ChangePlanItemStateRequest planItemStateRequest) voiddeleteCaseInstance(String caseInstanceId) getCaseInstance(String caseInstanceId) getStageOverview(String caseInstanceId) voidmigrateCaseInstance(String caseInstanceId, String migrationDocumentJson) voidterminateCaseInstance(String caseInstanceId) updateCaseInstance(String caseInstanceId, CaseInstanceUpdateRequest updateRequest, jakarta.servlet.http.HttpServletResponse response) validateCaseInstanceMigration(String caseInstanceId, String migrationDocumentJson) Methods inherited from class BaseCaseInstanceResource
addVariables, getCaseInstanceFromRequest, getCaseInstanceFromRequestWithoutAccessCheck, getQueryResponse
-
Field Details
-
cmmnEngineConfiguration
-
cmmnMigrationService
-
-
Constructor Details
-
CaseInstanceResource
public CaseInstanceResource()
-
-
Method Details
-
getCaseInstance
@GetMapping(value="/cmmn-runtime/case-instances/{caseInstanceId}", produces="application/json") public CaseInstanceResponse getCaseInstance(@PathVariable String caseInstanceId) -
updateCaseInstance
@PutMapping(value="/cmmn-runtime/case-instances/{caseInstanceId}", produces="application/json") public CaseInstanceResponse updateCaseInstance(@PathVariable String caseInstanceId, @RequestBody CaseInstanceUpdateRequest updateRequest, jakarta.servlet.http.HttpServletResponse response) -
terminateCaseInstance
@DeleteMapping("/cmmn-runtime/case-instances/{caseInstanceId}") @ResponseStatus(NO_CONTENT) public void terminateCaseInstance(@PathVariable String caseInstanceId) -
deleteCaseInstance
@DeleteMapping("/cmmn-runtime/case-instances/{caseInstanceId}/delete") @ResponseStatus(NO_CONTENT) public void deleteCaseInstance(@PathVariable String caseInstanceId) -
getStageOverview
@GetMapping(value="/cmmn-runtime/case-instances/{caseInstanceId}/stage-overview", produces="application/json") public List<StageResponse> getStageOverview(@PathVariable String caseInstanceId) -
changePlanItemState
@PostMapping(value="/cmmn-runtime/case-instances/{caseInstanceId}/change-state", produces="application/json") public void changePlanItemState(@PathVariable String caseInstanceId, @RequestBody ChangePlanItemStateRequest planItemStateRequest) -
migrateCaseInstance
@PostMapping(value="/cmmn-runtime/case-instances/{caseInstanceId}/migrate", produces="application/json") public void migrateCaseInstance(@PathVariable String caseInstanceId, @RequestBody String migrationDocumentJson) -
validateCaseInstanceMigration
@PostMapping(value="/cmmn-runtime/case-instances/{caseInstanceId}/validate-migration", produces="application/json") public CaseInstanceMigrationValidationResponse validateCaseInstanceMigration(@PathVariable String caseInstanceId, @RequestBody String migrationDocumentJson)
-