Class ConfigurationBean

java.lang.Object
io.goobi.viewer.managedbeans.ConfigurationBean
All Implemented Interfaces:
Serializable

@Named @ApplicationScoped public class ConfigurationBean extends Object implements Serializable
This is a wrapper class for the Configuration class for access from HTML.
See Also:
  • Constructor Details

    • ConfigurationBean

      public ConfigurationBean()
      Empty constructor.
  • Method Details

    • getModules

      public List<IModule> getModules()
      getModules.
      Returns:
      a list of all registered viewer modules
    • getName

      public String getName()
      getName.
      Returns:
      the configured application name
    • isBookmarksEnabled

      public boolean isBookmarksEnabled()
      isBookmarksEnabled.
      Returns:
      true if the bookmarks feature is enabled in the configuration, false otherwise
    • isSearchSavingEnabled

      public boolean isSearchSavingEnabled()
    • useTiles

      public boolean useTiles(String pageType, String mimeType) throws ViewerConfigurationException
      useTiles.
      Parameters:
      pageType - name of the page type to look up settings for
      mimeType - MIME type of the image being displayed
      Returns:
      true if tiles should be used for the given page type and MIME type, false otherwise
      Throws:
      ViewerConfigurationException - if any.
    • showImageNavigator

      public boolean showImageNavigator(String pageType, String mimeType) throws ViewerConfigurationException
      Returns whether a navigator element should be shown in the OpenSeadragon viewer.
      Parameters:
      pageType - get settings for this pageType
      mimeType - get settings for this image type
      Returns:
      true if navigator should be shown
      Throws:
      ViewerConfigurationException
    • getFooterHeight

      public int getFooterHeight(String pageType, String mimeType) throws ViewerConfigurationException
      getFooterHeight.
      Parameters:
      pageType - name of the page type to look up settings for
      mimeType - MIME type of the image being displayed
      Returns:
      a int.
      Throws:
      ViewerConfigurationException - if any.
    • getImageSizes

      public List<String> getImageSizes(String pageType, String mimeType) throws ViewerConfigurationException
      getImageSizes.
      Parameters:
      pageType - name of the page type to look up settings for
      mimeType - MIME type of the image being displayed
      Returns:
      a list of configured zoom scale values for the given page type and MIME type
      Throws:
      ViewerConfigurationException - if any.
    • getTileSizes

      public Map<Integer,List<Integer>> getTileSizes(String pageType, String mimeType) throws ViewerConfigurationException
      getTileSizes.
      Parameters:
      pageType - name of the page type to look up settings for
      mimeType - MIME type of the image being displayed
      Returns:
      a map of tile sizes (resolution) to lists of scale factors for the given page type and MIME type
      Throws:
      ViewerConfigurationException - if any.
    • useTiles

      public boolean useTiles() throws ViewerConfigurationException
      useTiles.
      Returns:
      true if tiles should be used for the default image view, false otherwise
      Throws:
      ViewerConfigurationException - if any.
    • useTilesFullscreen

      public boolean useTilesFullscreen() throws ViewerConfigurationException
      useTilesFullscreen.
      Returns:
      true if tiles should be used in fullscreen view, false otherwise
      Throws:
      ViewerConfigurationException - if any.
    • useTilesCrowd

      public boolean useTilesCrowd() throws ViewerConfigurationException
      useTilesCrowd.
      Returns:
      true if tiles should be used in the crowdsourcing edit view, false otherwise
      Throws:
      ViewerConfigurationException - if any.
    • getFooterHeight

      public int getFooterHeight() throws ViewerConfigurationException
      getFooterHeight.
      Returns:
      a int.
      Throws:
      ViewerConfigurationException - if any.
    • getFooterHeightFullscreen

      public int getFooterHeightFullscreen() throws ViewerConfigurationException
      getFooterHeightFullscreen.
      Returns:
      a int.
      Throws:
      ViewerConfigurationException - if any.
    • getFooterHeightCrowd

      public int getFooterHeightCrowd() throws ViewerConfigurationException
      getFooterHeightCrowd.
      Returns:
      a int.
      Throws:
      ViewerConfigurationException - if any.
    • isRememberImageZoom

      public boolean isRememberImageZoom()
      isRememberImageZoom.
      Returns:
      true if the image zoom level should be remembered across page navigation, false otherwise
    • isRememberImageRotation

      public boolean isRememberImageRotation()
      isRememberImageRotation.
      Returns:
      true if the image rotation angle should be remembered across page navigation, false otherwise
    • isDisplayStatistics

      public boolean isDisplayStatistics()
      isDisplayStatistics.
      Returns:
      true if the statistics widget should be displayed, false otherwise
    • isDisplaySearchRssLinks

      public boolean isDisplaySearchRssLinks()
      isDisplaySearchRssLinks.
      Returns:
      true if RSS feed links should be displayed on search result pages, false otherwise
    • isAdvancedSearchEnabled

      public boolean isAdvancedSearchEnabled()
      isAdvancedSearchEnabled.
      Returns:
      true if the advanced search feature is enabled, false otherwise
    • isTimelineSearchEnabled

      public boolean isTimelineSearchEnabled()
      isTimelineSearchEnabled.
      Returns:
      true if the timeline search feature is enabled, false otherwise
    • isCalendarSearchEnabled

      public boolean isCalendarSearchEnabled()
      isCalendarSearchEnabled.
      Returns:
      true if the calendar search feature is enabled, false otherwise
    • isDisplayBreadcrumbs

      public boolean isDisplayBreadcrumbs()
      isDisplayBreadcrumbs.
      Returns:
      true if breadcrumb navigation should be displayed, false otherwise
    • isDisplayMetadataPageLinkBlock

      public boolean isDisplayMetadataPageLinkBlock()
      isDisplayMetadataPageLinkBlock.
      Returns:
      true if the metadata page link block should be displayed, false otherwise
    • isPagePdfEnabled

      public boolean isPagePdfEnabled()
      isPagePdfEnabled.
      Returns:
      true if PDF download for individual pages is enabled, false otherwise
    • getRssTitle

      public String getRssTitle()
      getRssTitle.
      Returns:
      the configured RSS feed title
    • isDisplayTagCloudStartpage

      public boolean isDisplayTagCloudStartpage()
      isDisplayTagCloudStartpage.
      Returns:
      true if the tag cloud widget should be displayed on the start page, false otherwise
    • isDisplaySearchResultNavigation

      public boolean isDisplaySearchResultNavigation()
      isDisplaySearchResultNavigation.
      Returns:
      true if navigation arrows between search results should be displayed in record view, false otherwise
    • isDisplayStructType

      public boolean isDisplayStructType()
      isDisplayStructType.
      Returns:
      true if the document structure type label should be displayed, false otherwise
    • isDisplayCollectionBrowsing

      public boolean isDisplayCollectionBrowsing()
      isDisplayCollectionBrowsing.
      Returns:
      true if the collection browsing widget should be displayed, false otherwise
    • isDisplayUserNavigation

      public boolean isDisplayUserNavigation()
      isDisplayUserNavigation.
      Returns:
      true if the user account navigation links should be displayed, false otherwise
    • isDisplayTagCloudNavigation

      public boolean isDisplayTagCloudNavigation()
      isDisplayTagCloudNavigation.
      Returns:
      true if the tag cloud widget should be displayed in the navigation area, false otherwise
    • isDisplayTitlePURL

      public boolean isDisplayTitlePURL()
      isDisplayTitlePURL.
      Returns:
      true if the persistent URL should be displayed in the record title area, false otherwise
    • isSidebarTocWidgetVisibleInFullscreen

      public boolean isSidebarTocWidgetVisibleInFullscreen()
      isSidebarTocWidgetVisibleInFullscreen.
      Returns:
      true if the sidebar table-of-contents widget should be visible in fullscreen view, false otherwise
    • isSidebarOpacLinkVisible

      public boolean isSidebarOpacLinkVisible()
      isSidebarOpacLinkVisible.
      Returns:
      true if the OPAC link should be visible in the sidebar views widget, false otherwise
    • isSidebarTocPageNumbersVisible

      public boolean isSidebarTocPageNumbersVisible()
      isSidebarTocPageNumbersVisible.
      Returns:
      true if page numbers should be visible in the sidebar table-of-contents, false otherwise
    • isSidebarPageLinkVisible

      public boolean isSidebarPageLinkVisible()
      isSidebarPageLinkVisible.
      Returns:
      true if the object view link should be visible in the sidebar views widget, false otherwise
    • isSidebarCalendarLinkVisible

      @Deprecated(since="26.03") public boolean isSidebarCalendarLinkVisible()
      Deprecated.
      View has been retired
      isSidebarCalendarLinkVisible.
      Returns:
      true if the calendar view link should be visible in the sidebar views widget, false otherwise
    • isSidebarMetadataLinkVisible

      public boolean isSidebarMetadataLinkVisible()
      isSidebarMetadataLinkVisible.
      Returns:
      true if the metadata view link should be visible in the sidebar views widget, false otherwise
    • isSidebarThumbsLinkVisible

      public boolean isSidebarThumbsLinkVisible()
      isSidebarThumbsLinkVisible.
      Returns:
      true if the thumbnail view link should be visible in the sidebar views widget, false otherwise
    • isSidebarFulltextLinkVisible

      public boolean isSidebarFulltextLinkVisible()
      isSidebarFulltextLinkVisible.
      Returns:
      true if the full-text view link should be visible in the sidebar views widget, false otherwise
    • isTocTreeView

      public boolean isTocTreeView(String docStructType)
      isTocTreeView.
      Parameters:
      docStructType - document structure type name to check
      Returns:
      true if the table-of-contents for the given document structure type should be rendered as a tree, false otherwise
    • isSidebarTocTreeView

      public boolean isSidebarTocTreeView()
      isSidebarTocTreeView.
      Returns:
      true if the sidebar table-of-contents should be rendered as a tree, false otherwise
    • getSidebarTocLengthBeforeCut

      public int getSidebarTocLengthBeforeCut()
      getSidebarTocLengthBeforeCut.
      Returns:
      a int.
    • getTocAnchorLayout

      public String getTocAnchorLayout()
      Return the layout type for TOCs of anchor records. Defaults to 'list'
      Returns:
      the configured TOC anchor layout type; defaults to "list"
    • isDisplayTitleBreadcrumbs

      public boolean isDisplayTitleBreadcrumbs()
      isDisplayTitleBreadcrumbs.
      Returns:
      true if title breadcrumbs should be displayed in the record view, false otherwise
    • getTitleBreadcrumbsMaxTitleLength

      public int getTitleBreadcrumbsMaxTitleLength()
      getTitleBreadcrumbsMaxTitleLength.
      Returns:
      a int.
    • isDisplayTimeMatrix

      public boolean isDisplayTimeMatrix()
      isDisplayTimeMatrix.
      Returns:
      true if the time matrix widget should be displayed, false otherwise
    • isDisplayCrowdsourcingModuleLinks

      public boolean isDisplayCrowdsourcingModuleLinks()
      isDisplayCrowdsourcingModuleLinks.
      Returns:
      true if links to the crowdsourcing module should be displayed, false otherwise
    • getTimeMatrixStartYear

      public int getTimeMatrixStartYear(String subTheme) throws PresentationException, IndexUnreachableException
      getTimeMatrixStartYear.
      Parameters:
      subTheme - sub-theme discriminator value used to restrict the Solr query
      Returns:
      a int.
      Throws:
      PresentationException - if any.
      IndexUnreachableException - if any.
    • getTimeMatrixEndYear

      public int getTimeMatrixEndYear(String subTheme) throws PresentationException, IndexUnreachableException
      getTimeMatrixEndYear.
      Parameters:
      subTheme - sub-theme discriminator value used to restrict the Solr query
      Returns:
      a int.
      Throws:
      PresentationException - if any.
      IndexUnreachableException - if any.
    • getTimeMatrixHits

      public int getTimeMatrixHits()
      getTimeMatrixHits.
      Returns:
      Total hit number for the time matrix
    • isPiwikTrackingEnabled

      public boolean isPiwikTrackingEnabled()
      isPiwikTracking.
      Returns:
      true if Matomo (Piwik) tracking is enabled, false otherwise
    • getPiwikBaseURL

      public String getPiwikBaseURL()
      getPiwikBaseURL.
      Returns:
      the configured Piwik/Matomo base URL for tracking
    • getPiwikSiteID

      public String getPiwikSiteID()
      getPiwikSiteID.
      Returns:
      the configured Piwik/Matomo site ID for tracking
    • getAnchorThumbnailMode

      public String getAnchorThumbnailMode()
      getAnchorThumbnailMode.
      Returns:
      the configured anchor thumbnail display mode
    • getSortFields

      public List<String> getSortFields()
      getSortFields.
      Returns:
      a list of configured sort field names filtered for the current user locale
    • getTocIndentation

      public int getTocIndentation()
      getTocIndentation.
      Returns:
      a int.
    • isPageBrowseEnabled

      public boolean isPageBrowseEnabled()
      isPageBrowseEnabled.
      Returns:
      true if the page browse feature (jumping by fixed step sizes) is enabled, false otherwise
    • getPageBrowseSteps

      public List<Integer> getPageBrowseSteps()
    • isPageBrowseStep1Visible

      public boolean isPageBrowseStep1Visible()
      isPageBrowseStep1Visible.
      Returns:
      true if the first configured page browse step is valid and should be displayed, false otherwise
    • isPageBrowseStep2Visible

      public boolean isPageBrowseStep2Visible()
      isPageBrowseStep2Visible.
      Returns:
      true if the second configured page browse step is valid and should be displayed, false otherwise
    • isPageBrowseStep3Visible

      public boolean isPageBrowseStep3Visible()
      isPageBrowseStep3Visible.
      Returns:
      true if the third configured page browse step is valid and should be displayed, false otherwise
    • getPageBrowseStep1

      public int getPageBrowseStep1()
      getPageBrowseStep1.
      Returns:
      a int.
    • getPageBrowseStep2

      public int getPageBrowseStep2()
      getPageBrowseStep2.
      Returns:
      a int.
    • getPageBrowseStep3

      public int getPageBrowseStep3()
      getPageBrowseStep3.
      Returns:
      a int.
    • getPageSelectDropdownDisplayMinPages

      public int getPageSelectDropdownDisplayMinPages()
      Returns:
      the configured minimum number of pages required to display the page-select dropdown
    • getReCaptchaSiteKey

      public String getReCaptchaSiteKey()
      getReCaptchaSiteKey.
      Returns:
      the configured reCAPTCHA site key for client-side widget initialization
    • isUseReCaptcha

      public boolean isUseReCaptcha()
      isUseReCaptcha.
      Returns:
      true if reCAPTCHA verification is enabled for forms, false otherwise
    • isTocEpubEnabled

      public boolean isTocEpubEnabled()
      isTocEpubEnabled.
      Returns:
      true if EPUB download via the table-of-contents is enabled and PDF generation via message queue is active, false otherwise
    • isGeneratePdfInMessageQueue

      public boolean isGeneratePdfInMessageQueue()
      isGeneratePdfInTaskManager.
      Returns:
      true if PDF generation is handled via the message queue, false otherwise
    • isDocHierarchyPdfEnabled

      public boolean isDocHierarchyPdfEnabled()
      isDocHierarchyPdfEnabled.
      Returns:
      true if PDF download for entire document hierarchies is enabled, false otherwise
    • isShowSearchInItemOnlyIfFullTextAvailable

      public boolean isShowSearchInItemOnlyIfFullTextAvailable()
      isShowSearchInItemOnlyIfFullTextAvailable.
      Returns:
      true if the in-record search feature should only be offered when full-text is available, false otherwise
    • isContentUploadEnabled

      public boolean isContentUploadEnabled()
      isContentUploadEnabled.
      Returns:
      true if content upload by users is enabled, false otherwise
    • isTranskribusEnabled

      public boolean isTranskribusEnabled()
      isTranskribusEnabled.
      Returns:
      true if the Transkribus integration is enabled, false otherwise
    • isSearchExcelExportEnabled

      public boolean isSearchExcelExportEnabled()
      isSearchExcelExportEnabled.
      Returns:
      true if exporting search results as an Excel file is enabled, false otherwise
    • isSearchRisExportEnabled

      public boolean isSearchRisExportEnabled()
      isSearchRisExportEnabled.
      Returns:
      true if exporting search results in RIS format is enabled, false otherwise
    • isSitelinksEnabled

      public boolean isSitelinksEnabled()
      isSitelinksEnabled.
      Returns:
      true if Wikidata Sitelinks integration is enabled, false otherwise
    • getRestApiUrl

      public String getRestApiUrl() throws ViewerConfigurationException
      getRestApiUrl.
      Returns:
      REST API URL
      Throws:
      ViewerConfigurationException - if any.
    • getRestApiUrlForIIIFPresention

      public String getRestApiUrlForIIIFPresention()
      Returns:
      the configured REST API URL for IIIF Presentation
    • getIiifApiUrl

      public String getIiifApiUrl() throws ViewerConfigurationException
      getIiifApiUrl.
      Returns:
      the configured IIIF API base URL
      Throws:
      ViewerConfigurationException - if any.
    • getRestApiUrlV1

      public String getRestApiUrlV1()
      Returns:
      The url to the /api/v1 Rest Api
    • getTranslation

      public String getTranslation(String language, String locale)
      getTranslation.
      Parameters:
      language - ISO 639 language code to translate
      locale - target locale code for the output language name
      Returns:
      the localized display name of the given language in the target locale
    • getSidebarWidgetsForView

      public List<String> getSidebarWidgetsForView(String view)
      Parameters:
      view - Record view name
      Returns:
      List of sidebar widget names to display in the given view (in the intended order)
    • isSidebarWidgetForViewCollapsible

      public boolean isSidebarWidgetForViewCollapsible(String view, String widget)
      Parameters:
      view - Record view name
      widget - Widget name
      Returns:
      true if widget configured as collapsible; false otherwise; default is false
    • isSidebarWidgetForViewCollapsedByDefault

      public boolean isSidebarWidgetForViewCollapsedByDefault(String view, String widget)
      Parameters:
      view - Record view name
      widget - Widget name
      Returns:
      true if widget configured as collapsed by default and collapsible in general; false otherwise; default is false
    • isDisplaySidebarBrowsingTerms

      public boolean isDisplaySidebarBrowsingTerms()
      isDisplaySidebarBrowsingTerms.
      Returns:
      true if the browsing terms widget should be displayed in the sidebar, false otherwise
    • isDisplaySidebarRssFeed

      public boolean isDisplaySidebarRssFeed()
      isDisplaySidebarRssFeed.

      s

      Returns:
      true if the RSS feed widget should be displayed in the sidebar, false otherwise
    • isDisplaySidebarWidgetUsageCitationLinks

      public boolean isDisplaySidebarWidgetUsageCitationLinks()
      isDisplaySidebarWidgetUsageCitationLinks.
      Returns:
      true if citation links should be displayed in the sidebar usage widget, false otherwise
    • isDisplaySidebarWidgetUsageCitationRecommendation

      public boolean isDisplaySidebarWidgetUsageCitationRecommendation()
      isDisplaySidebarWidgetUsageCitationRecommendation.
      Returns:
      true if citation recommendations should be displayed in the sidebar usage widget, false otherwise
    • getSidebarWidgetUsagePageDownloadOptions

      public List<DownloadOption> getSidebarWidgetUsagePageDownloadOptions()
      Returns:
      List of configured DownloadOption items
    • isDisplaySidebarWidgetUsagePageDownloadOptions

      public boolean isDisplaySidebarWidgetUsagePageDownloadOptions()
    • getSidebarWidgetUsageCitationRecommendationStyles

      public List<String> getSidebarWidgetUsageCitationRecommendationStyles()
      Returns:
      List of available citation style names
    • isSubthemeDiscriminatorFieldSet

      public boolean isSubthemeDiscriminatorFieldSet()
      isSubthemeDiscriminatorFieldSet.
      Returns:
      true if a sub-theme discriminator field has been configured, false otherwise
    • isPullThemeEnabled

      public boolean isPullThemeEnabled()
      Returns:
      true if sub-theme selection via URL parameter pull is enabled, false otherwise
    • getTwitterName

      public String getTwitterName()
      getTwitterName.
      Returns:
      the configured Twitter/X user name for social sharing links
    • getCopyrightIndicatorStyle

      public String getCopyrightIndicatorStyle()
      Returns:
      the configured copyright indicator style name
    • isDisplaySocialMediaShareLinks

      public boolean isDisplaySocialMediaShareLinks()
      Returns:
      true if social media share links should be displayed, false otherwise
    • getMapBoxToken

      public String getMapBoxToken()
      Returns:
      the configured MapBox API token
    • getMapBoxUser

      public String getMapBoxUser()
      Returns:
      the configured MapBox username
    • getMapBoxStyleId

      public String getMapBoxStyleId()
      Returns:
      the configured MapBox style ID
    • getSearchHitsPerPageValues

      public List<Integer> getSearchHitsPerPageValues()
      Returns:
      the configured list of selectable search hits-per-page values
    • getSearchChildHitsInitialLoadLimit

      public int getSearchChildHitsInitialLoadLimit()
      Returns:
      the configured maximum number of child hits loaded initially per search hit
    • getSearchChildHitsToLoadOnExpand

      public int getSearchChildHitsToLoadOnExpand()
    • getFeedbackEmailRecipients

      public List<EmailRecipient> getFeedbackEmailRecipients()
      Returns:
      the configured list of e-mail recipients for user feedback messages
    • isDefaultSortFieldRandom

      public boolean isDefaultSortFieldRandom()
      Returns:
      true if default sorting field is 'RANDOM'; false otherwise
    • isDisplayUserGeneratedContentBelowImage

      public boolean isDisplayUserGeneratedContentBelowImage()
      Returns:
      true if user-generated content should be displayed below the image, false otherwise
    • isDisplayDocstructNavigation

      public boolean isDisplayDocstructNavigation(String template, boolean fallbackToDefaultTemplate)
      Parameters:
      template - metadata template name to look up navigation types for
      fallbackToDefaultTemplate - if true, falls back to the default template when the given template has no configuration
      Returns:
      true if docstruct navigation is enabled and properly configured; false otherwise
    • isDisplayAnnotationTextInImage

      public boolean isDisplayAnnotationTextInImage()
      Returns:
      true if annotation text should be displayed overlaid on the image, false otherwise
    • isDisplayAddressSearchInMap

      public boolean isDisplayAddressSearchInMap()
      Returns:
      true if the address search input should be shown in map views, false otherwise
    • getSearchSortingAscendingKey

      public String getSearchSortingAscendingKey(String field)
      Parameters:
      field - Solr sort field name
      Returns:
      the configured message key for the ascending sort label of the given field
    • getSearchSortingDescendingKey

      public String getSearchSortingDescendingKey(String field)
      Parameters:
      field - Solr sort field name
      Returns:
      the configured message key for the descending sort label of the given field
    • getAdvancedSearchTemplateNames

      public List<String> getAdvancedSearchTemplateNames()
      Returns:
      List of configured advanced search template names
    • isAdvancedSearchTemplatesEnabled

      public boolean isAdvancedSearchTemplatesEnabled()
      Returns:
      true if number of configured advanced search templates greater than 1; false otherwise
    • isSearchResultGroupsEnabled

      public boolean isSearchResultGroupsEnabled()
      Returns:
      true if result groups enabled; false otherwise
    • getSearchResultGroupNames

      public List<String> getSearchResultGroupNames()
      Returns:
      List of names of the configured search result groups
    • isTranslateFacetFieldLabels

      public boolean isTranslateFacetFieldLabels(String facetField)
      Parameters:
      facetField - Solr facet field name
      Returns:
      true if facet field labels for the given field should be translated, false otherwise
    • useHeatmapForMapSearch

      public boolean useHeatmapForMapSearch()
      Returns:
      true if a heatmap should be used instead of individual markers for the map search, false otherwise
    • getMarkerForMapSearch

      public GeoMapMarker getMarkerForMapSearch()
      Returns:
      the configured geo map marker used for the map search
    • getSelectionColorForMapSearch

      public String getSelectionColorForMapSearch()
      Returns:
      the configured selection highlight color for the map search
    • useHeatmapForFacetting

      public boolean useHeatmapForFacetting()
      Returns:
      true if a heatmap should be used instead of individual markers for geo facetting, false otherwise
    • getMarkerForFacetting

      public GeoMapMarker getMarkerForFacetting()
      Returns:
      the configured geo map marker used for geo facetting
    • getSelectionColorForFacetting

      public String getSelectionColorForFacetting()
      Returns:
      the configured selection highlight color for geo facetting
    • useHeatmapForCMSMaps

      public boolean useHeatmapForCMSMaps()
      Returns:
      true if a heatmap should be used instead of individual markers for CMS map components, false otherwise
    • getDefaultMarkerForCMSMaps

      public GeoMapMarker getDefaultMarkerForCMSMaps()
      Returns:
      the configured default geo map marker for CMS map components, falling back to a marker named "default"
    • getGeomapAnnotationZoom

      public int getGeomapAnnotationZoom()
      Returns:
      the configured default zoom level used when centering the map on a geo annotation
    • getCampaignGeomapInitialViewAsJson

      public String getCampaignGeomapInitialViewAsJson()
    • getCampaignGeomapTilesource

      public String getCampaignGeomapTilesource()
      Returns:
      the configured tile source URL for the crowdsourcing campaign geo map
    • isConfigEditorEnabled

      public boolean isConfigEditorEnabled()
      Returns:
      true if the admin configuration editor is enabled, false otherwise
    • isDisplaySearchHitNumbers

      public boolean isDisplaySearchHitNumbers()
      Returns:
      true if sequential hit numbers should be displayed next to search results, false otherwise
    • getGeomapFeatureTitleOptions

      public List<SelectItem> getGeomapFeatureTitleOptions()
    • getMetadataConfiguration

      public List<Metadata> getMetadataConfiguration(String type)
    • getMetadataConfiguration

      public List<Metadata> getMetadataConfiguration(String type, String template)
    • getPageType

      public String getPageType(String name)
      Parameters:
      name - PageType name string to look up
      Returns:
      the configured URL path segment for the given page type name
    • isFacetFieldDisplayValueFilter

      public boolean isFacetFieldDisplayValueFilter(String facetField)
      Parameters:
      facetField - Solr facet field name
      Returns:
      true if a value filter input should be displayed for the given facet field, false otherwise
    • isFacetFieldTypeBoolean

      public boolean isFacetFieldTypeBoolean(String facetField)
      Parameters:
      facetField - Solr facet field name
      Returns:
      true if the given facet field is configured as a boolean field, false otherwise
    • getFacetFieldDescriptionKey

      public String getFacetFieldDescriptionKey(String facetField)
      Parameters:
      facetField - Solr facet field name
      Returns:
      the configured message key for the description tooltip of the given facet field; null if none configured
    • isPdfPageRangeEnabled

      public boolean isPdfPageRangeEnabled()
    • isSidebarTocViewLinkVisible

      public boolean isSidebarTocViewLinkVisible()
      isSidebarTocViewLinkVisible.
      Returns:
      true if the table-of-contents view link should be visible in the sidebar views widget, false otherwise
    • getGeomapFilters

      public List<String> getGeomapFilters()
    • getGeomapClusterDistanceMultiplier

      public float getGeomapClusterDistanceMultiplier()
    • getGeomapClusterRadius

      public int getGeomapClusterRadius()
    • getGeomapDisableClusteringAtZoom

      public Integer getGeomapDisableClusteringAtZoom()