@RestController @RequestMapping(value="/app") public class CaseInstanceResource extends Object
| Modifier and Type | Field and Description |
|---|---|
protected FlowableCaseInstanceService |
caseInstanceService |
| Constructor and Description |
|---|
CaseInstanceResource() |
@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 ResultListDataRepresentation getCaseInstanceActiveStages(@PathVariable
String caseInstanceId)
@GetMapping(value="/rest/case-instances/{caseInstanceId}/ended-stages",
produces="application/json")
public ResultListDataRepresentation getCaseInstanceEndedStages(@PathVariable
String caseInstanceId)
@GetMapping(value="/rest/case-instances/{caseInstanceId}/available-milestones",
produces="application/json")
public ResultListDataRepresentation getCaseInstanceAvailableMilestones(@PathVariable
String caseInstanceId)
@GetMapping(value="/rest/case-instances/{caseInstanceId}/ended-milestones",
produces="application/json")
public ResultListDataRepresentation getCaseInstanceEndedMilestones(@PathVariable
String caseInstanceId)
@GetMapping(value="/rest/case-instances/{caseInstanceId}/available-user-event-listeners",
produces="application/json")
public ResultListDataRepresentation getCaseInstanceAvailableUserEventListeners(@PathVariable
String caseInstanceId)
@GetMapping(value="/rest/case-instances/{caseInstanceId}/completed-user-event-listeners",
produces="application/json")
public 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 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 © 2023 Flowable. All rights reserved.