Uses of Class
io.goobi.viewer.exceptions.RestApiException
Package
Description
-
Uses of RestApiException in io.goobi.viewer.api.rest.exceptions
Modifier and TypeMethodDescriptionjavax.ws.rs.core.Response
RestApiExceptionMapper.toResponse
(RestApiException exception) -
Uses of RestApiException in io.goobi.viewer.api.rest.model
ModifierConstructorDescriptionErrorMessage
(RestApiException exception) Constructor for ErrorMessage. -
Uses of RestApiException in io.goobi.viewer.api.rest.resourcebuilders
Modifier and TypeMethodDescriptionabstract SuccessMessage
AbstractBookmarkResourceBuilder.addBookmarkList()
abstract SuccessMessage
AbstractBookmarkResourceBuilder.addBookmarkList
(String name) SessionBookmarkResourceBuilder.addBookmarkList()
SessionBookmarkResourceBuilder.addBookmarkList
(String name) UserBookmarkResourceBuilder.addBookmarkList()
Adds a new BookmarkList with the given name to the current users bookmark listsUserBookmarkResourceBuilder.addBookmarkList
(String name) Adds a new BookmarkList with the given name to the current users bookmark listsabstract SuccessMessage
AbstractBookmarkResourceBuilder.addBookmarkToBookmarkList
(Long id, String pi) abstract SuccessMessage
AbstractBookmarkResourceBuilder.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 neededSessionBookmarkResourceBuilder.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 neededUserBookmarkResourceBuilder.addBookmarkToBookmarkList
(Long id, String pi) Adds a new Bookmark with the given pi to the current users bookmark list with the given id Returns 203 if no matching bookmark list was found or 400 if the Bookmark could not be created (wrong pi)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 Returns 203 if no matching bookmark list was found or 400 if the Bookmark could not be created (wrong pi/logid/page)UserBookmarkResourceBuilder.addUserBookmarkListFromSession
(String name, javax.servlet.http.HttpSession session) Adds the current session bookmark list to the current user's bookmark lists under the given nameUserBookmarkResourceBuilder.addUserBookmarkListFromSession
(javax.servlet.http.HttpSession session) Adds the current session bookmark list to the current user bookmark lists under a newly generated nameSessionBookmarkResourceBuilder.countSessionBookmarks()
Counts the items contained in the session store bookmark list and returns the number as plain integer If no session store bookmark list exists, 0 is returnedUserBookmarkResourceBuilder.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 If no session store bookmark list exists, 0 is returnedabstract SuccessMessage
AbstractBookmarkResourceBuilder.deleteBookmarkFromBookmarkList
(Long id, String pi) abstract SuccessMessage
AbstractBookmarkResourceBuilder.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 This operation returns an object with the property "success: false" if the operation failed (usually because the object wasn't in the bookmark list to begin with).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 This operation returns an object with the property "success: false" if the operation failed (usually because the object wasn't in the bookmark list to begin with).UserBookmarkResourceBuilder.deleteBookmarkFromBookmarkList
(Long id, String pi) Removes a Bookmark with the given pi from the current users bookmark list with the given id Returns 203 if no matching bookmark list was found or 400 if the requested Bookmark is invalid (wrong pi)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 Returns 203 if no matching bookmark list was found or 400 if the requested Bookmark is invalid (wrong pi/logid/page)abstract SuccessMessage
AbstractBookmarkResourceBuilder.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 neededUserBookmarkResourceBuilder.getAllBookmarkLists()
Returns all BookmarkList owned by the current userAbstractBookmarkResourceBuilder.getAllPublicBookmarkLists()
Returns all public bookmark listsabstract de.intranda.api.iiif.presentation.v2.Collection2
AbstractBookmarkResourceBuilder.getAsCollection
(Long id, AbstractApiUrlManager urls) de.intranda.api.iiif.presentation.v2.Collection2
SessionBookmarkResourceBuilder.getAsCollection
(Long id, AbstractApiUrlManager urls) de.intranda.api.iiif.presentation.v2.Collection2
UserBookmarkResourceBuilder.getAsCollection
(Long id, AbstractApiUrlManager urls) getAsCollection.abstract BookmarkList
AbstractBookmarkResourceBuilder.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 himabstract String
AbstractBookmarkResourceBuilder.getBookmarkListForMirador
(Long id, AbstractApiUrlManager urls) SessionBookmarkResourceBuilder.getBookmarkListForMirador
(Long id, AbstractApiUrlManager urls) Returns the session stored bookmark list, creating a new empty one if neededUserBookmarkResourceBuilder.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 Otherwise an json object with the property "success:false" is returnedUserBookmarkResourceBuilder.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 Otherwise an json object with the property "success:false" is returnedAbstractBookmarkResourceBuilder.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 himSessionBookmarkResourceBuilder.isInSessionBookmarkList
(String pi) Returns "true" if the object with the given IP is in the session store bookmark list, "false" otherwiseSessionBookmarkResourceBuilder.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
Modifier and TypeMethodDescriptionBookmarkResource.addBookmarkList
(BookmarkList list) BookmarkResource.addItemToBookmarkList
(Long id, Bookmark item) BookmarkResource.deleteBookmarkItem
(Long listId, Long bookmarkId) BookmarkResource.deleteBookmarkList
(Long id) BookmarkResource.getBookmarkItem
(Long listId, Long bookmarkId) BookmarkResource.getBookmarkList
(Long id) de.intranda.api.iiif.presentation.v2.Collection2
BookmarkResource.getBookmarkListAsIIIFCollection
(Long id) BookmarkResource.getBookmarkListAsRSS
(Long id, String language, Integer maxHits) BookmarkResource.getBookmarkListAsRSSJson
(Long id, String language, Integer maxHits) BookmarkResource.getBookmarkListForMirador
(Long id) BookmarkResource.getOwnedBookmarkLists()
BookmarkResource.getPublicBookmarkLists()
BookmarkResource.getSharedBookmarkListAsRSS
(String key, String language, Integer maxHits) BookmarkResource.getSharedBookmarkListAsRSSJson
(String key, String language, Integer maxHits) BookmarkResource.getSharedBookmarkListByKey
(String key) BookmarkResource.patchBookmarkList
(Long id, BookmarkList list)