Class CasePageResource
java.lang.Object
com.flowable.platform.rest.service.api.casepage.CasePageResource
@RestController
@RequestMapping("/case-pages")
public class CasePageResource
extends java.lang.Object
-
Field Summary
Fields Modifier and Type Field Description protected PlatformCasePageService
casePageService
protected com.flowable.core.content.api.CoreContentService
contentService
protected com.flowable.core.content.api.RenditionService
renditionService
protected com.flowable.core.common.rest.response.ResponseEntityHelper
responseEntityHelper
-
Constructor Summary
Constructors Constructor Description CasePageResource()
-
Method Summary
Modifier and Type Method Description org.springframework.http.ResponseEntity<byte[]>
getCasePageContentItemData(java.lang.String caseInstanceId, java.lang.String contentItemId, java.lang.Boolean download)
org.springframework.http.ResponseEntity<byte[]>
getCasePageContentItemRenditionData(java.lang.String caseInstanceId, java.lang.String renditionItemId, java.lang.Boolean download)
FormModelRepresentation
getCasePageForm(java.lang.String casePageInstanceId)
org.springframework.http.ResponseEntity<java.util.Map<java.lang.String,java.lang.Object>>
getCasePageVariables(java.lang.String casePageInstanceId)
void
saveCasePageForm(java.lang.String casePageInstanceId, SaveFormRepresentation saveTaskFormRepresentation)
-
Field Details
-
casePageService
-
contentService
@Autowired protected com.flowable.core.content.api.CoreContentService contentService -
renditionService
@Autowired protected com.flowable.core.content.api.RenditionService renditionService -
responseEntityHelper
@Autowired protected com.flowable.core.common.rest.response.ResponseEntityHelper responseEntityHelper
-
-
Constructor Details
-
CasePageResource
public CasePageResource()
-
-
Method Details
-
getCasePageForm
@GetMapping(value="/{casePageInstanceId}/form", produces="application/json") public FormModelRepresentation getCasePageForm(@PathVariable java.lang.String casePageInstanceId) -
saveCasePageForm
@PostMapping("/{casePageInstanceId}/save-form") @ResponseStatus(OK) public void saveCasePageForm(@PathVariable java.lang.String casePageInstanceId, @RequestBody SaveFormRepresentation saveTaskFormRepresentation) -
getCasePageVariables
@GetMapping("/{casePageInstanceId}/variables") public org.springframework.http.ResponseEntity<java.util.Map<java.lang.String,java.lang.Object>> getCasePageVariables(@PathVariable java.lang.String casePageInstanceId) -
getCasePageContentItemData
@GetMapping("/{caseInstanceId}/content-service/content-items/{contentItemId}/data") public org.springframework.http.ResponseEntity<byte[]> getCasePageContentItemData(@PathVariable java.lang.String caseInstanceId, @PathVariable java.lang.String contentItemId, @RequestParam(required=false) java.lang.Boolean download) -
getCasePageContentItemRenditionData
@GetMapping("/{caseInstanceId}/rendition-service/rendition-items/{renditionItemId}/data") public org.springframework.http.ResponseEntity<byte[]> getCasePageContentItemRenditionData(@PathVariable java.lang.String caseInstanceId, @PathVariable java.lang.String renditionItemId, @RequestParam(required=false) java.lang.Boolean download)
-