Class Configuration
Configuration class.
- 
Field SummaryFieldsFields inherited from class io.goobi.viewer.controller.AbstractConfigurationbuilder, builderLocal, localConfigDisabled, localConfigDisabledTimestamp
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptiongetAbbyyFolder.intReturns a regex such that all download files which filenames fit this regex should not be visible in the downloads widget.getAdvancedSearchFieldDefaultOperator(String field, String template, boolean fallbackToDefaultTemplate) intgetAdvancedSearchFieldDisplaySelectItemsThreshold(String field, String template, boolean fallbackToDefaultTemplate) getAdvancedSearchFieldReplaceRegex(String field, String template, boolean fallbackToDefaultTemplate) getAdvancedSearchFieldReplaceWith(String field, String template, boolean fallbackToDefaultTemplate) getAdvancedSearchFields(String template, boolean fallbackToDefaultTemplate, String language) getAdvancedSearchFields.getAdvancedSearchFieldSelectType(String field, String template, boolean fallbackToDefaultTemplate) getAdvancedSearchFieldSeparatorLabel(String field, String template, boolean fallbackToDefaultTemplate) isAdvancedSearchFieldHierarchical.getAdvancedSearchTemplateQuery(String template) Returns a list containing all simple facet fields.getAltoCrowdsourcingFolder.getAltoFolder.getAncestorIdentifierFieldFilterQuery(String).getAncestorIdentifierFields.getAnchorLabelInTitleBarPrefix(String template) getAnchorLabelInTitleBarSuffix(String template) getAnchorThumbnailMode.getAnnotationFolder.Returns the list of configured metadata for the archives.intgetAuthenticationProviders.getBooleanFacetFields.intgetBreadcrumbsClipping.Returns the list of index fields to be used for term browsing.intgetBrowsingMenuHitsPerPage.intgetBrowsingMenuIndexSizeThreshold.Returns the list of structure elements allowed to be shown in calendar viewgetCmdiFolder.intgetCmsMediaDisplayHeight.intgetCmsMediaDisplayWidth.getCmsMediaFolder.getCmsTextFolder.getCollectionBlacklist(String field) Returns collection names to be omitted from search results, listings etc.Returns the index field by which records in the collection with the given name are to be sorted in a listing.intgetCollectionDisplayDepthForSearch.intgetCollectionDisplayNumberOfVolumesLevel.getCollectionHierarchyField.getCollectionSorting(String field) getCollectionSorting.getCollectionSortOrders(String field) Get all configured sortOrders for collections in the given field, mapped against regex which should match the collection(s) which subcollections should be sorted according the sortOrdergetCollectionSplittingChar(String field) getCollectionSplittingChar.intgetConfigLocalPath.getConfiguredCollections.Gets the value configured in webapi.cors.intintgetDatabaseConnectionAttempts.getDbPersistenceUnit.getDcUrl()getDcUrl.getDefaultSortField(String language) getDefaultSortField.getDescription.getDeveloperScriptPath(String purpose) getDfgViewerUrl.getDisplayAdditionalMetadataIgnoreFields.getDisplayAdditionalMetadataNoHighlightFields.getDisplayAdditionalMetadataIgnoreFields.getDisplayAdditionalMetadataSnippetFields.Returns a list of additional metadata fields thats are configured to have their values translated.booleangetDisplayBreadcrumbs.booleangetDisplayMetadataPageLinkBlock.booleangetDisplayStructType.booleangetDisplayTitleBreadcrumbs.getDocstrctWhitelistFilterQuery.getDocstructNavigationTypes(String template, boolean fallbackToDefaultTemplate) getDownloadFolder(String type) getDownloadFolder.getDownloadUrl.getEndYearForTimeline.getEseUrl.intgetExcelDownloadTimeout.getFacetFieldDescriptionKey(String facetField) getFacetFieldDescriptionKey.getFacetFieldStyle(String facetField) getFacetFieldType(String facetField) getFeedbackEmailAddresses.intgetFooterHeight.intgetFooterHeight(PageType view, String imageMimeType) getFooterHeight.intgetFullscreenFooterHeight.getFulltextCrowdsourcingFolder.getFulltextFolder.intgetFulltextFragmentLength.intgetFulltextPercentageWarningThreshold.getGeoFacetFieldPredicate(String facetField) getGeoFacetFields.intgetGeoMapFeatureConfiguration(String option, String template) getGeomapFeatureConfigurations(String option) List<jakarta.faces.model.SelectItem> getGeomapFilter(String name) getGeomapItemConfigurations(String option) getGeoMapMarker(String name) intgetGroupToLengthForFacetField(String facetField) getHierarchicalFacetFields.getHighlightMetadataForTemplate(String template) Returns the list of configured metadata forHighlights which reference a record.getHotfolder.url to rest api url for record media files.getIIIFAttribution.getIIIFDescriptionFields.intConfigured in webapi.iiif.discovery.activitiesPerPage.getIIIFEventFields.getIIIFLogo.getIIIFMetadataFields.getIIIFMetadataLabel(String field) getIIIFMetadataLabel.getIIIFNavDateField.UsesgetIIIFAttribution()as fallback;config:<iiif use-version="3.0"></iiif>getImageViewZoomScales.getImageViewZoomScales(PageType view, String imageMimeType) getImageViewZoomScales.getImageViewZoomScales(String view) getImageViewZoomScales.booleangetIncludeAnchorInTitleBreadcrumbs.getIndexedDenkxwebFolder.getIndexedDublinCoreFolder.getIndexedEadFolder.getIndexedLidoFolder.getIndexedMetsFolder.intgetInitialFacetElementNumber(String facetField) getInitialFacetElementNumber.getLabelFieldForFacetField(String facetField) floatgetLimitImageHeightLowerRatioThreshold.floatgetLimitImageHeightUpperRatioThreshold.getLocalRessourceBundleFile.getMainMetadataForTemplate(int index, String template) getMarcUrl.getMediaFolder.getMediaTypeHandling(String mimeType) getMediaTypeRedirectUrl(String mimeType) getMetadataConfigurationForTemplate(String type, String template, boolean fallbackToDefaultTemplate, boolean topstructValueFallbackDefaultValue) getMetadataListTypes(String prefix) getMetadataTemplates(String type) getMetadataTemplates(String type, boolean fallbackToDefaultTemplate, boolean topstructValueFallbackDefaultValue) getMultiValueOperatorForField(String facetField) getName()getName.getNextVersionIdentifierField.getNormdataFieldsForTemplate(String template) getNormdataFieldsForTemplate.intgetOrigContentFolder.getPageBrowseSteps.intgetPageLoaderThreshold.getPageMetadataForTemplate(String template) Returns the list of configured metadata for pages.intgetPageSelectionFormat.getPageType(PageType type) Returns the locally configured page type name for URLs (e.g.getPageTypeExitView(PageType type) getPdfFolder.getPiwikBaseURL.getPiwikSiteID.getPreviousVersionIdentifierField.Returns a list of values to prioritize for the given facet field.intgetQuartzSchedulerCronExpression(String taskName) intgetRangeFacetFieldMaxValue(String facetField) intgetRangeFacetFieldMinValue(String facetField) getRangeFacetFields.getReCaptchaSiteKey.getRecordGeomapFeatureSetConfigs(String templateName) getRecordGeomapMarker(String templateName) getRecordGroupIdentifierFields.getRecordTargetPageType(String publicationType) getRecordTargetPageType.getRestApiUrl.getRestrictedImageUrls.getRssCopyrightText.getRssDescription.intgetRssFeedItems.getRssTitle.intintgetSearchExcelExportFields.getSearchFilters.getSearchHitMetadataForTemplate(String template) Returns the list of configured metadata for search hit elements.intgetSearchHitMetadataValueLength.intgetSearchHitMetadataValueNumber.intgetSearchHitsPerPageDefaultValue.getSearchHitsPerPageValues.getSearchSortingOptions(String language) getSidebarMetadataForTemplate(String template) Returns the list of configured metadata for the sidebar.intgetSidebarTocCollapseLengthThreshold.intgetSidebarTocInitialCollapseLevel.intgetSidebarTocLengthBeforeCut.intgetSidebarTocLowestLevelToCollapseForLength.booleangetSidebarTocPageNumbersVisible.Returns a list of configured page download options.getSitelinksField.getSitelinksFilterQuery.getSmtpPassword.intgetSmtpSecurity.getSmtpSenderAddress.getSmtpSenderName.getSmtpServer.getSmtpUser.getSolrUrl.getSortFields.getSortOrder(String facetField) getSortOrder.getSourceFileUrl.getStartYearForTimeline.getStaticQuerySuffix.getStaticSortFields.Returns the stopwords loading during initialization.getStopwordsFilePath.getStringFormat(String type, Locale locale) getSubthemeDiscriminatorField.getSubthemeMainTheme.intgetTagCloudSampleSize(String fieldName) getTagCloudSampleSize.Deprecated.jobs are no longs handled via TaskManager but via queuesDeprecated.currently unused since download jobs are handled via message queuesgetTeiFolder.getTempFolder.A folder for temporary storage of media files.getTheme()getTheme.getThemeRootPath.intThe maximal image size retrievable with only the permission to view thumbnailsintgetThumbnailsHeight.intgetThumbnailsWidth.getTileSizes.getTileSizes(PageType view, String imageMimeType) getTileSizes.getTimelineHits.intgetTitleBreadcrumbsMaxTitleLength.intReturns number of elements displayed per paginator page in a table of contents for anchors and groups.intgetTocIndentation.getTocLabelConfiguration(String template) getTocLabelConfiguration.getTocVolumeGroupFieldForTemplate(String template) Returns the grouping Solr field for the given anchor TOC sort configuration.getTocVolumeSortFieldsForTemplate(String template) getTocVolumeSortFieldsForTemplate.getTranskribusAllowedDocumentTypes.getTranskribusDefaultCollection.getTranskribusPassword.getTranskribusRestApiUrl.getTranskribusUserName.getTwitterUserName.intThe maximal image size retrievable with the permission to view images but without the permission to zoom imagesgetUrnResolverUrl.getVersionLabelField.Get the base url of the viewer.getViewerHome.intgetViewerMaxImageHeight.intgetViewerMaxImageScale.intgetViewerMaxImageWidth.intgetViewerThumbnailsPerPage.getVocabulariesFolder.getWatermarkFormat.getWatermarkIdField.Returns the preference order of data to be used as an image footer text.getWebApiFields(String template) getWebApiFields.getWebApiToken.getWorkflowRestUrl.org.apache.commons.configuration2.BaseHierarchicalConfigurationgetZoomImageViewConfig(PageType pageType, String imageMimeType) getZoomImageViewConfig.booleanbooleanisAddCollectionHierarchyToBreadcrumbs.booleanisAddCORSHeader.booleanisAdvancedSearchEnabled.booleanisAdvancedSearchFieldAllowMultipleItems(String field, String template, boolean fallbackToDefaultTemplate) isAdvancedSearchFieldAllowMultipleItems.booleanisAdvancedSearchFieldHierarchical(String field, String template, boolean fallbackToDefaultTemplate) isAdvancedSearchFieldHierarchical.booleanisAdvancedSearchFieldRange(String field, String template, boolean fallbackToDefaultTemplate) isAdvancedSearchFieldRange.booleanisAdvancedSearchFieldUntokenizeForPhraseSearch(String field, String template, boolean fallbackToDefaultTemplate) isAdvancedSearchFieldUntokenizeForPhraseSearch.booleanisAllowRedirectCollectionToWork.booleanisAlwaysApplyFacetFieldToUnfilteredHits(String facetField) booleanisBookmarksEnabled.booleanisBrowsingMenuEnabled.booleanisCalendarSearchEnabled.booleanbooleanbooleanbooleanbooleanisDisplayAdditionalMetadataEnabled.booleanbooleanisDisplayAnchorLabelInTitleBar(String template) booleanbooleanisDisplayCollectionBrowsing.booleanisDisplayCrowdsourcingModuleLinks.booleanbooleanisDisplaySearchResultNavigation.booleanisDisplaySearchRssLinks.booleanisDisplaySidebarBrowsingTerms.booleanbooleanbooleanbooleanbooleanisDisplayStatistics.booleanisDisplayTagCloudNavigation.booleanbooleanisDisplayTimeMatrix.booleanisDisplayTitlePURL.booleanbooleanisDisplayUserNavigation.booleanbooleanisDocHierarchyPdfEnabled.booleanbooleanisDoublePageNavigationDefault(PageType pageType, String imageMimeType) Return true if double page navigation should be used per default for the givenPageTypeandImageType.booleanisDoublePageNavigationEnabled(PageType pageType, String imageMimeType) Return true if double page navigation is enabled for the givenPageTypeandImageType.booleanbooleanisFacetFieldDisplayValueFilter(String facetField) booleanisFacetFieldSkipInWidget(String facetField) booleanisFoldout.booleanisFullAccessForLocalhost.booleanisGeneratePdfInMessageQueue.booleanstatic booleanisLanguageVersionOtherThan(String field, String language) booleanisLimitImageHeight.booleanisMetadataEpubEnabled.booleanisMetadataPdfEnabled.booleanisPageBrowseEnabled.booleanisPagePdfEnabled.booleanisPdfApiDisabled.booleanisPiwikTrackingEnabled.booleanisPreventProxyCaching.booleanbooleanbooleanisRememberImageRotation.booleanisRememberImageZoom.booleanisSearchExcelExportEnabled.booleanisSearchInItemOnlyIfFullTextAvailable.booleanbooleanisSearchRisExportEnabled.booleanisSearchSavingEnabled.booleanisSequencePageNavigationEnabled(PageType pageType, String imageMimeType) Return true if sequence page navigation is enabled for the givenPageTypeandImageType.booleanisShowOpenIdConnect.booleanisShowSearchHitsInGeoFacetMap(String facetField) booleanisSidebarRssFeedWidgetEnabled.booleanisSidebarTocTreeView.booleanThis method checks whether the TOC widget is enabled.booleanisSidebarViewsWidgetCalendarViewLinkVisible.booleanisSidebarViewsWidgetFulltextLinkVisible.booleanisSidebarViewsWidgetMetadataViewLinkVisible.booleanisSidebarViewsWidgetObjectViewLinkVisible.booleanisSidebarViewsWidgetOpacLinkVisible.booleanisSidebarViewsWidgetThumbsViewLinkVisible.booleanThis method checks whether the TOC link in the sidebar views widget is enabled.booleanisSidebarWidgetForViewCollapsedByDefault(String view, String widget) booleanisSidebarWidgetForViewCollapsible(String view, String widget) booleanbooleanisSortingEnabled.booleanbooleanbooleanisTimelineSearchEnabled.booleanisTitleEpubEnabled.booleanisTitlePdfEnabled.booleanisTocEpubEnabled.booleanisTocListSiblingRecords.booleanisTocPdfEnabled.booleanisTocTreeView(String docStructType) isTocTreeView.booleanisTranskribusEnabled.booleanisTranslateFacetFieldLabels(String facetField) booleanisUrnDoRedirect.booleanbooleanbooleanisUseReCaptcha.booleanisUserRegistrationEnabled.booleanbooleanbooleanbooleanbooleanbooleanbooleanloadStopwords(String stopwordsFilePath) loadStopwords.static GeoMapMarkerreadGeoMapMarker(org.apache.commons.configuration2.HierarchicalConfiguration<org.apache.commons.configuration2.tree.ImmutableNode> config) booleanbooleanshowImageNavigator(PageType view, String imageMimeType) whether to show a navigator element in the openseadragon viewebooleanshowImageThumbnailGallery(PageType view, String imageMimeType) booleanbooleanbooleanbooleanbooleanuseTiles()useTiles.booleanuseTiles.booleanuseTilesFullscreen.Methods inherited from class io.goobi.viewer.controller.AbstractConfigurationgetConfig, getConfigLocal, getLocalBoolean, getLocalConfigurationAt, getLocalConfigurationsAt, getLocalConfigurationsAt, getLocalFloat, getLocalFloat, getLocalInt, getLocalList, getLocalList, getLocalList, getLocalNodeList, getLocalString, getLocalString, overrideValue
- 
Field Details- 
CONFIG_FILE_NAME- See Also:
 
- 
METADATA_LIST_TYPE_PAGE- See Also:
 
- 
METADATA_LIST_TYPE_SEARCH_HIT- See Also:
 
 
- 
- 
Constructor Details- 
ConfigurationConstructor for Configuration. - Parameters:
- configFilePath- a- Stringobject.
 
 
- 
- 
Method Details- 
loadStopwordsloadStopwords. - Parameters:
- stopwordsFilePath- a- Stringobject.
- Returns:
- a Setobject.
- Throws:
- IOException- if any.
 
- 
getStopwordsReturns the stopwords loading during initialization.- Returns:
- a Setobject.
 
- 
getConfigLocalPathgetConfigLocalPath. - Returns:
- the path to the local config_viewer.xml file.
 
- 
getLocalRessourceBundleFilegetLocalRessourceBundleFile. - Returns:
- a Stringobject.
 
- 
getViewerThumbnailsPerPagepublic int getViewerThumbnailsPerPage()getViewerThumbnailsPerPage. - Returns:
- a int.
 
- 
getViewerMaxImageWidthpublic int getViewerMaxImageWidth()getViewerMaxImageWidth. - Returns:
- a int.
 
- 
getViewerMaxImageHeightpublic int getViewerMaxImageHeight()getViewerMaxImageHeight. - Returns:
- a int.
 
- 
getViewerMaxImageScalepublic int getViewerMaxImageScale()getViewerMaxImageScale. - Returns:
- a int.
 
- 
isRememberImageZoompublic boolean isRememberImageZoom()isRememberImageZoom. - Returns:
- a boolean.
 
- 
isRememberImageRotationpublic boolean isRememberImageRotation()isRememberImageRotation. - Returns:
- a boolean.
 
- 
getDfgViewerUrlgetDfgViewerUrl. - Returns:
- a Stringobject.
 
- 
getDfgViewerSourcefileField- Returns:
- Configured value
 
- 
getMetadataListTypes- Parameters:
- prefix- Optional prefix for filtering
- Returns:
- List of type attribute values of matching lists
 
- 
getMetadataConfigurationForTemplatepublic List<Metadata> getMetadataConfigurationForTemplate(String type, String template, boolean fallbackToDefaultTemplate, boolean topstructValueFallbackDefaultValue) - Parameters:
- type-
- template-
- fallbackToDefaultTemplate-
- topstructValueFallbackDefaultValue-
- Returns:
- List of metadata configurations
 
- 
getMetadataTemplates- Parameters:
- type-
- Returns:
- Map<String, List<Metadata>>
 
- 
getMetadataTemplatespublic Map<String,List<Metadata>> getMetadataTemplates(String type, boolean fallbackToDefaultTemplate, boolean topstructValueFallbackDefaultValue) - Parameters:
- type-
- fallbackToDefaultTemplate-
- topstructValueFallbackDefaultValue-
- Returns:
- Map<String, List<Metadata>>
 
- 
getSearchHitMetadataForTemplateReturns the list of configured metadata for search hit elements.
- 
getPageMetadataForTemplateReturns the list of configured metadata for pages.
- 
getHighlightMetadataForTemplateReturns the list of configured metadata forHighlights which reference a record.
- 
getMetadataViews- Returns:
- Configured values
 
- 
getMainMetadataForTemplate- Parameters:
- index-
- template-
- Returns:
- List of configured Metadatafields for the given template
 
- 
getSidebarMetadataForTemplateReturns the list of configured metadata for the sidebar.- Parameters:
- template- Template name
- Returns:
- List of configured metadata for configured fields
 
- 
getArchiveMetadataReturns the list of configured metadata for the archives.- Returns:
- List of configured metadata for configured fields
 
- 
getNormdataFieldsForTemplategetNormdataFieldsForTemplate. - Parameters:
- template- Template name
- Returns:
- List of normdata fields configured for the given template name
 
- 
getTocLabelConfigurationgetTocLabelConfiguration. 
- 
getGeoMapFeatureConfiguration
- 
getMetadataListForGeomapMarkerConfig
- 
getMetadataListForGeomapItemConfig
- 
getGeomapFeatureConfigurations
- 
getGeomapItemConfigurations
- 
getGeomapFeatureTitleOptions- Returns:
- Configured values
 
- 
getGeomapDefaultView
- 
getGeomapFilter
- 
getGeomapFilters
- 
getRecordGeomapFeatureSetConfigs
- 
getTocAnchorGroupElementsPerPagepublic int getTocAnchorGroupElementsPerPage()Returns number of elements displayed per paginator page in a table of contents for anchors and groups. Values below 1 disable pagination (all elements are displayed on the single page).- Returns:
- a int.
 
- 
getAdditionalFilesDisplayFiltersReturns a regex such that all download files which filenames fit this regex should not be visible in the downloads widget. If an empty string is returned, all downloads should remain visible - Returns:
- a regex or an empty string if no downloads should be hidden
 
- 
isDisplaySidebarWidgetCitationCitationRecommendationpublic boolean isDisplaySidebarWidgetCitationCitationRecommendation()- Returns:
- Boolean value
 
- 
getSidebarWidgetCitationCitationRecommendationStyles- Returns:
- List of available citation style names
 
- 
getSidebarWidgetCitationCitationRecommendationSource- Returns:
- Configured values
 
- 
getSidebarWidgetCitationCitationRecommendationDocstructMapping- Returns:
- Map containing mappings DOCSTRCT -> citeproc type
 
- 
isDisplaySidebarWidgetCitationCitationLinkspublic boolean isDisplaySidebarWidgetCitationCitationLinks()- Returns:
- Boolean value
 
- 
getSidebarWidgetCitationCitationLinks- Returns:
- Configured values
 
- 
getSidebarWidgetDownloadsPageDownloadOptionsReturns a list of configured page download options.- Returns:
- List of configured DownloadOptionitems
 
- 
isDisplayWidgetDownloadsDownloadOptionspublic boolean isDisplayWidgetDownloadsDownloadOptions()- Returns:
- Configured value
 
- 
isDisplaySidebarWidgetDownloadsPdfPageRangepublic boolean isDisplaySidebarWidgetDownloadsPdfPageRange()- Returns:
- Configured value; otherwise false
 
- 
getSidebarWidgetsForView- Parameters:
- view- Record view name
- Returns:
- List of sidebar widget names to display in the given view (in the intended order)
 
- 
isSidebarWidgetForViewCollapsible- Parameters:
- view- Record view name
- widget- Widget name
- Returns:
- true if widget configured as collapsible; false otherwise; default is false
 
- 
isSidebarWidgetForViewCollapsedByDefault- Parameters:
- view- Record view name
- widget- Widget name
- Returns:
- true if widget configured as collapsed by default; false otherwise; default is false
 
- 
getCalendarDocStructTypesReturns the list of structure elements allowed to be shown in calendar view- Returns:
- a Listobject.
 
- 
isBrowsingMenuEnabledpublic boolean isBrowsingMenuEnabled()isBrowsingMenuEnabled. - Returns:
- a boolean.
 
- 
getBrowsingMenuIndexSizeThresholdpublic int getBrowsingMenuIndexSizeThreshold()getBrowsingMenuIndexSizeThreshold. - Returns:
- Solr doc count threshold for browsing term calculation
 
- 
getBrowsingMenuHitsPerPagepublic int getBrowsingMenuHitsPerPage()getBrowsingMenuHitsPerPage. - Returns:
- a int.
 
- 
getBrowsingMenuFieldsReturns the list of index fields to be used for term browsing.- Returns:
- a Listobject.
 
- 
getBrowsingMenuSortingIgnoreLeadingChars- Returns:
- Configured value
 
- 
getDocstrctWhitelistFilterQuerygetDocstrctWhitelistFilterQuery. - Returns:
- a Stringobject.
 
- 
getCollectionSplittingChargetCollectionSplittingChar. 
- 
getConfiguredCollectionFields- Returns:
- Configured values
 
- 
getCollectionSortOrdersGet all configured sortOrders for collections in the given field, mapped against regex which should match the collection(s) which subcollections should be sorted according the sortOrder- Parameters:
- field- the solr fild on which the collection is based
- Returns:
- a map of regular expressions matching collection names and associated sortOrders
 
- 
getCollectionSortinggetCollectionSorting. 
- 
getCollectionBlacklistReturns collection names to be omitted from search results, listings etc.
- 
getCollectionDefaultSortFieldsReturns the index field by which records in the collection with the given name are to be sorted in a listing.
- 
getCollectionDisplayNumberOfVolumesLevelgetCollectionDisplayNumberOfVolumesLevel. - Parameters:
- field- a- Stringobject.
- Returns:
- a int.
 
- 
getCollectionDisplayDepthForSearchgetCollectionDisplayDepthForSearch. - Parameters:
- field- a- Stringobject.
- Returns:
- a int.
 
- 
getCollectionHierarchyFieldgetCollectionHierarchyField. - Returns:
- a Stringobject.
 
- 
isAddCollectionHierarchyToBreadcrumbsisAddCollectionHierarchyToBreadcrumbs. - Parameters:
- field- a- Stringobject.
- Returns:
- a boolean.
 
- 
getSolrUrlgetSolrUrl. - Returns:
- a Stringobject.
 
- 
getDownloadUrlgetDownloadUrl. - Returns:
- a Stringobject.
 
- 
getViewerBaseUrlGet the base url of the viewer. This is the url up to the context path. The returned url always ends with a '/'- Returns:
- The base viewer url
 
- 
getRestApiUrlgetRestApiUrl. - Returns:
- The url to the viewer REST API as configured in the config_viewer. The url always ends with "/"
 
- 
getIIIFApiUrlurl to rest api url for record media files. Always ends with a slash- Returns:
- Configured value
 
- 
isUseIIIFApiUrlForCmsMediaUrlspublic boolean isUseIIIFApiUrlForCmsMediaUrls()- Returns:
- Configured value
 
- 
getSourceFileUrlgetSourceFileUrl. - Returns:
- a Stringobject.
 
- 
getMarcUrlgetMarcUrl. - Returns:
- a Stringobject.
 
- 
getDcUrlgetDcUrl. - Returns:
- a Stringobject.
 
- 
getEseUrlgetEseUrl. - Returns:
- a Stringobject.
 
- 
getSearchHitsPerPageValuesgetSearchHitsPerPageValues. - Returns:
- List of configured values
 
- 
isDisplaySearchHitNumberspublic boolean isDisplaySearchHitNumbers()- Returns:
- Configured value; default value if none found
 
- 
getSearchChildHitsInitialLoadLimitpublic int getSearchChildHitsInitialLoadLimit()
- 
getSearchChildHitsToLoadOnExpandpublic int getSearchChildHitsToLoadOnExpand()
- 
getSearchHitsPerPageDefaultValuepublic int getSearchHitsPerPageDefaultValue()getSearchHitsPerPageDefaultValue. - Returns:
- value element that is marked as default value; 10 if none found
 
- 
getFulltextFragmentLengthpublic int getFulltextFragmentLength()getFulltextFragmentLength. - Returns:
- a int.
 
- 
isAdvancedSearchEnabledpublic boolean isAdvancedSearchEnabled()isAdvancedSearchEnabled. - Returns:
- a boolean.
 
- 
getAdvancedSearchTemplateNames- Returns:
- List of configured template names
 
- 
getAdvancedSearchDefaultTemplateName- Returns:
- _DEFAULT or the name of the first template in the list
 
- 
getAdvancedSearchTemplateQuery- Parameters:
- template-
- Returns:
- Value of the query attribute; empty string if none found
 
- 
getAdvancedSearchFieldspublic List<AdvancedSearchFieldConfiguration> getAdvancedSearchFields(String template, boolean fallbackToDefaultTemplate, String language) getAdvancedSearchFields. - Parameters:
- template-
- fallbackToDefaultTemplate-
- language-
- Returns:
- a Listobject.
 
- 
isDisplayAdditionalMetadataEnabledpublic boolean isDisplayAdditionalMetadataEnabled()isDisplayAdditionalMetadataEnabled. - Returns:
- a boolean.
 
- 
getDisplayAdditionalMetadataIgnoreFieldsgetDisplayAdditionalMetadataIgnoreFields. - Returns:
- List of configured fields; empty list if none found.
 
- 
getDisplayAdditionalMetadataTranslateFieldsReturns a list of additional metadata fields thats are configured to have their values translated. Field names are normalized (i.e. things like _UNTOKENIZED are removed). - Returns:
- List of configured fields; empty list if none found.
 
- 
getDisplayAdditionalMetadataOnelineFieldsgetDisplayAdditionalMetadataIgnoreFields. - Returns:
- List of configured fields; empty list if none found.
 
- 
getDisplayAdditionalMetadataSnippetFieldsgetDisplayAdditionalMetadataSnippetFields. - Returns:
- List of configured fields; empty list if none found.
 
- 
getDisplayAdditionalMetadataNoHighlightFieldsgetDisplayAdditionalMetadataNoHighlightFields. - Returns:
- List of configured fields; empty list if none found.
 
- 
isAdvancedSearchFieldHierarchicalpublic boolean isAdvancedSearchFieldHierarchical(String field, String template, boolean fallbackToDefaultTemplate) isAdvancedSearchFieldHierarchical. - Parameters:
- field- a- Stringobject.
- template-
- fallbackToDefaultTemplate-
- Returns:
- a boolean.
 
- 
isAdvancedSearchFieldRangepublic boolean isAdvancedSearchFieldRange(String field, String template, boolean fallbackToDefaultTemplate) isAdvancedSearchFieldRange. - Parameters:
- field- a- Stringobject.
- template-
- fallbackToDefaultTemplate-
- Returns:
- a boolean.
 
- 
isAdvancedSearchFieldAllowMultipleItemspublic boolean isAdvancedSearchFieldAllowMultipleItems(String field, String template, boolean fallbackToDefaultTemplate) isAdvancedSearchFieldAllowMultipleItems. - Parameters:
- field- a- Stringobject.
- template-
- fallbackToDefaultTemplate-
- Returns:
- a boolean.
 
- 
isAdvancedSearchFieldUntokenizeForPhraseSearchpublic boolean isAdvancedSearchFieldUntokenizeForPhraseSearch(String field, String template, boolean fallbackToDefaultTemplate) isAdvancedSearchFieldUntokenizeForPhraseSearch. - Parameters:
- field- a- Stringobject.
- template-
- fallbackToDefaultTemplate-
- Returns:
- a boolean.
 
- 
getAdvancedSearchFieldDisplaySelectItemsThresholdpublic int getAdvancedSearchFieldDisplaySelectItemsThreshold(String field, String template, boolean fallbackToDefaultTemplate) - Parameters:
- field-
- template-
- fallbackToDefaultTemplate-
- Returns:
- Configured value
 
- 
getAdvancedSearchFieldSelectTypepublic String getAdvancedSearchFieldSelectType(String field, String template, boolean fallbackToDefaultTemplate) - Parameters:
- field-
- template-
- fallbackToDefaultTemplate-
- Returns:
- Configured value
 
- 
getAdvancedSearchFieldSeparatorLabelpublic String getAdvancedSearchFieldSeparatorLabel(String field, String template, boolean fallbackToDefaultTemplate) isAdvancedSearchFieldHierarchical. - Parameters:
- field- a- Stringobject.
- template-
- fallbackToDefaultTemplate-
- Returns:
- Label attribute value for the given field name
 
- 
getAdvancedSearchFieldReplaceRegexpublic String getAdvancedSearchFieldReplaceRegex(String field, String template, boolean fallbackToDefaultTemplate) - Parameters:
- field-
- template-
- fallbackToDefaultTemplate-
- Returns:
- Configured value; null if none found
 
- 
getAdvancedSearchFieldReplaceWithpublic String getAdvancedSearchFieldReplaceWith(String field, String template, boolean fallbackToDefaultTemplate) - Parameters:
- field-
- template-
- fallbackToDefaultTemplate-
- Returns:
- Configured value; null if none found
 
- 
getAdvancedSearchFieldDefaultOperatorpublic String getAdvancedSearchFieldDefaultOperator(String field, String template, boolean fallbackToDefaultTemplate) - Parameters:
- field-
- template-
- fallbackToDefaultTemplate-
- Returns:
- Configured value; null if none found
 
- 
getAdvancedSearchTemplateFirstLineDefaultOperator- Parameters:
- template-
- Returns:
- Configured value; null if none found
 
- 
isTimelineSearchEnabledpublic boolean isTimelineSearchEnabled()isTimelineSearchEnabled. - Returns:
- a boolean.
 
- 
isCalendarSearchEnabledpublic boolean isCalendarSearchEnabled()isCalendarSearchEnabled. - Returns:
- a boolean.
 
- 
getStaticQuerySuffixgetStaticQuerySuffix. - Returns:
- a Stringobject.
 
- 
getPreviousVersionIdentifierFieldgetPreviousVersionIdentifierField. - Returns:
- a Stringobject.
 
- 
getNextVersionIdentifierFieldgetNextVersionIdentifierField. - Returns:
- a Stringobject.
 
- 
getVersionLabelFieldgetVersionLabelField. - Returns:
- a Stringobject.
 
- 
getIndexedMetsFoldergetIndexedMetsFolder. - Returns:
- a Stringobject.
 
- 
getIndexedLidoFoldergetIndexedLidoFolder. - Returns:
- a Stringobject.
 
- 
getIndexedEadFoldergetIndexedEadFolder. - Returns:
- a Stringobject.
 
- 
getIndexedDenkxwebFoldergetIndexedDenkxwebFolder. - Returns:
- a Stringobject.
 
- 
getIndexedDublinCoreFoldergetIndexedDublinCoreFolder. - Returns:
- a Stringobject.
 
- 
getPageSelectionFormatgetPageSelectionFormat. - Returns:
- a Stringobject.
 
- 
getMediaFoldergetMediaFolder. - Returns:
- a Stringobject.
 
- 
getPdfFoldergetPdfFolder. - Returns:
- a Stringobject.
 
- 
getVocabulariesFoldergetVocabulariesFolder. - Returns:
- a Stringobject.
 
- 
getOrigContentFoldergetOrigContentFolder. - Returns:
- a Stringobject.
 
- 
getCmsMediaFoldergetCmsMediaFolder. - Returns:
- a Stringobject.
 
- 
getCmsTextFoldergetCmsTextFolder. - Returns:
- a Stringobject.
 
- 
getAltoFoldergetAltoFolder. - Returns:
- a Stringobject.
 
- 
getAltoCrowdsourcingFoldergetAltoCrowdsourcingFolder. - Returns:
- a Stringobject.
 
- 
getAbbyyFoldergetAbbyyFolder. - Returns:
- a Stringobject.
 
- 
getFulltextFoldergetFulltextFolder. - Returns:
- a Stringobject.
 
- 
getFulltextCrowdsourcingFoldergetFulltextCrowdsourcingFolder. - Returns:
- a Stringobject.
 
- 
getTeiFoldergetTeiFolder. - Returns:
- a Stringobject.
 
- 
getCmdiFoldergetCmdiFolder. - Returns:
- a Stringobject.
 
- 
getAnnotationFoldergetAnnotationFolder. - Returns:
- a Stringobject.
 
- 
getHotfoldergetHotfolder. - Returns:
- a Stringobject.
 
- 
getTempFoldergetTempFolder. - Returns:
- a Stringobject.
 
- 
getUrnResolverFields- Returns:
- Configured values
 
- 
isUrnDoRedirectpublic boolean isUrnDoRedirect()isUrnDoRedirect. - Returns:
- a boolean.
 
- 
isUserRegistrationEnabledpublic boolean isUserRegistrationEnabled()isUserRegistrationEnabled. - Returns:
- a boolean.
 
- 
getSecurityQuestions- Returns:
- Configured values
 
- 
isShowOpenIdConnectpublic boolean isShowOpenIdConnect()isShowOpenIdConnect. - Returns:
- a boolean.
 
- 
getAuthenticationProvidersgetAuthenticationProviders. - Returns:
- a Listobject.
 
- 
getSmtpServergetSmtpServer. - Returns:
- a Stringobject.
 
- 
getSmtpUsergetSmtpUser. - Returns:
- a Stringobject.
 
- 
getSmtpPasswordgetSmtpPassword. - Returns:
- a Stringobject.
 
- 
getSmtpSenderAddressgetSmtpSenderAddress. - Returns:
- a Stringobject.
 
- 
getSmtpSenderNamegetSmtpSenderName. - Returns:
- a Stringobject.
 
- 
getSmtpSecuritygetSmtpSecurity. - Returns:
- a Stringobject.
 
- 
getSmtpPortpublic int getSmtpPort()- Returns:
- Configured SMTP port number; -1 if not configured
 
- 
isDisplayCollectionBrowsingpublic boolean isDisplayCollectionBrowsing()isDisplayCollectionBrowsing. - Returns:
- a boolean.
 
- 
isDisplayStatisticspublic boolean isDisplayStatistics()isDisplayStatistics. - Returns:
- a boolean.
 
- 
isDisplayTimeMatrixpublic boolean isDisplayTimeMatrix()isDisplayTimeMatrix. - Returns:
- a boolean.
 
- 
isDisplayCrowdsourcingModuleLinkspublic boolean isDisplayCrowdsourcingModuleLinks()isDisplayCrowdsourcingModuleLinks. - Returns:
- a boolean.
 
- 
getThemegetTheme. - Returns:
- a Stringobject.
 
- 
getThemeRootPathgetThemeRootPath. - Returns:
- a Stringobject.
 
- 
getNamegetName. - Returns:
- a Stringobject.
 
- 
getDescriptiongetDescription. - Returns:
- a Stringobject.
 
- 
isDisplayTagCloudStartpagepublic boolean isDisplayTagCloudStartpage()- Returns:
- a boolean.
 
- 
isFoldoutisFoldout. - Parameters:
- sidebarElement- a- Stringobject.
- Returns:
- a boolean.
 
- 
isSidebarViewsWidgetObjectViewLinkVisiblepublic boolean isSidebarViewsWidgetObjectViewLinkVisible()isSidebarViewsWidgetObjectViewLinkVisible. - Returns:
- a boolean.
 
- 
isSidebarViewsWidgetCalendarViewLinkVisiblepublic boolean isSidebarViewsWidgetCalendarViewLinkVisible()isSidebarViewsWidgetCalendarViewLinkVisible. - Returns:
- a boolean.
 
- 
isSidebarViewsWidgetTocViewLinkVisiblepublic boolean isSidebarViewsWidgetTocViewLinkVisible()This method checks whether the TOC link in the sidebar views widget is enabled. To check whether the sidebar TOC widget is enabled, use isSidebarTocVisible().- Returns:
- a boolean.
 
- 
isSidebarViewsWidgetThumbsViewLinkVisiblepublic boolean isSidebarViewsWidgetThumbsViewLinkVisible()isSidebarViewsWidgetThumbsViewLinkVisible. - Returns:
- a boolean.
 
- 
isSidebarViewsWidgetMetadataViewLinkVisiblepublic boolean isSidebarViewsWidgetMetadataViewLinkVisible()isSidebarViewsWidgetMetadataViewLinkVisible. - Returns:
- a boolean.
 
- 
isSidebarViewsWidgetFulltextLinkVisiblepublic boolean isSidebarViewsWidgetFulltextLinkVisible()isSidebarViewsWidgetFulltextLinkVisible. - Returns:
- a boolean.
 
- 
isSidebarViewsWidgetOpacLinkVisiblepublic boolean isSidebarViewsWidgetOpacLinkVisible()isSidebarViewsWidgetOpacLinkVisible. - Returns:
- a boolean.
 
- 
isSearchInItemOnlyIfFullTextAvailablepublic boolean isSearchInItemOnlyIfFullTextAvailable()isSearchInItemOnlyIfFullTextAvailable. - Returns:
- a boolean.
 
- 
isSidebarTocWidgetVisibleInFullscreenpublic boolean isSidebarTocWidgetVisibleInFullscreen()This method checks whether the TOC widget is enabled. To check whether the sidebar TOC link in the views widget is enabled, use isSidebarTocVisible().- Returns:
- a boolean.
 
- 
getSidebarTocPageNumbersVisiblepublic boolean getSidebarTocPageNumbersVisible()getSidebarTocPageNumbersVisible. - Returns:
- a boolean.
 
- 
getSidebarTocLengthBeforeCutpublic int getSidebarTocLengthBeforeCut()getSidebarTocLengthBeforeCut. - Returns:
- a int.
 
- 
getSidebarTocInitialCollapseLevelpublic int getSidebarTocInitialCollapseLevel()getSidebarTocInitialCollapseLevel. - Returns:
- a int.
 
- 
getSidebarTocCollapseLengthThresholdpublic int getSidebarTocCollapseLengthThreshold()getSidebarTocCollapseLengthThreshold. - Returns:
- a int.
 
- 
getSidebarTocLowestLevelToCollapseForLengthpublic int getSidebarTocLowestLevelToCollapseForLength()getSidebarTocLowestLevelToCollapseForLength. - Returns:
- a int.
 
- 
isSidebarTocTreeViewpublic boolean isSidebarTocTreeView()isSidebarTocTreeView. - Returns:
- a boolean.
 
- 
isTocTreeViewisTocTreeView. - Parameters:
- docStructType- a- Stringobject.
- Returns:
- a boolean.
 
- 
isDisplaySidebarBrowsingTermspublic boolean isDisplaySidebarBrowsingTerms()isDisplaySidebarBrowsingTerms. - Returns:
- a boolean.
 
- 
isSidebarRssFeedWidgetEnabledpublic boolean isSidebarRssFeedWidgetEnabled()isSidebarRssFeedWidgetEnabled. - Returns:
- a boolean.
 
- 
getAllFacetFieldsReturns a list containing all simple facet fields. - Returns:
- a Listobject.
 
- 
getRegularFacetFields- Returns:
- Configured values
 
- 
getBooleanFacetFieldsgetBooleanFacetFields. - Returns:
- a Listobject.
 
- 
getHierarchicalFacetFieldsgetHierarchicalFacetFields. - Returns:
- a Listobject.
 
- 
getRangeFacetFieldsgetRangeFacetFields. - Returns:
- List of facet fields to be used as range values
 
- 
getRangeFacetFieldMinValue- Parameters:
- facetField-
- Returns:
- Configured value
 
- 
getRangeFacetFieldMaxValue- Parameters:
- facetField-
- Returns:
- Configured value
 
- 
getFacetFieldStyle- Parameters:
- facetField-
- Returns:
- Configured value
 
- 
getGeoFacetFieldsgetGeoFacetFields. - Returns:
- a Listobject.
 
- 
getGeoFacetFieldPredicate- Parameters:
- facetField-
- Returns:
- Configured value
 
- 
isShowSearchHitsInGeoFacetMap- Parameters:
- facetField-
- Returns:
- Configured value
 
- 
getInitialFacetElementNumbergetInitialFacetElementNumber. - Parameters:
- facetField- a- Stringobject.
- Returns:
- Number of initial facet values
 
- 
getFacetFieldDescriptionKeygetFacetFieldDescriptionKey. - Parameters:
- facetField- a- Stringobject.
- Returns:
- Optional description message key
 
- 
getSortOrdergetSortOrder. 
- 
getPriorityValuesForFacetFieldReturns a list of values to prioritize for the given facet field.- Parameters:
- field- a- Stringobject.
- Returns:
- List of priority values; empty list if none found for the given field
 
- 
getLabelFieldForFacetField- Parameters:
- facetField-
- Returns:
- Configured value
 
- 
isTranslateFacetFieldLabels- Parameters:
- facetField-
- Returns:
- Configured value
 
- 
getGroupToLengthForFacetField- Parameters:
- facetField-
- Returns:
- Configured value
 
- 
isAlwaysApplyFacetFieldToUnfilteredHits- Parameters:
- facetField-
- Returns:
- Configured value
 
- 
isFacetFieldSkipInWidget- Parameters:
- facetField-
- Returns:
- Configured value
 
- 
isFacetFieldDisplayValueFilter- Parameters:
- facetField-
- Returns:
- Configured value
 
- 
getFacetFieldType- Parameters:
- facetField-
- Returns:
- Configured value
 
- 
getMultiValueOperatorForField- Parameters:
- facetField-
- Returns:
- Configured value
 
- 
isSortingEnabledpublic boolean isSortingEnabled()isSortingEnabled. - Returns:
- a boolean.
 
- 
getDefaultSortFieldgetDefaultSortField. - Parameters:
- language-
- Returns:
- a Stringobject.
 
- 
getSortFieldsgetSortFields. - Returns:
- a Listobject.
 
- 
getSearchSortingOptions- Parameters:
- language-
- Returns:
- List of SearchSortingOptions from configured sorting fields
 
- 
getStaticSortFieldsgetStaticSortFields. - Returns:
- a Listobject.
 
- 
getSearchSortingKeyAscending- Parameters:
- field-
- Returns:
- Configured value
 
- 
getSearchSortingKeyDescending- Parameters:
- field-
- Returns:
- Configured value
 
- 
getUrnResolverUrlgetUrnResolverUrl. - Returns:
- a Stringobject.
 
- 
getThumbnailImageAccessMaxWidthpublic int getThumbnailImageAccessMaxWidth()The maximal image size retrievable with only the permission to view thumbnails- Returns:
- the maximal image width
 
- 
getUnzoomedImageAccessMaxWidthpublic int getUnzoomedImageAccessMaxWidth()The maximal image size retrievable with the permission to view images but without the permission to zoom images- Returns:
- the maximal image width, default ist 600
 
- 
isFullAccessForLocalhostpublic boolean isFullAccessForLocalhost()isFullAccessForLocalhost. - Returns:
- a boolean.
 
- 
isGeneratePdfInMessageQueuepublic boolean isGeneratePdfInMessageQueue()isGeneratePdfInMessageQueue. - Returns:
- a boolean.
 
- 
isPdfApiDisabledpublic boolean isPdfApiDisabled()isPdfApiDisabled. - Returns:
- a boolean.
 
- 
isTitlePdfEnabledpublic boolean isTitlePdfEnabled()isTitlePdfEnabled. - Returns:
- a boolean.
 
- 
isTocPdfEnabledpublic boolean isTocPdfEnabled()isTocPdfEnabled. - Returns:
- a boolean.
 
- 
isMetadataPdfEnabledpublic boolean isMetadataPdfEnabled()isMetadataPdfEnabled. - Returns:
- a boolean.
 
- 
isPagePdfEnabledpublic boolean isPagePdfEnabled()isPagePdfEnabled. - Returns:
- a boolean.
 
- 
isDocHierarchyPdfEnabledpublic boolean isDocHierarchyPdfEnabled()isDocHierarchyPdfEnabled. - Returns:
- a boolean.
 
- 
isTitleEpubEnabledpublic boolean isTitleEpubEnabled()isTitleEpubEnabled. - Returns:
- a boolean.
 
- 
isTocEpubEnabledpublic boolean isTocEpubEnabled()isTocEpubEnabled. - Returns:
- a boolean.
 
- 
isMetadataEpubEnabledpublic boolean isMetadataEpubEnabled()isMetadataEpubEnabled. - Returns:
- a boolean.
 
- 
getDownloadFoldergetDownloadFolder. 
- 
getExternalResourceUrlTemplates
- 
getExternalResourceTimeBeforeDeletion
- 
getRssFeedItemspublic int getRssFeedItems()getRssFeedItems. - Returns:
- a int.
 
- 
getRssTitlegetRssTitle. - Returns:
- a Stringobject.
 
- 
getRssDescriptiongetRssDescription. - Returns:
- a Stringobject.
 
- 
getRssCopyrightTextgetRssCopyrightText. - Returns:
- a Stringobject.
 
- 
getThumbnailsWidthpublic int getThumbnailsWidth()getThumbnailsWidth. - Returns:
- a int.
 
- 
getThumbnailsHeightpublic int getThumbnailsHeight()getThumbnailsHeight. - Returns:
- a int.
 
- 
getAnchorThumbnailModegetAnchorThumbnailMode. - Returns:
- a Stringobject.
 
- 
getDisplayBreadcrumbspublic boolean getDisplayBreadcrumbs()getDisplayBreadcrumbs. - Returns:
- a boolean.
 
- 
getDisplayMetadataPageLinkBlockpublic boolean getDisplayMetadataPageLinkBlock()getDisplayMetadataPageLinkBlock. - Returns:
- a boolean.
 
- 
useTilesuseTiles. - Returns:
- a boolean.
- Throws:
- ViewerConfigurationException- if any.
 
- 
useTilesFullscreenuseTilesFullscreen. - Returns:
- a boolean.
- Throws:
- ViewerConfigurationException- if any.
 
- 
useTilesuseTiles. - Parameters:
- view- a- PageTypeobject.
- imageMimeType- the mimetype to which the configuration should apply.
- Returns:
- a boolean.
- Throws:
- ViewerConfigurationException- if any.
 
- 
showImageThumbnailGallerypublic boolean showImageThumbnailGallery(PageType view, String imageMimeType) throws ViewerConfigurationException - Throws:
- ViewerConfigurationException
 
- 
getImageViewZoomScalesgetImageViewZoomScales. - Returns:
- a Listobject.
- Throws:
- ViewerConfigurationException- if any.
 
- 
getImageViewZoomScalesgetImageViewZoomScales. - Parameters:
- view- a- Stringobject.
- Returns:
- a Listobject.
- Throws:
- ViewerConfigurationException- if any.
 
- 
getImageViewZoomScalespublic List<String> getImageViewZoomScales(PageType view, String imageMimeType) throws ViewerConfigurationException getImageViewZoomScales. - Parameters:
- view- a- PageTypeobject.
- imageMimeType- the mimetype to which the configuration should apply.
- Returns:
- a Listobject.
- Throws:
- ViewerConfigurationException- if any.
 
- 
getTileSizesgetTileSizes. - Returns:
- the configured tile sizes for imageView as a hashmap linking each tile size to the list of resolutions to use with that size
- Throws:
- ViewerConfigurationException- if any.
 
- 
getTileSizespublic Map<Integer,List<Integer>> getTileSizes(PageType view, String imageMimeType) throws ViewerConfigurationException getTileSizes. - Parameters:
- view- a- PageTypeobject.
- imageMimeType- the mimetype to which the configuration should apply.
- Returns:
- a Mapobject.
- Throws:
- ViewerConfigurationException- if any.
 
- 
getZoomImageViewConfigpublic org.apache.commons.configuration2.BaseHierarchicalConfiguration getZoomImageViewConfig(PageType pageType, String imageMimeType) throws ViewerConfigurationException getZoomImageViewConfig. - Parameters:
- pageType- a- PageTypeobject.
- imageMimeType- the mimetype to which the configuration should apply.
- Returns:
- a SubnodeConfigurationobject.
- Throws:
- ViewerConfigurationException- if any.
 
- 
getBreadcrumbsClippingpublic int getBreadcrumbsClipping()getBreadcrumbsClipping. - Returns:
- a int.
 
- 
getDisplayStructTypepublic boolean getDisplayStructType()getDisplayStructType. - Returns:
- a boolean.
 
- 
getSearchHitMetadataValueNumberpublic int getSearchHitMetadataValueNumber()getSearchHitMetadataValueNumber. - Returns:
- a int.
 
- 
getSearchHitMetadataValueLengthpublic int getSearchHitMetadataValueLength()getSearchHitMetadataValueLength. - Returns:
- a int.
 
- 
isWatermarkTextConfigurationEnabledpublic boolean isWatermarkTextConfigurationEnabled()- Returns:
- true if enabled or not configured; false otherwise
 
- 
getWatermarkTextConfigurationReturns the preference order of data to be used as an image footer text.- Returns:
- a Listobject.
 
- 
getWatermarkFormatgetWatermarkFormat. - Returns:
- a Stringobject.
 
- 
getStopwordsFilePathgetStopwordsFilePath. - Returns:
- a Stringobject.
 
- 
getPageTypeReturns the locally configured page type name for URLs (e.g. "bild" instead of default "image").
- 
getRecordTargetPageTypegetRecordTargetPageType. 
- 
getPageTypeExitView
- 
getFulltextPercentageWarningThresholdpublic int getFulltextPercentageWarningThreshold()getFulltextPercentageWarningThreshold. - Returns:
- a int.
 
- 
getFallbackDefaultLanguage- Returns:
- Configured value
 
- 
getFeedbackEmailRecipientsgetFeedbackEmailAddresses. - Returns:
- a Stringobject.
 
- 
getDefaultFeedbackEmailAddress- Returns:
- Configured value
 
- 
isBookmarksEnabledpublic boolean isBookmarksEnabled()isBookmarksEnabled. - Returns:
- a boolean.
 
- 
getPageLoaderThresholdpublic int getPageLoaderThreshold()getPageLoaderThreshold. - Returns:
- a int.
 
- 
isPreventProxyCachingpublic boolean isPreventProxyCaching()isPreventProxyCaching. - Returns:
- a boolean.
 
- 
getDatabaseConnectionAttemptspublic int getDatabaseConnectionAttempts()getDatabaseConnectionAttempts. - Returns:
- a int.
 
- 
reviewEnabledForCommentspublic boolean reviewEnabledForComments()- Returns:
- Configured value
 
- 
getViewerHomegetViewerHome. - Returns:
- a Stringobject.
 
- 
getWatermarkIdFieldgetWatermarkIdField. - Returns:
- a Listobject.
 
- 
getSubthemeMainThemegetSubthemeMainTheme. - Returns:
- a Stringobject.
 
- 
getSubthemeDiscriminatorFieldgetSubthemeDiscriminatorField. - Returns:
- a Stringobject.
 
- 
getTagCloudSampleSizegetTagCloudSampleSize. - Parameters:
- fieldName- a- Stringobject.
- Returns:
- a int.
 
- 
getTocVolumeSortFieldsForTemplategetTocVolumeSortFieldsForTemplate. 
- 
getTocVolumeGroupFieldForTemplateReturns the grouping Solr field for the given anchor TOC sort configuration.
- 
getDisplayTitleBreadcrumbspublic boolean getDisplayTitleBreadcrumbs()getDisplayTitleBreadcrumbs. - Returns:
- a boolean.
 
- 
isDisplayTitlePURLpublic boolean isDisplayTitlePURL()isDisplayTitlePURL. - Returns:
- a boolean.
 
- 
getTitleBreadcrumbsMaxTitleLengthpublic int getTitleBreadcrumbsMaxTitleLength()getTitleBreadcrumbsMaxTitleLength. - Returns:
- a int.
 
- 
getIncludeAnchorInTitleBreadcrumbspublic boolean getIncludeAnchorInTitleBreadcrumbs()getIncludeAnchorInTitleBreadcrumbs. - Returns:
- a boolean.
 
- 
isDisplaySearchRssLinkspublic boolean isDisplaySearchRssLinks()isDisplaySearchRssLinks. - Returns:
- a boolean.
 
- 
getStartYearForTimelinegetStartYearForTimeline. - Returns:
- a Stringobject.
 
- 
getEndYearForTimelinegetEndYearForTimeline. - Returns:
- a Stringobject.
 
- 
getTimelineHitsgetTimelineHits. - Returns:
- a Stringobject.
 
- 
isPiwikTrackingEnabledpublic boolean isPiwikTrackingEnabled()isPiwikTrackingEnabled. - Returns:
- a boolean.
 
- 
getPiwikBaseURLgetPiwikBaseURL. - Returns:
- a Stringobject.
 
- 
getPiwikSiteIDgetPiwikSiteID. - Returns:
- a Stringobject.
 
- 
isSearchSavingEnabledpublic boolean isSearchSavingEnabled()isSearchSavingEnabled. - Returns:
- a boolean.
 
- 
getRecordGroupIdentifierFieldsgetRecordGroupIdentifierFields. - Returns:
- a Listobject.
 
- 
getAncestorIdentifierFieldsgetAncestorIdentifierFields. - Returns:
- a Listobject.
 
- 
isTocListSiblingRecordspublic boolean isTocListSiblingRecords()isTocListSiblingRecords. - Returns:
- a boolean.
 
- 
getAncestorIdentifierFieldFilterQuerygetAncestorIdentifierFieldFilterQuery(String). - Parameters:
- field-
- Returns:
- Configured filter query for the given field; empty string is none found
 
- 
getSearchFiltersgetSearchFilters. - Returns:
- a Listobject.
 
- 
getDefaultSearchFilter- Returns:
- Configured value
 
- 
getWebApiFieldsgetWebApiFields. - Parameters:
- template-
- Returns:
- JsonMetadataConfiguration
 
- 
getDbPersistenceUnitgetDbPersistenceUnit. - Returns:
- a Stringobject.
 
- 
getTempMediaFolderA folder for temporary storage of media files. Used by DC record creation to store uploaded files- Returns:
- "temp_media" unless otherwise configured in "tempMediaFolder"
 
- 
getUserAvatarFolder
- 
getCmsMediaDisplayWidthpublic int getCmsMediaDisplayWidth()getCmsMediaDisplayWidth. - Returns:
- a int.
 
- 
getCmsMediaDisplayHeightpublic int getCmsMediaDisplayHeight()getCmsMediaDisplayHeight. If not configured, return 100.000. In this case the actual image size always depends on the requested width - Returns:
- a int.
 
- 
isTranskribusEnabledpublic boolean isTranskribusEnabled()isTranskribusEnabled. - Returns:
- a boolean.
 
- 
getTranskribusUserNamegetTranskribusUserName. - Returns:
- a Stringobject.
 
- 
getTranskribusPasswordgetTranskribusPassword. - Returns:
- a Stringobject.
 
- 
getTranskribusDefaultCollectiongetTranskribusDefaultCollection. - Returns:
- a Stringobject.
 
- 
getTranskribusRestApiUrlgetTranskribusRestApiUrl. - Returns:
- a Stringobject.
 
- 
getTranskribusAllowedDocumentTypesgetTranskribusAllowedDocumentTypes. - Returns:
- a Listobject.
 
- 
getTocIndentationpublic int getTocIndentation()getTocIndentation. - Returns:
- a int.
 
- 
isPageBrowseEnabledpublic boolean isPageBrowseEnabled()isPageBrowseEnabled. - Returns:
- a boolean.
 
- 
getPageBrowseStepsgetPageBrowseSteps. - Returns:
- a Listobject.
 
- 
getPageSelectDropdownDisplayMinPagespublic int getPageSelectDropdownDisplayMinPages()- Returns:
- Configured value
 
- 
getWorkflowRestUrlgetWorkflowRestUrl. - Returns:
- The url to the Goobi workflow REST API as configured in the config_viewer. The url always ends with "/"
 
- 
getTaskManagerServiceUrlDeprecated.currently unused since download jobs are handled via message queuesgetTaskManagerServiceUrl. - Returns:
- a Stringobject.
 
- 
getTaskManagerRestUrlDeprecated.jobs are no longs handled via TaskManager but via queuesgetTaskManagerRestUrl. - Returns:
- a Stringobject.
 
- 
getReCaptchaSiteKeygetReCaptchaSiteKey. - Returns:
- a Stringobject.
 
- 
isUseReCaptchapublic boolean isUseReCaptcha()isUseReCaptcha. - Returns:
- a boolean.
 
- 
isSearchRisExportEnabledpublic boolean isSearchRisExportEnabled()isSearchRisExportEnabled. - Returns:
- a boolean.
 
- 
isSearchExcelExportEnabledpublic boolean isSearchExcelExportEnabled()isSearchExcelExportEnabled. - Returns:
- a boolean.
 
- 
getSearchExcelExportFieldsgetSearchExcelExportFields. - Returns:
- a Listobject.
 
- 
getExcelDownloadTimeoutpublic int getExcelDownloadTimeout()getExcelDownloadTimeout. - Returns:
- a int.
 
- 
getRestrictedImageUrlsgetRestrictedImageUrls. - Returns:
- a Listobject.
 
- 
getIIIFLicenses
- 
useExternalManifestUrlspublic boolean useExternalManifestUrls()
- 
getExternalManifestSolrField
- 
getIIIFMetadataFieldsgetIIIFMetadataFields. - Returns:
- a Listobject.
 
- 
getIIIFEventFieldsgetIIIFEventFields. - Returns:
- the list of all configured event fields for IIIF manifests All fields must contain a "/" to separate the event type and the actual field name If no "/" is present in the configured field it is prepended to the entry to indicate that this field should be taken from all events
 
- 
getIIIFMetadataLabelgetIIIFMetadataLabel. - Parameters:
- field- the value of the field
- Returns:
- The attribute "label" of any children of webapi.iiif.metadataFields
 
- 
getIIIFDiscoveryAvtivitiesPerPagepublic int getIIIFDiscoveryAvtivitiesPerPage()Configured in webapi.iiif.discovery.activitiesPerPage. Default value is 100- Returns:
- The number of activities to display per collection page in the IIIF discovery api
 
- 
getIIIFLogogetIIIFLogo. - Returns:
- a Stringobject.
 
- 
getIIIFAttributiongetIIIFAttribution. - Returns:
- a Stringobject.
 
- 
getIIIFDescriptionFieldsgetIIIFDescriptionFields. - Returns:
- a Listobject.
 
- 
getIIIFLabelFields
- 
getIIIFTranslationLocales
- 
getIIIFRightsField- Returns:
- The SOLR field containing a rights url for a IIIF3 manifest if one is configured
 
- 
getIIIFRequiredValueUsesgetIIIFAttribution()as fallback;- Returns:
- the message key to use for the IIIF3 requiredStatement value if the statement should be added to manifests.
 
- 
getIIIFRequiredLabel- Returns:
- the message key to use for the IIIF3 requiredStatement label. Default is "Attribution"
 
- 
getIIIFProvider- Returns:
- The list of configurations for IIIF3 providers
- Throws:
- PresentationException- if a provider or a homepage configuration misses the url or label element
 
- 
getIIIFProviderpublic List<ProviderConfiguration> getIIIFProvider(VariableReplacer vr) throws PresentationException - Parameters:
- vr-- VariableReplacer
- Returns:
- The list of configurations for IIIF3 providers
- Throws:
- PresentationException- if a provider or a homepage configuration misses the url or label element
 
- 
isVisibleIIIFRenderingPDFpublic boolean isVisibleIIIFRenderingPDF()- Returns:
- Configured value
 
- 
isVisibleIIIFRenderingViewerpublic boolean isVisibleIIIFRenderingViewer()- Returns:
- Configured value
 
- 
getLabelIIIFRenderingPDF
- 
getLabelIIIFRenderingViewer
- 
isVisibleIIIFRenderingPlaintextpublic boolean isVisibleIIIFRenderingPlaintext()- Returns:
- Configured value
 
- 
isVisibleIIIFRenderingAltopublic boolean isVisibleIIIFRenderingAlto()- Returns:
- Configured value
 
- 
getLabelIIIFRenderingPlaintext
- 
getLabelIIIFRenderingAlto
- 
isVisibleIIIFSeeAlsoMetspublic boolean isVisibleIIIFSeeAlsoMets()
- 
getLabelIIIFSeeAlsoMets
- 
isVisibleIIIFSeeAlsoLidopublic boolean isVisibleIIIFSeeAlsoLido()
- 
getLabelIIIFSeeAlsoLido
- 
getIIIFSeeAlsoMetadataConfigurations
- 
getSitelinksFieldgetSitelinksField. - Returns:
- a Stringobject.
 
- 
isSitelinksEnabledpublic boolean isSitelinksEnabled()- Returns:
- Configured value
 
- 
getSitelinksFilterQuerygetSitelinksFilterQuery. - Returns:
- a Stringobject.
 
- 
getConfiguredCollectionsgetConfiguredCollections. - Returns:
- a Listobject.
 
- 
getWebApiTokengetWebApiToken. - Returns:
- a Stringobject.
 
- 
isAllowRedirectCollectionToWorkpublic boolean isAllowRedirectCollectionToWork()isAllowRedirectCollectionToWork. - Returns:
- true if opening a collection containing only a single work should redirect to that work
 
- 
getTwitterUserNamegetTwitterUserName. - Returns:
- Configured value; null if none configured
 
- 
getLimitImageHeightUpperRatioThresholdpublic float getLimitImageHeightUpperRatioThreshold()getLimitImageHeightUpperRatioThreshold. - Returns:
- a float.
 
- 
getLimitImageHeightLowerRatioThresholdpublic float getLimitImageHeightLowerRatioThreshold()getLimitImageHeightLowerRatioThreshold. - Returns:
- a float.
 
- 
isLimitImageHeightpublic boolean isLimitImageHeight()isLimitImageHeight. - Returns:
- a boolean.
 
- 
isAddCORSHeaderpublic boolean isAddCORSHeader()isAddCORSHeader. - Returns:
- a boolean.
 
- 
getCORSHeaderValueGets the value configured in webapi.cors. Default is "*" - Returns:
- a Stringobject.
 
- 
isDiscloseImageContentLocationpublic boolean isDiscloseImageContentLocation()- Returns:
- Configured value
 
- 
getCopyrightIndicatorStyle- Returns:
- Configured value
 
- 
getCopyrightIndicatorStatusField- Returns:
- Configured value
 
- 
getCopyrightIndicatorStatusForValue- Parameters:
- value-
- Returns:
- Configured value
 
- 
getCopyrightIndicatorLicenseForValue- Parameters:
- value-
- Returns:
- Configured value
 
- 
getCopyrightIndicatorLicenseField- Returns:
- Configured value
 
- 
isDisplayAnchorLabelInTitleBar
- 
getAnchorLabelInTitleBarPrefix
- 
getAnchorLabelInTitleBarSuffix
- 
getMapBoxToken
- 
getMapBoxUser
- 
getMapBoxStyleId
- 
isDisplayAddressSearchInMappublic boolean isDisplayAddressSearchInMap()
- 
getGeoMapMarker- Parameters:
- name-
- Returns:
- Configured value
 
- 
getGeoMapMarkerFields- Returns:
- a list of solr field names containing GeoJson data used to create markers in maps
 
- 
useHeatmapForCMSMapspublic boolean useHeatmapForCMSMaps()
- 
useHeatmapForMapSearchpublic boolean useHeatmapForMapSearch()
- 
useHeatmapForFacettingpublic boolean useHeatmapForFacetting()
- 
getMarkerForMapSearch
- 
getMarkerForFacetting
- 
getSelectionColorForMapSearch
- 
getSelectionColorForFacetting
- 
includeCoordinateFieldsFromMetadataDocspublic boolean includeCoordinateFieldsFromMetadataDocs()
- 
getGeoMapMarkers
- 
getRecordGeomapMarker
- 
readGeoMapMarkerpublic static GeoMapMarker readGeoMapMarker(org.apache.commons.configuration2.HierarchicalConfiguration<org.apache.commons.configuration2.tree.ImmutableNode> config) - Parameters:
- config-
- Returns:
- Configured value
 
- 
getLicenseDescriptions- Returns:
- Configured values
 
- 
getArchivesLazyLoadingThresholdpublic int getArchivesLazyLoadingThreshold()- Returns:
- Configured value
 
- 
isExpandArchiveEntryOnSelectionpublic boolean isExpandArchiveEntryOnSelection()
- 
getArchiveNodeTypes
- 
getDefaultArchiveNodeType
- 
isDisplayUserGeneratedContentBelowImagepublic boolean isDisplayUserGeneratedContentBelowImage()- Returns:
- a boolean
 
- 
getIIIFVersionToUseconfig:<iiif use-version="3.0"></iiif>- Returns:
- Configured value
 
- 
getTranslationGroups- Returns:
- Configured value
 
- 
isDisplayAnnotationTextInImagepublic boolean isDisplayAnnotationTextInImage()- Returns:
- Configured value
 
- 
isUseFacetsAsExpandQuerypublic boolean isUseFacetsAsExpandQuery()- Returns:
- Configured value
 
- 
getAllowedFacetsForExpandQuery- Returns:
- Configured values
 
- 
isSearchResultGroupsEnabledpublic boolean isSearchResultGroupsEnabled()- Returns:
- Configured value
 
- 
getSearchResultGroups- Returns:
- Configured values
 
- 
isContentUploadEnabledpublic boolean isContentUploadEnabled()- Returns:
- Configured value
 
- 
getContentUploadToken- Returns:
- Configured value
 
- 
getContentUploadDocstruct- Returns:
- Configured value
 
- 
getContentUploadTemplateName- Returns:
- Configured value
 
- 
getContentUploadRejectionPropertyName- Returns:
- Configured value
 
- 
getContentUploadRejectionReasonPropertyName- Returns:
- Configured value
 
- 
getCrowdsourcingCampaignItemOrder
- 
getGeomapAnnotationZoompublic int getGeomapAnnotationZoom()
- 
getCrowdsourcingCampaignGeomapZoompublic int getCrowdsourcingCampaignGeomapZoom()
- 
getCrowdsourcingCampaignGeomapLngLat
- 
getCrowdsourcingCampaignGeomapTilesource
- 
isStatisticsEnabledpublic boolean isStatisticsEnabled()
- 
getCrawlerDetectionRegex
- 
isConfigEditorEnabledpublic boolean isConfigEditorEnabled()- Returns:
- Configured value
 
- 
getConfigEditorBackupFilespublic int getConfigEditorBackupFiles()- Returns:
- Configured value
 
- 
getConfigEditorDirectories- Returns:
- Configured values
 
- 
isProxyEnabledpublic boolean isProxyEnabled()- Returns:
- true if enabled; false otherwise
 
- 
getProxyUrl- Returns:
- Configured value
 
- 
getProxyPortpublic int getProxyPort()- Returns:
- Configured port number; 0 if none found
 
- 
isHostProxyWhitelisted- Parameters:
- url-
- Returns:
- Configured value
- Throws:
- MalformedURLException
- URISyntaxException
 
- 
getProxyWhitelist- Returns:
- Configured values
 
- 
isStartInternalMessageBrokerpublic boolean isStartInternalMessageBroker()
- 
getNumberOfParallelMessagespublic int getNumberOfParallelMessages()
- 
getActiveMQMessagePurgeIntervalpublic int getActiveMQMessagePurgeInterval()
- 
getQuartzSchedulerCronExpression
- 
getQuartzSchedulerCronExpression
- 
isDeveloperPageActivepublic boolean isDeveloperPageActive()
- 
getDeveloperScriptPath
- 
isLanguageVersionOtherThan- Parameters:
- field-
- language-
- Returns:
- Configured value
 
- 
getStringFormat
- 
getThemePullScriptPath
- 
isPullThemeEnabledpublic boolean isPullThemeEnabled()- Returns:
- boolean
 
- 
getCreateDeveloperPackageScriptPath
- 
getMediaTypeHandling
- 
getMediaTypeRedirectUrl
- 
getSearchHitStyleClass
- 
getRecordViewStyleClass
 
-