Class BookmarkListCreateDto
java.lang.Object
io.goobi.viewer.api.rest.v1.bookmarks.BookmarkListCreateDto
Transfer object for
POST /users/bookmarks. Intentionally exposes only
name — neither shareKey, description, nor any of the
JPA-managed fields (id, owner, dateCreated, items) is accepted from the client,
preventing mass-assignment of those properties.
description is not part of the create surface because the underlying
builder (UserBookmarkResourceBuilder.addBookmarkList(String name)) does
not accept one today. Adding the field here without wiring it through would
silently drop client-supplied descriptions — worse UX than not accepting them
at all. If a description-on-create use case appears, extend the builder API
and re-add the field together.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
BookmarkListCreateDto
public BookmarkListCreateDto()
-
-
Method Details
-
getName
-
setName
-