@RestController @RequestMapping(value="/app") public class CaseInstanceResource extends Object
| Modifier and Type | Field and Description |
|---|---|
protected FlowableCaseInstanceService |
caseInstanceService |
| Constructor and Description |
|---|
CaseInstanceResource() |
| Modifier and Type | Method and Description |
|---|---|
void |
deleteCaseInstance(String caseInstanceId) |
CaseInstanceRepresentation |
getCaseInstance(String caseInstanceId) |
org.flowable.ui.common.model.ResultListDataRepresentation |
getCaseInstanceActiveStages(String caseInstanceId) |
org.flowable.ui.common.model.ResultListDataRepresentation |
getCaseInstanceAvailableMilestones(String caseInstanceId) |
org.flowable.ui.common.model.ResultListDataRepresentation |
getCaseInstanceAvailableUserEventListeners(String caseInstanceId) |
org.flowable.ui.common.model.ResultListDataRepresentation |
getCaseInstanceCompletedUserEventListeners(String caseInstanceId) |
org.flowable.ui.common.model.ResultListDataRepresentation |
getCaseInstanceEnabledPlanItemInstances(String caseInstanceId) |
org.flowable.ui.common.model.ResultListDataRepresentation |
getCaseInstanceEndedMilestones(String caseInstanceId) |
org.flowable.ui.common.model.ResultListDataRepresentation |
getCaseInstanceEndedStages(String caseInstanceId) |
FormModelRepresentation |
getCaseInstanceStartForm(String caseInstanceId,
javax.servlet.http.HttpServletResponse response) |
void |
startEnabledPlanItemInstance(String caseInstanceId,
String planItemInstanceId) |
void |
triggerUserEventListener(String caseInstanceId,
String userEventListenerId) |
@Autowired protected FlowableCaseInstanceService caseInstanceService
@GetMapping(value="/rest/case-instances/{caseInstanceId}",
produces="application/json")
public CaseInstanceRepresentation getCaseInstance(@PathVariable
String caseInstanceId)
@GetMapping(value="/rest/case-instances/{caseInstanceId}/start-form",
produces="application/json")
public FormModelRepresentation getCaseInstanceStartForm(@PathVariable
String caseInstanceId,
javax.servlet.http.HttpServletResponse response)
@GetMapping(value="/rest/case-instances/{caseInstanceId}/active-stages",
produces="application/json")
public org.flowable.ui.common.model.ResultListDataRepresentation getCaseInstanceActiveStages(@PathVariable
String caseInstanceId)
@GetMapping(value="/rest/case-instances/{caseInstanceId}/ended-stages",
produces="application/json")
public org.flowable.ui.common.model.ResultListDataRepresentation getCaseInstanceEndedStages(@PathVariable
String caseInstanceId)
@GetMapping(value="/rest/case-instances/{caseInstanceId}/available-milestones",
produces="application/json")
public org.flowable.ui.common.model.ResultListDataRepresentation getCaseInstanceAvailableMilestones(@PathVariable
String caseInstanceId)
@GetMapping(value="/rest/case-instances/{caseInstanceId}/ended-milestones",
produces="application/json")
public org.flowable.ui.common.model.ResultListDataRepresentation getCaseInstanceEndedMilestones(@PathVariable
String caseInstanceId)
@GetMapping(value="/rest/case-instances/{caseInstanceId}/available-user-event-listeners",
produces="application/json")
public org.flowable.ui.common.model.ResultListDataRepresentation getCaseInstanceAvailableUserEventListeners(@PathVariable
String caseInstanceId)
@GetMapping(value="/rest/case-instances/{caseInstanceId}/completed-user-event-listeners",
produces="application/json")
public org.flowable.ui.common.model.ResultListDataRepresentation getCaseInstanceCompletedUserEventListeners(@PathVariable
String caseInstanceId)
@PostMapping(value="/rest/case-instances/{caseInstanceId}/trigger-user-event-listener/{userEventListenerId}")
@ResponseStatus(value=OK)
public void triggerUserEventListener(@PathVariable
String caseInstanceId,
@PathVariable
String userEventListenerId)
@GetMapping(value="/rest/case-instances/{caseInstanceId}/enabled-planitem-instances")
@ResponseStatus(value=OK)
public org.flowable.ui.common.model.ResultListDataRepresentation getCaseInstanceEnabledPlanItemInstances(@PathVariable
String caseInstanceId)
@PostMapping(value="/rest/case-instances/{caseInstanceId}/enabled-planitem-instances/{planItemInstanceId}")
@ResponseStatus(value=OK)
public void startEnabledPlanItemInstance(@PathVariable
String caseInstanceId,
@PathVariable
String planItemInstanceId)
@DeleteMapping(value="/rest/case-instances/{caseInstanceId}")
@ResponseStatus(value=OK)
public void deleteCaseInstance(@PathVariable
String caseInstanceId)
Copyright © 2022 Flowable. All rights reserved.