Package com.onec.ui
Class GenericDocumentController
java.lang.Object
com.onec.ui.GenericDocumentController
@RestController
@RequestMapping("/api/documents")
public class GenericDocumentController
extends Object
-
Constructor Summary
ConstructorsConstructorDescriptionGenericDocumentController(DocumentQueryService query, UiAccessService access, DocumentCommandService commands, RelatedListReader relatedLists) -
Method Summary
Modifier and TypeMethodDescriptionvoidpostingPreview(String name, UUID id, Principal principal) Live rows of a related-list panel declared on thenamedocument's view (seeRelatedList) — the junction rows whose back-reference points at recordid.
-
Constructor Details
-
GenericDocumentController
public GenericDocumentController(DocumentQueryService query, UiAccessService access, DocumentCommandService commands, RelatedListReader relatedLists)
-
-
Method Details
-
list
-
get
-
create
-
update
-
post
-
postingPreview
@GetMapping("/{name}/{id}/posting-preview") public PostingPreview postingPreview(@PathVariable String name, @PathVariable UUID id, Principal principal) -
unpost
-
delete
-