Uses of Class
io.goobi.viewer.exceptions.DAOException
Packages that use DAOException
Package
Description
-
Uses of DAOException in io.goobi.viewer.api.rest.resourcebuilders
Methods in io.goobi.viewer.api.rest.resourcebuilders that throw DAOExceptionModifier and TypeMethodDescriptionabstract SuccessMessageAbstractBookmarkResourceBuilder.addBookmarkList()abstract SuccessMessageAbstractBookmarkResourceBuilder.addBookmarkList(String name) SessionBookmarkResourceBuilder.addBookmarkList()SessionBookmarkResourceBuilder.addBookmarkList(String name) UserBookmarkResourceBuilder.addBookmarkList()Adds a new BookmarkList with the given 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 SuccessMessageAbstractBookmarkResourceBuilder.addBookmarkToBookmarkList(Long id, String pi) abstract SuccessMessageAbstractBookmarkResourceBuilder.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(jakarta.servlet.http.HttpSession session) Adds the current session bookmark list to the current user bookmark lists under a newly generated name.UserBookmarkResourceBuilder.addUserBookmarkListFromSession(String name, jakarta.servlet.http.HttpSession session) Adds the current session bookmark list to the current user's bookmark lists under the given name.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.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.Collection2AbstractBookmarkResourceBuilder.getAsCollection(String sharedKey, AbstractApiUrlManager urls) getAsCollection.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.de.intranda.api.iiif.presentation.v2.SequenceIIIFPresentation2ResourceBuilder.getBaseSequence(String pi, BuildMode buildMode, String preferedViewName) 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.de.intranda.api.iiif.presentation.IPresentationModelElementOptional<de.intranda.api.annotation.wa.WebAnnotation> AnnotationsResourceBuilder.getCommentWebAnnotation(long 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.de.intranda.api.iiif.presentation.v2.Layerde.intranda.api.iiif.presentation.IPresentationModelElementIIIFPresentation2ResourceBuilder.getManifest(String pi, List<Integer> pagesToInclude, BuildMode mode) List<de.intranda.api.iiif.presentation.IPresentationModelElement> IIIFPresentation2ResourceBuilder.getManifestsForQuery(String query, String sortFields, int first, int rows) de.intranda.api.annotation.IAnnotationCollectionAnnotationsResourceBuilder.getOAnnotationListForPage(String pi, Integer pageNo, URI uri) de.intranda.api.iiif.presentation.v2.AnnotationListAnnotationsResourceBuilder.getOAnnotationListForPageComments(String pi, Integer pageNo, URI uri) de.intranda.api.iiif.presentation.v2.AnnotationListAnnotationsResourceBuilder.getOAnnotationListForRecord(String pi, URI uri) de.intranda.api.iiif.presentation.v2.AnnotationListAnnotationsResourceBuilder.getOAnnotationListForRecordComments(String pi, URI uri) Optional<de.intranda.api.annotation.oa.OpenAnnotation> AnnotationsResourceBuilder.getOpenAnnotation(Long id) de.intranda.api.iiif.presentation.v2.Range2RisResourceBuilder.getRIS(StructElement se) AbstractBookmarkResourceBuilder.getSharedBookmarkList(String shareKey) SessionBookmarkResourceBuilder.getSharedBookmarkList(String shareKey) AbstractBookmarkResourceBuilder.getSharedBookmarkListForMirador(String key, AbstractApiUrlManager urls) 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.Optional<de.intranda.api.annotation.wa.WebAnnotation> AnnotationsResourceBuilder.getWebAnnotation(long id) de.intranda.api.annotation.wa.collection.AnnotationCollectionAnnotationsResourceBuilder.getWebAnnotationCollectionForPage(String pi, Integer pageNo, URI uri) de.intranda.api.annotation.wa.collection.AnnotationCollectionAnnotationsResourceBuilder.getWebAnnotationCollectionForPageComments(String pi, int pageNo, URI uri) de.intranda.api.annotation.wa.collection.AnnotationCollectionAnnotationsResourceBuilder.getWebAnnotationCollectionForRecord(String pi, URI uri) de.intranda.api.annotation.wa.collection.AnnotationCollectionAnnotationsResourceBuilder.getWebAnnotationCollectionForRecordComments(String pi, URI uri) de.intranda.api.annotation.wa.collection.AnnotationPageAnnotationsResourceBuilder.getWebAnnotationPage(Integer page) de.intranda.api.annotation.wa.collection.AnnotationPageAnnotationsResourceBuilder.getWebAnnotationPageForPage(String pi, Integer pageNo, URI uri, Integer page) de.intranda.api.annotation.wa.collection.AnnotationPageAnnotationsResourceBuilder.getWebAnnotationPageForPageComments(String pi, Integer pageNo, URI uri) de.intranda.api.annotation.wa.collection.AnnotationPageAnnotationsResourceBuilder.getWebAnnotationPageForPageComments(String pi, URI uri, Integer pageNo, Integer collectionPage) de.intranda.api.annotation.wa.collection.AnnotationPageAnnotationsResourceBuilder.getWebAnnotationPageForRecord(String pi, URI uri, Integer page) de.intranda.api.annotation.wa.collection.AnnotationPageAnnotationsResourceBuilder.getWebAnnotationPageForRecordComments(String pi, URI uri, Integer page) 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.abstract voidAbstractBookmarkResourceBuilder.updateBookmarkList(BookmarkList orig) voidUserBookmarkResourceBuilder.updateBookmarkList(BookmarkList bookmarkList) jakarta.ws.rs.core.StreamingOutputRisResourceBuilder.writeRIS(StructElement se) -
Uses of DAOException in io.goobi.viewer.api.rest.v1.annotations
Methods in io.goobi.viewer.api.rest.v1.annotations that throw DAOExceptionModifier and TypeMethodDescriptionde.intranda.api.annotation.IAnnotationAnnotationResource.addAnnotation(de.intranda.api.annotation.IncomingAnnotation anno) de.intranda.api.annotation.IAnnotationAnnotationResource.deleteAnnotation(Long id) de.intranda.api.annotation.IAnnotationAnnotationResource.getAnnotation(Long id) de.intranda.api.annotation.wa.collection.AnnotationPageAnnotationResource.getAnnotationCollectionPage(Integer page) de.intranda.api.annotation.IAnnotationAnnotationResource.getComment(Long id) -
Uses of DAOException in io.goobi.viewer.api.rest.v1.bookmarks
Methods in io.goobi.viewer.api.rest.v1.bookmarks that throw DAOExceptionModifier 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.Collection2BookmarkResource.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()de.intranda.api.iiif.presentation.v2.Collection2BookmarkResource.getSharedBookmarkListAsCollection(String key) BookmarkResource.getSharedBookmarkListAsRSS(String key, String language, Integer maxHits) BookmarkResource.getSharedBookmarkListAsRSSJson(String key, String language, Integer maxHits) BookmarkResource.getSharedBookmarkListByKey(String key) BookmarkResource.getSharedBookmarkListForMirador(String key) BookmarkResource.patchBookmarkList(Long id, BookmarkList list) -
Uses of DAOException in io.goobi.viewer.api.rest.v1.clients
Methods in io.goobi.viewer.api.rest.v1.clients that throw DAOExceptionModifier and TypeMethodDescriptionClientApplicationsResource.getAllClients()List all registeredClientApplications.List all registeredClientApplications.ClientApplicationsResource.register()ClientApplicationsResource.request()ClientApplicationsResource.setClient(String clientIdentifier, ClientApplication update) Change properties of an existingClientApplication.Constructors in io.goobi.viewer.api.rest.v1.clients that throw DAOException -
Uses of DAOException in io.goobi.viewer.api.rest.v1.cms
Methods in io.goobi.viewer.api.rest.v1.cms that throw DAOExceptionModifier and TypeMethodDescriptionCMSMediaResource.getAllMedia(String tags, Integer maxItems, Integer prioritySlots, Boolean random) getMediaByTag.CMSMediaResource.getMediaItem(Long id) CMSMediaResource.getMediaOfCategories(String tags, Integer maxItems, Integer prioritySlots, Boolean random) getMediaByTag.jakarta.ws.rs.core.ResponseCMSMediaResource.uploadMediaFiles(boolean enabled, String filename, InputStream uploadedInputStream, org.glassfish.jersey.media.multipart.FormDataContentDisposition fileDetail) May receive a file from a multipart form and saves the file in the cms media folder.jakarta.ws.rs.core.ResponseCMSMediaResource.validateUploadMediaFiles(String filename) Return the media item for the given filename.Constructors in io.goobi.viewer.api.rest.v1.cms that throw DAOException -
Uses of DAOException in io.goobi.viewer.api.rest.v1.crowdsourcing
Methods in io.goobi.viewer.api.rest.v1.crowdsourcing that throw DAOExceptionModifier and TypeMethodDescriptionCampaignItemLogResource.addMessage(LogMessage message, String pi, jakarta.servlet.http.HttpServletRequest servletRequest) voidCampaignItemLogResource.deleteMessage(String pi, Long messageId) List<de.intranda.api.annotation.wa.WebAnnotation> CampaignItemResource.getAnnotationsForManifest(String pi, jakarta.servlet.http.HttpServletRequest request) Get all annotations for the given campaign and work, sorted by target.CampaignItemResource.getItemForManifest(String persistentIdentifier, jakarta.servlet.http.HttpServletRequest servletRequest) Get theCampaignItemfor a campaign and work, containing the URL of the targeted resource (IIIF manifest) and all information to create a GUI for the campaign's questions.CampaignItemLogResource.getLogForManifest(String pi, jakarta.servlet.http.HttpServletRequest servletRequest) CampaignItemLogResource.getMessage(String pi, Long messageId, jakarta.servlet.http.HttpServletRequest servletRequest) voidCampaignItemResource.setAnnotationsForManifest(List<CampaignItemResource.AnnotationPage> pages, String pi) Takes a map of annotation target (canvas/manifest) ids and replaces all annotations for the given campaign, pi and targeted pages if target is canvas) with the ones contained in the map.voidCampaignItemResource.setItemForManifest(CampaignItem item, String persistentIdentifier, int page) Sets theCrowdsourcingStatusfor the given campaign and work and records theUserwho made the change. -
Uses of DAOException in io.goobi.viewer.api.rest.v1.downloads
Methods in io.goobi.viewer.api.rest.v1.downloads that throw DAOExceptionModifier and TypeMethodDescriptionDownloadResource.deleteAllDownloadJobs()Remove all jobs from the database.DownloadResource.deleteEPUBDownloadJob(String pi) Remove a download job from the database.DownloadResource.deleteEPUBDownloadJob(String pi, String logId) Remove a download job from the database.DownloadResource.deleteEPUBDownloadJobs()Remove all jobs of a type from the database.DownloadResource.deletePDFDownloadJob(String pi) Remove a download job from the database.DownloadResource.deletePDFDownloadJob(String pi, String logId) Remove a download job from the database.DownloadResource.deletePDFDownloadJobs()Remove all jobs of a type from the database.DownloadResource.getAllDownloadJobs()Get information about all download jobs of a type.DownloadResource.getDownloadJobs()Get information about all download jobs of a type.DownloadResource.getEPUBDownloadInfo(String pi) Get information about a specific downloadJob.DownloadResource.getEPUBDownloadInfo(String pi, String logId) Get information about a specific downloadJob.DownloadResource.getPDFDownloadInfo(String pi) Get information about a specific downloadJob.DownloadResource.getPDFDownloadInfo(String pi, String logId) Get information about a specific downloadJob.DownloadResource.getPDFDownloadJobs()Get information about all download jobs of a type.DownloadResource.putPDFDownloadJob(String pi, String usePdfSource, String email) DownloadResource.putPDFDownloadJob(String pi, String logId, String usePdfSource, String email) -
Uses of DAOException in io.goobi.viewer.api.rest.v1.index
Methods in io.goobi.viewer.api.rest.v1.index that throw DAOExceptionModifier and TypeMethodDescriptionIndexResource.getRecordsForQuery(RecordsRequestParameters params) -
Uses of DAOException in io.goobi.viewer.api.rest.v1.records
Methods in io.goobi.viewer.api.rest.v1.records that throw DAOExceptionModifier and TypeMethodDescriptionprotected booleanRecordFileResource.checkMediaFileAccess(String filename) de.intranda.api.annotation.IAnnotationCollectionRecordPageResource.getAnnotationsForRecord(Integer pageNo) de.intranda.api.annotation.IAnnotationCollectionRecordResource.getAnnotationsForRecord(String format) de.intranda.api.iiif.presentation.IPresentationModelElementde.intranda.api.annotation.wa.collection.AnnotationPageRecordResource.getCommentPageForRecord(Integer page) de.intranda.api.annotation.IAnnotationCollectionRecordPageResource.getCommentsForPage(Integer pageNo) de.intranda.api.annotation.IAnnotationCollectionRecordResource.getCommentsForRecord(String format) de.intranda.api.iiif.presentation.IPresentationModelElementde.intranda.api.iiif.presentation.IPresentationModelElementRecordPageResource.getManifest(Integer pageNo, String mode) de.intranda.api.iiif.presentation.IPresentationModelElementRecordResource.getManifest(String mode) jakarta.ws.rs.core.ResponseRecordFileResource.getMediaFile(String filename) de.intranda.api.iiif.presentation.IPresentationModelElementRecordSectionResource.getRange()RecordResource.getRISAsFile()RecordSectionResource.getRISAsFile()RecordResource.getRISAsText()getRISAsText.RecordSectionResource.getRISAsText()getRISAsText.de.intranda.api.iiif.presentation.IPresentationModelElementRecordPageResource.getSequence(String mode, String preferedView) jakarta.ws.rs.core.ResponseRecordFileResource.getSourceFile(String filename) de.intranda.api.annotation.IAnnotationCollectionRecordPageResource.getTextForPage(Integer pageNo, String format) RecordResource.getTOCAsText()de.intranda.api.iiif.discovery.OrderedCollectionPage<de.intranda.api.iiif.presentation.IPresentationModelElement> RecordsListResource.listManifests(String query, Integer firstRow, Integer rows, String start, String end, String subtheme, String sort) -
Uses of DAOException in io.goobi.viewer.api.rest.v1.search
Methods in io.goobi.viewer.api.rest.v1.search that throw DAOExceptionModifier and TypeMethodDescriptionjakarta.ws.rs.core.ResponseSearchResultResource.getRISAsFile(String query, String sortString, String activeFacetString, int proximitySearchDistance) -
Uses of DAOException in io.goobi.viewer.api.rest.v1.statistics.usage
Methods in io.goobi.viewer.api.rest.v1.statistics.usage that throw DAOExceptionModifier and TypeMethodDescriptionjakarta.ws.rs.core.ResponseUsageStatisticsResource.getStatisticsForDay(String date, String recordFilterQuery, String inFormat) jakarta.ws.rs.core.ResponseUsageStatisticsResource.getStatisticsListForDates(String start, String end, String recordFilterQuery, String inFormat, Integer step, String stepUnit) -
Uses of DAOException in io.goobi.viewer.api.rest.v2.annotations
Methods in io.goobi.viewer.api.rest.v2.annotations that throw DAOExceptionModifier and TypeMethodDescriptionde.intranda.api.annotation.IAnnotationAnnotationResource.addAnnotation(de.intranda.api.annotation.IncomingAnnotation anno) de.intranda.api.annotation.IAnnotationAnnotationResource.deleteAnnotation(Long id) de.intranda.api.annotation.IAnnotationAnnotationResource.getAnnotation(Long id) de.intranda.api.annotation.wa.collection.AnnotationPageAnnotationResource.getAnnotationCollectionPage(Integer page) de.intranda.api.annotation.IAnnotationAnnotationResource.getComment(Long id) -
Uses of DAOException in io.goobi.viewer.api.rest.v2.cms
Methods in io.goobi.viewer.api.rest.v2.cms that throw DAOExceptionModifier and TypeMethodDescriptionCMSMediaResource.getAllMedia(String tags, Integer maxItems, Integer prioritySlots, Boolean random) getMediaByTag.CMSMediaResource.getMediaItem(Long id) CMSMediaResource.getMediaOfCategories(String tags, Integer maxItems, Integer prioritySlots, Boolean random) getMediaByTag.jakarta.ws.rs.core.ResponseCMSMediaResource.uploadMediaFiles(boolean enabled, String filename, InputStream uploadedInputStream, org.glassfish.jersey.media.multipart.FormDataContentDisposition fileDetail) May receive a file from a multipart form and saves the file in the cms media folder.jakarta.ws.rs.core.ResponseCMSMediaResource.validateUploadMediaFiles(String filename) Return the media item for the given filename. -
Uses of DAOException in io.goobi.viewer.api.rest.v2.records
Methods in io.goobi.viewer.api.rest.v2.records that throw DAOExceptionModifier and TypeMethodDescriptionde.intranda.api.annotation.wa.collection.AnnotationPageRecordPagesResource.getAnnotationsForRecord()de.intranda.api.annotation.IAnnotationCollectionRecordResource.getAnnotationsForRecord()de.intranda.api.annotation.wa.collection.AnnotationPageRecordResource.getAnnotationsPageForRecord()de.intranda.api.iiif.presentation.IPresentationModelElementRecordPagesResource.getCanvas()de.intranda.api.annotation.wa.collection.AnnotationPageRecordPagesResource.getCommentsForPage()de.intranda.api.annotation.IAnnotationCollectionRecordResource.getCommentsForRecord()de.intranda.api.annotation.IAnnotationCollectionRecordResource.getCommentsForRecordPage()de.intranda.api.annotation.wa.collection.AnnotationPageRecordPagesResource.getFulltext()de.intranda.api.iiif.presentation.IPresentationModelElementRecordPagesResource.getManifest(Integer pageNo, String mode) de.intranda.api.iiif.presentation.IPresentationModelElementRecordResource.getManifest()de.intranda.api.annotation.wa.collection.AnnotationPageRecordPagesResource.getMedia()de.intranda.api.annotation.IAnnotationRecordPagesResource.getMediaItem(String itemId) de.intranda.api.iiif.presentation.v3.Range3RecordSectionsResource.getRange()jakarta.ws.rs.core.ResponseRecordFilesResource.getSourceFile(String filename) -
Uses of DAOException in io.goobi.viewer.controller
Methods in io.goobi.viewer.controller that throw DAOExceptionModifier and TypeMethodDescriptionDAOSearchFunction.apply(int first, int pageSize, String sortField, boolean descending, Map<String, String> filters) DataManager.getClientManager()DataManager.getDao()Getter for the fielddao.static org.json.JSONArrayJsonTools.getDateCentricRecordJsonArray(org.apache.solr.common.SolrDocumentList result, jakarta.servlet.http.HttpServletRequest request) JSON array of records grouped by their import date.static org.json.JSONArrayJsonTools.getRecordJsonArray(org.apache.solr.common.SolrDocumentList result, Map<String, org.apache.solr.common.SolrDocumentList> expanded, jakarta.servlet.http.HttpServletRequest request, String languageToTranslate) Returns aJSONArraycontaining JSON objects for everySolrDocumentin the given result.DataManager.getUsageStatisticsRecorder()ProcessDataResolver.loadFulltext(String altoFilePath, String fulltextFilePath, boolean mergeLineBreakWords, jakarta.servlet.http.HttpServletRequest request) Loads plain full-text via the REST service.static booleanIndexerTools.reIndexPage(String pi, int page) reIndexPage.static booleanIndexerTools.reIndexRecord(String pi) Writes the record into the hotfolder for re-indexing.static booleanIndexerTools.reIndexRecord(String pi, Collection<? extends IndexAugmenter> augmenters) Writes the record into the hotfolder for re-indexing. -
Uses of DAOException in io.goobi.viewer.controller.imaging
Methods in io.goobi.viewer.controller.imaging that throw DAOExceptionModifier and TypeMethodDescriptionde.intranda.api.iiif.image.ImageInformationImageHandler.getImageInformation(PhysicalElement page, PageType pageType) getImageInformation.getPage.ThumbnailHandler.getSquareThumbnailUrl(int order, String pi) Returns a link to a square image of the page of the given order (=page number) within the work with the given pi.ThumbnailHandler.getSquareThumbnailUrl(int order, String pi, int size) Returns a link to a square image of the page of the given order (=page number) within the work with the given pi of the given size.ThumbnailHandler.getThumbnailUrl(int order, String pi) Returns a link to the image of the page of the given order (=page number) within the work with the given pi .WatermarkHandler.getWatermarkUrl(de.unigoettingen.sub.commons.contentlib.imagelib.transform.Scale scale, Optional<PageType> pageType, Optional<de.unigoettingen.sub.commons.contentlib.imagelib.ImageType> imageType, Optional<String> watermarkId, Optional<String> watermarkText) Creates the watermark url for the given pageType, adding watermarkId for the currentActiveDocumentBean.getTopDocument()and watermarkText for the currentPhysicalElementpage.WatermarkHandler.getWatermarkUrl(Optional<PhysicalElement> page, Optional<StructElement> doc, Optional<PageType> pageType) Creates the watermark url for the given pageType, adding watermarkId for the givenStructElementandPhysicalElementpage. -
Uses of DAOException in io.goobi.viewer.controller.mq
Methods in io.goobi.viewer.controller.mq that throw DAOExceptionModifier and TypeMethodDescriptionstatic Optional<ViewerMessage> ViewerMessage.getLastSuccessfulTask(String type) Returns the latest VieweMessage of the given type that finished successfully.Constructors in io.goobi.viewer.controller.mq that throw DAOException -
Uses of DAOException in io.goobi.viewer.dao
Methods in io.goobi.viewer.dao that throw DAOExceptionModifier and TypeMethodDescriptionbooleanIDAO.addAnnotation(CrowdsourcingAnnotation annotation) addAnnotation.booleanIDAO.addBookmarkList(BookmarkList bookmarkList) addBookmarkList.booleanIDAO.addCampaign(Campaign campaign) addCampaign.booleanIDAO.addCategory(CMSCategory category) addCategory.booleanIDAO.addCMSCollection(CMSCollection collection) addCMSCollection.booleanIDAO.addCMSComponent(PersistentCMSComponent persistentCMSComponent) booleanIDAO.addCMSMediaItem(CMSMediaItem item) addCMSMediaItem.booleanIDAO.addCMSNavigationItem(CMSNavigationItem item) addCMSNavigationItem.booleanIDAO.addCMSPage(CMSPage page) addCMSPage.booleanIDAO.addCMSPageTemplate(CMSPageTemplate template) booleanIDAO.addComment(Comment comment) addComment.booleanIDAO.addCommentGroup(CommentGroup commentGroup) addCommentGroup.booleanIDAO.addCustomWidget(CustomSidebarWidget widget) booleanIDAO.addDownloadJob(DownloadJob downloadJob) addDownloadJob.booleanAdd the given map to the database if no map of the same id already existsbooleanIDAO.addHighlight(HighlightData object) booleanIDAO.addIpRange(IpRange ipRange) addIpRange.booleanIDAO.addLicenseType(LicenseType licenseType) addLicenseType.booleanIDAO.addRecordNote(CMSRecordNote note) Persist a newCMSRecordNote.booleanIDAO.addRecurringTaskTrigger(RecurringTaskTrigger trigger) booleanaddRole.booleanaddSearch.booleanbooleanIDAO.addStaticPage(CMSStaticPage page) addStaticPage.booleanIDAO.addTheme(ThemeConfiguration theme) booleanIDAO.addTicket(AccessTicket ticket) addTicket.booleanIDAO.addTranskribusJob(TranskribusJob job) addTranskribusJob.booleanIDAO.addUploadJob(UploadJob uploadJob) addDownloadJob.booleanIDAO.addUsageStatistics(DailySessionUsageStatistics statistics) booleanaddUser.booleanIDAO.addUserGroup(UserGroup userGroup) addUserGroup.booleanIDAO.addUserRole(UserRole userRole) addUserRole.booleanIDAO.addViewerMessage(ViewerMessage message) intIDAO.changeCampaignStatisticContributors(User fromUser, User toUser) ReplacedfromUserwithtoUserin the lists of annotators and reviewers an all campaign statistics.intIDAO.changeCommentsOwner(User fromUser, User toUser) Changes ownership of all comments fromfromUsertotoUser.voidIDAO.close(jakarta.persistence.EntityManager em) Either close the given EntityManager or do some other post query/transaction handling for the given EntityManager.booleanIDAO.columnsExists(String tableName, String columnName) columnsExists.booleanIDAO.deleteAnnotation(CrowdsourcingAnnotation annotation) deleteAnnotation.booleanIDAO.deleteBookmarkList(BookmarkList bookmarkList) deleteBookmarkList.booleanIDAO.deleteCampaign(Campaign campaign) deleteCampaign.intIDAO.deleteCampaignStatisticsForUser(User user) Deletes given user from the lists of annotators and reviewers an all campaign statistics.booleanIDAO.deleteCategory(CMSCategory category) deleteCategory.booleanIDAO.deleteClientApplication(long id) booleanIDAO.deleteCMSCollection(CMSCollection collection) deleteCMSCollection.booleanIDAO.deleteCMSComponent(PersistentCMSComponent persistentCMSComponent) booleanIDAO.deleteCMSContent(CMSContent content) booleanIDAO.deleteCMSMediaItem(CMSMediaItem item) deleteCMSMediaItem.booleanIDAO.deleteCMSNavigationItem(CMSNavigationItem item) deleteCMSNavigationItem.booleanIDAO.deleteCMSPage(CMSPage page) deleteCMSPage.booleanIDAO.deleteComment(Comment comment) deleteComment.booleanIDAO.deleteCommentGroup(CommentGroup commentGroup) deleteCommentGroup.intIDAO.deleteComments(String pi, User owner) booleanIDAO.deleteCustomWidget(Long id) booleanIDAO.deleteDownloadJob(DownloadJob downloadJob) deleteDownloadJob.booleanIDAO.deleteGeoMap(GeoMap map) Delete the givenGeoMapfrom the databasebooleanIDAO.deleteHighlight(Long id) booleanIDAO.deleteIpRange(IpRange ipRange) deleteIpRange.booleanIDAO.deleteLicenseType(LicenseType licenseType) deleteLicenseType.booleanIDAO.deleteRecordNote(CMSRecordNote note) Deletes an existingCMSRecordNotebooleanIDAO.deleteRecurringTaskTrigger(Long id) booleanIDAO.deleteRole(Role role) deleteRole.booleanIDAO.deleteSearch(Search search) deleteSearch.booleanIDAO.deleteSlider(CMSSlider slider) booleanIDAO.deleteStaticPage(CMSStaticPage page) deleteStaticPage.booleanIDAO.deleteTheme(ThemeConfiguration theme) booleanIDAO.deleteTicket(AccessTicket ticket) deleteTicket.booleanIDAO.deleteTranskribusJob(TranskribusJob job) deleteTranskribusJob.booleanIDAO.deleteUploadJob(UploadJob uploadJob) deleteDownloadJob.booleanIDAO.deleteUsageStatistics(long id) booleanIDAO.deleteUser(User user) deleteUser.booleanIDAO.deleteUserGroup(UserGroup userGroup) deleteUserGroup.booleanIDAO.deleteUserRole(UserRole userRole) deleteUserRole.booleanIDAO.deleteViewerMessage(ViewerMessage message) intIDAO.deleteViewerMessagesBefore(LocalDateTime date) intIDAO.executeUpdate(String string) longIDAO.getActiveTicketCount(Map<String, String> filters) getActiveTicketCount.IDAO.getActiveTickets(int first, int pageSize, String sortField, boolean descending, Map<String, String> filters) getActiveRecordAccessTickets.IDAO.getAdminUsers()IDAO.getAllAnnotations(String sortField, boolean sortDescending) IDAO.getAllAnnotationsByMotivation(String commenting) IDAO.getAllBookmarkLists()getAllBookmarkLists.IDAO.getAllCampaigns()getAllCampaigns.IDAO.getAllCategories()getAllCategories.IDAO.getAllClientApplications()IDAO.getAllCMSCollectionItems()getAllCMSCollectionItems.IDAO.getAllCMSMediaItems()getAllCMSMediaItems.IDAO.getAllCMSPages()getAllCMSPages.IDAO.getAllCMSPageTemplates()IDAO.getAllCommentGroups()IDAO.getAllComments()getAllComments.IDAO.getAllCustomWidgets()IDAO.getAllDownloadJobs()getAllDownloadJobs.IDAO.getAllGeoMaps()Get allGeoMaps in databaseIDAO.getAllHighlights()IDAO.getAllIpRanges()getAllIpRanges.IDAO.getAllLicenses()getAllLicenses.IDAO.getAllLicenseTypes()getAllLicenseTypes.IDAO.getAllMultiRecordNotes(boolean displayedNotesOnly) Get allCMSMultiRecordNotes.IDAO.getAllRecordNotes()Get all persistedCMSRecordNotesIDAO.getAllRoles()getAllRoles.IDAO.getAllSearches()getAllSearches.IDAO.getAllSliders()IDAO.getAllStaticPages()getAllStaticPages.IDAO.getAllTopCMSNavigationItems()getAllTopCMSNavigationItems.IDAO.getAllTranskribusJobs()getAllTranskribusJobs.IDAO.getAllUsageStatistics()IDAO.getAllUserGroups()getAllUserGroups.IDAO.getAllUserRoles()getAllUserRoles.IDAO.getAllUsers(boolean refresh) getAllUsers.IDAO.getAnnotation(Long id) Annotations *longIDAO.getAnnotationCount(Map<String, String> filters) getAnnotationCount.longIDAO.getAnnotationCountForTarget(String pi, Integer page) getAnnotationCountForTarget.longIDAO.getAnnotationCountForWork(String pi) IDAO.getAnnotations(int first, int pageSize, String sortField, boolean descending, String filterString, Map<String, Object> filterParams) IDAO.getAnnotations(int first, int pageSize, String sortField, boolean descending, Map<String, String> filters) getAnnotations.IDAO.getAnnotationsForCampaign(Campaign campaign) getAnnotationsForCampaign.IDAO.getAnnotationsForCampaignAndTarget(Campaign campaign, String pi, Integer page) getAnnotationsForCampaignAndTarget.IDAO.getAnnotationsForCampaignAndWork(Campaign campaign, String pi) getAnnotationsForCampaignAndWork.IDAO.getAnnotationsForTarget(String pi, Integer page) getAnnotationsForTarget.IDAO.getAnnotationsForTarget(String pi, Integer page, String motivation) IDAO.getAnnotationsForUserId(Long userId, Integer maxResults, String sortField, boolean descending) IDAO.getAnnotationsForWork(String pi) getAnnotationsForWork.IDAO.getBookmarkList(long id) getBookmarkList.IDAO.getBookmarkList(String name, User user) getBookmarkList.IDAO.getBookmarkListByShareKey(String shareKey) getBookmarkListByShareKey.longIDAO.getBookmarkListCount(User user) Get number of bookmark lists owned by the given userIDAO.getBookmarkLists(User user) getBookmarkLists.IDAO.getCampaign(Long id) getCampaign.longIDAO.getCampaignCount(Map<String, String> filters) getCampaignCount.IDAO.getCampaignPageStatisticsForRecord(String pi, CrowdsourcingStatus status) getCampaignPageStatisticsForRecord.IDAO.getCampaigns(int first, int pageSize, String sortField, boolean descending, Map<String, String> filters) getCampaigns.IDAO.getCampaignStatisticsForRecord(String pi, CrowdsourcingStatus status) getCampaignStatisticsForRecord.IDAO.getCategory(Long id) getCategory.IDAO.getCategoryByName(String name) getCategoryByName.IDAO.getClientApplication(long id) IDAO.getClientApplicationByClientId(String clientId) IDAO.getCMSCollection(String solrField, String solrFieldValue) getCMSCollection.IDAO.getCMSCollections(String solrField) getCMSCollections.IDAO.getCMSComponent(Long id) IDAO.getCMSMediaItem(long id) getCMSMediaItem.IDAO.getCMSMediaItemByFilename(String string) getCMSMediaItemByFilename.IDAO.getCMSMediaItemsByCategory(CMSCategory category) Get a list of allCMSMediaItems which contain the given categoryIDAO.getCMSNavigationItem(long id) getCMSNavigationItem.IDAO.getCMSPage(long id) getCMSPage.IDAO.getCMSPageAccessConditions()longIDAO.getCMSPageCount(Map<String, String> filters, List<Long> allowedTemplates, List<String> allowedSubthemes, List<String> allowedCategories) getCMSPageCount.longIDAO.getCMSPageCountByPropertyValue(String propertyName, String propertyValue) IDAO.getCMSPageDefaultViewForRecord(String pi) IDAO.getCmsPageForStaticPage(String pageName) getCmsPageForStaticPage.IDAO.getCMSPages(int first, int pageSize, String sortField, boolean descending, Map<String, String> filters, List<Long> allowedTemplates, List<String> allowedSubthemes, List<String> allowedCategories) getCMSPages.IDAO.getCMSPagesByCategory(CMSCategory category) getCMSPagesByCategory.IDAO.getCMSPagesByPropertyValue(String propertyName, String propertyValue) IDAO.getCMSPagesForRecord(String pi, CMSCategory category) getCMSPagesForRecord.IDAO.getCMSPagesForSubtheme(String subtheme) IDAO.getCMSPagesWithRelatedPi(int first, int pageSize, LocalDateTime fromDate, LocalDateTime toDate) getCMSPagesWithRelatedPi.IDAO.getCMSPageTemplate(Long id) longIDAO.getCMSPageWithRelatedPiCount(LocalDateTime fromDate, LocalDateTime toDate) getCMSPageWithRelatedPiCount.IDAO.getComment(long id) getComment.longgetCommentCount.IDAO.getCommentGroup(long id) getCommentGroup.IDAO.getCommentGroupUnfiltered()IDAO.getComments(int first, int pageSize, String sortField, boolean descending, Map<String, String> filters, Set<String> targetPIs) getComments.IDAO.getCommentsForPage(String pi, int page) getCommentsForPage.IDAO.getCommentsForWork(String pi) getCommentsForWork.IDAO.getCommentsOfUser(User user, int maxResults, String sortField, boolean descending) Get Comments created by a specific userIDAO.getConfiguredThemes()IDAO.getCookieBanner()longIDAO.getCoreLicenseTypeCount(Map<String, String> filters) getCoreLicenseTypeCount.IDAO.getCoreLicenseTypes(int first, int pageSize, String sortField, boolean descending, Map<String, String> filters) getCoreLicenseTypes.longIDAO.getCountMediaItemsUsingCategory(CMSCategory category) longIDAO.getCountPagesUsingCategory(CMSCategory category) IDAO.getCustomWidget(Long id) IDAO.getDisclaimer()Get the single storedDisclaimer.IDAO.getDownloadJob(long id) getDownloadJob.IDAO.getDownloadJobByIdentifier(String identifier) getDownloadJobByIdentifier.IDAO.getDownloadJobByMetadata(String type, String pi, String logId) getDownloadJobByMetadata.IDAO.getDownloadJobsForPi(String pi) getDownloadJobsForPi.IDAO.getFutureHighlightsForDate(int first, int pageSize, String sortField, boolean descending, Map<String, String> filters, LocalDateTime date) Get theGeoMapof the given mapIdIDAO.getHighlight(Long id) IDAO.getHighlights(int first, int pageSize, String sortField, boolean descending, Map<String, String> filters) IDAO.getHighlightsForDate(LocalDateTime date) IDAO.getIpRange(long id) getIpRange.IDAO.getIpRange(String name) getIpRange.longIDAO.getIpRangeCount(Map<String, String> filters) getIpRangeCount.IDAO.getIpRanges(int first, int pageSize, String sortField, boolean descending, Map<String, String> filters) getIpRanges.IDAO.getLicense(Long id) getLicense.longIDAO.getLicenseCount(LicenseType licenseType) Returns the number of licenses that use the given license type.IDAO.getLicenses(LicenseType licenseType) IDAO.getLicenseType(long id) getLicenseType.IDAO.getLicenseType(String name) getLicenseType.longIDAO.getLicenseTypeCount(Map<String, String> filters) getLicenseTypeCount.IDAO.getLicenseTypes(int first, int pageSize, String sortField, boolean descending, Map<String, String> filters) getLicenseTypes.IDAO.getLicenseTypes(List<String> names) Returns all license types that match the given name list.IDAO.getMaintenanceMode()Returns the only existing instance of MaintenanceMode.IDAO.getNativeQueryResults(String query) IDAO.getNumRecordsWithComments(User user) IDAO.getOverridingLicenseType(LicenseType licenseType) IDAO.getPagesUsingMap(GeoMap map) Return a list of CMS-pages embedding the given mapIDAO.getPagesUsingMapInSidebar(GeoMap map) Return a list of CMS-pages embedding the given map in a sidebar widgetIDAO.getPagesUsingSlider(CMSSlider slider) IDAO.getPagesUsingWidget(CustomSidebarWidget widget) IDAO.getPagesWithComments(String pi) getPagesWithComments.IDAO.getPastHighlightsForDate(int first, int pageSize, String sortField, boolean descending, Map<String, String> filters, LocalDateTime date) IDAO.getPublicBookmarkLists()getPublicBookmarkLists.IDAO.getQuestion(Long id) getQuestion.IDAO.getRecordLicenseTypes()getRecordLicenseTypes.IDAO.getRecordNote(Long id) Get aCMSRecordNoteby its id propertyIDAO.getRecordNotes(int first, int pageSize, String sortField, boolean descending, Map<String, String> filters) Get a paginated list ofCMSRecordNotesIDAO.getRecordNotesForPi(String pi, boolean displayedNotesOnly) Get allCMSRecordNotes for the given piIDAO.getRecurringTaskTrigger(Long id) IDAO.getRecurringTaskTriggerForTask(ITaskType task) IDAO.getRecurringTaskTriggers()IDAO.getRelatedNavItem(CMSPage page) getRelatedNavItem.IDAO.getRole(long id) getRole.getRole.longIDAO.getRoleCount(Map<String, String> filters) getRoleCount.IDAO.getRoles(int first, int pageSize, String sortField, boolean descending, Map<String, String> filters) getRoles.IDAO.getSearch(long id) getSearch.longIDAO.getSearchCount(User owner, Map<String, String> filters) getSearchCount.IDAO.getSearches(User owner) getSearches.IDAO.getSearches(User owner, int first, int pageSize, String sortField, boolean descending, Map<String, String> filters) getSearches.IDAO.getStaticPageForCMSPage(CMSPage page) getStaticPageForCMSPage.IDAO.getStaticPageForTypeType(PageType pageType) getStaticPageForTypeType.IDAO.getTermsOfUse()IDAO.getTicketByPasswordHash(String passwordHash) IDAO.getTicketRequests()longIDAO.getTotalAnnotationCount()IDAO.getTranskribusJobs(String pi, String transkribusUserId, JobStatus status) getTranskribusJobs.IDAO.getUploadJobsForCreatorId(Long creatorId) IDAO.getUploadJobsWithStatus(JobStatus status) IDAO.getUsageStatistics(LocalDate date) IDAO.getUsageStatistics(LocalDate start, LocalDate end) IDAO.getUser(long id) getUser.IDAO.getUserByEmail(String email) getUserByEmail.IDAO.getUserByNickname(String nickname) getUserByNickname.IDAO.getUserByOpenId(String identifier) getUserByOpenId.longIDAO.getUserCount(Map<String, String> filters) getUserCount.IDAO.getUserGroup(long id) getUserGroup.IDAO.getUserGroup(String name) getUserGroup.longIDAO.getUserGroupCount(Map<String, String> filters) getUserGroupCount.IDAO.getUserGroups(int first, int pageSize, String sortField, boolean descending, Map<String, String> filters) getUserGroups.IDAO.getUserGroups(User owner) getUserGroups.longIDAO.getUserRoleCount(UserGroup userGroup, User user, Role role) getUserRoleCount.IDAO.getUserRoles(UserGroup userGroup, User user, Role role) getUserRoles.IDAO.getUsers(int first, int pageSize, String sortField, boolean descending, Map<String, String> filters) getUsers.IDAO.getUsersByPropertyValue(String propertyName, String propertyValue) IDAO.getViewerMessage(Long id) IDAO.getViewerMessageByMessageID(String id) longIDAO.getViewerMessageCount(Map<String, String> filters) getViewerMessageCount.IDAO.getViewerMessages(int first, int pageSize, String sortField, boolean descending, Map<String, String> filters) getViewerMessages.booleanIDAO.isCMSPagesForRecordHaveUpdates(String pi, CMSCategory category, LocalDateTime fromDate, LocalDateTime toDate) isCMSPagesForRecordHaveUpdates.booleanIDAO.removeCMSPageTemplate(CMSPageTemplate template) booleanbooleanIDAO.saveClientApplication(ClientApplication client) booleanIDAO.saveCookieBanner(CookieBanner banner) booleanIDAO.saveDisclaimer(Disclaimer disclaimer) booleanIDAO.saveTermsOfUse(TermsOfUse tou) booleanIDAO.tableExists(String tableName) tableExists.booleanIDAO.updateAnnotation(CrowdsourcingAnnotation annotation) updateAnnotation.booleanIDAO.updateBookmarkList(BookmarkList bookmarkList) updateBookmarkList.booleanIDAO.updateCampaign(Campaign campaign) updateCampaign.booleanIDAO.updateCategory(CMSCategory category) updateCategory.booleanIDAO.updateCMSCollection(CMSCollection collection) updateCMSCollection.booleanIDAO.updateCMSMediaItem(CMSMediaItem item) updateCMSMediaItem.booleanIDAO.updateCMSNavigationItem(CMSNavigationItem item) updateCMSNavigationItem.booleanIDAO.updateCMSPage(CMSPage page) updateCMSPage.booleanIDAO.updateCMSPageTemplate(CMSPageTemplate template) booleanIDAO.updateComment(Comment comment) updateComment.booleanIDAO.updateCommentGroup(CommentGroup commentGroup) updateCommentGroup.booleanIDAO.updateCustomWidget(CustomSidebarWidget widget) booleanIDAO.updatedCMSComponent(PersistentCMSComponent persistentCMSComponent) booleanIDAO.updateDownloadJob(DownloadJob downloadJob) updateDownloadJob.booleanIDAO.updateGeoMap(GeoMap map) Update the givenGeoMapin the databasebooleanIDAO.updateHighlight(HighlightData object) booleanIDAO.updateIpRange(IpRange ipRange) updateIpRange.booleanIDAO.updateLicenseType(LicenseType licenseType) updateLicenseType.booleanIDAO.updateMaintenanceMode(MaintenanceMode maintenanceMode) updateMaintenanceMode.booleanIDAO.updateRecordNote(CMSRecordNote note) Updates an existingCMSRecordNotebooleanIDAO.updateRecurringTaskTrigger(RecurringTaskTrigger trigger) booleanIDAO.updateRole(Role role) updateRole.booleanIDAO.updateSearch(Search search) updateSearch.booleanIDAO.updateSlider(CMSSlider slider) booleanIDAO.updateStaticPage(CMSStaticPage page) updateStaticPage.booleanIDAO.updateTheme(ThemeConfiguration theme) booleanIDAO.updateTicket(AccessTicket ticket) updateTicket.booleanIDAO.updateTranskribusJob(TranskribusJob job) updateTranskribusJob.booleanIDAO.updateUploadJob(UploadJob uploadJob) updateDownloadJob.booleanIDAO.updateUsageStatistics(DailySessionUsageStatistics statistics) booleanIDAO.updateUser(User user) updateUser.booleanIDAO.updateUserGroup(UserGroup userGroup) updateUserGroup.booleanIDAO.updateUserRole(UserRole userRole) updateUserRole.booleanIDAO.updateViewerMessage(ViewerMessage message) -
Uses of DAOException in io.goobi.viewer.dao.impl
Methods in io.goobi.viewer.dao.impl that throw DAOExceptionModifier and TypeMethodDescriptionbooleanJPADAO.addAnnotation(CrowdsourcingAnnotation annotation) addAnnotation.booleanJPADAO.addBookmarkList(BookmarkList bookmarkList) addBookmarkList.booleanJPADAO.addCampaign(Campaign campaign) addCampaign.booleanJPADAO.addCategory(CMSCategory category) addCategory.booleanJPADAO.addCMSCollection(CMSCollection collection) addCMSCollection.booleanJPADAO.addCMSComponent(PersistentCMSComponent persistentCMSComponent) booleanJPADAO.addCMSMediaItem(CMSMediaItem item) addCMSMediaItem.booleanJPADAO.addCMSNavigationItem(CMSNavigationItem item) addCMSNavigationItem.booleanJPADAO.addCMSPage(CMSPage page) addCMSPage.booleanJPADAO.addCMSPageTemplate(CMSPageTemplate template) booleanJPADAO.addComment(Comment comment) addComment.booleanJPADAO.addCommentGroup(CommentGroup commentGroup) booleanJPADAO.addCustomWidget(CustomSidebarWidget widget) booleanJPADAO.addDownloadJob(DownloadJob downloadJob) addDownloadJob.booleanAdd the given map to the database if no map of the same id already existsbooleanJPADAO.addHighlight(HighlightData object) booleanJPADAO.addIpRange(IpRange ipRange) addIpRange.booleanJPADAO.addLicenseType(LicenseType licenseType) addLicenseType.booleanJPADAO.addRecordNote(CMSRecordNote note) Persist a newCMSRecordNote.booleanJPADAO.addRecurringTaskTrigger(RecurringTaskTrigger trigger) booleanaddRole.booleanaddSearch.booleanbooleanJPADAO.addStaticPage(CMSStaticPage page) addStaticPage.booleanJPADAO.addTheme(ThemeConfiguration theme) booleanJPADAO.addTicket(AccessTicket ticket) addTicket.booleanJPADAO.addTranskribusJob(TranskribusJob job) addTranskribusJob.booleanJPADAO.addUploadJob(UploadJob uploadJob) addDownloadJob.booleanJPADAO.addUsageStatistics(DailySessionUsageStatistics statistics) booleanaddUser.booleanJPADAO.addUserGroup(UserGroup userGroup) addUserGroup.booleanJPADAO.addUserRole(UserRole userRole) addUserRole.booleanJPADAO.addViewerMessage(ViewerMessage message) intJPADAO.changeCampaignStatisticContributors(User fromUser, User toUser) intJPADAO.changeCommentsOwner(User fromUser, User toUser) Changes ownership of all comments fromfromUsertotoUser.voidJPADAO.close(jakarta.persistence.EntityManager em) Operation to call after a query or other kind of transaction is completebooleanJPADAO.columnsExists(String tableName, String columnName) columnsExists.booleanJPADAO.deleteAnnotation(CrowdsourcingAnnotation annotation) deleteAnnotation.booleanJPADAO.deleteBookmarkList(BookmarkList bookmarkList) deleteBookmarkList.booleanJPADAO.deleteCampaign(Campaign campaign) deleteCampaign.intJPADAO.deleteCampaignStatisticsForUser(User user) booleanJPADAO.deleteCategory(CMSCategory category) deleteCategory.booleanJPADAO.deleteClientApplication(long id) booleanJPADAO.deleteCMSCollection(CMSCollection collection) deleteCMSCollection.booleanJPADAO.deleteCMSComponent(PersistentCMSComponent component) booleanJPADAO.deleteCMSContent(CMSContent content) booleanJPADAO.deleteCMSMediaItem(CMSMediaItem item) deleteCMSMediaItem.booleanJPADAO.deleteCMSNavigationItem(CMSNavigationItem item) deleteCMSNavigationItem.booleanJPADAO.deleteCMSPage(CMSPage page) deleteCMSPage.booleanJPADAO.deleteComment(Comment comment) deleteComment.booleanJPADAO.deleteCommentGroup(CommentGroup commentGroup) intJPADAO.deleteComments(String pi, User owner) booleanJPADAO.deleteCustomWidget(Long id) booleanJPADAO.deleteDownloadJob(DownloadJob downloadJob) deleteDownloadJob.booleanJPADAO.deleteGeoMap(GeoMap map) Delete the givenGeoMapfrom the databasebooleanJPADAO.deleteHighlight(Long id) booleanJPADAO.deleteIpRange(IpRange ipRange) deleteIpRange.booleanJPADAO.deleteLicenseType(LicenseType licenseType) deleteLicenseType.booleanJPADAO.deleteRecordNote(CMSRecordNote note) Deletes an existingCMSRecordNotebooleanJPADAO.deleteRecurringTaskTrigger(Long id) booleanJPADAO.deleteRole(Role role) deleteRole.booleanJPADAO.deleteSearch(Search search) deleteSearch.booleanJPADAO.deleteSlider(CMSSlider slider) booleanJPADAO.deleteStaticPage(CMSStaticPage page) deleteStaticPage.booleanJPADAO.deleteTheme(ThemeConfiguration theme) booleanJPADAO.deleteTicket(AccessTicket ticket) deleteTicket.booleanJPADAO.deleteTranskribusJob(TranskribusJob job) deleteTranskribusJob.booleanJPADAO.deleteUploadJob(UploadJob uploadJob) deleteDownloadJob.booleanJPADAO.deleteUsageStatistics(long id) booleanJPADAO.deleteUser(User user) deleteUser.booleanJPADAO.deleteUserGroup(UserGroup userGroup) deleteUserGroup.booleanJPADAO.deleteUserRole(UserRole userRole) deleteUserRole.booleanJPADAO.deleteViewerMessage(ViewerMessage message) intJPADAO.deleteViewerMessagesBefore(LocalDateTime date) intJPADAO.executeUpdate(String query) longJPADAO.getActiveTicketCount(Map<String, String> filters) getActiveTicketCount.JPADAO.getActiveTickets(int first, int pageSize, String sortField, boolean descending, Map<String, String> filters) getActiveRecordAccessTickets.JPADAO.getAdminUsers()JPADAO.getAllAnnotations(String sortField, boolean descending) JPADAO.getAllAnnotationsByMotivation(String motivation) JPADAO.getAllBookmarkLists()getAllBookmarkLists.JPADAO.getAllCampaigns()getAllCampaigns.JPADAO.getAllCategories()getAllCategories.JPADAO.getAllClientApplications()JPADAO.getAllCMSCollectionItems()getAllCMSCollectionItems.JPADAO.getAllCMSMediaItems()getAllCMSMediaItems.JPADAO.getAllCMSPages()getAllCMSPages.JPADAO.getAllCMSPageTemplates()JPADAO.getAllCommentGroups()JPADAO.getAllComments()getAllComments.JPADAO.getAllCustomWidgets()JPADAO.getAllDownloadJobs()getAllDownloadJobs.JPADAO.getAllGeoMaps()Get allGeoMaps in databaseJPADAO.getAllHighlights()JPADAO.getAllIpRanges()getAllIpRanges.JPADAO.getAllLicenses()getAllLicenses.JPADAO.getAllLicenseTypes()getAllLicenseTypes.JPADAO.getAllMultiRecordNotes(boolean displayedNotesOnly) Get allCMSMultiRecordNotes.JPADAO.getAllRecordNotes()Get all persistedCMSRecordNotesJPADAO.getAllRoles()getAllRoles.JPADAO.getAllSearches()getAllSearches.JPADAO.getAllSliders()JPADAO.getAllStaticPages()getAllStaticPages.JPADAO.getAllTopCMSNavigationItems()getAllTopCMSNavigationItems.JPADAO.getAllTranskribusJobs()getAllTranskribusJobs.JPADAO.getAllUsageStatistics()JPADAO.getAllUserGroups()getAllUserGroups.JPADAO.getAllUserRoles()getAllUserRoles.JPADAO.getAllUsers(boolean refresh) getAllUsers.JPADAO.getAnnotation(Long id) Annotations *longJPADAO.getAnnotationCount(Map<String, String> filters) getAnnotationCount.longJPADAO.getAnnotationCountForTarget(String pi, Integer page) getAnnotationCountForTarget.longJPADAO.getAnnotationCountForWork(String pi) JPADAO.getAnnotations(int first, int pageSize, String sortField, boolean descending, String filterString, Map<String, Object> params) JPADAO.getAnnotations(int first, int pageSize, String sortField, boolean descending, Map<String, String> filters) getAnnotations.JPADAO.getAnnotationsForCampaign(Campaign campaign) getAnnotationsForCampaign.JPADAO.getAnnotationsForCampaignAndTarget(Campaign campaign, String pi, Integer page) getAnnotationsForCampaignAndTarget.JPADAO.getAnnotationsForCampaignAndWork(Campaign campaign, String pi) getAnnotationsForCampaignAndWork.JPADAO.getAnnotationsForTarget(String pi, Integer page) getAnnotationsForTarget.JPADAO.getAnnotationsForTarget(String pi, Integer page, String motivation) JPADAO.getAnnotationsForUserId(Long userId, Integer maxResults, String sortField, boolean descending) JPADAO.getAnnotationsForWork(String pi) getAnnotationsForWork.JPADAO.getBookmarkList(long id) getBookmarkList.JPADAO.getBookmarkList(String name, User user) getBookmarkList.JPADAO.getBookmarkListByShareKey(String shareKey) getBookmarkListByShareKey.longJPADAO.getBookmarkListCount(User user) Get number of bookmark lists owned by the given userJPADAO.getBookmarkLists(User user) getBookmarkLists.JPADAO.getCampaign(Long id) getCampaign.longJPADAO.getCampaignCount(Map<String, String> filters) getCampaignCount.JPADAO.getCampaignPageStatisticsForRecord(String pi, CrowdsourcingStatus status) getCampaignPageStatisticsForRecord.JPADAO.getCampaigns(int first, int pageSize, String sortField, boolean descending, Map<String, String> filters) getCampaigns.JPADAO.getCampaignStatisticsForRecord(String pi, CrowdsourcingStatus status) getCampaignStatisticsForRecord.JPADAO.getCategory(Long id) getCategory.JPADAO.getCategoryByName(String name) getCategoryByName.JPADAO.getClientApplication(long id) JPADAO.getClientApplicationByClientId(String clientId) JPADAO.getCMSCollection(String solrField, String solrFieldValue) getCMSCollection.JPADAO.getCMSCollections(String solrField) getCMSCollections.JPADAO.getCMSComponent(Long id) JPADAO.getCMSMediaItem(long id) getCMSMediaItem.JPADAO.getCMSMediaItemByFilename(String filename) getCMSMediaItemByFilename.JPADAO.getCMSMediaItemsByCategory(CMSCategory category) Get a list of allCMSMediaItems which contain the given categoryJPADAO.getCMSNavigationItem(long id) getCMSNavigationItem.JPADAO.getCMSPage(long id) getCMSPage.JPADAO.getCMSPageAccessConditions()longJPADAO.getCMSPageCount(Map<String, String> filters, List<Long> allowedTemplates, List<String> allowedSubthemes, List<String> allowedCategories) getCMSPageCount.longJPADAO.getCMSPageCountByPropertyValue(String propertyName, String propertyValue) JPADAO.getCMSPageDefaultViewForRecord(String pi) JPADAO.getCmsPageForStaticPage(String pageName) getCmsPageForStaticPage.JPADAO.getCMSPages(int first, int pageSize, String sortField, boolean descending, Map<String, String> filters, List<Long> allowedTemplates, List<String> allowedSubthemes, List<String> allowedCategories) getCMSPages.JPADAO.getCMSPagesByCategory(CMSCategory category) getCMSPagesByCategory.JPADAO.getCMSPagesByPropertyValue(String propertyName, String propertyValue) JPADAO.getCMSPagesForRecord(String pi, CMSCategory category) getCMSPagesForRecord.JPADAO.getCMSPagesForSubtheme(String subtheme) JPADAO.getCMSPagesWithRelatedPi(int first, int pageSize, LocalDateTime fromDate, LocalDateTime toDate) getCMSPagesWithRelatedPi.JPADAO.getCMSPageTemplate(Long id) longJPADAO.getCMSPageWithRelatedPiCount(LocalDateTime fromDate, LocalDateTime toDate) getCMSPageWithRelatedPiCount.JPADAO.getComment(long id) getComment.longgetCommentCount.JPADAO.getCommentGroup(long id) JPADAO.getCommentGroupUnfiltered()JPADAO.getComments(int first, int pageSize, String sortField, boolean descending, Map<String, String> filters, Set<String> targetPIs) getComments.JPADAO.getCommentsForPage(String pi, int page) getCommentsForPage.JPADAO.getCommentsForWork(String pi) getCommentsForWork.JPADAO.getCommentsOfUser(User user, int maxResults, String sortField, boolean descending) Get Comments created by a specific userJPADAO.getConfiguredThemes()JPADAO.getCookieBanner()longJPADAO.getCoreLicenseTypeCount(Map<String, String> filters) getCoreLicenseTypeCount.JPADAO.getCoreLicenseTypes(int first, int pageSize, String sortField, boolean descending, Map<String, String> filters) getCoreLicenseTypes.longJPADAO.getCountMediaItemsUsingCategory(CMSCategory category) longJPADAO.getCountPagesUsingCategory(CMSCategory category) JPADAO.getCustomWidget(Long id) JPADAO.getDisclaimer()Get the single storedDisclaimer.JPADAO.getDownloadJob(long id) getDownloadJob.JPADAO.getDownloadJobByIdentifier(String identifier) getDownloadJobByIdentifier.JPADAO.getDownloadJobByMetadata(String type, String pi, String logId) getDownloadJobByMetadata.JPADAO.getDownloadJobsForPi(String pi) getDownloadJobsForPi.JPADAO.getFutureHighlightsForDate(int first, int pageSize, String sortField, boolean descending, Map<String, String> filters, LocalDateTime date) Get theGeoMapof the given mapIdJPADAO.getHighlight(Long id) JPADAO.getHighlights(int first, int pageSize, String sortField, boolean descending, Map<String, String> filters) JPADAO.getHighlightsForDate(LocalDateTime date) JPADAO.getIpRange(long id) getIpRange.JPADAO.getIpRange(String name) getIpRange.longJPADAO.getIpRangeCount(Map<String, String> filters) getIpRangeCount.JPADAO.getIpRanges(int first, int pageSize, String sortField, boolean descending, Map<String, String> filters) getIpRanges.JPADAO.getLicense(Long id) getLicense.longJPADAO.getLicenseCount(LicenseType licenseType) JPADAO.getLicenses(LicenseType licenseType) JPADAO.getLicenseType(long id) getLicenseType.JPADAO.getLicenseType(String name) getLicenseType.longJPADAO.getLicenseTypeCount(Map<String, String> filters) getLicenseTypeCount.JPADAO.getLicenseTypes(int first, int pageSize, String sortField, boolean descending, Map<String, String> filters) getLicenseTypes.JPADAO.getLicenseTypes(List<String> names) JPADAO.getMaintenanceMode()Returns the only existing instance of MaintenanceMode.JPADAO.getNativeQueryResults(String query) JPADAO.getNumRecordsWithComments(User user) JPADAO.getOverridingLicenseType(LicenseType licenseType) JPADAO.getPagesUsingMap(GeoMap map) Return a list of CMS-pages embedding the given mapJPADAO.getPagesUsingMapInSidebar(GeoMap map) Return a list of CMS-pages embedding the given map in a sidebar widgetJPADAO.getPagesUsingSlider(CMSSlider slider) JPADAO.getPagesUsingWidget(CustomSidebarWidget widget) JPADAO.getPagesWithComments(String pi) getPagesWithComments.JPADAO.getPastHighlightsForDate(int first, int pageSize, String sortField, boolean descending, Map<String, String> filters, LocalDateTime date) JPADAO.getPublicBookmarkLists()getPublicBookmarkLists.JPADAO.getQuestion(Long id) getQuestion.JPADAO.getRecordLicenseTypes()getRecordLicenseTypes.JPADAO.getRecordNote(Long id) Get aCMSRecordNoteby its id propertyJPADAO.getRecordNotes(int first, int pageSize, String sortField, boolean descending, Map<String, String> filters) Get a paginated list ofCMSRecordNotesJPADAO.getRecordNotesForPi(String pi, boolean displayedNotesOnly) Get allCMSRecordNotes for the given piJPADAO.getRecurringTaskTrigger(Long id) JPADAO.getRecurringTaskTriggerForTask(ITaskType task) JPADAO.getRecurringTaskTriggers()JPADAO.getRelatedNavItem(CMSPage page) getRelatedNavItem.JPADAO.getRole(long id) getRole.getRole.longJPADAO.getRoleCount(Map<String, String> filters) getRoleCount.JPADAO.getRoles(int first, int pageSize, String sortField, boolean descending, Map<String, String> filters) getRoles.JPADAO.getSearch(long id) getSearch.longJPADAO.getSearchCount(User owner, Map<String, String> filters) getSearchCount.JPADAO.getSearches(User owner) getSearches.JPADAO.getSearches(User owner, int first, int pageSize, String sortField, boolean descending, Map<String, String> filters) getSearches.JPADAO.getStaticPageForCMSPage(CMSPage page) getStaticPageForCMSPage.JPADAO.getStaticPageForTypeType(PageType pageType) getStaticPageForTypeType.JPADAO.getTermsOfUse()JPADAO.getTicketByPasswordHash(String passwordHash) JPADAO.getTicketRequests()longJPADAO.getTotalAnnotationCount()JPADAO.getTranskribusJobs(String pi, String transkribusUserId, JobStatus status) getTranskribusJobs.JPADAO.getUploadJobsForCreatorId(Long creatorId) JPADAO.getUploadJobsWithStatus(JobStatus status) JPADAO.getUsageStatistics(LocalDate date) JPADAO.getUsageStatistics(LocalDate start, LocalDate end) JPADAO.getUser(long id) getUser.JPADAO.getUserByEmail(String email) getUserByEmail.JPADAO.getUserByNickname(String nickname) JPADAO.getUserByOpenId(String identifier) getUserByOpenId.longJPADAO.getUserCount(Map<String, String> filters) getUserCount.JPADAO.getUserGroup(long id) getUserGroup.JPADAO.getUserGroup(String name) getUserGroup.longJPADAO.getUserGroupCount(Map<String, String> filters) getUserGroupCount.JPADAO.getUserGroups(int first, int pageSize, String sortField, boolean descending, Map<String, String> filters) getUserGroups.JPADAO.getUserGroups(User owner) getUserGroups.longJPADAO.getUserRoleCount(UserGroup userGroup, User user, Role role) JPADAO.getUserRoles(UserGroup userGroup, User user, Role role) getUserRoles.JPADAO.getUsers(int first, int pageSize, String sortField, boolean descending, Map<String, String> filters) getUsers.JPADAO.getUsersByPropertyValue(String propertyName, String propertyValue) JPADAO.getViewerMessage(Long id) JPADAO.getViewerMessageByMessageID(String messageId) longJPADAO.getViewerMessageCount(Map<String, String> filters) getViewerMessageCount.JPADAO.getViewerMessages(int first, int pageSize, String sortField, boolean descending, Map<String, String> filters) booleanJPADAO.isCMSPagesForRecordHaveUpdates(String pi, CMSCategory category, LocalDateTime fromDate, LocalDateTime toDate) isCMSPagesForRecordHaveUpdates.voidJPADAO.preQuery()Operation to call before getting an entity manager. currently noopbooleanJPADAO.removeCMSPageTemplate(CMSPageTemplate template) booleanJPADAO.resetUserAgreementsToTermsOfUse()booleanJPADAO.saveClientApplication(ClientApplication client) booleanJPADAO.saveCookieBanner(CookieBanner banner) booleanJPADAO.saveDisclaimer(Disclaimer disclaimer) booleanJPADAO.saveTermsOfUse(TermsOfUse tou) booleanJPADAO.tableExists(String tableName) tableExists.booleanJPADAO.updateAnnotation(CrowdsourcingAnnotation annotation) updateAnnotation.booleanJPADAO.updateBookmarkList(BookmarkList bookmarkList) updateBookmarkList.booleanJPADAO.updateCampaign(Campaign campaign) updateCampaign.booleanJPADAO.updateCategory(CMSCategory category) updateCategory.booleanJPADAO.updateCMSCollection(CMSCollection collection) updateCMSCollection.booleanJPADAO.updateCMSMediaItem(CMSMediaItem item) updateCMSMediaItem.booleanJPADAO.updateCMSNavigationItem(CMSNavigationItem item) updateCMSNavigationItem.booleanJPADAO.updateCMSPage(CMSPage page) updateCMSPage.booleanJPADAO.updateCMSPageTemplate(CMSPageTemplate template) booleanJPADAO.updateComment(Comment comment) updateComment.booleanJPADAO.updateCommentGroup(CommentGroup commentGroup) booleanJPADAO.updateCustomWidget(CustomSidebarWidget widget) booleanJPADAO.updatedCMSComponent(PersistentCMSComponent persistentCMSComponent) booleanJPADAO.updateDownloadJob(DownloadJob downloadJob) updateDownloadJob.booleanJPADAO.updateGeoMap(GeoMap map) Update the givenGeoMapin the databasebooleanJPADAO.updateHighlight(HighlightData object) booleanJPADAO.updateIpRange(IpRange ipRange) updateIpRange.booleanJPADAO.updateLicenseType(LicenseType licenseType) updateLicenseType.booleanJPADAO.updateMaintenanceMode(MaintenanceMode maintenanceMode) updateMaintenanceMode.booleanJPADAO.updateRecordNote(CMSRecordNote note) Updates an existingCMSRecordNotebooleanJPADAO.updateRecurringTaskTrigger(RecurringTaskTrigger trigger) booleanJPADAO.updateRole(Role role) updateRole.booleanJPADAO.updateSearch(Search search) updateSearch.booleanJPADAO.updateSlider(CMSSlider slider) booleanJPADAO.updateStaticPage(CMSStaticPage page) updateStaticPage.booleanJPADAO.updateTheme(ThemeConfiguration theme) booleanJPADAO.updateTicket(AccessTicket ticket) updateTicket.booleanJPADAO.updateTranskribusJob(TranskribusJob job) updateTranskribusJob.booleanJPADAO.updateUploadJob(UploadJob uploadJob) updateDownloadJob.booleanJPADAO.updateUsageStatistics(DailySessionUsageStatistics statistics) booleanJPADAO.updateUser(User user) updateUser.booleanJPADAO.updateUserGroup(UserGroup userGroup) updateUserGroup.booleanJPADAO.updateUserRole(UserRole userRole) updateUserRole.booleanJPADAO.updateViewerMessage(ViewerMessage message) Constructors in io.goobi.viewer.dao.impl that throw DAOException -
Uses of DAOException in io.goobi.viewer.dao.update
Methods in io.goobi.viewer.dao.update that throw DAOExceptionModifier and TypeMethodDescriptionbooleanCMSCategoryUpdate.convertData()convertData.CMSContentConverter.createGeomapContent(Map<String, Object> legacyItem) CMSContentConverter.createImageListContent(Map<String, Object> legacyItem) CMSContentConverter.createMediaContent(Map<String, Object> legacyItem) CMSContentConverter.createPageListContent(Map<String, Object> legacyItem) CMSContentConverter.createSliderContent(Map<String, Object> legacyItem) voidloadData.voidCMSCategoryUpdate.persistData(IDAO dao) persistData.booleanAnnotationUpdate.update(IDAO dao, CMSTemplateManager templateManager) booleanCMSCategoryUpdate.update(IDAO dao, CMSTemplateManager templateManager) update.booleanCMSContentItemUpdate.update(IDAO dao, CMSTemplateManager templateManager) update.booleanCMSMediaUpdate.update(IDAO dao, CMSTemplateManager templateManager) booleanCMSPageUpdate.update(IDAO dao, CMSTemplateManager templateManager) booleanCMSRecordNoteUpdate.update(IDAO dao, CMSTemplateManager templateManager) update.booleanCommentGroupUpdate.update(IDAO dao, CMSTemplateManager templateManager) update.booleanGeoMapUpdate.update(IDAO dao, CMSTemplateManager templateManager) booleanIModelUpdate.update(IDAO dao, CMSTemplateManager templateManager) update.booleanLicenseTypeUpdate.update(IDAO dao, CMSTemplateManager templateManager) update.booleanMaintenanceModeUpdate.update(IDAO dao, CMSTemplateManager templateManager) update.booleanMiscUpdate.update(IDAO dao, CMSTemplateManager templateManager) booleanPageTemplageIdUpdate.update(IDAO dao, CMSTemplateManager templateManager) booleanRoleUpdate.update(IDAO dao, CMSTemplateManager templateManager) update.booleanSidebarWidgetUpdate.update(IDAO dao, CMSTemplateManager templateManager) booleanTranslationUpdate.update(IDAO dao, CMSTemplateManager templateManager) update.booleanUserUpdate.update(IDAO dao, CMSTemplateManager templateManager) update. -
Uses of DAOException in io.goobi.viewer.managedbeans
Methods in io.goobi.viewer.managedbeans that throw DAOExceptionModifier and TypeMethodDescriptionvoidAdminDeveloperBean.activateAutopull()AdminLicenseBean.activateTicketAction(AccessTicket ticket) UserBean.activateUserAccountAction()activateUserAccountAction.voidBreadcrumbBean.addCollectionHierarchyToBreadcrumb(String collection, String field, String splittingChar) addCollectionHierarchyToBreadcrumb.voidBreadcrumbBean.addRecordBreadcrumbs(ViewManager viewManager, de.intranda.metadata.multilanguage.IMetadataValue name, com.ocpsoft.pretty.faces.url.URL url) voidAdminBean.addUserRoleAction()Adds currentUserRole to the map of UserRoles to be processed, marked as to save.voidUserBean.agreeToTermsOfUse()agreeToTermsOfUse.ActiveDocumentBean.calculateSidebarToc()Recalculates the visibility of TOC elements and jumps to the active element after a +/- button has been pressed.AccessTicketBean.checkTicketPasswordAction()Checks the given download ticket password for validity for the current record and persists valid permission in the agent session.CmsBean.cmsContextAction()Action method called when a CMS page is opened.CmsBean.cmsContextAction(boolean resetSearch) Action method called when a CMS page is opened.UserBean.createNewUserAccount()Creates and persists a new local User.AnnotationBean.deleteAnnotationAction(CrowdsourcingAnnotation annotation) Deletes given annotation.CrowdsourcingBean.deleteCampaignAction(Campaign campaign) Delete the givenCampaignfrom the database and the loaded list of campaignsvoidCmsCollectionsBean.deleteCollection(CMSCollection collection) deleteCollection.voidCommentBean.deleteComment(Comment annotation) deleteComment.AdminCommentBean.deleteCommentAction(Comment comment) deleteCommentAction.AdminCommentBean.deleteCommentGroupAction(CommentGroup commentGroup) deleteCommentGroupAction.voidUserGroupBean.deleteCurrentUserGroupAction()Deletes currentUserGroup.intAdminBean.deleteFromCache(List<String> identifiers, boolean fromContentCache, boolean fromThumbnailCache, boolean fromPdfCache) deleteFromCache.voidAdminBean.deleteIpRangeAction(IpRange ipRange) deleteIpRangeAction.AdminLicenseBean.deleteLicenseAction(License license) deleteLicenseAction.AdminLicenseBean.deleteLicenseTypeAction(LicenseType licenseType) deleteLicenseTypeAction.voiddeleteMap.voidCmsMediaBean.deleteMedia(CMSMediaItem item) deleteMedia.booleanCmsRecordNotesBean.deleteNote(CMSRecordNote note) voidCmsPageEditBean.deletePage(CMSPage page) Deletes given CMS page from the database.voidAdminBean.deleteRoleAction(Role role) deleteRoleAction.UserDataBean.deleteSearchAction(Search search) Deletes the given persistent user search.voidCmsMediaBean.deleteSelectedItems()Deletes all mediaItems fromCmsMediaBean.getMediaItems()which are are marked as selected.CmsPageEditBean.deleteSelectedPage()Action method for deleting selectedPage from the database.CMSPageTemplateEditBean.deleteSelectedTemplate()booleanCmsSliderBean.deleteSlider(CMSSlider slider) booleanCMSPageTemplateEditBean.deleteTemplate(CMSPageTemplate template) Deletes given CMS page from the database.AdminLicenseBean.deleteTicketAction(AccessTicket ticket) AdminBean.deleteUserAction(User user, boolean deleteContributions) Deletes the given User and optionally their contributions.voidAdminBean.deleteUserGroupAction(UserGroup userGroup) deleteUserGroupAction.voidAdminBean.deleteUserRoleAction(UserRole userRole) Adds currentUserRole to the map of UserRoles to be processed, marked as to delete.voidCMSSidebarWidgetsBean.deleteWidget(Long id) deleteWidget.voidAnnotationBean.downloadAllAnnotations()voidActiveDocumentBean.downloadTOCAction()downloadTOCAction.voidCommentBean.editComment(Comment original, String text, boolean restricted) editComment.voidSearchBean.executeSearch()executeSearch.voidSearchBean.executeSearch(String filterQuery) executeSearch.AdminLicenseBean.extendTicketAction(AccessTicket ticket) ActiveDocumentBean.generateGeoMap(String pi) generateGeoMap.CrowdsourcingBean.getActiveCampaignsForRecord(String pi) Returns a list of active campaigns for the given identifier that are visible to the current user.SearchBean.getAdvancedSearchSelectItems(String field, String language, boolean hierarchical) Populates the list of advanced search drop-down values for the given field.AdminClientsBean.getAllAcceptedClients()Get a list of all clients withClientApplication.AccessStatus.GRANTEDCrowdsourcingBean.getAllCampaigns()getAllCampaigns.CrowdsourcingBean.getAllCampaigns(Campaign.CampaignVisibility visibility) getAllCampaigns.CmsBean.getAllCategories()getAllCategories.CmsCategoriesBean.getAllCategories()Returns a newly created list of all saved categoriesAdminClientsBean.getAllClients()Get the internally created client representing all clients for access rights purposesCmsBean.getAllCMSPages()getAllCMSPages.SearchBean.getAllCollections(String language) Returns drop-down items for all collection names.AdminCommentBean.getAllCommentGroups()getAllCommentGroups.AdminClientsBean.getAllConfiguredClients()Get a list of all clients withClientApplication.AccessStatus.GRANTEDprClientApplication.AccessStatus.DENIEDAdminLicenseBean.getAllCoreLicenseTypes()getAllCoreLicenseTypes.AdminBean.getAllIpRanges()getAllIpRanges.AdminLicenseBean.getAllLicenses()AdminLicenseBean.getAllLicenseTypes()Returns all existing license types.GeoMapBean.getAllMaps()Get a list of allGeoMaps from the databse.CmsMediaBean.getAllMedia()getAllMedia.CmsMediaBean.getAllMediaCategories()getAllMediaCategories.CrowdsourcingBean.getAllowedCampaigns(User user) Returns the list of campaigns that are visible to the given user.CmsBean.getAllowedCategories(User user) Returns a filtered category list for the given user, unless the user is a superuser.CmsBean.getAllowedTemplates(User user) Returns a filtered page template list for the given user, unless the user is a superuser.AdminLicenseBean.getAllRecordLicenseTypes()getAllRecordLicenseTypes.AdminBean.getAllRoles()Returns a list of all existing roles.UserGroupBean.getAllRoles()Returns a list of all existing roles (minus superuser).CmsSliderBean.getAllSliders()AdminBean.getAllUserGroups()Returns all user groups in the DB.AdminBean.getAllUsers()Returns all users in the DB.UserBean.getAllUsers()Returns a list of all existing users (minus the superusers and the current user).AdminBean.getAllUsersExcept(Set<User> usersToExclude) getAllUsersExcept.CMSSidebarWidgetsBean.getAllWidgets()getAllWidgets.CMSSidebarWidgetsBean.getAllWidgets(boolean queryAdditionalInformation) getAllWidgets.longUserDataBean.getAnnotationCount()getAnnotationCount.UserDataBean.getAnnotations()getAnnotations.CmsBean.getAvailableCmsPages(CMSStaticPage page) getAvailableCmsPages.CmsBean.getAvailableParentPages(CMSPage page) getAvailableParentPages.BookmarkBean.getBookmarkLists()Returns a list of all existing bookmark lists owned by current userBookmarkBean.getBookmarkListsForUser(User user) getBookmarkListsForUser.UserDataBean.getBookmarkListsForUser(User user, int numEntries) getBookmarkListsForUser.static List<BookmarkList> BookmarkBean.getBookmarkListsSharedWithUser(User user) getBookmarkListsSharedWithUser.longCrowdsourcingBean.getCampaignCount(Campaign.CampaignVisibility visibility) getCampaignCount.CmsBean.getCMSPage(Long pageId) getCMSPage.AdminLicenseBean.getCMSPagesUsingLicenseType(LicenseType licenseType) CmsBean.getCMSPagesWithSearch()getCMSPagesWithSearch.longUserDataBean.getCommentCount()Getter for the fieldcommentCount.AdminCommentBean.getCommentGroupsForUser(User user) getCommentGroupsForUser.BookmarkBean.getCurrentBookmarkListNames()getCurrentBookmarkListNames.HighlightsBean.getCurrentHighlight()Get the currently displayed highlight.AdminThemesBean.getCurrentTheme()ContentBean.getCurrentUGCCoords(PhysicalElement page) getCurrentUGCCoords.CmsSliderBean.getEmbeddingCmsPages(CMSSlider slider) GeoMapBean.getEmbeddingCmsPages(GeoMap map) getEmbeddingCmsPages.AdminThemesBean.getFooterUrl(ThemeLink.InternalService service) AdminThemesBean.getFooterUrl(ThemeLink.InternalService service, String defaultUrl) AdminThemesBean.getFullscreenLogo(String defaultUrl) AdminThemesBean.getFullscreenLogo(String defaultUrl, int width, int height) ActiveDocumentBean.getGeoMap()Get a CMSSidebarElement with a map containing all GeoMarkers for the current PI.List<jakarta.faces.model.SelectItem> AdminLicenseBean.getGroupedLicenseTypeSelectItems()UserBean.getHasAdminBackendAccess()Checks whether the logged in user has access to the admin backend via being an admin or having CMS/campaign/comments access.HighlightsBean.getHighlightsBefore(LocalDate date) Get allHighlights which are not valid for the given date but were before.AdminThemesBean.getJavascript(String themeName) ActiveDocumentBean.getLabelForJS()Title bar label value escaped for JavaScript.AdminDeveloperBean.getLastAutopull()CmsBean.getLastEditedTimestamp(long pageId) getLastEditedTimestamp.AdminDeveloperBean.getLastVersionInfo()UserDataBean.getLatestActivity(User user, int numEntries) getLatestActivity.UserDataBean.getLatestComments(User user, int numEntries) getLatestComments.AdminLicenseBean.getLicenses(LicenseType licenseType) CmsMediaBean.getMediaItems()getMediaItems.ActiveDocumentBean.getNextDocstructUrl()getNextDocstructUrl.SearchBean.getNextElement()Returns the next BrowseElement in the hit list relative to the given index.ActiveDocumentBean.getNextHit()Getter for the fieldnextHit.AdminLicenseBean.getNotConfiguredAccessConditions()AdminClientsBean.getNotConfiguredClients()Get a list of all clients withClientApplication.AccessStatus.REQUESTEDCmsRecordNotesBean.getNotesForRecord(String pi) longUserDataBean.getNumAnnotations(User user) getNumAnnotations.longUserDataBean.getNumBookmarkLists(User user) getNumBookmarkLists.longUserDataBean.getNumComments(User user) getNumComments.longAdminLicenseBean.getNumRecordsWithAccessCondition(String accessCondition) Record count for non-configured access conditions.UserDataBean.getNumRecordsWithComments(User user) getNumRecordsWithComments.longUserDataBean.getNumSearches(User user) getNumSearches.AdminLicenseBean.getOtherLicenseTypes()Returns all existing non-core license types minuscurrentLicenseType.getPage.AdminLicenseBean.getPossibleAccessConditions()Queries Solr for a list of all values of the set ACCESSCONDITIONActiveDocumentBean.getPrevHit()Getter for the fieldprevHit.ActiveDocumentBean.getPreviousDocstructUrl()getPreviousDocstructUrl.SearchBean.getPreviousElement()Returns the previous BrowseElement in the hit list relative to the given index.BookmarkBean.getPublicBookmarkLists()Returns a list of all existing bookmark list that are marked public.CmsBean.getQueryResults()getQueryResults.longAdminLicenseBean.getRecordCountForLicenseType(LicenseType licenseType) Record count for configured access conditions.ActiveDocumentBean.getRecordGeoMap()getRecordGeoMap.ActiveDocumentBean.getRelatedItems(String identifierField) getRelatedItems.CmsBean.getRelatedPages(String pi) getRelatedPages.CmsBean.getRelatedPages(String pi, CMSCategory category) getRelatedPages.ActiveDocumentBean.getRelativeUrlTags()Returns a string that contains previous and/or next url elementsBookmarkBean.getRemainingUserGroupNames()Returns the names all existing user groups (minus the ones currentBookmarkList is already shared with).List<jakarta.faces.model.SelectItem> UserGroupBean.getRemainingUsers()Returns the names all users that are not already members of the currently selected user group.UserDataBean.getSearches(User user, Integer numEntries) Returns saved searches for the logged in user.ActiveDocumentBean.getSelectedDownloadOptionOrDefault()CmsSliderBean.getSlider(long id) CmsSliderBean.getSliders()CmsSliderBean.getSliders(String filter) AdminThemesBean.getSocialMediaUrl(ThemeLink.SocialMediaService service) AdminThemesBean.getSocialMediaUrl(ThemeLink.SocialMediaService service, String defaultUrl) CmsBean.getStaticPage(String pageName) getStaticPage.CmsBean.getStaticPages()Getter for the fieldstaticPages.AdminThemesBean.getStylesheet(String themeName) TextBean.getTeiText(StructElement topDocument, String language) Loads and returns the TEI text for the given record and language if full-text access is granted to the client.CmsBean.getTemplates()getTemplates.CmsBean.getTemplates(boolean enabled) AdminThemesBean.getThemeLabel()AdminThemesBean.getThemeLabel(String defaultLabel) AdminLicenseBean.getTicketRequests()ActiveDocumentBean.getTitleBarLabel()getTitleBarLabel.ActiveDocumentBean.getTitleBarLabel(String language) getTitleBarLabel.ActiveDocumentBean.getTitleBarLabel(Locale locale) getTitleBarLabel.ActiveDocumentBean.getToc()Getter for the fieldtoc.StatisticsBean.getUsageStatisticsForRecord(String pi) getUsageStatisticsForRecord.ContentBean.getUserGeneratedContentsForDisplay(String pi) Getter for the fielduserGeneratedContentsForDisplay.ContentBean.getUserGeneratedContentsOfPageForDisplay(PhysicalElement page) CmsBean.getValidCMSPages()getValidCMSPages.booleanAdminThemesBean.hasFooterUrl(ThemeLink.InternalService service) booleanContentBean.hasGeoCoordinateAnnotations(String persistentIdentifier) booleanAdminThemesBean.hasSocialMediaUrl(ThemeLink.SocialMediaService service) voidSearchBean.hitsPerPageListener()Deprecated.CmsCollectionsBean.importDescriptionsAction(String solrField) voidUserDataBean.init()Initialize all campaigns as lazily loaded liststatic booleanCheck if the given user is allowed access to the given campaign from a rights management standpoint alone.booleanActiveDocumentBean.isAllowUserComments()Indicates whether user comments are allowed for the current record based on several criteria.booleanAdminDeveloperBean.isAutopullActive()booleanAdminDeveloperBean.isAutopullError()booleanAdminThemesBean.isCurrentThemeConfigured()booleanGeoMapBean.isHasMaps()isHasMaps.booleanCmsBean.isHasRelatedPages(String pi) isHasRelatedPages.booleanisInUse.booleanAdminLicenseBean.isLicenseTypeInUse(LicenseType licenseType) booleanCmsBean.isLinkedFromNavBar(CMSPage page) isLinkedFromNavBar.booleanCmsBean.isLinkedToStaticPage(CMSPage page) booleanCmsBean.isMappedToStaticPage(CMSPage page) booleanCommentBean.isMayDeleteCommentsForRecord(String pi) Checks whether the current user may delete comments for the given record identifier, based on their admin status or membership in any user group that has such permission via comment groups.booleanCommentBean.isMayEditCommentsForRecord(String pi) Checks whether the current user may edit comments for the given record identifier, based on their admin status or membership in any user group that has such permission via comment groups.booleanCommentBean.isUserCommentsEnabled()isUserCommentsEnabled.booleanCrowdsourcingBean.isUserOwnsAnyCampaigns(User user) Deprecated.booleanCmsCategoriesBean.isValid()Check ifCmsCategoriesBean.getCategoryName()is empty or equal (ignoring case) to the name of any existing category.voidUserGroupBean.leaveCurrentUserGroupAction()Revokes the current user's membership in currentOtherUserGroup.MetadataBean.loadMetadata(int index, Locale locale) loadMetadata.protected StatisticsSummaryStatisticsBean.loadSummary(String pi) voidContentBean.loadUserGeneratedContentsForDisplay(String pi, jakarta.servlet.http.HttpServletRequest request) loadUserGeneratedContentsForDisplay.voidAdminBean.maintenanceModeToggleChangedListener(jakarta.faces.event.AjaxBehaviorEvent event) Ajax event listener for saving the maintenance mode after the enabled/disabled status has been toggled.booleanCalled with a string in form of a modified json object.booleanDisplayConditions.matchRecord(String json) Called with a string in form of a modified json object.booleanmayEdit.booleanCmsPageEditBean.mayRemoveCategoryFromPage(CMSCategory cat) mayRemoveCategoryFromPage.ActiveDocumentBean.open()Pretty-URL entry point.DownloadBean.openDownloadAction()openDownloadAction.ActiveDocumentBean.openFulltext()openFulltext.BrowseBean.openWorkInTargetCollection()openWorkInTargetCollection.ArchiveBean.reIndexArchiveAction()Exports the currently loaded archive for re-indexing.ActiveDocumentBean.reIndexRecordAction()Exports the currently loaded for re-indexing.voidUserBean.rejectTermsOfUse()rejectTermsOfUse.AdminLicenseBean.rejectTicketAction(AccessTicket ticket) reload.voidUserGroupBean.removeCurrentMemberAction()Removes currentMember from the member list of currentUserGroup.AdminLicenseBean.renewTicketAction(AccessTicket ticket) AccessTicketBean.requestNewDownloadTicketAction()AccessTicketBean.requestNewRecordAccessTicketAction()CmsCollectionsBean.resetCurrentCollection()resetCurrentCollection.voidGeoMapBean.resetCurrentMap()If the current map has an id, restore the map from the database, removing all unsaved changes.UserBean.resetPasswordAction()Generates a new user password if the key is correct.voidTermsOfUseEditBean.resetUserAcceptance()voidCookieBannerBean.resetUserConsent()Set theCookieBanner.getRequiresConsentAfter()to the current time.voidDisclaimerEditBean.resetUserConsent()Set theDisclaimer.getRequiresConsentAfter()to the current time.voidAdminCommentBean.saveCommentAction(Comment comment) saveCommentAction.AdminCommentBean.saveCommentGroupAction(CommentGroup commentGroup) saveCommentGroupAction.AdminCommentBean.saveCurentCommentGroupAction()saveCurentCommentGroupAction.CmsCollectionsBean.saveCurrentCollection()saveCurrentCollection.AdminLicenseBean.saveCurrentLicenseAction()Adds the current License to the licensee (User, UserGroup or IpRange).AdminLicenseBean.saveCurrentLicenseTypeAction()saveLicenseTypeAction.voidGeoMapBean.saveCurrentMap()Save the current map.voidUserGroupBean.saveCurrentOwnUserGroupAction(jakarta.faces.event.ActionEvent actionEvent) Creates or updates (if already exists) currentOwnUserGroup.AdminBean.saveCurrentUserAction()Deprecated.Seems to be unusedAdminBean.saveIpRangeAction()saveIpRangeAction.AdminBean.saveMaintenanceModeAction()saveMaintenanceModeAction.voidCmsMediaBean.saveMedia(CMSMediaItem media) saveMedia.voidCmsMediaBean.saveMedia(CMSMediaItem media, List<Selectable<CMSCategory>> categories) Save media item, adding or removing the given categories, depending wether they are selected or not. ifUser.hasPrivilegeForAllSubthemeDiscriminatorValues()is false for the current user and none of the given categories is selected, then don't change the media categories since doing so would break category restrictionsvoidUserGroupBean.saveMembershipAction()Deprecated.voidCmsNavigationBean.saveMenuItems()saveMenuItems.voidHighlightsBean.saveObject(Highlight object) Persist the givenHighlightto the databasevoidCmsPageEditBean.savePageAndForwardToEdit()savePageAndForwardToEdit.voidAdminBean.saveRoleAction()saveRoleAction.SearchBean.saveSearchAction()saveSearchAction.CrowdsourcingBean.saveSelectedCampaignAction()Adds the current page to the database, if it doesn't exist or updates it otherwisevoidCmsMediaBean.saveSelectedItems()Saves all mediaItems fromCmsMediaBean.getMediaItems()which are are marked as selected.voidCmsMediaBean.saveSelectedMediaItem()saveSelectedMediaItem.voidCmsPageEditBean.saveSelectedPage()Adds the current page to the database, if it doesn't exist or updates it otherwisevoidCMSPageTemplateEditBean.saveSelectedTemplate()voidCmsBean.saveStaticPages()Save static page status for all cms pagesvoidCMSPageTemplateEditBean.saveTemplateAndForwardToEdit()CmsBean.saveTemplatesAction()Persists the enabled/disabled status of all CMS tempaltes in the DB.AdminThemeEditBean.saveTheme()booleanSaves the given use.AdminBean.saveUserAction(User user, boolean forceCheckCurrentPassword, String returnPage) saveUserAction.AdminBean.saveUserGroupAction()Persists changes incurrentUserGroup.SearchBean.search()Dummy method for component cross-compatibility with CMS searches.Executes the search using already set parameters.SitelinkBean.searchAction()searchAction.CalendarBean.searchCalendar()This method generates the search string for the calendar search tab.CalendarBean.searchCalendar(CalendarItemMonth month, CalendarItemDay day) searchCalendar.CalendarBean.searchForIncompleteData()This method generates the search string for incomplete data.CalendarBean.searchTimeline()This method generates the search string for the time line based search tab.voidBookmarkBean.selectBookmarkListAction(jakarta.faces.event.ValueChangeEvent event) selectBookmarkListAction.UserBean.sendPasswordResetLinkAction()Sends a password reset link to the current e-mail address.voidCookieBannerBean.setBannerActive(boolean active) Activate/deactivate the cookie banner.voidActiveDocumentBean.setChildrenInvisible(TOCElement element) setChildrenInvisible.voidActiveDocumentBean.setChildrenVisible(TOCElement element) setChildrenVisible.voidCmsCollectionsBean.setCollectionName(String collectionName) Loads existing or creates a newCMSCollectionfor the currentsolrfieldand the givencollectionName.voidBookmarkBean.setCurrentBookmarkListId(String bookmarkListId) setCurrentBookmarkListId.voidBookmarkBean.setCurrentBookmarkListKey(String key) voidAdminCommentBean.setCurrentCommentGroupId(Long id) SetscurrentCommentGroupby loading it from the DB via the given ID.voidUserGroupBean.setCurrentId(Long id) Used for the 'add member' selectbox.voidActiveDocumentBean.setCurrentImageOrderPerScript()voidAdminBean.setCurrentIpRangeId(Long id) SetscurrentIpRange/code> by loading it from the DB via the given ID.voidAdminLicenseBean.setCurrentLicenseId(Long id) SetscurrentLicenseby loading it from the DB via the given ID.voidAdminLicenseBean.setCurrentLicenseTypeId(Long id) SetscurrentUserGroupby loading it from the DB via the given ID.voidGeoMapBean.setCurrentMapId(Long mapId) If a GeoMap of the given mapId exists in the database, set the current map to a clone of that map.voidUserGroupBean.setCurrentOwnUserGroup()Setter for the fieldcurrentOwnUserGroup.voidCmsBean.setCurrentPageId(String id) Page ID setter for PrettyFaces.voidAdminThemeEditBean.setCurrentThemeName(String themeName) voidAdminBean.setCurrentUserGroupId(Long id) SetscurrentUserGroup/code> by loading it from the DB via the given ID.voidAdminBean.setCurrentUserId(Long id) Sets the current user by loading them from the DB via the given user ID.voidDisclaimerEditBean.setDisclaimerActive(boolean active) Activate/deactivate the disclaimer.voidvoidCrowdsourcingBean.setSelectedCampaignId(String id) Set theCrowdsourcingBean.selectedCampaignby a String containing the campaign idvoidCmsCategoriesBean.setSelectedCategoryId(Long id) setSelectedCategoryId.voidAdminClientsBean.setSelectedClientId(Long id) Set the client currently being edited by its database id.voidCmsPageEditBean.setSelectedPage(CMSPage currentPage) Setter for the fieldselectedPage.voidCmsPageEditBean.setSelectedPageId(String id) setSelectedPageId.voidCMSPageTemplateEditBean.setSelectedTemplateId(Long id) voidBookmarkBean.setShareKey(String key) setShareKey.voidCmsSliderEditBean.setSliderId(long id) Set the selected slider via idvoidCmsSliderEditBean.setSliderId(String idString) Set the selected slider via id stringvoidCrowdsourcingBean.setTargetCampaignId(String id) setTargetCampaignId.voidActiveDocumentBean.setTocCurrentPage(String tocCurrentPage) Setter for the fieldtocCurrentPage.voidAdminCommentBean.setUserCommentsEnabled(boolean userCommentsEnabled) setUserCommentsEnabled.voidCustomWidgetEditBean.setWidgetId(Long id) AdminBean.toggleSuspendUserAction(User user) toggleSuspendUserAction.voidActiveDocumentBean.update()Loads the record with the IDDOC set incurrentElementIddoc.voidCrowdsourcingBean.updateActiveCampaigns()Searches for all identifiers that are encompassed by the Solr query of each active campaign and initializes and fills a map of active campaigns for each identifier.voidBreadcrumbBean.updateBreadcrumbs(CMSPage cmsPage) Updates breadcrumbs from the given CMS page (and any breadcrumb predecessor pages).voidCmsCollectionsBean.updateCollections()updateCollections.voidAdminBean.updateUserRoles()saveUserRoleAction.voidBookmarkBean.userGroupSelectedAction(jakarta.faces.event.ValueChangeEvent event) userGroupSelectedAction.voidBookmarkBean.validateName(jakarta.faces.context.FacesContext context, jakarta.faces.component.UIComponent toValidate, Object value) validateName.Constructors in io.goobi.viewer.managedbeans that throw DAOException -
Uses of DAOException in io.goobi.viewer.managedbeans.storage
Methods in io.goobi.viewer.managedbeans.storage that throw DAOException -
Uses of DAOException in io.goobi.viewer.model.annotation
Methods in io.goobi.viewer.model.annotation that throw DAOExceptionModifier and TypeMethodDescriptionPersistentAnnotation.getCreator()getCreator.PersistentAnnotation.getGenerator()getGenerator.PersistentAnnotation.getReviewer()getReviewer. -
Uses of DAOException in io.goobi.viewer.model.annotation.comments
Methods in io.goobi.viewer.model.annotation.comments that throw DAOExceptionModifier and TypeMethodDescriptionstatic Set<CommentGroup> CommentManager.getRelevantCommentGroupsForRecord(String pi) static booleanCommentManager.isUserHasAccessToCommentGroups(User user) Checks whether the given user has access to any comment groups, whether via being admin or owner or member of any linked user group. -
Uses of DAOException in io.goobi.viewer.model.annotation.export
Methods in io.goobi.viewer.model.annotation.export that throw DAOExceptionModifier and TypeMethodDescriptionvoidExcelRenderer.createDataRow(CrowdsourcingAnnotation annotation, org.apache.poi.xssf.usermodel.XSSFSheet sheet, int rowCounter) -
Uses of DAOException in io.goobi.viewer.model.annotation.serialization
Constructors in io.goobi.viewer.model.annotation.serialization that throw DAOExceptionModifierConstructorDescription -
Uses of DAOException in io.goobi.viewer.model.bookmark
Methods in io.goobi.viewer.model.bookmark that throw DAOExceptionModifier and TypeMethodDescriptionvoidSessionStoreBookmarkManager.addSessionBookmarkListToUser(User user, jakarta.servlet.http.HttpServletRequest request) Assigns the current session bookmark list (if any) to the given user and saves the bookmark list to the database The bookmark list gets a newly generated name provided bySessionStoreBookmarkManager.generateNewBookmarkListName(List)static List<BookmarkList> BookmarkTools.getBookmarkListsSharedWithUser(User user) getBookmarkListsSharedWithUser.Bookmark.getRepresentativeImageUrl()Returns the URL to the representative image thumbnail for the record represented by this item.Bookmark.getRepresentativeImageUrl(int width, int height) Returns the URL to the representative image thumbnail for the record represented by this item.booleanisMayEdit. -
Uses of DAOException in io.goobi.viewer.model.citation
Methods in io.goobi.viewer.model.citation that throw DAOException -
Uses of DAOException in io.goobi.viewer.model.cms
Methods in io.goobi.viewer.model.cms that throw DAOExceptionModifier and TypeMethodDescriptionvoidCMSNavigationManager.addCMSPageItems()addCMSPageItems.getPage.PageList.getSearch()Get the matchingSearchInterfacefor the first listed page.PageList.getSearch(int pageIndex) getSearch.PageList.getUrl(int pageIndex) getUrl.booleanCMSCategory.isInUse()final voidCMSNavigationManager.loadItems()loadItems.CMSNavigationManager.loadItemsFromDatabase()loadItemsFromDatabase.final List<CMSNavigationItem> CMSNavigationManager.loadVisibleItems()loadVisibleItems.voidCMSNavigationManager.reload()reload.voidCMSNavigationManager.saveVisibleItems(String theme) Replaces the complete navigation-item database table with the elements of 'visibleItems' -
Uses of DAOException in io.goobi.viewer.model.cms.itemfunctionality
Methods in io.goobi.viewer.model.cms.itemfunctionality that throw DAOExceptionModifier and TypeMethodDescriptionTocFunctionality.getBannerUrl(int width, int height) getBannerUrl.BookmarksFunktionality.getBookmarkLists()TocFunctionality.getToc()Getter for the fieldtoc.voidsearch. -
Uses of DAOException in io.goobi.viewer.model.cms.legacy
Methods in io.goobi.viewer.model.cms.legacy that throw DAOExceptionModifier and TypeMethodDescriptionCMSContentConverter.createGeomapContent(Map<String, Object> legacyItem) CMSContentConverter.createImageListContent(Map<String, Object> legacyItem) CMSContentConverter.createMediaContent(Map<String, Object> legacyItem) CMSContentConverter.createPageListContent(Map<String, Object> legacyItem) CMSContentConverter.createSliderContent(Map<String, Object> legacyItem) -
Uses of DAOException in io.goobi.viewer.model.cms.media
Methods in io.goobi.viewer.model.cms.media that throw DAOExceptionModifier and TypeMethodDescriptionCMSMediaLister.getMediaItems(List<String> tags, Integer maxItems, Integer prioritySlots, boolean random) CMSMediaLister.getMediaItems(List<String> tags, Integer maxItems, Integer prioritySlots, boolean random, jakarta.servlet.http.HttpServletRequest request) -
Uses of DAOException in io.goobi.viewer.model.cms.pages
Methods in io.goobi.viewer.model.cms.pages that throw DAOExceptionModifier and TypeMethodDescriptionCMSPage.getSelectableCategories()Getter for the fieldselectableCategories.CMSPageTemplate.getSelectableCategories()Getter for the fieldselectableCategories. -
Uses of DAOException in io.goobi.viewer.model.cms.pages.content.types
Methods in io.goobi.viewer.model.cms.pages.content.types that throw DAOExceptionModifier and TypeMethodDescriptionCMSImageListContent.getMediaItems()CMSImageListContent.getMediaItems(boolean random) CMSPageListContent.getNestedPages(Boolean random, CMSTemplateManager templateManager) Getter for the fieldnestedPages.CMSPageListContent.getNestedPages(Boolean random, Boolean paged, CMSTemplateManager templateManager) Deprecated.CMSPageListContent.getNestedPagesByCategory(boolean random, boolean paged, CMSCategory category, CMSTemplateManager templateManager) Deprecated.CMSPageListContent.getNestedPagesByCategory(boolean random, CMSCategory category, CMSTemplateManager templateManager) Getter for the fieldnestedPages.CMSImageListContent.getSelectableCategories()CMSPageListContent.getSelectableCategories()CMSPageListContent.getSortedCategories(int pageNo, boolean random, boolean paged, CMSTemplateManager templateManager) getSortedCategories.voidCMSSliderContent.setSliderId(Long id) -
Uses of DAOException in io.goobi.viewer.model.crowdsourcing
Methods in io.goobi.viewer.model.crowdsourcing that throw DAOExceptionModifier and TypeMethodDescriptionstatic booleanCrowdsourcingTools.isUserOwnsAnyCampaigns(User user) -
Uses of DAOException in io.goobi.viewer.model.crowdsourcing.campaigns
Methods in io.goobi.viewer.model.crowdsourcing.campaigns that throw DAOExceptionModifier and TypeMethodDescriptionlongCampaign.getContributorCount()Determines the number of distinct users that have created or reviewed annotations in the context of this campaign.booleanCampaign.isUserAllowedAction(User user, CrowdsourcingStatus status) Checks whether the given user may annotate or review records based on the given status.booleanCampaign.isUserMayEdit(User user) -
Uses of DAOException in io.goobi.viewer.model.export
Methods in io.goobi.viewer.model.export that throw DAOException -
Uses of DAOException in io.goobi.viewer.model.iiif.presentation.v2.builder
Methods in io.goobi.viewer.model.iiif.presentation.v2.builder that throw DAOExceptionModifier and TypeMethodDescriptionvoidaddAnchor.Map<de.intranda.api.iiif.presentation.enums.AnnotationType, List<de.intranda.api.iiif.presentation.v2.AnnotationList>> SequenceBuilder.addBaseSequence(de.intranda.api.iiif.presentation.v2.Manifest2 manifest, StructElement doc, String manifestId, List<Integer> pagesToInclude, jakarta.servlet.http.HttpServletRequest request) Creates a sequence from all pages within the given doc and appends it to manifest.List<de.intranda.api.iiif.presentation.v2.AnnotationList> SequenceBuilder.addComments(Map<Integer, de.intranda.api.iiif.presentation.v2.Canvas2> canvases, String pi, boolean populate) Adds a comment annotation to all cavases which contain comments.de.intranda.api.iiif.presentation.v2.Canvas2SequenceBuilder.generateCanvas(String pi, PhysicalElement page) generateCanvas.de.intranda.api.iiif.presentation.v2.AbstractPresentationModelElement2ManifestBuilder.generateManifest(StructElement ele, List<Integer> pagesToInclude) generateManifest.List<de.intranda.api.iiif.presentation.v2.Range2> StructureBuilder.generateStructure(List<StructElement> elements, String pi, boolean useMembers) Generates the topmost range from the given elements.de.intranda.api.annotation.IAnnotationCollectionOpenAnnotationBuilder.getCrowdsourcingAnnotationCollection(URI uri, String pi, boolean urlsOnly, jakarta.servlet.http.HttpServletRequest request) de.intranda.api.annotation.IAnnotationCollectionOpenAnnotationBuilder.getCrowdsourcingAnnotationCollection(URI uri, String pi, Integer page, boolean urlsOnly, jakarta.servlet.http.HttpServletRequest request) de.intranda.api.annotation.wa.collection.AnnotationPageWebAnnotationBuilder.getCrowdsourcingAnnotationCollection(URI uri, String pi, boolean urlsOnly) de.intranda.api.annotation.wa.collection.AnnotationPageWebAnnotationBuilder.getCrowdsourcingAnnotationCollection(URI uri, String pi, Integer pageNo, boolean urlsOnly) OpenAnnotationBuilder.getCrowdsourcingAnnotations(String pi, boolean urlOnlyTarget, jakarta.servlet.http.HttpServletRequest request) Get all annotations for the given PI from the DAO, sorted by page number.WebAnnotationBuilder.getCrowdsourcingAnnotations(String pi, boolean urlOnlyTarget) Get all annotations for the given PI from the the DAO, sorted by page number.SequenceBuilder.getPage(StructElement doc, int order) getPage.voidManifestBuilder.populate(StructElement ele, de.intranda.api.iiif.presentation.v2.AbstractPresentationModelElement2 manifest, List<PhysicalElement> pages) populate.voidStructureBuilder.populate(StructElement ele, String pi, de.intranda.api.iiif.presentation.v2.Range2 range) Adds Metadata and links to external services to a range. -
Uses of DAOException in io.goobi.viewer.model.iiif.presentation.v3.builder
Methods in io.goobi.viewer.model.iiif.presentation.v3.builder that throw DAOExceptionModifier and TypeMethodDescriptionvoidManifestBuilder.addPage(de.intranda.api.iiif.presentation.v3.Manifest3 manifest, PhysicalElement page) voidManifestBuilder.addPage(de.intranda.api.iiif.presentation.v3.Manifest3 manifest, StructElement ele, int pageNo) de.intranda.api.iiif.presentation.v3.Canvas3CanvasBuilder.build(PhysicalElement page) de.intranda.api.iiif.presentation.v3.Canvas3de.intranda.api.iiif.presentation.v3.IPresentationModelElement3de.intranda.api.iiif.presentation.IPresentationModelElementManifestBuilder.build(String pi, Integer pageNo, jakarta.servlet.http.HttpServletRequest servletRequest) de.intranda.api.annotation.wa.collection.AnnotationPageCanvasBuilder.buildFulltextAnnotations(String pi, int order) -
Uses of DAOException in io.goobi.viewer.model.job.download
Methods in io.goobi.viewer.model.job.download that throw DAOExceptionModifier and TypeMethodDescriptionstatic DownloadJobDownloadJob.checkDownload(String type, String email, String pi, String logId, String downloadIdentifier, long ttl) Deprecated.only used in deprecated methodDownloadResource.getOrCreateDownloadJob(String, String, String, String)static intDownloadJobTools.cleanupExpiredDownloads()Deprecated.Only used in deprecated methodDownloadJob.checkDownload(String, String, String, String, String, long)static intDownloadJobTools.removeJobsForRecord(String pi) Delete all jobs and associated files for the given record identifier. -
Uses of DAOException in io.goobi.viewer.model.job.mq
Methods in io.goobi.viewer.model.job.mq that throw DAOException -
Uses of DAOException in io.goobi.viewer.model.job.quartz
Methods in io.goobi.viewer.model.job.quartz that throw DAOExceptionModifier and TypeMethodDescriptionvoidQuartzListener.addTrigger(Map<String, RecurringTaskTrigger> storedTriggers, List<RecurringTaskTrigger> triggers, ITaskType taskType, TaskTriggerStatus defaultStatus) Constructors in io.goobi.viewer.model.job.quartz that throw DAOException -
Uses of DAOException in io.goobi.viewer.model.maps
Constructors in io.goobi.viewer.model.maps that throw DAOExceptionModifierConstructorDescriptionRecordGeoMap(StructElement struct) Create a new geomap with features from the given StructElement and related documents. -
Uses of DAOException in io.goobi.viewer.model.rss
Methods in io.goobi.viewer.model.rss that throw DAOException -
Uses of DAOException in io.goobi.viewer.model.search
Methods in io.goobi.viewer.model.search that throw DAOExceptionModifier and TypeMethodDescriptionintSearchHit.addCMSPageChildren()Creates child hit elements for each hit matching a CMS page text, if CMS page texts were also searched.intSearchHit.addFulltextChild(org.apache.solr.common.SolrDocument doc, String language) Creates a child hit element for TEI full-texts, with child hits of its own for each truncated fragment containing search terms.voidSearch.execute(SearchFacets facets, Map<String, Set<String>> searchTerms, int hitsPerPage, Locale locale) execute.voidSearch.execute(SearchFacets facets, Map<String, Set<String>> searchTerms, int hitsPerPage, Locale locale, boolean keepSolrDoc, SearchAggregationType aggregationType) execute.static voidSearchHelper.exportSearchAsExcel(org.apache.poi.xssf.streaming.SXSSFWorkbook wb, String finalQuery, String exportQuery, List<StringPair> sortFields, List<String> filterQueries, Map<String, String> params, Map<String, Set<String>> searchTerms, Locale locale, int proximitySearchDistance) exportSearchAsExcel.static BrowseElementSearchHelper.getBrowseElement(String query, int index, List<StringPair> sortFields, List<String> filterQueries, Map<String, String> params, Map<String, Set<String>> searchTerms, Locale locale, int proximitySearchDistance) Returns theBrowseElementconstructed from the search hit atindexfrom the search hit list for the givenquery.SearchQueryItem.getCheckboxSelectables(String language, String... additionalValues) SearchHitsNotifier.getNewHits(Search search) Executes the given search.static StringSearchHelper.getPersonalFilterQuerySuffix(List<LicenseType> licenseTypes, User user, String ipAddress, Optional<ClientApplication> client, String privilege) Constructs a personal search query filter suffix for the given user and IP address.SearchQueryItem.getSelectItems(String language) getSelectItems.voidSearchHit.loadChildHits(int numChildren) voidSearchHit.populateChildren(int number, int skip, Locale locale, jakarta.servlet.http.HttpServletRequest request) populateChildren.SearchHelper.searchWithAggregation(String query, int first, int rows, List<StringPair> sortFields, List<String> resultFields, List<String> filterQueries, Map<String, String> params, Map<String, Set<String>> searchTerms, List<String> exportFields, String additionalMetadataListType, Locale locale, boolean keepSolrDoc, int proximitySearchDistance) Main search method for aggregated search.SearchHelper.searchWithFulltext(String query, int first, int rows, List<StringPair> sortFields, List<String> resultFields, List<String> filterQueries, Map<String, String> params, Map<String, Set<String>> searchTerms, List<String> exportFields, Locale locale, boolean keepSolrDoc, int proximitySearchDistance) Main search method for flat search.SearchHelper.searchWithFulltext(String query, int first, int rows, List<StringPair> sortFields, List<String> resultFields, List<String> filterQueries, Map<String, String> params, Map<String, Set<String>> searchTerms, List<String> exportFields, Locale locale, int proximitySearchDistance) Main search method for flat search.SearchHitsNotifier.sendNewHitsNotifications()voidSearch.toggleNotifications()Toggles the status of newHitsNotification and persists this search.static voidSearchHelper.updateFilterQuerySuffix(jakarta.servlet.http.HttpServletRequest request, String privilege) Updates the calling agent's session with a personalized filter sub-query. -
Uses of DAOException in io.goobi.viewer.model.security
Methods in io.goobi.viewer.model.security that throw DAOExceptionModifier and TypeMethodDescriptionstatic voidLicenseType.addCoreLicenseTypesToDB()addCoreLicenseTypesToDB.static AccessPermissionAccessConditionUtils.checkAccess(jakarta.servlet.http.HttpSession session, String action, String pi, String contentFileName, String ipAddress, boolean isThumbnail) checkAccess.static AccessPermissionAccessConditionUtils.checkAccessPermission(List<LicenseType> allLicenseTypes, Set<String> requiredAccessConditions, String privilegeName, User user, String remoteAddress, Optional<ClientApplication> client, String query) Base method for checking access permissions of various types.static AccessPermissionAccessConditionUtils.checkAccessPermission(Set<String> requiredAccessConditions, String privilegeName, String query, jakarta.servlet.http.HttpServletRequest request) checkAccessPermission.static Map<String, AccessPermission> AccessConditionUtils.checkAccessPermissionByIdentiferForAllLogids(String identifier, String privilegeName, jakarta.servlet.http.HttpServletRequest request) Checks whether the current users has the given access permissions each element of the record with the given identifier.static AccessPermissionAccessConditionUtils.checkAccessPermissionByIdentifierAndFileNameWithSessionMap(jakarta.servlet.http.HttpSession session, String pi, String contentFileName, String privilegeType, String ipAddress) Checks access permission of the given privilege type for the given image and puts the permission status into the corresponding session map.static AccessPermissionAccessConditionUtils.checkAccessPermissionByIdentifierAndFilePathWithSessionMap(jakarta.servlet.http.HttpServletRequest request, String filePath, String privilegeType) checkAccessPermissionByIdentifierAndFilePathWithSessionMap.static AccessPermissionAccessConditionUtils.checkAccessPermissionByIdentifierAndLogId(String identifier, String logId, String privilegeName, jakarta.servlet.http.HttpServletRequest request) Checks whether the current users has the given access permissions to the element with the given identifier and LOGID.static AccessPermissionAccessConditionUtils.checkAccessPermissionByIdentifierAndPageOrder(PhysicalElement page, String privilegeName, jakarta.servlet.http.HttpServletRequest request) Checks whether the client may access an image (by PI + file name).static AccessPermissionAccessConditionUtils.checkAccessPermissionByImageUrn(String imageUrn, String privilegeName, jakarta.servlet.http.HttpServletRequest request) Checks whether the client may access an image (by image URN).static AccessPermissionAccessConditionUtils.checkAccessPermissionBySolrDoc(org.apache.solr.common.SolrDocument doc, String originalQuery, String privilegeName, jakarta.servlet.http.HttpServletRequest request) static AccessPermissionAccessConditionUtils.checkAccessPermissionForCmsPage(jakarta.servlet.http.HttpServletRequest request, CMSPage page) static AccessPermissionAccessConditionUtils.checkAccessPermissionForImage(jakarta.servlet.http.HttpSession session, String pi, String contentFileName, String ipAddress) Checks access permission for the given image and puts the permission status into the corresponding session map.static AccessPermissionAccessConditionUtils.checkAccessPermissionForPagePdf(jakarta.servlet.http.HttpServletRequest request, PhysicalElement page) Checks access permission for the given image and puts the permission status into the corresponding session map.static AccessPermissionAccessConditionUtils.checkAccessPermissionForThumbnail(jakarta.servlet.http.HttpSession session, String pi, String contentFileName, String ipAddress) Checks access permission for the given thumbnail and puts the permission status into the corresponding session map.static AccessPermissionAccessConditionUtils.checkContentFileAccessPermission(String identifier, jakarta.servlet.http.HttpServletRequest request) Checks if the record with the given identifier should allow access to the given requestAccessConditionUtils.getApplyingLicenses(Optional<User> user, String ipAddress, LicenseType type, IDAO dao) List all licenses ("rights") that the given user and ipAddress is entitled to, either because they are directly given to the user, a group the user belongs to or to the given ipAddress, whether or not the given user existsLicenseType.getLicenseTypesOverridingThis()Returns list ofLicenseTypes that contain this object in their overridden LicenseTypes.static intAccessConditionUtils.getPdfDownloadQuotaForRecord(String pi) License.getSelectableCategories()License.getSelectableTemplates()static booleanAccessConditionUtils.isConcurrentViewsLimitEnabledForAnyAccessCondition(List<String> accessConditions) static booleanAccessConditionUtils.isFreeOpenAccess(Set<String> requiredAccessConditions, Collection<LicenseType> allLicenseTypes) Check whether the requiredAccessConditions consist only of theOPENACCESScondition and OPENACCESS is not contained in allLicenseTypes.voidLicense.setClientId(Long clientId) -
Uses of DAOException in io.goobi.viewer.model.security.clients
Methods in io.goobi.viewer.model.security.clients that throw DAOExceptionModifier and TypeMethodDescriptionvoidClientApplicationManager.addGeneralClientApplicationToDB()To be called on server startup.ClientApplication.canSatisfyAllAccessConditions(Set<String> requiredAccessConditions, String privilegeName, String pi) Check if this client has the privilege of the given privilegeName via itsClientApplication.licensesClientApplicationManager.getClientByClientIdentifier(String clientIdentifier) Get the client with the givenClientApplication.getClientIdentifier()from the databasebooleanClientApplication.isAllClients()ClientApplicationManager.persistNewClient(String clientIdentifier, jakarta.servlet.http.HttpServletRequest request) Create a newClientApplicationwith the given identifier and IP of the given request and store it in the databaseConstructors in io.goobi.viewer.model.security.clients that throw DAOException -
Uses of DAOException in io.goobi.viewer.model.security.user
Methods in io.goobi.viewer.model.security.user that throw DAOExceptionModifier and TypeMethodDescriptionbooleanAdds membership relation between the given user and role and persists immediately.static booleanUserTools.anonymizeUserPublicContributions(User user) Moves all public content from the given user to an anonymous user.Authentication check for regular (i.e. non-OpenID) accounts.IpRange.canSatisfyAllAccessConditions(Set<String> requiredAccessConditions, List<LicenseType> relevantLicenseTypes, String privilegeName, String pi) canSatisfyAllAccessConditions.User.canSatisfyAllAccessConditions(Set<String> requiredAccessConditions, String privilegeName, String pi) Checks whether the user can satisfy at least one of the given access conditions with a license that contains the given privilege name.static UserUserTools.checkAndCreateAnonymousUser()static intUserTools.deleteBookmarkListsForUser(User owner) static intUserTools.deleteSearchesForUser(User owner) static booleanUserTools.deleteUser(User user) Deletes given user from the database and removes any database rows that reference this user (only those that are of use to this user - public content such as comments must be deleted separetely).static intUserTools.deleteUserGroupOwnedByUser(User owner) static voidUserTools.deleteUserPublicContributions(User user) Deletes all public content created by this the given user.longUserGroup.getMemberCount()UserGroup.getMembers()getMembers.UserGroup.getMembersAndOwner()UserGroup.getMemberships()getMemberships.User.getUserGroupMemberships()getUserGroupMemberships.User.getUserGroupOwnerships()Returns a list of UserGroups of which this user is the owner.User.getUserGroupsWithMembership()Returns a list of UserGroups of which this user is a member.booleanUserGroup.hasUserPrivilege(String privilegeName) hasUserPrivilege.static booleanUserTools.isEmailInUse(String email, Long userId) booleanUser.isGroupMember(UserGroup group) isGroupMember.booleanUser.isHasCmsPrivilege(String privilege) isHasCmsPrivilege.booleanUserGroup.isHasMembers()booleanUser.isHasPrivilege(String licenseType, String privilege) isHasPrivilege.booleanChecks whether this user has the permission to delete all ocr-content of one page in crowdsourcing.booleanUser.isMaySetRepresentativeImage()Checks whether this user has the permission to set the representative image for the currently open record.static booleanUserTools.isNicknameInUse(String nickname, Long userId) voidUser.raiseScore(int amount) raiseScore.booleanUserGroup.removeMember(User user) remove User from Group -
Uses of DAOException in io.goobi.viewer.model.sitemap
Methods in io.goobi.viewer.model.sitemap that throw DAOException -
Uses of DAOException in io.goobi.viewer.model.statistics.usage
Methods in io.goobi.viewer.model.statistics.usage that throw DAOExceptionConstructors in io.goobi.viewer.model.statistics.usage that throw DAOExceptionModifierConstructorDescriptionconstructor using theStatisticsIndexer.hotfoldergiven byConfiguration.getHotfolder()Constructor using instances fromDataManagerConstructor using instances fromDataManager -
Uses of DAOException in io.goobi.viewer.model.toc
Methods in io.goobi.viewer.model.toc that throw DAOExceptionModifier and TypeMethodDescriptionvoidTOC.generate(StructElement structElement, boolean addAllSiblings, String mimeType, int tocCurrentPage) generate.static Map<String, List<TOCElement>> TocMaker.generateToc(TOC toc, StructElement structElement, boolean addAllSiblings, String mimeType, int tocCurrentPage, int hitsPerPage) Generate the TOC. -
Uses of DAOException in io.goobi.viewer.model.transkribus
Methods in io.goobi.viewer.model.transkribus that throw DAOExceptionModifier and TypeMethodDescriptionstatic TranskribusJobTranskribusUtils.ingestRecord(String restApiUrl, TranskribusSession userSession, String pi, String metsResolverUrlRoot) ingestRecord. -
Uses of DAOException in io.goobi.viewer.model.urlresolution
Methods in io.goobi.viewer.model.urlresolution that throw DAOExceptionModifier and TypeMethodDescriptionstatic Optional<ViewerPath> ViewerPathBuilder.createPath(jakarta.servlet.http.HttpServletRequest httpRequest) Returns the request path of the givenhttpRequestas aViewerPath, including information on associated CMSPage and targeted PageType If the url has a pretty-url context and only consists of the server url, "/index" is appended to the url to redirect to the index pretty-mapping Any occurrences of "index.static Optional<ViewerPath> ViewerPathBuilder.createPath(jakarta.servlet.http.HttpServletRequest request, String baseUrl) createPath.static Optional<ViewerPath> ViewerPathBuilder.createPath(String applicationUrl, String applicationName, String serviceUrl, String queryString) Create a combined path from the given url.ViewerPathBuilder.getCampaign(URI servicePath) getCampaign.ViewerPathBuilder.getCmsPage(URI servicePath) Gets the best matching CMSPage which alternative url ('persistent url') matches the beginning of the given path -
Uses of DAOException in io.goobi.viewer.model.viewer
Methods in io.goobi.viewer.model.viewer that throw DAOExceptionModifier and TypeMethodDescriptionstatic ViewManagerViewManager.createViewManager(String pi, boolean loadPages) Creates an instance of ViewManager loaded with the record with the given identifier.voidPhysicalElement.deleteCommentAction(Comment comment) deleteCommentAction.ViewManager.getAllPages()Returns all pages in their correct order.ViewManager.getAltoUrl()Return the url to a REST service delivering the alto file of the given page as xmlViewManager.getCiteLinkPage()getCiteLinkPage.ViewManager.getCiteLinkWork()getCiteLinkWork.PhysicalElement.getComments()getComments.ViewManager.getContentDownloadLinksForWork()Returns a list of original content file download links (name+url) for the current document.intViewManager.getCurrentHeight()getCurrentHeight.ViewManager.getCurrentImageInfo(PageType pageType) getCurrentImageInfo.ViewManager.getCurrentImageInfoCrowd()getCurrentImageInfoCrowd.ViewManager.getCurrentImageInfoFullscreen()getCurrentImageInfoFullscreen.ViewManager.getCurrentImageLabel()Returns the ORDERLABEL value for the current page.ViewManager.getCurrentImageUrl()getCurrentImageUrl.ViewManager.getCurrentImageUrl(int size) getCurrentImageUrl.ViewManager.getCurrentImageUrl(PageType view) getCurrentImageUrl.ViewManager.getCurrentMasterImageUrl()Deprecated.ViewManager.getCurrentObjectUrl()getCurrentObjectUrl.intViewManager.getCurrentPageSourceIndex()getCurrentPageSourceIndex.ViewManager.getCurrentSearchResultCoords()getCurrentSearchResultCoords.intViewManager.getCurrentWidth()getCurrentWidth.ViewManager.getDownloadOptionsForPage(PhysicalElement page) ViewManager.getFirstPage()getFirstPage.ViewManager.getFulltext()Deprecated.UsePhysicalElement.getFullText()ViewManager.getFulltext(boolean escapeHtml, String language) Deprecated.UsePhysicalElement.getFullText()ViewManager.getFulltextUrl()Return the url to a REST service delivering the fulltext as plain text of the given pageViewManager.getImageInfos(PageType pageType) ViewManager.getImageInfosAsJson(PageType pageType) ViewManager.getImagesSection()Returns the PhysicalElements for the current thumbnail page using the configured number of thumbnails per page;protected List<PhysicalElement> ViewManager.getImagesSection(int thumbnailsPerPage) Returns the PhysicalElements for the current thumbnail page.ViewManager.getMasterImageUrl(de.unigoettingen.sub.commons.contentlib.imagelib.transform.Scale scale, PhysicalElement page) getCurrentMasterImageUrl.ViewManager.getMasterImageUrlForDownload(String boxSizeInPixel) Deprecated.ViewManager.getPageDownloadUrl(DownloadOption option, PhysicalElement page) getPageDownloadUrl.ViewManager.getPdfPageDownloadLink()Returns the pdf download link for the current pageViewManager.getPdfPartDownloadLink()Returns the pdf download link for a pdf of all pages from this.firstPdfPage to this.lastPdfPage (inclusively)ViewManager.getPdfStructDownloadLink()Returns the pdf download link for the current struct elementintViewManager.getRepresentativeHeight()getRepresentativeHeight.ViewManager.getRepresentativeImageInfo()getRepresentativeImageInfo.ViewManager.getRepresentativeImageUrl()getRepresentativeImageUrl.ViewManager.getRepresentativeImageUrl(int width, int height) ViewManager.getRepresentativePage()Getter for the fieldrepresentativePage.intViewManager.getRepresentativeWidth()getRepresentativeWidth.ViewManager.getTeiUrl()Return the url to a REST service delivering the fulltext of the current page as TEIViewManager.getThumbnailUrlForDownload(de.unigoettingen.sub.commons.contentlib.imagelib.transform.Scale scale, PhysicalElement page) getCurrentThumbnailUrlForDownload.ViewManager.getWatermarkUrl()getWatermarkUrl.ViewManager.getWatermarkUrl(String pageType) getWatermarkUrl.booleanViewManager.isAccessPermission(String privilege) booleanPhysicalElement.isAccessPermission3DObject()Checks if the media type is displayable as a 3d object and access is granted for viewing it.booleanPhysicalElement.isAccessPermissionBornDigital()isAccessPermissionBornDigital.booleanStructElement.isAccessPermissionDownloadMetadata()booleanViewManager.isAccessPermissionExternalResources()booleanPhysicalElement.isAccessPermissionFulltext()booleanStructElement.isAccessPermissionGenerateIiifManifest()booleanPhysicalElement.isAccessPermissionImage()Checks if the media type is displayable as an image and access is granted for viewing an image.booleanPhysicalElement.isAccessPermissionImageDownload()booleanPhysicalElement.isAccessPermissionImageZoom()checks if the user has the privilegeIPrivilegeHolder.PRIV_ZOOM_IMAGESIf the check fails andConfiguration.getUnzoomedImageAccessMaxWidth()is greater than 0, false is returned.booleanPhysicalElement.isAccessPermissionObject()Remnant from when image access had to be checked for each tile.booleanViewManager.isAltoAvailableForWork()isAltoAvailableForWork.booleanViewManager.isBornDigital()Deprecated.replcbooleanPhysicalElement.isBornDigitalDownloadTicketRequired()booleanViewManager.isDisplayCiteLinkPage()isDisplayCiteLinkPage.booleanPhysicalElement.isDisplayFulltext()isFulltextAvailableForPage.booleanViewManager.isDisplayFulltextViewLink()booleanPhysicalElement.isDisplayImage()booleanViewManager.isDisplayObjectViewLink()booleanViewManager.isDisplayThumbnailViewLink()booleanViewManager.isDisplayTocViewLink()booleanPhysicalResource.isDownloadTicketRequired()booleanViewManager.isFilesOnly()isFilesOnly.booleanViewManager.isFulltextAvailableForWork()isFulltextAvailableForWork.booleanViewManager.isListAllVolumesInTOC()Defines the criteria whether to list all remaining volumes in the TOC if the current record is a volume.booleanViewManager.isMetadataViewOnly()Convenience method that checks whether only the metadata view link is displayed for this record (i.e. criteria for all other links are not met).booleanViewManager.isRecordAddedToTranskribus(TranskribusSession session) isRecordAddedToTranskribus.booleanViewManager.isRecordHasImages()booleanPhysicalElement.isTeiAvailable()isTeiAvailableForPage.booleanViewManager.isTeiAvailableForWork()isTeiAvailableForWork.PhysicalElement.loadAlto()Loads ALTO data for this page via the REST service, if not yet loaded.booleanViewManager.useTiles()useTiles.booleanViewManager.useTilesFullscreen()useTilesFullscreen. -
Uses of DAOException in io.goobi.viewer.model.viewer.collections
Methods in io.goobi.viewer.model.viewer.collections that throw DAOExceptionModifier and TypeMethodDescriptionstatic voidCollectionView.associateWithCMSCollections(List<HierarchicalBrowseDcElement> collections, String solrField) -
Uses of DAOException in io.goobi.viewer.model.viewer.pageloader
Methods in io.goobi.viewer.model.viewer.pageloader that throw DAOExceptionModifier and TypeMethodDescriptionstatic AbstractPageLoaderAbstractPageLoader.create(StructElement topStructElement) Creates and returns the appropriate loader instance for the givenStructElement.static AbstractPageLoaderAbstractPageLoader.create(StructElement topStructElement, boolean loadPages) Creates and returns the appropriate loader instance for the givenStructElement.static AbstractPageLoaderAbstractPageLoader.create(StructElement topStructElement, List<Integer> pageNosToLoad) IPageLoader.getPageForFileName(String fileName) getPageForFileName.LeanPageLoader.getPageForFileName(String fileName) getPageForFileName. -
Uses of DAOException in io.goobi.viewer.model.viewer.record.views
Methods in io.goobi.viewer.model.viewer.record.views that throw DAOExceptionModifier and TypeMethodDescriptionbooleanVisibilityCondition.checkAccess(PhysicalElement page, jakarta.servlet.http.HttpServletRequest request, RecordPropertyCache properties) booleanVisibilityCondition.checkAccess(ViewManager viewManager, jakarta.servlet.http.HttpServletRequest request, RecordPropertyCache properties) static Collection<FileType> FileType.containedFiletypes(PhysicalElement page, boolean localFilesOnly) RecordPropertyCache.getFileTypesForPage(PhysicalElement page, boolean localFilesOnly) RecordPropertyCache.getPermissionForPage(PhysicalElement page, String privilege, jakarta.servlet.http.HttpServletRequest request) RecordPropertyCache.getPermissionForRecord(ViewManager viewManager, String privilege, jakarta.servlet.http.HttpServletRequest request) protected TOCVisibilityCondition.getToc(ViewManager viewManager) booleanVisibilityCondition.matchesPage(PageType pageType, PhysicalElement page, jakarta.servlet.http.HttpServletRequest request, RecordPropertyCache properties) booleanVisibilityCondition.matchesRecord(PageType pageType, ViewManager viewManager, jakarta.servlet.http.HttpServletRequest request, RecordPropertyCache properties) -
Uses of DAOException in io.goobi.viewer.solr
Methods in io.goobi.viewer.solr that throw DAOExceptionModifier and TypeMethodDescriptionSolrSearchIndex.getPage(StructElement struct, int order) getPage.getPage. -
Uses of DAOException in io.goobi.viewer.websockets
Methods in io.goobi.viewer.websockets that throw DAOException