Class HistoricCaseInstanceResource
- java.lang.Object
-
- org.flowable.cmmn.rest.service.api.history.caze.HistoricCaseInstanceBaseResource
-
- org.flowable.cmmn.rest.service.api.history.caze.HistoricCaseInstanceResource
-
@RestController public class HistoricCaseInstanceResource extends HistoricCaseInstanceBaseResource
- Author:
- Tijs Rademakers, Joram Barrez
-
-
Field Summary
Fields Modifier and Type Field Description protected org.flowable.cmmn.api.CmmnHistoryServicecmmnhistoryServiceprotected org.flowable.cmmn.api.CmmnRepositoryServicecmmnRepositoryServiceprotected org.flowable.cmmn.api.CmmnRuntimeServicecmmnRuntimeServiceprotected CmmnRestResponseFactoryrestResponseFactory-
Fields inherited from class org.flowable.cmmn.rest.service.api.history.caze.HistoricCaseInstanceBaseResource
historyService, repositoryService, restApiInterceptor
-
-
Constructor Summary
Constructors Constructor Description HistoricCaseInstanceResource()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddeleteCaseInstance(String caseInstanceId, javax.servlet.http.HttpServletResponse response)HistoricCaseInstanceResponsegetCaseInstance(String caseInstanceId)protected Optional<org.flowable.cmmn.api.history.HistoricPlanItemInstance>getPlanItemInstance(List<org.flowable.cmmn.api.history.HistoricPlanItemInstance> stagePlanItemInstances, org.flowable.cmmn.model.Stage stage)protected DategetPlanItemInstanceEndTime(List<org.flowable.cmmn.api.history.HistoricPlanItemInstance> stagePlanItemInstances, org.flowable.cmmn.model.Stage stage)List<org.flowable.cmmn.api.StageResponse>getStageOverview(String caseInstanceId)-
Methods inherited from class org.flowable.cmmn.rest.service.api.history.caze.HistoricCaseInstanceBaseResource
addVariables, getHistoricCaseInstanceFromRequest, getHistoricCaseInstanceFromRequestWithoutAccessCheck, getQueryResponse
-
-
-
-
Field Detail
-
restResponseFactory
@Autowired protected CmmnRestResponseFactory restResponseFactory
-
cmmnRepositoryService
@Autowired protected org.flowable.cmmn.api.CmmnRepositoryService cmmnRepositoryService
-
cmmnhistoryService
@Autowired protected org.flowable.cmmn.api.CmmnHistoryService cmmnhistoryService
-
cmmnRuntimeService
@Autowired protected org.flowable.cmmn.api.CmmnRuntimeService cmmnRuntimeService
-
-
Method Detail
-
getCaseInstance
@GetMapping(value="/cmmn-history/historic-case-instances/{caseInstanceId}", produces="application/json") public HistoricCaseInstanceResponse getCaseInstance(@PathVariable String caseInstanceId)
-
deleteCaseInstance
@DeleteMapping("/cmmn-history/historic-case-instances/{caseInstanceId}") public void deleteCaseInstance(@PathVariable String caseInstanceId, javax.servlet.http.HttpServletResponse response)
-
getStageOverview
@GetMapping(value="/cmmn-history/historic-case-instances/{caseInstanceId}/stage-overview", produces="application/json") public List<org.flowable.cmmn.api.StageResponse> getStageOverview(@PathVariable String caseInstanceId)
-
getPlanItemInstanceEndTime
protected Date getPlanItemInstanceEndTime(List<org.flowable.cmmn.api.history.HistoricPlanItemInstance> stagePlanItemInstances, org.flowable.cmmn.model.Stage stage)
-
-