@RestController public class ContentItemResource extends ContentItemBaseResource
| Modifier and Type | Field and Description |
|---|---|
protected ContentRestResponseFactory |
contentRestResponseFactory |
protected org.flowable.content.api.ContentService |
contentService |
restApiInterceptor, restResponseFactory| Constructor and Description |
|---|
ContentItemResource() |
| Modifier and Type | Method and Description |
|---|---|
void |
deleteContentItem(String contentItemId,
javax.servlet.http.HttpServletResponse response) |
ContentItemResponse |
getContentItem(String contentItemId) |
ContentItemResponse |
updateContentItem(ContentItemRequest request,
String contentItemId) |
getContentItemFromRequest, getContentItemsFromQueryRequest@Autowired protected org.flowable.content.api.ContentService contentService
@Autowired protected ContentRestResponseFactory contentRestResponseFactory
@GetMapping(value="/content-service/content-items/{contentItemId}",
produces="application/json")
public ContentItemResponse getContentItem(@PathVariable
String contentItemId)
@PutMapping(value="/content-service/content-items/{contentItemId}",
produces="application/json")
public ContentItemResponse updateContentItem(@RequestBody
ContentItemRequest request,
@PathVariable
String contentItemId)
@DeleteMapping(value="/content-service/content-items/{contentItemId}")
public void deleteContentItem(@PathVariable
String contentItemId,
javax.servlet.http.HttpServletResponse response)
Copyright © 2020 Flowable. All rights reserved.