Skip to main content

SavedViewController

Saved grid views are inherently per-user personalization, not a privileged resource: every endpoint is scoped to the caller's own userId, so authentication alone is sufficient and no additional @PreAuthorize permission gate applies.

Base path/api/saved-views
ModulePlatform Misc
Endpoints3
OpenAPI tagSaved Views
Sourcebackend/src/main/java/com/motorph/payroll/controller/SavedViewController.java

Endpoints​

MethodPathRequiresHandler
GET/api/saved-viewsAny authenticated userlist()
POST/api/saved-viewsAny authenticated usersave()
DELETE/api/saved-views/{id}Any authenticated userdelete()

Call chain​

Dependencies​

Constructor-injected by Lombok's @RequiredArgsConstructor: SavedViewService.

Tables reached​

EntityTableTenant-scoped
SavedViewsaved_viewYes
Userusers—

Generated page

This page is rebuilt from the source on every docs build by docs-site/scripts/gen-code-wiki.mjs. Editing it has no effect — change the code, or, if what you want to say is prose, write it in docs/.