Class ConfigurationBean
- All Implemented Interfaces:
Serializable
Configuration
class for access from HTML.- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetAnchorThumbnailMode.int
getFooterHeight.int
getFooterHeight
(String pageType, String mimeType) getFooterHeight.int
getFooterHeightCrowd.int
getFooterHeightFullscreen.int
List<javax.faces.model.SelectItem>
getIiifApiUrl.getImageSizes
(String pageType, String mimeType) getImageSizes.getIso639_1
(String language) getIso639_1.getIso639_2B
(String language) getIso639_2B.getMetadataConfiguration
(String type, String template) getModules.getName()
getName.int
getPageBrowseStep1.int
getPageBrowseStep2.int
getPageBrowseStep3.int
getPageType
(String name) getPiwikBaseURL.getPiwikSiteID.getReCaptchaSiteKey.getRestApiUrl.getRssTitle.int
int
int
getSidebarTocLengthBeforeCut.getSortFields.getTileSizes
(String pageType, String mimeType) getTileSizes.int
getTimeMatrixEndYear
(String subTheme) getTimeMatrixEndYear.int
getTimeMatrixHits.int
getTimeMatrixStartYear
(String subTheme) getTimeMatrixStartYear.int
getTitleBreadcrumbsMaxTitleLength.int
getTocIndentation.getTranslation
(String language, String locale) getTranslation.getTwitterName.boolean
isAdvancedSearchEnabled.boolean
isBookmarksEnabled.boolean
isCalendarSearchEnabled.boolean
boolean
isContentUploadEnabled.boolean
boolean
boolean
boolean
boolean
isDisplayBreadcrumbs.boolean
isDisplayCollectionBrowsing.boolean
isDisplayCrowdsourcingModuleLinks.boolean
isDisplayDocstructNavigation
(String template, boolean fallbackToDefaultTemplate) boolean
isDisplayMetadataPageLinkBlock.boolean
boolean
isDisplaySearchResultNavigation.boolean
isDisplaySearchRssLinks.boolean
isDisplaySidebarBrowsingTerms.boolean
isDisplaySidebarRssFeed.boolean
isDisplayWidgetUsage.boolean
isDisplaySidebarWidgetUsageCitationLinks.boolean
isDisplaySidebarWidgetUsageCitationRecommendation.boolean
boolean
boolean
isDisplayStatistics.boolean
isDisplayStructType.boolean
isDisplayTagCloudNavigation.boolean
isDisplayTagCloudStartpage.boolean
isDisplayTimeMatrix.boolean
isDisplayTitleBreadcrumbs.boolean
isDisplayTitlePURL.boolean
boolean
isDisplayUserNavigation.boolean
isDocHierarchyPdfEnabled.boolean
isDoublePageNavigationEnabled.boolean
isFacetFieldDisplayValueFilter
(String facetField) boolean
isFacetFieldTypeBoolean
(String facetField) boolean
isGeneratePdfInTaskManager.boolean
isPageBrowseEnabled.boolean
isPageBrowseStep1Visible.boolean
isPageBrowseStep2Visible.boolean
isPageBrowseStep3Visible.boolean
isPagePdfEnabled.boolean
boolean
isPiwikTracking.boolean
boolean
isRememberImageRotation.boolean
isRememberImageZoom.boolean
isSearchExcelExportEnabled.boolean
boolean
isSearchRisExportEnabled.boolean
boolean
isShowSearchInItem.boolean
isShowSearchInItemOnlyIfFullTextAvailable.boolean
isSidebarCalendarLinkVisible.boolean
isSidebarFulltextLinkVisible.boolean
isSidebarMetadataLinkVisible.boolean
isSidebarOpacLinkVisible.boolean
isSidebarPageLinkVisible.boolean
isSidebarThumbsLinkVisible.boolean
isSidebarTocPageNumbersVisible.boolean
isSidebarTocTreeView.boolean
isSidebarTocWidgetVisible.boolean
isSidebarTocWidgetVisibleInFullscreen.boolean
isSitelinksEnabled.boolean
isSubthemeDiscriminatorFieldSet.boolean
isTimelineSearchEnabled.boolean
isTocEpubEnabled.boolean
isTocTreeView
(String docStructType) isTocTreeView.boolean
isTranskribusEnabled.boolean
isTranslateFacetFieldLabels
(String facetField) boolean
isUseReCaptcha.boolean
showImageNavigator
(String pageType, String mimeType) whether to show a navigator element in the openseadragon vieweboolean
boolean
boolean
boolean
useOpenSeadragon.boolean
useTiles()
useTiles.boolean
useTiles.boolean
useTilesCrowd.boolean
useTilesFullscreen.
-
Constructor Details
-
ConfigurationBean
public ConfigurationBean()Empty constructor.
-
-
Method Details
-
getModules
getModules.
- Returns:
- a
List
object.
-
getName
getName.
- Returns:
- a
String
object.
-
isBookmarksEnabled
public boolean isBookmarksEnabled()isBookmarksEnabled.
- Returns:
- a boolean.
-
isSearchSavingEnabled
public boolean isSearchSavingEnabled() -
useOpenSeadragon
useOpenSeadragon.
- Returns:
- a boolean.
- Throws:
ViewerConfigurationException
- if any.
-
useTiles
useTiles.
- Parameters:
pageType
- aString
object.mimeType
- aString
object.- Returns:
- a boolean.
- Throws:
ViewerConfigurationException
- if any.
-
getImageSizes
public List<String> getImageSizes(String pageType, String mimeType) throws ViewerConfigurationException getImageSizes.
- Parameters:
pageType
- aString
object.mimeType
- aString
object.- Returns:
- a
List
object. - Throws:
ViewerConfigurationException
- if any.
-
getTileSizes
public Map<Integer,List<Integer>> getTileSizes(String pageType, String mimeType) throws ViewerConfigurationException getTileSizes.
- Parameters:
pageType
- aString
object.mimeType
- aString
object.- Returns:
- a
Map
object. - Throws:
ViewerConfigurationException
- if any.
-
useTiles
useTiles.
- Returns:
- a boolean.
- Throws:
ViewerConfigurationException
- if any.
-
useTilesFullscreen
useTilesFullscreen.
- Returns:
- a boolean.
- Throws:
ViewerConfigurationException
- if any.
-
useTilesCrowd
useTilesCrowd.
- Returns:
- a boolean.
- Throws:
ViewerConfigurationException
- if any.
-
isRememberImageZoom
public boolean isRememberImageZoom()isRememberImageZoom.
- Returns:
- a boolean.
-
isRememberImageRotation
public boolean isRememberImageRotation()isRememberImageRotation.
- Returns:
- a boolean.
-
isDisplayStatistics
public boolean isDisplayStatistics()isDisplayStatistics.
- Returns:
- a boolean.
-
isDisplaySearchRssLinks
public boolean isDisplaySearchRssLinks()isDisplaySearchRssLinks.
- Returns:
- a boolean.
-
isAdvancedSearchEnabled
public boolean isAdvancedSearchEnabled()isAdvancedSearchEnabled.
- Returns:
- a boolean.
-
isTimelineSearchEnabled
public boolean isTimelineSearchEnabled()isTimelineSearchEnabled.
- Returns:
- a boolean.
-
isCalendarSearchEnabled
public boolean isCalendarSearchEnabled()isCalendarSearchEnabled.
- Returns:
- a boolean.
-
isDisplayBreadcrumbs
public boolean isDisplayBreadcrumbs()isDisplayBreadcrumbs.
- Returns:
- a boolean.
-
isDisplayMetadataPageLinkBlock
public boolean isDisplayMetadataPageLinkBlock()isDisplayMetadataPageLinkBlock.
- Returns:
- a boolean.
-
isPagePdfEnabled
public boolean isPagePdfEnabled()isPagePdfEnabled.
- Returns:
- a boolean.
-
getRssTitle
getRssTitle.
- Returns:
- a
String
object.
-
isDisplayTagCloudStartpage
public boolean isDisplayTagCloudStartpage()isDisplayTagCloudStartpage.
- Returns:
- a boolean.
-
isDisplayStructType
public boolean isDisplayStructType()isDisplayStructType.
- Returns:
- a boolean.
-
isDisplayCollectionBrowsing
public boolean isDisplayCollectionBrowsing()isDisplayCollectionBrowsing.
- Returns:
- a boolean.
-
isDisplayTitlePURL
public boolean isDisplayTitlePURL()isDisplayTitlePURL.
- Returns:
- a boolean.
-
isSidebarTocWidgetVisible
public boolean isSidebarTocWidgetVisible()isSidebarTocWidgetVisible.
- Returns:
- a boolean.
-
isSidebarTocWidgetVisibleInFullscreen
public boolean isSidebarTocWidgetVisibleInFullscreen()isSidebarTocWidgetVisibleInFullscreen.
- Returns:
- a boolean.
-
isSidebarOpacLinkVisible
public boolean isSidebarOpacLinkVisible()isSidebarOpacLinkVisible.
- Returns:
- a boolean.
-
isSidebarTocPageNumbersVisible
public boolean isSidebarTocPageNumbersVisible()isSidebarTocPageNumbersVisible.
- Returns:
- a boolean.
-
isSidebarPageLinkVisible
public boolean isSidebarPageLinkVisible()isSidebarPageLinkVisible.
- Returns:
- a boolean.
-
isSidebarCalendarLinkVisible
public boolean isSidebarCalendarLinkVisible()isSidebarCalendarLinkVisible.
- Returns:
- a boolean.
-
isSidebarMetadataLinkVisible
public boolean isSidebarMetadataLinkVisible()isSidebarMetadataLinkVisible.
- Returns:
- a boolean.
-
isSidebarThumbsLinkVisible
public boolean isSidebarThumbsLinkVisible()isSidebarThumbsLinkVisible.
- Returns:
- a boolean.
-
isSidebarFulltextLinkVisible
public boolean isSidebarFulltextLinkVisible()isSidebarFulltextLinkVisible.
- Returns:
- a boolean.
-
isTocTreeView
isTocTreeView.
- Parameters:
docStructType
- aString
object.- Returns:
- a boolean.
-
isSidebarTocTreeView
public boolean isSidebarTocTreeView()isSidebarTocTreeView.
- Returns:
- a boolean.
-
getSidebarTocLengthBeforeCut
public int getSidebarTocLengthBeforeCut()getSidebarTocLengthBeforeCut.
- Returns:
- a int.
-
isDisplayTitleBreadcrumbs
public boolean isDisplayTitleBreadcrumbs()isDisplayTitleBreadcrumbs.
- Returns:
- a boolean.
-
getTitleBreadcrumbsMaxTitleLength
public int getTitleBreadcrumbsMaxTitleLength()getTitleBreadcrumbsMaxTitleLength.
- Returns:
- a int.
-
isDisplayTimeMatrix
public boolean isDisplayTimeMatrix()isDisplayTimeMatrix.
- Returns:
- a boolean.
-
isDisplayCrowdsourcingModuleLinks
public boolean isDisplayCrowdsourcingModuleLinks()isDisplayCrowdsourcingModuleLinks.
- Returns:
- a boolean.
-
getTimeMatrixStartYear
public int getTimeMatrixStartYear(String subTheme) throws PresentationException, IndexUnreachableException getTimeMatrixStartYear.
- Parameters:
subTheme
-- Returns:
- a int.
- Throws:
PresentationException
- if any.IndexUnreachableException
- if any.
-
getTimeMatrixEndYear
public int getTimeMatrixEndYear(String subTheme) throws PresentationException, IndexUnreachableException getTimeMatrixEndYear.
- Parameters:
subTheme
-- 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:
- a boolean.
-
getPiwikBaseURL
getPiwikBaseURL.
- Returns:
- a
String
object.
-
getPiwikSiteID
getPiwikSiteID.
- Returns:
- a
String
object.
-
getAnchorThumbnailMode
getAnchorThumbnailMode.
- Returns:
- a
String
object.
-
getSortFields
getSortFields.
- Returns:
- a
List
object.
-
getTocIndentation
public int getTocIndentation()getTocIndentation.
- Returns:
- a int.
-
isPageBrowseEnabled
public boolean isPageBrowseEnabled()isPageBrowseEnabled.
- Returns:
- a boolean.
-
isPageBrowseStep1Visible
public boolean isPageBrowseStep1Visible()isPageBrowseStep1Visible.
- Returns:
- a boolean.
-
isPageBrowseStep2Visible
public boolean isPageBrowseStep2Visible()isPageBrowseStep2Visible.
- Returns:
- a boolean.
-
isPageBrowseStep3Visible
public boolean isPageBrowseStep3Visible()isPageBrowseStep3Visible.
- Returns:
- a boolean.
-
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:
- Configured value
-
getReCaptchaSiteKey
getReCaptchaSiteKey.
- Returns:
- a
String
object.
-
isUseReCaptcha
public boolean isUseReCaptcha()isUseReCaptcha.
- Returns:
- a boolean.
-
isTocEpubEnabled
public boolean isTocEpubEnabled()isTocEpubEnabled.
- Returns:
- a boolean.
-
isGeneratePdfInMessageQueue
public boolean isGeneratePdfInMessageQueue()isGeneratePdfInTaskManager.
- Returns:
- a boolean.
-
isDocHierarchyPdfEnabled
public boolean isDocHierarchyPdfEnabled()isDocHierarchyPdfEnabled.
- Returns:
- a boolean.
-
isShowSearchInItem
public boolean isShowSearchInItem()isShowSearchInItem.
- Returns:
- a boolean.
-
isShowSearchInItemOnlyIfFullTextAvailable
public boolean isShowSearchInItemOnlyIfFullTextAvailable()isShowSearchInItemOnlyIfFullTextAvailable.
- Returns:
- a boolean.
-
isContentUploadEnabled
public boolean isContentUploadEnabled()isContentUploadEnabled.
- Returns:
- a boolean.
-
isTranskribusEnabled
public boolean isTranskribusEnabled()isTranskribusEnabled.
- Returns:
- a boolean.
-
isSearchExcelExportEnabled
public boolean isSearchExcelExportEnabled()isSearchExcelExportEnabled.
- Returns:
- a boolean.
-
isSearchRisExportEnabled
public boolean isSearchRisExportEnabled()isSearchRisExportEnabled.
- Returns:
- a boolean.
-
isSitelinksEnabled
public boolean isSitelinksEnabled()isSitelinksEnabled.
- Returns:
- a boolean.
-
getRestApiUrl
getRestApiUrl.
- Returns:
- REST API URL
- Throws:
ViewerConfigurationException
- if any.
-
getRestApiUrlForIIIFPresention
- Returns:
- Configured value
-
getIiifApiUrl
getIiifApiUrl.
- Returns:
- a
String
object. - Throws:
ViewerConfigurationException
- if any.
-
getRestApiUrlV1
- Returns:
- The url to the /api/v1 Rest Api
-
getIso639_1
getIso639_1.
-
getIso639_2B
getIso639_2B.
-
getTranslation
getTranslation.
-
isDisplaySidebarBrowsingTerms
public boolean isDisplaySidebarBrowsingTerms()isDisplaySidebarBrowsingTerms.
- Returns:
- a boolean.
-
isDisplaySidebarRssFeed
public boolean isDisplaySidebarRssFeed()isDisplaySidebarRssFeed.
- Returns:
- a boolean.
-
isDisplaySidebarWidgetUsage
public boolean isDisplaySidebarWidgetUsage()isDisplayWidgetUsage.
- Returns:
- a boolean.
-
isDisplaySidebarWidgetUsageCitationLinks
public boolean isDisplaySidebarWidgetUsageCitationLinks()isDisplaySidebarWidgetUsageCitationLinks.
- Returns:
- a boolean.
-
isDisplaySidebarWidgetUsageCitationRecommendation
public boolean isDisplaySidebarWidgetUsageCitationRecommendation()isDisplaySidebarWidgetUsageCitationRecommendation.
- Returns:
- a boolean.
-
getSidebarWidgetUsagePageDownloadOptions
- Returns:
- List of configured
DownloadOption
items
-
isDisplaySidebarWidgetUsagePageDownloadOptions
public boolean isDisplaySidebarWidgetUsagePageDownloadOptions() -
getSidebarWidgetUsageCitationRecommendationStyles
- Returns:
- List of available citation style names
-
isSubthemeDiscriminatorFieldSet
public boolean isSubthemeDiscriminatorFieldSet()isSubthemeDiscriminatorFieldSet.
- Returns:
- a boolean.
-
isPullThemeEnabled
public boolean isPullThemeEnabled()- Returns:
- a boolean.
-
getTwitterName
getTwitterName.
- Returns:
- a
String
object.
-
isCopyrightIndicatorEnabled
public boolean isCopyrightIndicatorEnabled()- Returns:
- Configured value
-
getCopyrightIndicatorStyle
- Returns:
- Configured value
-
getMapBoxToken
- Returns:
- Configured value
-
getMapBoxUser
- Returns:
- Configured value
-
getMapBoxStyleId
- Returns:
- Configured value
-
getSearchHitsPerPageValues
- Returns:
- Configured value
-
getSearchChildHitsInitialLoadLimit
public int getSearchChildHitsInitialLoadLimit()- Returns:
- Configured value
-
getSearchChildHitsToLoadOnExpand
public int getSearchChildHitsToLoadOnExpand() -
getFeedbackEmailRecipients
- Returns:
- Configured value
-
isDefaultSortFieldRandom
public boolean isDefaultSortFieldRandom()- Returns:
- true if default sorting field is 'RANDOM'; false otherwise
-
isDisplayUserGeneratedContentBelowImage
public boolean isDisplayUserGeneratedContentBelowImage()- Returns:
- Configured value
-
isDisplayAnnotationTextInImage
public boolean isDisplayAnnotationTextInImage()- Returns:
- Configured value
-
isDisplayAddressSearchInMap
public boolean isDisplayAddressSearchInMap()- Returns:
- Configured value
-
getSearchSortingAscendingKey
- Parameters:
field
-- Returns:
- Configured value
-
getSearchSortingDescendingKey
- Parameters:
field
-- Returns:
- Configured value
-
isSearchResultGroupsEnabled
public boolean isSearchResultGroupsEnabled()- Returns:
- true if result groups enabled; false otherwise
-
getSearchResultGroupNames
- Returns:
- List of names of the configured search result groups
-
isTranslateFacetFieldLabels
- Parameters:
facetField
-- Returns:
- Configured value
-
useHeatmapForMapSearch
public boolean useHeatmapForMapSearch()- Returns:
- Configured value
-
getMarkerForMapSearch
- Returns:
- Configured value
-
getSelectionColorForMapSearch
- Returns:
- Configured value
-
useHeatmapForFacetting
public boolean useHeatmapForFacetting()- Returns:
- Configured value
-
getMarkerForFacetting
- Returns:
- Configured value
-
getSelectionColorForFacetting
- Returns:
- Configured value
-
useHeatmapForCMSMaps
public boolean useHeatmapForCMSMaps()- Returns:
- Configured value
-
getDefaultMarkerForCMSMaps
- Returns:
- Configured value
-
getGeomapAnnotationZoom
public int getGeomapAnnotationZoom()- Returns:
- Configured value
-
getCampaignGeomapInitialViewAsJson
-
getCampaignGeomapTilesource
- Returns:
- Configured value
-
isConfigEditorEnabled
public boolean isConfigEditorEnabled()- Returns:
- Configured value
-
isDisplaySearchHitNumbers
public boolean isDisplaySearchHitNumbers()- Returns:
- Configured value
-
getGeomapFiltersAsJson
-
getGeomapFeatureTitleOptions
-
getMetadataConfiguration
-
getMetadataConfiguration
-
getPageType
- Parameters:
name
-- Returns:
- Configured value
-
isFacetFieldDisplayValueFilter
- Parameters:
facetField
-- Returns:
- Configured value
-
isFacetFieldTypeBoolean
- Parameters:
facetField
-- Returns:
- Configured value
-
isPdfPageRangeEnabled
public boolean isPdfPageRangeEnabled()
-