Uses of Class
io.goobi.viewer.exceptions.RestApiException
Packages that use RestApiException
Package
Description
JAX-RS exception mappers that translate application and web exceptions into
structured HTTP error responses for the REST API.
Shared data transfer objects and helper classes used across REST API versions,
including generic request parameters, response wrappers, and user-facing model facades.
Builder classes that assemble REST response payloads for complex resources such as
annotations, IIIF manifests, bibliographic text, table of contents, and bookmarks.
REST resources for managing bookmark lists in the v1 API, supporting both
session-based and user-account-based bookmark collections.
-
Uses of RestApiException in io.goobi.viewer.api.rest.exceptions
Methods in io.goobi.viewer.api.rest.exceptions with parameters of type RestApiException -
Uses of RestApiException in io.goobi.viewer.api.rest.model
Constructors in io.goobi.viewer.api.rest.model with parameters of type RestApiExceptionModifierConstructorDescriptionErrorMessage(RestApiException exception) Creates a new ErrorMessage instance. -
Uses of RestApiException in io.goobi.viewer.api.rest.resourcebuilders
Methods in io.goobi.viewer.api.rest.resourcebuilders that throw RestApiExceptionModifier and TypeMethodDescriptionabstract BookmarkListAbstractBookmarkResourceBuilder.addBookmarkList()abstract BookmarkListAbstractBookmarkResourceBuilder.addBookmarkList(String name) SessionBookmarkResourceBuilder.addBookmarkList()SessionBookmarkResourceBuilder.addBookmarkList(String name) UserBookmarkResourceBuilder.addBookmarkList()Adds a new BookmarkList with a generated name to the current users bookmark lists.UserBookmarkResourceBuilder.addBookmarkList(String name) Adds a new BookmarkList with the given name to the current users bookmark lists.abstract BookmarkAbstractBookmarkResourceBuilder.addBookmarkToBookmarkList(Long id, String pi) abstract BookmarkAbstractBookmarkResourceBuilder.addBookmarkToBookmarkList(Long id, String pi, String logId, String pageString) SessionBookmarkResourceBuilder.addBookmarkToBookmarkList(Long id, String pi) Adds an item with the given pi to the session stored bookmark list, creating a new bookmark list if needed.SessionBookmarkResourceBuilder.addBookmarkToBookmarkList(Long id, String pi, String logId, String pageString) Adds an item with the given pi, logid and page number to the session stored bookmark list, creating a new bookmark list if needed.UserBookmarkResourceBuilder.addBookmarkToBookmarkList(Long id, String pi) Adds a new Bookmark with the given pi to the current users bookmark list with the given id.UserBookmarkResourceBuilder.addBookmarkToBookmarkList(Long id, String pi, String logId, String pageString) Adds a new Bookmark with the given pi, LOGID and page number to the current user's bookmark list with the given id.UserBookmarkResourceBuilder.addUserBookmarkListFromSession(HttpSession session) Adds the current session bookmark list to the current user bookmark lists under a newly generated name.UserBookmarkResourceBuilder.addUserBookmarkListFromSession(String name, HttpSession session) Adds the current session bookmark list to the current user's bookmark lists under the given name.SessionBookmarkResourceBuilder.countSessionBookmarks()Counts the items contained in the session store bookmark list and returns the number as plain integer.UserBookmarkResourceBuilder.countUserBookmarks(Long id) Counts the items contained in the current user's bookmark list with the given id and returns the number as plain integer.abstract SuccessMessageAbstractBookmarkResourceBuilder.deleteBookmarkFromBookmarkList(Long id, String pi) abstract SuccessMessageAbstractBookmarkResourceBuilder.deleteBookmarkFromBookmarkList(Long id, String pi, String logId, String pageString) SessionBookmarkResourceBuilder.deleteBookmarkFromBookmarkList(Long id, String pi) Deletes the bookmark with the given pi from the session store bookmark list.SessionBookmarkResourceBuilder.deleteBookmarkFromBookmarkList(Long id, String pi, String logId, String pageString) Deletes the bookmark with the given pi, logid and page number from the session store bookmark list.UserBookmarkResourceBuilder.deleteBookmarkFromBookmarkList(Long id, String pi) Removes a Bookmark with the given pi from the current users bookmark list with the given id.UserBookmarkResourceBuilder.deleteBookmarkFromBookmarkList(Long id, String pi, String logId, String pageString) Removes a Bookmark with the given pi, logid and page number from the current users bookmark list with the given id.abstract SuccessMessageAbstractBookmarkResourceBuilder.deleteBookmarkList(Long id) SessionBookmarkResourceBuilder.deleteBookmarkList(Long id) UserBookmarkResourceBuilder.deleteBookmarkList(Long id) Deletes the current user's bookmark list with the given id.SessionBookmarkResourceBuilder.deleteSessionBookmarkList()Deletes the entry bookmark list from the session store.abstract List<BookmarkList> AbstractBookmarkResourceBuilder.getAllBookmarkLists()SessionBookmarkResourceBuilder.getAllBookmarkLists()Returns the session stored bookmark list, creating a new empty one if needed.UserBookmarkResourceBuilder.getAllBookmarkLists()Returns all BookmarkList owned by the current user.AbstractBookmarkResourceBuilder.getAllPublicBookmarkLists()Returns all public bookmark lists.abstract de.intranda.api.iiif.presentation.v2.Collection2AbstractBookmarkResourceBuilder.getAsCollection(Long id, AbstractApiUrlManager urls) de.intranda.api.iiif.presentation.v2.Collection2SessionBookmarkResourceBuilder.getAsCollection(Long id, AbstractApiUrlManager urls) de.intranda.api.iiif.presentation.v2.Collection2UserBookmarkResourceBuilder.getAsCollection(Long id, AbstractApiUrlManager urls) getAsCollection.abstract BookmarkListAbstractBookmarkResourceBuilder.getBookmarkListById(Long id) SessionBookmarkResourceBuilder.getBookmarkListById(Long id) UserBookmarkResourceBuilder.getBookmarkListById(Long id) Returns the bookmark list with the given id, provided it is owned by the user or it is public or shared to him.abstract StringAbstractBookmarkResourceBuilder.getBookmarkListForMirador(Long id, AbstractApiUrlManager urls) SessionBookmarkResourceBuilder.getBookmarkListForMirador(Long id, AbstractApiUrlManager urls) Returns the session stored bookmark list, creating a new empty one if needed.UserBookmarkResourceBuilder.getBookmarkListForMirador(Long id, AbstractApiUrlManager urls) Returns the user bookmark list with the given ID.UserBookmarkResourceBuilder.getContainingUserBookmarkLists(String pi) Returns the bookmark list containing the object with the given pi if is contained in any bookmark list of the current user.UserBookmarkResourceBuilder.getContainingUserBookmarkLists(String pi, String logId, String pageString) Returns the bookmark list containing the object with the given pi, logid and page number if is contained in any bookmark list of the current user.AbstractBookmarkResourceBuilder.getSharedBookmarkList(String shareKey) SessionBookmarkResourceBuilder.getSharedBookmarkList(String shareKey) SessionBookmarkResourceBuilder.getUserBookmarkListById(Long id) Returns the bookmark list with the given id, provided it is owned by the user or it is public or shared to him.SessionBookmarkResourceBuilder.isInSessionBookmarkList(String pi) Returns "true" if the object with the given IP is in the session store bookmark list, "false" otherwise.SessionBookmarkResourceBuilder.isInSessionBookmarkList(String pi, String logId, String pageString) Returns "true" if the object with the given IP, logid and page number is in the session store bookmark list, "false" otherwise. -
Uses of RestApiException in io.goobi.viewer.api.rest.v1.bookmarks
Methods in io.goobi.viewer.api.rest.v1.bookmarks that throw RestApiExceptionModifier and TypeMethodDescriptionBookmarkResource.addBookmarkList(BookmarkListCreateDto dto) Creates a new bookmark list for the current user.BookmarkResource.addItemToBookmarkList(Long id, Bookmark item) Adds a bookmark for the given record to the bookmark list with the given id.BookmarkResource.deleteBookmarkItem(Long listId, Long bookmarkId) Deletes the bookmark with the given id from the bookmark list with the given id.BookmarkResource.deleteBookmarkList(Long id) Deletes the bookmark list with the given id.BookmarkResource.getBookmarkItem(Long listId, Long bookmarkId) Returns the bookmark with the given id from the bookmark list with the given id.BookmarkResource.getBookmarkList(Long id) Returns the bookmark list with the given id.de.intranda.api.iiif.presentation.v2.Collection2BookmarkResource.getBookmarkListAsIIIFCollection(Long id) Returns the bookmark list with the given id as a IIIF Presentation 2.1.1 collection.BookmarkResource.getBookmarkListAsRSS(Long id, String language, String maxStr) Returns the bookmark list with the given id as an RSS feed in XML format.BookmarkResource.getBookmarkListAsRSSJson(Long id, String language, String maxStr) Returns the bookmark list with the given id as an RSS feed in JSON format.BookmarkResource.getBookmarkListForMirador(Long id) Returns the bookmark list with the given id as a Mirador viewer configuration.BookmarkResource.getOwnedBookmarkLists()Returns the bookmark lists of the current user, or the single session list of an anonymous request.BookmarkResource.getPublicBookmarkLists()Returns all bookmark lists marked as public, regardless of the requesting user.BookmarkResource.getSharedBookmarkListAsRSS(String key, String language, String maxStr) Returns the bookmark list identified by the given share key as an RSS feed in XML format.BookmarkResource.getSharedBookmarkListAsRSSJson(String key, String language, String maxStr) Returns the bookmark list identified by the given share key as an RSS feed in JSON format.BookmarkResource.getSharedBookmarkListByKey(String key) Returns the bookmark list identified by the given share key, independent of the current user or session.BookmarkResource.patchBookmarkList(Long id, BookmarkListPatchDto patch) Applies a partial update to the bookmark list with the given id.