Uses of Class
io.goobi.viewer.exceptions.PresentationException
Package
Description
-
Uses of PresentationException in io.goobi.viewer.api.rest.filters
Modifier and TypeMethodDescriptionstatic void
ImageParameterFilter.addRepositoryPathIfRequired
(javax.ws.rs.container.ContainerRequestContext request, String pi) addRepositoryPathIfRequired.ImageInformationFilter.getStructElement
(String pi) getStructElement. -
Uses of PresentationException in io.goobi.viewer.api.rest.resourcebuilders
Modifier and TypeMethodDescriptionjavax.ws.rs.core.StreamingOutput
TextResourceBuilder.getAltoAsZip
(String pi) TextResourceBuilder.getAltoDocument
(String pi) TextResourceBuilder.getAltoDocument
(String pi, String fileName) de.intranda.api.iiif.presentation.v2.Sequence
IIIFPresentation2ResourceBuilder.getBaseSequence
(String pi, BuildMode buildMode, String preferedViewName) abstract String
AbstractBookmarkResourceBuilder.getBookmarkListForMirador
(Long id, AbstractApiUrlManager urls) SessionBookmarkResourceBuilder.getBookmarkListForMirador
(Long id, AbstractApiUrlManager urls) Returns the session stored bookmark list, creating a new empty one if needed.UserBookmarkResourceBuilder.getBookmarkListForMirador
(Long id, AbstractApiUrlManager urls) Returns the user bookmark list with the given ID.de.intranda.api.iiif.presentation.IPresentationModelElement
TextResourceBuilder.getCmdiDocument
(String pi, String langCode) TextResourceBuilder.getCMDIFile
(String pi, String langCode) getCMDIFile.de.intranda.api.iiif.presentation.v2.Collection2
IIIFPresentation2ResourceBuilder.getCollection
(String collectionField, String topElement, List<String> ignore) Returns a iiif collection of the given topCollection for the give collection field.de.intranda.api.iiif.presentation.v2.Collection2
IIIFPresentation2ResourceBuilder.getCollections
(String collectionField, List<String> ignore) Returns a iiif collection of all collections from the given solr-field.de.intranda.api.iiif.presentation.v2.Collection2
IIIFPresentation2ResourceBuilder.getCollectionsWithGrouping
(String collectionField, List<String> ignore, String groupingField) Returns a iiif collection of all collections from the given solr-field.de.intranda.api.iiif.presentation.v2.Collection2
IIIFPresentation2ResourceBuilder.getCollectionWithGrouping
(String collectionField, String topElement, String facetField, List<String> ignore) Returns a iiif collection of the given topCollection for the give collection field The response includes the metadata and subcollections of the direct child collections.TextResourceBuilder.getContentAsText
(String contentFolder, String pi, String fileName) TextResourceBuilder.getFulltext
(String pi) TextResourceBuilder.getFulltext
(String pi, String fileName) getFulltext.TextResourceBuilder.getFulltextAsTEI
(String pi, String filename) javax.ws.rs.core.StreamingOutput
TextResourceBuilder.getFulltextAsZip
(String pi) TextResourceBuilder.getFulltextMap
(String pi) Collects full-text file paths and content in a map.de.intranda.api.iiif.presentation.v2.Layer
de.intranda.api.iiif.presentation.IPresentationModelElement
IIIFPresentation2ResourceBuilder.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) NERBuilder.getNERTags
(String pi, String type, Integer start, Integer end, int rangeSize, javax.servlet.http.HttpServletRequest request) de.intranda.api.iiif.presentation.v2.Range2
AbstractBookmarkResourceBuilder.getSharedBookmarkListForMirador
(String key, AbstractApiUrlManager urls) javax.ws.rs.core.StreamingOutput
TextResourceBuilder.getTeiAsZip
(String pi, String langCode) TextResourceBuilder.getTeiDocument
(String pi, String langCode) de.intranda.api.annotation.wa.collection.AnnotationCollection
AnnotationsResourceBuilder.getWebAnnotationCollection()
-
Uses of PresentationException in io.goobi.viewer.api.rest.v1.annotations
Modifier and TypeMethodDescriptionde.intranda.api.annotation.wa.collection.AnnotationCollection
AnnotationResource.getAnnotationCollection()
-
Uses of PresentationException in io.goobi.viewer.api.rest.v1.authorities
Modifier and TypeMethodDescriptionAuthorityResource.getIdentity
(String inUrl, String template, String lang) -
Uses of PresentationException in io.goobi.viewer.api.rest.v1.bookmarks
Modifier and TypeMethodDescriptionBookmarkResource.getBookmarkListForMirador
(Long id) BookmarkResource.getSharedBookmarkListForMirador
(String key) -
Uses of PresentationException in io.goobi.viewer.api.rest.v1.cms
Modifier and TypeMethodDescriptionCMSMediaResource.getAllFiles()
List all uploaded media files.CMSSliderResource.getSlides()
CMSMediaResource.serveAudioContent
(String filename) CMSMediaResource.serveVideoContent
(String filename) -
Uses of PresentationException in io.goobi.viewer.api.rest.v1.collections
Modifier and TypeMethodDescriptionde.intranda.api.iiif.presentation.v2.Collection2
CollectionsResource.getAllCollections
(String grouping, String ignoreString) de.intranda.api.iiif.presentation.v2.Collection2
CollectionsResource.getCollection
(String inCollectionName, String grouping, String ignoreString) -
Uses of PresentationException in io.goobi.viewer.api.rest.v1.index
Modifier and TypeMethodDescriptionIndexResource.getGeoJsonResuls
(String solrField, String wktRegion, String filterQuery, String facetQuery, String labelField) IndexResource.getStatistics
(String query) -
Uses of PresentationException in io.goobi.viewer.api.rest.v1.media
Modifier and TypeMethodDescriptionMediaResource.serveAudioContent
(String format, String filename) serveMediaContent.MediaResource.serveVideoContent
(String format, String filename) serveMediaContent. -
Uses of PresentationException in io.goobi.viewer.api.rest.v1.records
Modifier and TypeMethodDescriptionde.intranda.api.iiif.search.AutoSuggestResult
RecordResource.autoCompleteInManifest
(String pi, String query, String motivation, String date, String user, Integer page) autoCompleteInManifest.de.intranda.api.iiif.discovery.OrderedCollection<de.intranda.api.iiif.discovery.Activity>
ChangeDiscoveryResource.getAllChanges
(String startDate, String filterQuery) Provides a view of the entire list of all activities by linking to the first and last page of the collection.RecordResource.getAlto()
javax.ws.rs.core.StreamingOutput
RecordResource.getAltoAsZip()
de.intranda.api.iiif.presentation.IPresentationModelElement
RecordResource.getCmdiLanguage
(String language) javax.ws.rs.core.Response
RecordFileResource.getDownloadedResource
(String taskId, String path) de.intranda.api.iiif.presentation.IPresentationModelElement
de.intranda.api.iiif.presentation.IPresentationModelElement
RecordPageResource.getManifest
(Integer pageNo, String mode) de.intranda.api.iiif.presentation.IPresentationModelElement
RecordResource.getManifest
(String mode) javax.ws.rs.core.Response
RecordFileResource.getMediaFile
(String filename) RecordPageResource.getNERTags
(Integer pageNo, String type) RecordResource.getNERTags
(Integer start, Integer end, Integer stepSize, String type) de.intranda.api.iiif.discovery.OrderedCollectionPage<de.intranda.api.iiif.discovery.Activity>
Provides a partial list ofActivities
along with links to the preceding and succeeding page as well as the parent collection as provided by/iiif/discovery/activities/
.RecordFileResource.getPlaintext
(String filename) RecordResource.getPlaintext()
javax.ws.rs.core.StreamingOutput
RecordResource.getPlaintextAsZip()
de.intranda.api.iiif.presentation.IPresentationModelElement
RecordSectionResource.getRange()
RecordResource.getRISAsFile()
RecordSectionResource.getRISAsFile()
RecordResource.getRISAsText()
getRISAsText.RecordSectionResource.getRISAsText()
getRISAsText.de.intranda.api.iiif.presentation.IPresentationModelElement
RecordPageResource.getSequence
(String mode, String preferedView) javax.ws.rs.core.StreamingOutput
RecordResource.getSource()
javax.ws.rs.core.Response
RecordFileResource.getSourceFile
(String filename) RecordResource.getTei()
javax.ws.rs.core.StreamingOutput
RecordResource.getTeiAsZip
(String language) RecordResource.getTeiLanguage
(String language) de.intranda.api.annotation.IAnnotationCollection
RecordPageResource.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) de.intranda.api.iiif.search.SearchResult
RecordResource.searchInManifest
(String pi, String query, String motivation, String date, String user, Integer page) Endpoint for IIIF Search API service in a manifest. -
Uses of PresentationException in io.goobi.viewer.api.rest.v1.records.media
Modifier and TypeMethodDescriptionRecordsImageResource.getImage
(String region, String size, String rotation, String quality, String format) RecordsImageResource.getImageInfo()
ObjectResource.getInfo
(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) getInfo.javax.ws.rs.core.StreamingOutput
ObjectResource.getObject
(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) getObject.javax.ws.rs.core.StreamingOutput
ObjectResource.getObjectResource
(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, String pi, String subfolder, String auxfilename) getObjectResource.javax.ws.rs.core.StreamingOutput
ObjectResource.getObjectResource
(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, String pi, String subfolder1, String subfolder2, String auxfilename) getObjectResource.javax.ws.rs.core.StreamingOutput
ObjectResource.getObjectResource2
(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, String pi, String subfolder, String auxfilename) getObjectResource2.javax.ws.rs.core.StreamingOutput
ObjectResource.getObjectResource2
(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, String pi, String subfolder1, String subfolder2, String auxfilename) getObjectResource2. -
Uses of PresentationException in io.goobi.viewer.api.rest.v1.search
Modifier and TypeMethodDescriptionjavax.ws.rs.core.Response
SearchResultResource.getRISAsFile
(String query, String sortString, String activeFacetString, int proximitySearchDistance) -
Uses of PresentationException in io.goobi.viewer.api.rest.v1.statistics
Modifier and TypeMethodDescriptionjavax.ws.rs.core.Response
MovingWallStatisticsResource.getStatisticsForYear
(int year) -
Uses of PresentationException in io.goobi.viewer.api.rest.v1.statistics.usage
Modifier and TypeMethodDescriptionjavax.ws.rs.core.Response
UsageStatisticsResource.getStatisticsForDay
(String date, String recordFilterQuery, String inFormat) javax.ws.rs.core.Response
UsageStatisticsResource.getStatisticsListForDates
(String start, String end, String recordFilterQuery, String inFormat, Integer step, String stepUnit) -
Uses of PresentationException in io.goobi.viewer.api.rest.v2.annotations
Modifier and TypeMethodDescriptionde.intranda.api.annotation.wa.collection.AnnotationCollection
AnnotationResource.getAnnotationCollection()
-
Uses of PresentationException in io.goobi.viewer.api.rest.v2.cms
Modifier and TypeMethodDescriptionCMSMediaResource.getAllFiles()
List all uploaded media files.CMSMediaResource.serveAudioContent
(String filename) CMSMediaResource.serveVideoContent
(String filename) -
Uses of PresentationException in io.goobi.viewer.api.rest.v2.collections
Modifier and TypeMethodDescriptionde.intranda.api.iiif.presentation.v3.Collection3
CollectionsResource.getCollection
(String collectionName) -
Uses of PresentationException in io.goobi.viewer.api.rest.v2.records
Modifier and TypeMethodDescriptionde.intranda.api.iiif.presentation.IPresentationModelElement
RecordPagesResource.getCanvas()
de.intranda.api.annotation.wa.collection.AnnotationPage
RecordPagesResource.getFulltext()
de.intranda.api.iiif.presentation.IPresentationModelElement
RecordPagesResource.getManifest
(Integer pageNo, String mode) de.intranda.api.iiif.presentation.IPresentationModelElement
RecordResource.getManifest()
de.intranda.api.annotation.wa.collection.AnnotationPage
RecordPagesResource.getMedia()
de.intranda.api.annotation.IAnnotation
RecordPagesResource.getMediaItem
(String itemId) RecordFilesResource.getPlaintext
(String filename) javax.ws.rs.core.Response
RecordFilesResource.getSourceFile
(String filename) -
Uses of PresentationException in io.goobi.viewer.api.rest.v2.records.media
-
Uses of PresentationException in io.goobi.viewer.controller
Modifier and TypeMethodDescriptionstatic Path
DataFileTools.getAltoFolder
(String pi) Constructs the alto folder path for the given pi, either directly in viewer-home or within a data repositorystatic Path
DataFileTools.getDataFilePath
(String pi, String relativeFilePath) getDataFilePath.static Path
DataFileTools.getDataFilePath
(String pi, String dataFolderName, String altDataFolderName, String fileName) Returns the path to the data file (if file name given) or data folder for the given record identifier.ProcessDataResolver.getDataFilePath
(String pi, String relativeFilePath) getDataFilePath.ProcessDataResolver.getDataFilePath
(String pi, String dataFolderName, String altDataFolderName, String inFileName) Returns the path to the data file (if file name given) or data folder for the given record identifier.static Path
DataFileTools.getDataFolder
(String pi, String dataFolderName) Constructs the folder path for data of the given pi, either directly in viewer-home or within a data repository.ProcessDataResolver.getDataFolder
(String pi, String dataFolderName) Constructs the folder path for data of the given pi, either directly in viewer-home or within a data repository.DataFileTools.getDataFolders
(String pi, String... dataFolderNames) Returns a map of Paths for each data folder name passed as an argument.ProcessDataResolver.getDataFolders
(String pi, String... dataFolderNames) Returns a map of Paths for each data folder name passed as an argument.static String
DataFileTools.getDataRepositoryPathForRecord
(String pi) Retrieves the path to viewer home or repositories root, depending on the record.ProcessDataResolver.getDataRepositoryPathForRecord
(String pi) Retrieves the path to viewer home or repositories root, depending on the record.static Dataset
DataFileTools.getDataset
(String pi) creates a Dataset object, containing all relevant file pathsProcessDataResolver.getDataset
(String pi) creates a Dataset object, containing all relevant file pathsstatic org.json.JSONArray
JsonTools.getDateCentricRecordJsonArray
(org.apache.solr.common.SolrDocumentList result, javax.servlet.http.HttpServletRequest request) JSON array of records grouped by their import date.GeoCoordinateConverter.getFeaturesFromSolrQuery
(String query, List<String> filterQueries, List<String> coordinateFields, String markerTitleField, boolean aggregateResults) Collect all point coordinate in the given coordinate fields from solr documents returned by the given solr queryConfiguration.getIIIFProvider()
static Path
DataFileTools.getMediaFolder
(String pi) Constructs the media folder path for the given pi, either directly in viewer-home or within a data repositoryProcessDataResolver.getMediaFolder
(String pi) Constructs the media folder path for the given pi, either directly in viewer-home or within a data repositorystatic Path
DataFileTools.getPdfFolder
(String pi) Constructs the pdf folder path for the given pi, either directly in viewer-home or within a data repositorystatic org.json.JSONArray
JsonTools.getRecordJsonArray
(org.apache.solr.common.SolrDocumentList result, Map<String, org.apache.solr.common.SolrDocumentList> expanded, javax.servlet.http.HttpServletRequest request, String languageToTranslate) Returns aJSONArray
containing JSON objects for everySolrDocument
in the given result.static String
DataFileTools.getSourceFilePath
(String fileName, String format) Returns the absolute path to the source (METS/LIDO/etc.) file with the given file name.ProcessDataResolver.getSourceFilePath
(String fileName, String format) Returns the absolute path to the source (METS/LIDO) file with the given file name.static Path
DataFileTools.getTextFilePath
(String pi, String relativeFilePath) getTextFilePath.static String
DataFileTools.getTextFilePath
(String pi, String fileName, String format) getTextFilePath.ProcessDataResolver.getTextFilePath
(String pi, String relativeFilePath) getTextFilePath.ProcessDataResolver.getTextFilePath
(String pi, String fileName, String format) getTextFilePath.static StringPair
static boolean
IndexerTools.reIndexPage
(String pi, int page) reIndexPage.static boolean
IndexerTools.reIndexPage
(String pi, int page, Collection<? extends IndexAugmenter> augmenters) reIndexPage. -
Uses of PresentationException in io.goobi.viewer.controller.imaging
Modifier and TypeMethodDescriptionde.intranda.api.iiif.image.ImageInformation
ImageHandler.getImageInformation
(PhysicalElement page) getImageInformation.ThumbnailHandler.getImageUrl
(String pi, int width, int height, String format) Returns a link to the representative image for the given pi with the given width and height.getPage.PdfHandler.getPdfUrl
(StructElement doc, String label) Gets the url to the pdf for the givenStructElement
.PdfHandler.getPdfUrl
(StructElement doc, String pi, String label) Gets the url to the pdf for the given pi and divIdThumbnailHandler.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.getSquareThumbnailUrl
(String pi) Returns a link to a square representative image for the given pi.ThumbnailHandler.getSquareThumbnailUrl
(String pi, int size) Returns a link to a square representative image for the given pi.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 .ThumbnailHandler.getThumbnailUrl
(String pi) Returns a link to the representative image for the given pi.ThumbnailHandler.getThumbnailUrl
(String pi, int width, int height) Returns a link to the representative image for the given pi with the given width and height. -
Uses of PresentationException in io.goobi.viewer.controller.model
ModifierConstructorDescriptionProviderConfiguration
(String uri, String label) ProviderConfiguration
(org.apache.commons.configuration2.HierarchicalConfiguration<org.apache.commons.configuration2.tree.ImmutableNode> config) WebResourceConfiguration
(String uri, String label) WebResourceConfiguration
(org.apache.commons.configuration2.HierarchicalConfiguration<org.apache.commons.configuration2.tree.ImmutableNode> config) -
Uses of PresentationException in io.goobi.viewer.exceptions
Modifier and TypeClassDescriptionclass
class
class
class
class
class
class
Exception to throw if an invalid state is reached when editing/creating a cms pageclass
Exception to use when failing to retrieve CMS contentclass
class
DownloadException class.class
DownloadException class. -
Uses of PresentationException in io.goobi.viewer.faces.validators
Modifier and TypeMethodDescriptionstatic boolean
PIInSolrValidator.validatePi
(String pi) Checks if the given pi matches a known PI in the solr index.static String
RelatedPIValidator.validatePi
(String pi, User user) validatePi. -
Uses of PresentationException in io.goobi.viewer.managedbeans
Modifier and TypeMethodDescriptionvoid
BreadcrumbBean.addCollectionHierarchyToBreadcrumb
(String collection, String field, String splittingChar) addCollectionHierarchyToBreadcrumb.void
BreadcrumbBean.addRecordBreadcrumbs
(ViewManager viewManager, de.intranda.metadata.multilanguage.IMetadataValue name, com.ocpsoft.pretty.faces.url.URL url) ActiveDocumentBean.calculateSidebarToc()
Recalculates the visibility of TOC elements and jumps to the active element after a +/- button has been pressed.void
CommentBean.deleteComment()
deleteComment.void
CommentBean.deleteComment
(Comment annotation) deleteComment.void
ActiveDocumentBean.downloadTOCAction()
downloadTOCAction.void
CommentBean.editComment()
editComment.void
CommentBean.editComment
(Comment original, String text, boolean restricted) editComment.void
SearchBean.executeSearch()
executeSearch.void
SearchBean.executeSearch
(String filterQuery) executeSearch.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.GeoMapBean.getActiveFeatureSetAsString()
getActiveFeatureSetAsString.SearchBean.getAdvancedSearchSelectItems
(String field, String language, boolean hierarchical) Populates the list of advanced search drop-down values for the given field.CalendarBean.getAllActiveCenturies()
This method returns a list of all active centuries.SearchBean.getAllCollections
(String language) Returns drop-down items for all collection names.CmsBean.getAllowedSubthemeDiscriminatorValues
(User user) Returns a filtered subtheme discriminator value list for the given user, unless the user is a superuser.SitelinkBean.getAvailableValues()
getAvailableValues.CollectionViewBean.getCollection
(CMSCollectionContent content) Get theCollectionView
of the given content item in the given page.CollectionViewBean.getCollection
(CMSCollectionContent content, int collectionBaseLevels, boolean openExpanded, boolean displayParents, boolean ignoreHierarchy) Deprecated.CollectionViewBean.getCollection
(CMSCollectionContent content, int collectionBaseLevels, boolean openExpanded, boolean displayParents, boolean ignoreHierarchy, String topVisibleElement) Deprecated.CollectionViewBean.getCollection
(CMSCollectionContent content, String topVisibleElement) getCollection.long
AdminLicenseBean.getConcurrentViewsLimitRecordCountForLicenseType
(String licenseTypeName) int
CalendarBean.getCountOfIncompleteData()
This method returns the count of all data without a value in YEARMONTHDAY for the selected year.ContentBean.getCurrentUGCCoords
(PhysicalElement page) getCurrentUGCCoords.org.apache.solr.client.solrj.response.QueryResponse
CalendarBean.getFacetCounts
(String... fields) UserBean.getHasAdminBackendAccess()
Checks whether the logged in user has access to the admin backend via being an admin or having CMS/campaign/comments access.ActiveDocumentBean.getLabelForJS()
Title bar label value escaped for JavaScript.ArchiveMetadataBean.getMetadata
(ArchiveEntry entry) Get theArchiveEntryMetadataList
for the givenArchiveEntry
.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()
long
AdminLicenseBean.getNumRecordsWithAccessCondition
(String accessCondition) long
AdminLicenseBean.getPdfQuotaRecordCountForLicenseType
(String licenseTypeName) ActiveDocumentBean.getPIFromFieldValue
(String value, String field) getPIFromFieldValue.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.long
CmsBean.getQueryResultCount()
Calculates the number of pages needed for the paginator.long
SearchBean.getQueryResultCount
(String query) getQueryResultCount.CmsBean.getQueryResults()
getQueryResults.HighlightsBean.getRecordRepresentativeURI()
Get the URL of a representative image for the record related to the currently selected highlight if a highlight is selected and it refers to a record.HighlightsBean.getRecordRepresentativeURI
(int width, int height) Get the URL of a representative image for the record related to the currently selected highlight if a highlight is selected and it refers to a record.ActiveDocumentBean.getRelatedItems
(String identifierField) getRelatedItems.ActiveDocumentBean.getRelativeUrlTags()
Returns a string that contains previous and/or next url elementsCmsBean.getRepresentativeImageForQuery
(CMSPage page) getRepresentativeImageForQuery.CmsBean.getRepresentativeImageForQuery
(CMSPage page, int width, int height) getRepresentativeImageForQuery.CmsBean.getRepresentativeImageForQuery
(CMSRecordListContent item) getRepresentativeImageForQuery.CmsBean.getRepresentativeImageForQuery
(CMSRecordListContent item, int width, int height) getRepresentativeImageForQuery.CmsNavigationBean.getSelectableThemes()
Getter for the fieldselectableThemes
.SearchBean.getStaticFacets
(String field, String subQuery, Integer resultLimit, Boolean reverseOrder) Returns a list of FilterLink elements for the given field over all documents in the index (optionally filtered by a subquery).SearchBean.getStructElement
(String pi) getStructElement.CmsBean.getSubthemeDiscriminatorValues()
getSubthemeDiscriminatorValues.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.CmsRecordNotesBean.getThumbnailUrl
(CMSSingleRecordNote note) get the thumbnail url for the record related to the noteCmsRecordNotesBean.getThumbnailUrl
(CMSSingleRecordNote note, int width, int height) get the thumbnail url for the record related to the note for given width and heightint
ConfigurationBean.getTimeMatrixEndYear
(String subTheme) getTimeMatrixEndYear.int
ConfigurationBean.getTimeMatrixStartYear
(String subTheme) getTimeMatrixStartYear.ActiveDocumentBean.getTitleBarLabel()
getTitleBarLabel.ActiveDocumentBean.getTitleBarLabel
(String language) getTitleBarLabel.ActiveDocumentBean.getTitleBarLabel
(Locale locale) getTitleBarLabel.ActiveDocumentBean.getToc()
Getter for the fieldtoc
.long
SearchBean.getTotalNumberOfVolumes()
getTotalNumberOfVolumes.StatisticsBean.getUsageStatisticsForRecord
(String pi) getUsageStatisticsForRecord.ContentBean.getUserGeneratedContentsForDisplay
(String pi) Getter for the fielduserGeneratedContentsForDisplay
.ContentBean.getUserGeneratedContentsOfPageForDisplay
(PhysicalElement page) boolean
ContentBean.hasGeoCoordinateAnnotations
(String persistentIdentifier) void
SearchBean.hitsPerPageListener()
hitsPerPageListener.CollectionViewBean.initializeCollection
(CMSCollectionContent content, int numBaseLevels, boolean openExpanded, boolean displayParents, boolean ignoreHierarchy, String topVisibleElement) Deprecated.CollectionViewBean.initializeCollection
(CMSCollectionContent content, String topVisibleElement) Creates a collection view object from the item's collection related properties.boolean
CommentBean.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.boolean
CommentBean.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.boolean
CmsBean.isSubthemeRequired
(User user) isSubthemeRequired.protected StatisticsSummary
StatisticsBean.loadSummary
(String pi) void
ContentBean.loadUserGeneratedContentsForDisplay
(String pi, javax.servlet.http.HttpServletRequest request) loadUserGeneratedContentsForDisplay.boolean
Called with a string in form of a modified json object.boolean
DisplayConditions.matchRecord
(String json) Called with a string in form of a modified json object.boolean
mayEdit.BrowseBean.openWorkInTargetCollection()
openWorkInTargetCollection.static List<CalendarItemMonth>
CalendarBean.populateMonthsWithDays
(String selectYear, String collection, String filterQuery) This method generates the data for each month of the selected year.reload.void
CalendarBean.resetYears()
resetYears.AdminLicenseBean.saveCurrentLicenseAction()
Adds the current License to the licensee (User, UserGroup or IpRange).CrowdsourcingBean.saveSelectedCampaignAction()
Adds the current page to the database, if it doesn't exist or updates it otherwiseSearchBean.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.BrowseBean.searchTerms()
searchTerms.BrowseBean.searchTermsAction()
Action method for JSF.CalendarBean.searchTimeline()
This method generates the search string for the time line based search tab.void
ActiveDocumentBean.setChildrenInvisible
(TOCElement element) setChildrenInvisible.void
ActiveDocumentBean.setChildrenVisible
(TOCElement element) setChildrenVisible.void
CalendarBean.setCollection
(String collection) Setter for the fieldcollection
.void
BookmarkBean.setCurrentBookmarkListId
(String bookmarkListId) setCurrentBookmarkListId.void
BookmarkBean.setCurrentBookmarkListKey
(String key) void
CalendarBean.setCurrentMonth
(CalendarItemMonth currentMonth) Set a new value for month.void
CalendarBean.setCurrentYear
(CalendarItemYear currentYear) Set a new value for year.void
Setter for the fieldlogid
.void
CrowdsourcingBean.setNextIdentifierForAnnotation()
setNextIdentifierForAnnotation.void
CrowdsourcingBean.setNextIdentifierForReview()
setNextIdentifierForReview.void
ActiveDocumentBean.setPersistentIdentifier
(String persistentIdentifier) setPersistentIdentifier.void
ActiveDocumentBean.setRepresentativeImage()
Sets imageToShow to the representative page found in the search index, or "1" if none found.void
CalendarBean.setSelectYear
(String selectYear) Select a year.void
ActiveDocumentBean.setTocCurrentPage
(String tocCurrentPage) Setter for the fieldtocCurrentPage
.void
ActiveDocumentBean.update()
Loads the record with the IDDOC set incurrentElementIddoc
.void
CrowdsourcingBean.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.static boolean
CmsCollectionsBean.validatePI
(String pi) Checks if the given pi matches a known PI in the solr index.void
UserBean.wipeSession
(javax.servlet.http.HttpServletRequest request) Removes the user and permission attributes from the session. -
Uses of PresentationException in io.goobi.viewer.model.administration.legal
Modifier and TypeMethodDescriptionboolean
DisplayScope.appliesToPage
(PageType pageType, String pi, SolrSearchIndex searchIndex) -
Uses of PresentationException in io.goobi.viewer.model.annotation.comments
Modifier and TypeMethodDescriptionstatic Set<CommentGroup>
CommentManager.getRelevantCommentGroupsForRecord
(String pi) boolean
Comment.isTargetPiRecordIndexed()
static boolean
CommentManager.queryCommentGroupIdentifiers
(CommentGroup commentGroup) -
Uses of PresentationException in io.goobi.viewer.model.archives
Modifier and TypeMethodDescriptionArchiveManager.findIndexedNeighbours
(String entryId) In the list of archive document search hits, find the id of the entry just before the given oneArchiveManager.getArchiveTree
(String resourceId) ArchiveParser.getAssociatedRecordPis
(SolrSearchIndex searchIndex) static List<org.apache.solr.common.SolrDocument>
SolrEADParser.getChildDocsForIddoc
(String iddoc) abstract List<ArchiveResource>
ArchiveParser.getPossibleDatabases()
Get the database names and file names.SolrEADParser.getPossibleDatabases()
Get the database names.ArchiveManager.loadArchiveForEntry
(String identifier) void
SolrEADParser.loadChildren
(ArchiveEntry entry, Set<String> loadPath, boolean loadChildrenRecursively) abstract ArchiveEntry
ArchiveParser.loadDatabase
(ArchiveResource database, int lazyLoadingThreshold) Loads the given database and parses the EAD document.SolrEADParser.loadDatabase
(ArchiveResource database, int lazyLoadingThreshold) Loads the given database and parses the EAD document.SolrEADParser.loadNode
(int order, int hierarchy, org.apache.solr.common.SolrDocument doc, Set<String> loadPath, boolean loadChildrenRecursively) void
ArchiveParser.updateAssociatedRecordMap()
-
Uses of PresentationException in io.goobi.viewer.model.bookmark
Modifier and TypeMethodDescriptionBookmark.getDocumentTitle()
Retrieves the documents title from the Solr index using the stored pi and - if nonempty - the logIdBookmarkList.getMiradorJsonObject
(String applicationRoot, String restApiUrl) getMiradorJsonObject.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.Bookmark.getUrl()
Returns the image view URL for this bookmark.ModifierConstructorDescriptionCreates a new bookmark based in book pi, section logId and page order logId and order my be empty or null, if only the book itself is references.Creates a new bookmark based in book pi, section logId and page order logId and order my be empty or null, if only the book itself is references. -
Uses of PresentationException in io.goobi.viewer.model.calendar
Modifier and TypeMethodDescriptionCalendarView.getVolumeYears()
getVolumeYears.boolean
CalendarView.isDisplay()
Checks whether the conditions for displaying the calendar view have been met.void
CalendarView.populateCalendar()
Populates the calendar with items. -
Uses of PresentationException in io.goobi.viewer.model.citation
Modifier and TypeMethodDescriptionstatic List<CitationLink>
CitationTools.generateCitationLinksForLevel
(List<CitationLink> allLinks, CitationLink.CitationLinkLevel level, ViewManager viewManager) CitationLink.getUrl
(ViewManager viewManager) -
Uses of PresentationException in io.goobi.viewer.model.cms
Modifier and TypeMethodDescriptionHighlight.getImageURI()
Highlight.getImageURI
(int width, int height) Get the URI to the image representing the objectHighlight.getMetadataElement()
Highlight.getMetadataForField
(String field, Locale locale) Highlight.getMetadataList()
Highlight.getMetadataList
(Locale locale) -
Uses of PresentationException in io.goobi.viewer.model.cms.itemfunctionality
Modifier and TypeMethodDescriptionTocFunctionality.getBannerUrl
(int width, int height) getBannerUrl.TocFunctionality.getDocStruct()
Getter for the fielddocStruct
.TocFunctionality.getToc()
Getter for the fieldtoc
.void
search.void
BrowseFunctionality.searchTerms()
-
Uses of PresentationException in io.goobi.viewer.model.cms.pages
-
Uses of PresentationException in io.goobi.viewer.model.cms.pages.content
Modifier and TypeMethodDescriptionjavax.faces.component.UIComponent
CMSComponent.getBackendUiComponent()
javax.faces.component.UIComponent
CMSComponent.getUiComponent()
javax.faces.component.UIComponent
CMSContentItem.getUiComponent()
abstract String
CMSContent.handlePageLoad
(boolean resetResults, CMSComponent component) Method to call when loading a CMSPage including this content item -
Uses of PresentationException in io.goobi.viewer.model.cms.pages.content.types
Modifier and TypeMethodDescriptionCMSBrowseContent.handlePageLoad
(boolean resetResults, CMSComponent component) CMSGeomapContent.handlePageLoad
(boolean resetResults, CMSComponent component) CMSGlossaryContent.handlePageLoad
(boolean resetResults, CMSComponent component) CMSImageListContent.handlePageLoad
(boolean resetResults, CMSComponent component) CMSMediaContent.handlePageLoad
(boolean resetResults, CMSComponent component) CMSMediumTextContent.handlePageLoad
(boolean resetResults, CMSComponent component) CMSMetadataContent.handlePageLoad
(boolean resetResults, CMSComponent component) CMSPageListContent.handlePageLoad
(boolean resetResults, CMSComponent component) CMSRecordListContent.handlePageLoad
(boolean resetResults, CMSComponent component) CMSRSSContent.handlePageLoad
(boolean resetResults, CMSComponent component) CMSSearchContent.handlePageLoad
(boolean resetResults, CMSComponent component) CMSSearchFacetsContent.handlePageLoad
(boolean resetResults, CMSComponent component) CMSShortTextContent.handlePageLoad
(boolean resetResults, CMSComponent component) CMSSliderContent.handlePageLoad
(boolean resetResults, CMSComponent component) -
Uses of PresentationException in io.goobi.viewer.model.crowdsourcing.campaigns
Modifier and TypeMethodDescriptionCampaign.getNextTarget
(CrowdsourcingStatus status, String currentPi, User user) Get the targetIdentifier to a random PI from the Solr query result list.int
Campaign.getProgress()
FINISHED records in percentCampaign.getRandomizedTarget
(CrowdsourcingStatus status, String piToIgnore, User user) Get the targetIdentifier to a random PI from the Solr query result list.boolean
Campaign.hasRecordsToAnnotate
(User user) check if the given user is eligible to annotate any recordsboolean
Campaign.hasRecordsToReview
(User user) check if the given user is eligible to review any recordsboolean
Campaign.isUserAllowedAction
(User user, CrowdsourcingStatus status) Checks whether the given user may annotate or review records based on the given status.boolean
Campaign.mayAnnotate
(User user, String pi) check if the user is allowed to annotate the given pi for this campaignboolean
check if the user is allowed to review the given pi for this campaign -
Uses of PresentationException in io.goobi.viewer.model.export
-
Uses of PresentationException in io.goobi.viewer.model.iiif.discovery
Modifier and TypeMethodDescriptionde.intranda.api.iiif.discovery.OrderedCollection<de.intranda.api.iiif.discovery.Activity>
ActivityCollectionBuilder.buildCollection()
Creates a AnOrderedCollection
ofAcvitities
, linking to the first and last containedOrderedCollectionPage
as well as counting the total number of Activitiesde.intranda.api.iiif.discovery.OrderedCollectionPage<de.intranda.api.iiif.discovery.Activity>
ActivityCollectionBuilder.buildPage
(int pageNo) Creates AnOrderedCollection
ofActivities
, i.e. a partial list of Activities.int
ActivityCollectionBuilder.getNumActivities()
Get the total number ofActivities
in the collection -
Uses of PresentationException in io.goobi.viewer.model.iiif.presentation.v2.builder
Modifier and TypeMethodDescriptionvoid
addAnchor.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, javax.servlet.http.HttpServletRequest request) Creates a sequence from all pages within the given doc and appends it to manifest.void
CollectionBuilder.addContainedWorks
(String collectionField, String topElement, de.intranda.api.iiif.presentation.v2.Collection2 collection) addContainedWorks.de.intranda.api.iiif.presentation.v2.Layer
LayerBuilder.createAnnotationLayer
(String pi, de.intranda.api.iiif.presentation.enums.AnnotationType type, String motivation, BiFunction<String, String, List<Path>> fileGetter, BiFunction<String, String, URI> linkGetter) createAnnotationLayer.de.intranda.api.iiif.presentation.v2.Canvas2
SequenceBuilder.generateCanvas
(String pi, PhysicalElement page) generateCanvas.de.intranda.api.iiif.presentation.v2.Collection2
CollectionBuilder.generateCollection
(String collectionField, String topElement, String facetField, String splittingChar, List<String> ignoreCollections) generateCollection.de.intranda.api.iiif.presentation.v2.AbstractPresentationModelElement2
ManifestBuilder.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.long
AbstractAnnotationBuilder.getAnnotationCount
(javax.servlet.http.HttpServletRequest request) Optional<org.apache.solr.common.SolrDocument>
AbstractAnnotationBuilder.getAnnotationDocument
(long id, javax.servlet.http.HttpServletRequest request) List<org.apache.solr.common.SolrDocument>
AbstractAnnotationBuilder.getAnnotationDocuments
(String query, int first, int rows, List<StringPair> sortFields, javax.servlet.http.HttpServletRequest request) List<org.apache.solr.common.SolrDocument>
AbstractAnnotationBuilder.getAnnotationDocuments
(String query, List<StringPair> sortFields, javax.servlet.http.HttpServletRequest request) List<org.apache.solr.common.SolrDocument>
AbstractAnnotationBuilder.getAnnotationDocuments
(String query, javax.servlet.http.HttpServletRequest request) de.intranda.api.annotation.IAnnotation
OpenAnnotationBuilder.getCrowdsourcingAnnotation
(String id) de.intranda.api.annotation.IAnnotation
WebAnnotationBuilder.getCrowdsourcingAnnotation
(String id) OpenAnnotationBuilder.getCrowdsourcingAnnotationsFromSolr
(String pi, boolean urlOnlyTarget, javax.servlet.http.HttpServletRequest request) Get all annotations for the given PI from the SOLR index, sorted by page number.WebAnnotationBuilder.getCrowdsourcingAnnotationsFromSolr
(String pi, boolean urlOnlyTarget, javax.servlet.http.HttpServletRequest request) Get all annotations for the given PI from the SOLR index, sorted by page number.AbstractBuilder.getDocument
(String pi) getDocument.AbstractBuilder.getDocumentWithChildren
(String pi) Queries all DocStructs which have the given PI as PI_TOPSTRUCT or anchor (or are the anchor themselves).SequenceBuilder.getPage
(StructElement doc, int order) getPage.void
ManifestBuilder.populate
(StructElement ele, de.intranda.api.iiif.presentation.v2.AbstractPresentationModelElement2 manifest, List<PhysicalElement> pages) populate.void
StructureBuilder.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 PresentationException in io.goobi.viewer.model.iiif.presentation.v3.builder
Modifier and TypeMethodDescriptionvoid
ManifestBuilder.addPage
(de.intranda.api.iiif.presentation.v3.Manifest3 manifest, PhysicalElement page) void
ManifestBuilder.addPage
(de.intranda.api.iiif.presentation.v3.Manifest3 manifest, StructElement ele, int pageNo) de.intranda.api.iiif.presentation.v3.Canvas3
CanvasBuilder.build
(PhysicalElement page) de.intranda.api.iiif.presentation.v3.Canvas3
de.intranda.api.iiif.presentation.v3.Collection3
de.intranda.api.iiif.presentation.IPresentationModelElement
ManifestBuilder.build
(String pi, Integer pageNo, javax.servlet.http.HttpServletRequest servletRequest) de.intranda.api.iiif.presentation.v3.IPresentationModelElement3
de.intranda.api.iiif.presentation.v3.Range3
de.intranda.api.annotation.wa.collection.AnnotationPage
CanvasBuilder.buildFulltextAnnotations
(String pi, int order) DataRetriever.getContainedRecords
(String solrField, String collectionName) Get all records directly belonging to the given collection, only the fields inDataRetriever.CONTAINED_WORKS_QUERY_FIELDS
are returnedDataRetriever.getDocument
(String pi) getDocument.DataRetriever.getDocumentWithChildren
(String pi) Queries all DocStructs which have the given PI as PI_TOPSTRUCT or anchor (or are the anchor themselves).protected de.intranda.api.annotation.wa.ImageResource
AbstractBuilder.getThumbnail
(String pi) -
Uses of PresentationException in io.goobi.viewer.model.iiif.search
Modifier and TypeMethodDescriptionde.intranda.api.iiif.search.SearchResult
IIIFSearchBuilder.build()
Creates aSearchResult
containing annotations matchingIIIFSearchBuilder.getQuery()
withinIIIFSearchBuilder.getPi()
.de.intranda.api.iiif.search.AutoSuggestResult
IIIFSearchBuilder.buildAutoSuggest()
Creates aAutoSuggestResult
containing searchTerms matchingIIIFSearchBuilder.getQuery()
withinIIIFSearchBuilder.getPi()
. -
Uses of PresentationException in io.goobi.viewer.model.job.download
Modifier and TypeMethodDescriptionstatic DownloadJob
DownloadJob.checkDownload
(String type, String email, String pi, String logId, String downloadIdentifier, long ttl) Deprecated.static boolean
DownloadJob.ocrFolderExists
(String pi) ocrFolderExists.protected abstract void
DownloadJob.triggerCreation()
Deprecated.Only used in deprecated methodDownloadJob.checkDownload(String, String, String, String, String, long)
protected void
EPUBDownloadJob.triggerCreation()
Deprecated.static void
EPUBDownloadJob.triggerCreation
(String pi, String downloadIdentifier) Deprecated.Creation via TaskManager request is no longer used and this method is never calledprotected void
PDFDownloadJob.triggerCreation()
Deprecated. -
Uses of PresentationException in io.goobi.viewer.model.job.mq
Modifier and TypeMethodDescriptionDownloadExternalResourceHandler.getDownloadedFiles
(String pi, String downloadUrl, String downloadId) static void
GeoMapUpdateHandler.updateMapInCache
(GeoMap geomap) -
Uses of PresentationException in io.goobi.viewer.model.job.upload
-
Uses of PresentationException in io.goobi.viewer.model.jsf
Modifier and TypeMethodDescriptionjavax.faces.component.UIComponent
DynamicContentBuilder.build
(JsfComponent jsfComponent, javax.faces.component.UIComponent parent, Map<String, Object> attributes) -
Uses of PresentationException in io.goobi.viewer.model.maps
Modifier and TypeMethodDescriptionprotected String
SolrFeatureSet.createFeaturesAsString
(boolean escapeJson) abstract String
FeatureSet.getFeaturesAsJsonString()
ManualFeatureSet.getFeaturesAsJsonString()
SearchResultFeatureSet.getFeaturesAsJsonString()
SearchResultFeatureSet.getFeaturesAsJsonString
(SearchBean searchBean) SolrFeatureSet.getFeaturesAsJsonString()
abstract String
FeatureSet.getFeaturesAsString()
ManualFeatureSet.getFeaturesAsString()
SearchResultFeatureSet.getFeaturesAsString()
SearchResultFeatureSet.getFeaturesAsString
(SearchBean searchBean) SolrFeatureSet.getFeaturesAsString()
-
Uses of PresentationException in io.goobi.viewer.model.metadata
Modifier and TypeMethodDescriptionstatic String
MetadataTools.applyReplaceRules
(String value, List<MetadataReplaceRule> replaceRules, String pi) applyReplaceRules.static String
MetadataTools.generateHighwirePressMetaTags
(StructElement structElement, List<PhysicalElement> pages) generateHighwirePressMetaTags.static org.apache.solr.common.SolrDocumentList
MetadataTools.getGroupedMetadata
(String ownerIddoc, String subQuery, List<StringPair> sortFields) MetadataElement.init
(StructElement se, int metadataViewIndex, Locale sessionLocale) static ComplexMetadataContainer
ComplexMetadataContainer.loadMetadataDocuments
(String pi, SolrSearchIndex searchIndex) static ComplexMetadataContainer
ComplexMetadataContainer.loadMetadataDocuments
(String pi, SolrSearchIndex searchIndex, Predicate<String> fieldNameFilter) static ComplexMetadataContainer
ComplexMetadataContainer.loadMetadataDocuments
(String pi, SolrSearchIndex searchIndex, List<String> fieldList) static ComplexMetadataContainer
RelationshipMetadataContainer.loadRelationshipMetadata
(String pi, SolrSearchIndex searchIndex) RelationshipMetadataContainer.loadRelationshipMetadata
(String pi, SolrSearchIndex searchIndex, List<String> recordFields) RelationshipMetadataContainer.loadRelationships
(ComplexMetadataContainer container) RelationshipMetadataContainer.loadRelationships
(ComplexMetadataContainer container, SolrSearchIndex searchIndex) RelationshipMetadataContainer.loadRelationships
(SolrSearchIndex searchIndex, List<String> recordFields, ComplexMetadataContainer container) boolean
Metadata.populate
(StructElement se, StructElement anchorSe, String ownerIddoc, List<StringPair> sortFields, Map<String, Set<String>> searchTerms, int truncateLength, Locale locale) Populates the parameters of the given metadata with values from the given StructElement.boolean
Metadata.populate
(StructElement se, String ownerIddoc, List<StringPair> sortFields, Locale locale) -
Uses of PresentationException in io.goobi.viewer.model.rss
Modifier and TypeMethodDescriptionstatic com.rometools.rome.feed.synd.SyndFeed
createRss.static com.rometools.rome.feed.synd.SyndFeed
RSSFeed.createRss
(String rootPath, String query, List<String> filterQueries, String language, int maxItems, String sortField, boolean sortDescending) createRss.static Channel
RSSFeed.createRssFeed
(String rootPath, String query, int rssFeedItems) createRssFeed.static Channel
RSSFeed.createRssFeed
(String rootPath, String query, List<String> filterQueries, int rssFeedItems, String language, String sortField, boolean sortDescending) createRssFeed. -
Uses of PresentationException in io.goobi.viewer.model.search
Modifier and TypeMethodDescriptionSearchHelper.collectAvailableTermFilters
(BrowsingMenuFieldConfig bmfc, String filterQuery, Locale locale) Generates starting character filters for term browsing, using facets.SearchHitFactory.createSearchHit
(org.apache.solr.common.SolrDocument doc, org.apache.solr.common.SolrDocument ownerDoc, String fulltext, HitType overrideType) createSearchHit.void
Search.execute
(SearchFacets facets, Map<String, Set<String>> searchTerms, int hitsPerPage, Locale locale) execute.void
Search.execute
(SearchFacets facets, Map<String, Set<String>> searchTerms, int hitsPerPage, Locale locale, boolean keepSolrDoc, SearchAggregationType aggregationType) execute.static void
SearchHelper.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.SearchFacets.getAbsoluteMaxRangeValue
(String field) Returns the maximum value for the given field available in the search index.SearchFacets.getAbsoluteMinRangeValue
(String field) Returns the minimum value for the given field available in the search index.static BrowseElement
SearchHelper.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 theBrowseElement
constructed from the search hit atindex
from the search hit list for the givenquery
.SearchQueryItem.getCheckboxSelectables
(String language, String... additionalValues) SearchFacets.getCurrentMaxRangeValue
(String field) getCurrentMaxRangeValue.SearchFacets.getCurrentMinRangeValue
(String field) getCurrentMinRangeValue.SearchHelper.getFacetValues
(String query, String facetFieldName, int facetMinCount) Returns a list of values for a given facet field and the given query.SearchHelper.getFacetValues
(String query, String facetFieldName, String facetPrefix, int facetMinCount, Map<String, String> params) Returns a list of values for a given facet field and the given query.static List<BrowseTerm>
SearchHelper.getFilteredTerms
(BrowsingMenuFieldConfig bmfc, String startsWith, String filterQuery, int start, int rows, Comparator<BrowseTerm> comparator, String language) Returns a list of index terms for the given field name.static int
SearchHelper.getFilteredTermsCount
(BrowsingMenuFieldConfig bmfc, String startsWith, String filterQuery, String language) static StringPair
SearchHelper.getFirstRecordPiAndPageType
(String luceneField, String value, boolean filterForWhitelist, boolean filterForBlacklist, String splittingChar) getFirstRecordMetadataWithFieldValue.SearchHit.getFulltext
(javax.servlet.http.HttpServletRequest request, String pi, String authorityIdentifier, org.apache.solr.common.SolrDocument childDoc) static int[]
SearchHelper.getMinMaxYears
(String subQuery) getMinMaxYears.SearchHitsNotifier.getNewHits
(Search search) Executes the given search.static String
SearchHelper.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.SearchFacets.getValueRange
(String field) Returns a sorted list of all available values for the given field among available facet values.void
SearchHit.handleMetadataHit
(org.apache.solr.common.SolrDocument childDoc, String fulltext, SolrConstants.DocType docType, boolean acccessDeniedType) boolean
SearchFacets.isHasRangeFacets()
void
SearchHit.loadChildHits
(int numChildren) void
SearchHit.populateChildren
(int number, int skip, Locale locale, javax.servlet.http.HttpServletRequest request) populateChildren.static org.apache.solr.client.solrj.response.QueryResponse
SearchHelper.searchCalendar
(String query, List<String> facetFields, int facetMinCount, boolean getFieldStatistics) searchCalendar.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()
static void
SearchHelper.updateFilterQuerySuffix
(javax.servlet.http.HttpServletRequest request, String privilege) Updates the calling agent's session with a personalized filter sub-query. -
Uses of PresentationException in io.goobi.viewer.model.security
Modifier and TypeMethodDescriptionstatic AccessPermission
AccessConditionUtils.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 AccessPermission
AccessConditionUtils.checkAccessPermission
(Set<String> requiredAccessConditions, String privilegeName, String query, javax.servlet.http.HttpServletRequest request) checkAccessPermission.static int
AccessConditionUtils.getPdfDownloadQuotaForRecord
(String pi) License.getSelectableSubthemes()
ILicensee.hasLicense
(String licenseName, String privilegeName, String pi) Checks whether the licensee has a license with the given name. -
Uses of PresentationException in io.goobi.viewer.model.security.clients
Modifier and TypeMethodDescriptionClientApplication.canSatisfyAllAccessConditions
(Set<String> requiredAccessConditions, String privilegeName, String pi) Check if this client has the privilege of the given privilegeName via itsClientApplication.licenses
ClientApplication.hasLicense
(String licenseName, String privilegeName, String pi) Checks whether the licensee has a license with the given name. -
Uses of PresentationException in io.goobi.viewer.model.security.user
Modifier and TypeMethodDescriptionboolean
Adds membership relation between the given user and role and persists immediately.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.AbstractLicensee.hasLicense
(String licenseName, String privilegeName, String pi) Checks whether the licensee has a license with the given name.boolean
User.isHasCmsPrivilege
(String privilege) isHasCmsPrivilege.boolean
User.isHasPrivilege
(String licenseType, String privilege) isHasPrivilege.boolean
Checks whether this user has the permission to delete all ocr-content of one page in crowdsourcing.boolean
User.isMaySetRepresentativeImage()
Checks whether this user has the permission to set the representative image for the currently open record. -
Uses of PresentationException in io.goobi.viewer.model.sitemap
Modifier and TypeMethodDescriptionGenerates sitemap files and writes them to the given outputPath (or web root).void
SitemapBuilder.updateSitemap
(SitemapRequestParameters params) void
SitemapBuilder.updateSitemap
(String outputPath, String viewerRootUrl) -
Uses of PresentationException in io.goobi.viewer.model.statistics
-
Uses of PresentationException in io.goobi.viewer.model.statistics.usage
Modifier and TypeMethodDescriptionStatisticsSummaryBuilder.loadSummary
(StatisticsSummaryFilter filter) Collect usage statistics from SOLR in aStatisticsSummary
-
Uses of PresentationException in io.goobi.viewer.model.toc
Modifier and TypeMethodDescriptionvoid
TOC.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 PresentationException in io.goobi.viewer.model.translations.admin
Modifier and TypeMethodDescriptionTranslationGroupItem.getEntries()
TranslationGroupItem.getTranslationStatus()
Returns the translation status over all existing entries.TranslationGroupItem.getTranslationStatusLanguage
(String language) Returns the translation status for the requested language over all existing entries.protected void
SolrFieldValueTranslationGroupItem.loadEntries()
protected abstract void
TranslationGroupItem.loadEntries()
Populates the message key map by first loading the appropriate keys and then callingcreateMessageKeyStatusMap
. -
Uses of PresentationException in io.goobi.viewer.model.viewer
Modifier and TypeMethodDescriptionViewManager.createCalendarView()
createCalendarView.static ViewManager
ViewManager.createViewManager
(String pi, boolean loadPages) Creates an instance of ViewManager loaded with the record with the given identifier.void
ViewManager.dropdownAction
(javax.faces.event.ValueChangeEvent event) dropdownAction.ViewManager.firstImage()
firstImage.StructElementStub.generateContextObject
(String currentUrl, StructElementStub topStruct) Generates a ContextObject (for a COinS element) containing metadata from thisStructElement
.ViewManager.getAltoUrl()
Return the url to a REST service delivering the alto file of the given page as xmlViewManager.getAltoUrlForAllPages()
Return the url to a REST service delivering all alto files of a work as zipViewManager.getCalendarView()
Getter for the fieldcalendarView
.ViewManager.getCitationStringHtml()
ViewManager.getCitationStringPlain()
ViewManager.getCiteLinkWork()
getCiteLinkWork.PhysicalElement.getContainedStructElements()
List of struct elements that start on this page.PhysicalElement.getContainedStructElementsAsJson()
ViewManager.getContentDownloadLinksForWork()
Returns a list of original content file download links (name+url) for the current document.ViewManager.getFilenamesByMimeType
(boolean localFilesOnly) StructElement.getFirstPageFieldValue
(String field) getFirstPageFieldValue.StructElement.getFirstVolume
(List<String> fields) getFirstVolume.StructElement.getFirstVolumeFieldValue
(String field) getFirstVolumeFieldValue.ViewManager.getFulltextUrl()
Return the url to a REST service delivering the fulltext as plain text of the given pageViewManager.getFulltextUrlForAllPages()
Return the url to a REST service delivering all plain text of a work as zipStructElement.getMetadataDocuments()
StructElementStub.getMetadataUrl()
Returns a URL to this element (but for the metadata view).ViewManager.getPageCountWithAlto()
long
ViewManager.getPageCountWithFulltext()
ViewManager.getPagesForMediaType
(String type) ViewManager.getPdfDownloadLink()
Returns the pdf download link for the current documentViewManager.getPdfDownloadLink
(List<List<String>> queryParams) Returns the pdf download link for the current document, allowing to attach a number of query parameters to itViewManager.getPdfStructDownloadLink()
Returns the pdf download link for the current struct elementViewManager.getPdfStructDownloadLink
(List<List<String>> queryParams) Returns the pdf download link for the current struct element, allowing to add a number of query parameters to itint
ViewManager.getRepresentativeHeight()
getRepresentativeHeight.ViewManager.getRepresentativeImageInfo()
getRepresentativeImageInfo.ViewManager.getRepresentativeImageUrl()
getRepresentativeImageUrl.ViewManager.getRepresentativeImageUrl
(int width, int height) ViewManager.getRepresentativePage()
Getter for the fieldrepresentativePage
.int
ViewManager.getRepresentativeWidth()
getRepresentativeWidth.ViewManager.getSidebarWidgetUsageCitationLinksForLevel
(String levelName) StructElement.getTopStruct()
Returns a StructElement that represents the top non-anchor element of the hierarchy (ISWORK=true).ViewManager.getVersionHistory()
Getter for the fieldversionHistory
.boolean
StructElement.isAltoAvailable()
Returns true if the record has any ALTO documents indexed in its pages; false otherwise.boolean
ViewManager.isAltoAvailableForWork()
isAltoAvailableForWork.boolean
ViewManager.isBelowFulltextThreshold()
isBelowFulltextThreshold.boolean
ViewManager.isDisplayCalendarViewLink()
boolean
ViewManager.isDisplayFulltextViewLink()
boolean
ViewManager.isDisplayNerViewLink()
boolean
ViewManager.isFulltextAvailableForWork()
isFulltextAvailableForWork.boolean
ViewManager.isFulltextFromTEI()
boolean
StructElement.isHasChildren()
Checks whether the Solr document represented by this StructElement has child elements in the index.boolean
StructElement.isHasParentOrChildren()
isHasParentOrChildren.boolean
ViewManager.isHasUrns()
isHasUrns.boolean
ViewManager.isHasVersionHistory()
isHasVersionHistory.boolean
ViewManager.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).boolean
StructElement.isNerAvailable()
Returns true if the record has any NE_* tags indexed in its pages; false otherwise.boolean
ViewManager.isRecordHasTEIFiles()
boolean
ViewManager.isTeiAvailableForWork()
isTeiAvailableForWork.ViewManager.lastImage()
lastImage.ViewManager.nextImage()
nextImage.ViewManager.prevImage()
prevImage.void
ViewManager.setCurrentImageOrder
(int currentImageOrder) currentPageOrder.void
ViewManager.setCurrentImageOrderForPaginator
(int currentImageOrder) Setter for the direct page number input fieldvoid
ViewManager.setCurrentImageOrderString
(String currentImageOrderString) Main method for setting the current page(s) in this ViewManager.ModifierConstructorDescriptionEventElement
(org.apache.solr.common.SolrDocument doc, Locale locale, boolean forSearchHit) Constructor for EventElement.ViewManager
(StructElement topDocument, IPageLoader pageLoader, String currentDocumentIddoc, String logId, String mimeType, ImageDeliveryBean imageDeliveryBean) Constructor for ViewManager. -
Uses of PresentationException in io.goobi.viewer.model.viewer.collections
ModifierConstructorDescriptionHierarchicalBrowseDcElement
(String name, long number, String field, String sortField, String splittingChar, int displayNumberOfVolumesLevel) Constructor for HierarchicalBrowseDcElement. -
Uses of PresentationException in io.goobi.viewer.model.viewer.pageloader
Modifier and TypeMethodDescriptionstatic AbstractPageLoader
AbstractPageLoader.create
(StructElement topStructElement) Creates and returns the appropriate loader instance for the givenStructElement
.static AbstractPageLoader
AbstractPageLoader.create
(StructElement topStructElement, boolean loadPages) Creates and returns the appropriate loader instance for the givenStructElement
.static AbstractPageLoader
AbstractPageLoader.create
(StructElement topStructElement, List<Integer> pageNosToLoad) EagerPageLoader.getOwnerIddocForPage
(int pageOrder) getOwnerIddocForPage.EmptyPageLoader.getOwnerIddocForPage
(int pageOrder) getOwnerIddocForPage.IPageLoader.getOwnerIddocForPage
(int pageOrder) getOwnerIddocForPage.LeanPageLoader.getOwnerIddocForPage
(int pageOrder) getOwnerIddocForPage.IPageLoader.getPageForFileName
(String fileName) getPageForFileName.LeanPageLoader.getPageForFileName
(String fileName) getPageForFileName.static PhysicalElement
AbstractPageLoader.loadPage
(StructElement topElement, int page) loadPage.protected PhysicalElement
loadPage. -
Uses of PresentationException in io.goobi.viewer.model.viewer.record.views
Modifier and TypeMethodDescriptionboolean
VisibilityCondition.checkAccess
(PhysicalElement page, javax.servlet.http.HttpServletRequest request, RecordPropertyCache properties) boolean
VisibilityCondition.checkAccess
(ViewManager viewManager, javax.servlet.http.HttpServletRequest request, RecordPropertyCache properties) static Collection<FileType>
FileType.containedFiletypes
(ViewManager viewManager, boolean localFilesOnly) RecordPropertyCache.getFileTypesForPage
(PhysicalElement page, boolean localFilesOnly) RecordPropertyCache.getFileTypesForRecord
(ViewManager viewManager, boolean localFilesOnly) RecordPropertyCache.getPermissionForPage
(PhysicalElement page, String privilege, javax.servlet.http.HttpServletRequest request) RecordPropertyCache.getPermissionForRecord
(ViewManager viewManager, String privilege, javax.servlet.http.HttpServletRequest request) protected TOC
VisibilityCondition.getToc
(ViewManager viewManager) boolean
VisibilityCondition.matchesPage
(PageType pageType, PhysicalElement page, javax.servlet.http.HttpServletRequest request, RecordPropertyCache properties) boolean
VisibilityCondition.matchesRecord
(PageType pageType, ViewManager viewManager, javax.servlet.http.HttpServletRequest request, RecordPropertyCache properties) -
Uses of PresentationException in io.goobi.viewer.solr
Modifier and TypeMethodDescriptionSolrSearchIndex.findDataRepositoryName
(String pi) Retrieves the repository name for the record with the given PI and persists it in a map.SolrTools.getAvailableValuesForField
(String field, String filterQuery) getAvailableValuesForField.SolrTools.getAvailableValuesForField
(String field, String filterQuery, boolean useFacetField) getAvailableValuesForField.SolrSearchIndex.getDisplayUserGeneratedContentsForPage
(String pi, int page) Deprecated.SolrSearchIndex.getDisplayUserGeneratedContentsForRecord
(String pi) getDisplayUserGeneratedContentsForPage.org.apache.solr.common.SolrDocumentList
Returns all SolrDocuments matching the given query.org.apache.solr.common.SolrDocument
SolrSearchIndex.getDocumentByIddoc
(String iddoc) getDocumentByIddoc.org.apache.solr.common.SolrDocument
SolrSearchIndex.getDocumentByPI
(String pi) getDocumentByPI.org.apache.solr.common.SolrDocument
SolrSearchIndex.getDocumentByPIAndLogId
(String pi, String divId) SolrTools.getExistingSubthemes()
SolrSearchIndex.getFilename
(String pi, int order) Catches the filename of the page with the given order under the given ip.SolrSearchIndex.getFilename
(String pi, String basename) Catches the filename of the page with the given basename under the given ip.org.apache.solr.common.SolrDocument
SolrSearchIndex.getFirstDoc
(String query, List<String> fieldList) Retrieves the first document found by the given query.org.apache.solr.common.SolrDocument
SolrSearchIndex.getFirstDoc
(String query, List<String> fieldList, List<StringPair> sortFields) Retrieves the first document found by the given query.long
SolrSearchIndex.getHitCount
(String query) Returns the number of hits for the given query without actually returning any documents.long
SolrSearchIndex.getHitCount
(String query, List<String> filterQueries) Returns the number of hits for the given query and filter queries without actually returning any documents.SolrSearchIndex.getIddocByLogid
(String pi, String logId) Returns the IDDOC of the logical document to which the given LOGID belongs.SolrSearchIndex.getIddocFromIdentifier
(String identifier) Returns the value of the IDDOC field for the document with the given PI (or 0 if none found).SolrSearchIndex.getIdentifierFromIddoc
(String iddoc) getIdentifierFromIddoc.SolrSearchIndex.getImageOwnerIddoc
(String pi, int pageNo) Returns the IDDOC of the logical document to which the given page belongs.SolrSearchIndex.getLabelValuesForFacetField
(String field, String labelField, Set<String> values) SolrSearchIndex.getPage
(StructElement struct, int order) getPage.getPage.org.apache.solr.common.SolrDocumentList
Diese Methode führt eine Suche im Lucene durch.org.apache.solr.client.solrj.response.QueryResponse
SolrSearchIndex.search
(String query, int first, int rows, List<StringPair> sortFields, List<String> facetFields, String facetSort, List<String> fieldList, List<String> filterQueries, Map<String, String> params) Main Solr search method.org.apache.solr.client.solrj.response.QueryResponse
SolrSearchIndex.search
(String query, int first, int rows, List<StringPair> sortFields, List<String> facetFields, String facetSort, List<String> fieldList, List<String> filterQueries, Map<String, String> params, org.apache.solr.client.solrj.SolrRequest.METHOD queryMethod) org.apache.solr.client.solrj.response.QueryResponse
SolrSearchIndex.search
(String query, int first, int rows, List<StringPair> sortFields, List<String> facetFields, List<String> fieldList) search.org.apache.solr.client.solrj.response.QueryResponse
SolrSearchIndex.search
(String query, int first, int rows, List<StringPair> sortFields, List<String> facetFields, List<String> fieldList, List<String> filterQueries, Map<String, String> params) search.org.apache.solr.common.SolrDocumentList
search.org.apache.solr.common.SolrDocumentList
org.apache.solr.client.solrj.response.QueryResponse
SolrSearchIndex.searchFacetsAndStatistics
(String query, List<String> filterQueries, List<String> facetFields, int facetMinCount, boolean getFieldStatistics) Returns facets for the given facet field list.org.apache.solr.client.solrj.response.QueryResponse
SolrSearchIndex.searchFacetsAndStatistics
(String query, List<String> filterQueries, List<String> facetFields, int facetMinCount, String facetPrefix, Map<String, String> params, boolean getFieldStatistics) Returns facets for the given facet field list.org.apache.solr.client.solrj.response.QueryResponse
SolrSearchIndex.searchFacetsAndStatistics
(String query, List<String> filterQueries, List<String> facetFields, int facetMinCount, Map<String, String> params, boolean getFieldStatistics) Returns facets for the given facet field list. -
Uses of PresentationException in io.goobi.viewer.websockets
Modifier and TypeMethodDescriptionDownloadTaskEndpoint.getDownloadedFiles
(String pi, String downloadUrl) DownloadTaskEndpoint.getDownloadFolder
(String pi, String downloadUrl)
DownloadResource.getOrCreateDownloadJob(String, String, String, String)