Class Configuration
Configuration class.
-
Field Summary
Fields inherited from class io.goobi.viewer.controller.AbstractConfiguration
builder, builderLocal
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetAbbyyFolder.int
Returns a regex such that all download files which filenames fit this regex should not be visible in the downloads widget.int
getAdvancedSearchFieldDisplaySelectItemsThreshold
(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.Returns a list containing all simple facet fields.getAltoCrowdsourcingFolder.getAltoFolder.getAncestorIdentifierFields.getAnchorLabelInTitleBarPrefix
(String template) getAnchorLabelInTitleBarSuffix
(String template) getAnchorThumbnailMode.getAnnotationFolder.Returns the list of configured metadata for the archives.int
getAuthenticationProviders.getBooleanFacetFields.int
getBreadcrumbsClipping.Returns the list of index fields to be used for term browsing.int
getBrowsingMenuHitsPerPage.int
getBrowsingMenuIndexSizeThreshold.Returns the list of structure elements allowed to be shown in calendar viewgetCmdiFolder.int
getCmsMediaDisplayHeight.int
getCmsMediaDisplayWidth.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.int
getCollectionDisplayDepthForSearch.int
getCollectionDisplayNumberOfVolumesLevel.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.int
getConfigLocalPath.getConfiguredCollections.Gets the value configured in webapi.cors.int
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.boolean
getDisplayBreadcrumbs.boolean
getDisplayMetadataPageLinkBlock.boolean
getDisplayStructType.boolean
getDisplayTitleBreadcrumbs.getDocstrctWhitelistFilterQuery.getDocstructNavigationTypes
(String template, boolean fallbackToDefaultTemplate) getDownloadFolder
(String type) getDownloadFolder.getDownloadUrl.getEndYearForTimeline.getEseUrl.int
getExcelDownloadTimeout.getFacetFieldStyle
(String facetField) getFacetFieldType
(String facetField) getFeedbackEmailAddresses.int
getFooterHeight.int
getFooterHeight
(PageType view, de.unigoettingen.sub.commons.contentlib.imagelib.ImageType image) getFooterHeight.int
getFullscreenFooterHeight.getFulltextCrowdsourcingFolder.getFulltextFolder.int
getFulltextFragmentLength.int
getFulltextPercentageWarningThreshold.getGeoFacetFieldPredicate
(String facetField) getGeoFacetFields.int
getGeomapEntityConfigurations
(String option) getGeoMapFeatureConfiguration
(String option, String template) getGeomapFeatureConfigurations
(String option) List<javax.faces.model.SelectItem>
getGeoMapMarker
(String name) int
getGroupToLengthForFacetField
(String facetField) getHierarchicalFacetFields.getHighlightMetadataForTemplate
(String template) Returns the list of configured metadata forHighlight
s which reference a record.getHotfolder.url to rest api url for record media files.getIIIFAttribution.getIIIFDescriptionFields.int
Configured in webapi.iiif.discovery.activitiesPerPage.getIIIFEventFields.getIIIFLogo.getIIIFMetadataFields.getIIIFMetadataLabel
(String field) getIIIFMetadataLabel.getIIIFNavDateField.UsesgetIIIFAttribution()
as fallback;config:<iiif use-version="3.0"></iiif>
getImageViewType.getImageViewZoomScales.getImageViewZoomScales
(PageType view, de.unigoettingen.sub.commons.contentlib.imagelib.ImageType image) getImageViewZoomScales.getImageViewZoomScales
(String view) getImageViewZoomScales.boolean
getIncludeAnchorInTitleBreadcrumbs.getIndexedDenkxwebFolder.getIndexedDublinCoreFolder.getIndexedEadFolder.getIndexedLidoFolder.getIndexedMetsFolder.int
getInitialFacetElementNumber
(String facetField) getInitialFacetElementNumber.getLabelFieldForFacetField
(String facetField) float
getLimitImageHeightLowerRatioThreshold.float
getLimitImageHeightUpperRatioThreshold.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) getMultiValueOperatorForField
(String facetField) getName()
getName.getNextVersionIdentifierField.getNormdataFieldsForTemplate
(String template) getNormdataFieldsForTemplate.int
getOrigContentFolder.getPageBrowseSteps.int
getPageLoaderThreshold.getPageMetadataForTemplate
(String template) Returns the list of configured metadata for pages.int
getPageSelectionFormat.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.int
getQuartzSchedulerCronExpression
(String taskName) int
getRangeFacetFieldMaxValue
(String facetField) int
getRangeFacetFieldMinValue
(String facetField) getRangeFacetFields.getReCaptchaSiteKey.getRecordGeomapFeatureSetConfigs
(String templateName) getRecordGeomapMarker
(String templateName, String type) getRecordGroupIdentifierFields.getRecordTargetPageType
(String publicationType) getRecordTargetPageType.getRestApiUrl.getRestrictedImageUrls.getRssCopyrightText.getRssDescription.int
getRssFeedItems.getRssTitle.int
int
getSearchExcelExportFields.getSearchFilters.getSearchHitMetadataForTemplate
(String template) Returns the list of configured metadata for search hit elements.int
getSearchHitMetadataValueLength.int
getSearchHitMetadataValueNumber.int
getSearchHitsPerPageDefaultValue.getSearchHitsPerPageValues.getSearchSortingOptions
(String language) getSidebarMetadataForTemplate
(String template) Returns the list of configured metadata for the sidebar.int
getSidebarTocCollapseLengthThreshold.int
getSidebarTocInitialCollapseLevel.int
getSidebarTocLengthBeforeCut.int
getSidebarTocLowestLevelToCollapseForLength.boolean
getSidebarTocPageNumbersVisible.Returns a list of configured page download options.getSitelinksField.getSitelinksFilterQuery.getSmtpPassword.int
getSmtpSecurity.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.int
getTagCloudSampleSize
(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.int
The maximal image size retrievable with only the permission to view thumbnailsint
getThumbnailsHeight.int
getThumbnailsWidth.getTileSizes.getTileSizes
(PageType view, de.unigoettingen.sub.commons.contentlib.imagelib.ImageType image) getTileSizes.getTimelineHits.int
getTitleBreadcrumbsMaxTitleLength.int
Returns number of elements displayed per paginator page in a table of contents for anchors and groups.int
getTocIndentation.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.int
The 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.int
getViewerMaxImageHeight.int
getViewerMaxImageScale.int
getViewerMaxImageWidth.int
getViewerThumbnailsPerPage.getVocabulariesFolder.getWatermarkFormat.getWatermarkIdField.Returns the preference order of data to be used as an image footer text.getWebApiFields.getWebApiToken.getWorkflowRestUrl.getZoomFullscreenViewType.org.apache.commons.configuration2.BaseHierarchicalConfiguration
getZoomImageViewConfig
(PageType pageType, de.unigoettingen.sub.commons.contentlib.imagelib.ImageType imageType) getZoomImageViewConfig.getZoomImageViewType
(PageType view, de.unigoettingen.sub.commons.contentlib.imagelib.ImageType image) getZoomImageViewType.boolean
boolean
isAddCollectionHierarchyToBreadcrumbs.boolean
isAddCORSHeader.boolean
isAdvancedSearchEnabled.boolean
isAdvancedSearchFieldHierarchical
(String field, String template, boolean fallbackToDefaultTemplate) isAdvancedSearchFieldHierarchical.boolean
isAdvancedSearchFieldRange
(String field, String template, boolean fallbackToDefaultTemplate) isAdvancedSearchFieldRange.boolean
isAdvancedSearchFieldUntokenizeForPhraseSearch
(String field, String template, boolean fallbackToDefaultTemplate) isAdvancedSearchFieldUntokenizeForPhraseSearch.boolean
isAllowRedirectCollectionToWork.boolean
isAlwaysApplyFacetFieldToUnfilteredHits
(String facetField) boolean
isBookmarksEnabled.boolean
isBrowsingMenuEnabled.boolean
isCalendarSearchEnabled.boolean
boolean
boolean
boolean
boolean
boolean
isDisplayAdditionalMetadataEnabled.boolean
boolean
isDisplayAnchorLabelInTitleBar
(String template) boolean
boolean
isDisplayCollectionBrowsing.boolean
isDisplayCrowdsourcingModuleLinks.boolean
boolean
isDisplaySearchResultNavigation.boolean
isDisplaySearchRssLinks.boolean
isDisplaySidebarBrowsingTerms.boolean
isDisplaySidebarRssFeed.boolean
isOriginalContentDownload.boolean
Deprecated.Use Configuration.isDisplaySidebarWidgetAdditionalFiles()boolean
isDisplayWidgetUsage.boolean
boolean
boolean
boolean
boolean
isDisplayStatistics.boolean
isDisplayTagCloudNavigation.boolean
boolean
isDisplayTimeMatrix.boolean
isDisplayTitlePURL.boolean
boolean
isDisplayUserNavigation.boolean
boolean
isDocHierarchyPdfEnabled.boolean
boolean
boolean
isDoublePageNavigationEnabled.boolean
boolean
isFacetFieldDisplayValueFilter
(String facetField) boolean
isFacetFieldSkipInWidget
(String facetField) boolean
isFoldout.boolean
isFullAccessForLocalhost.boolean
isGeneratePdfInMessageQueue.boolean
static boolean
isLanguageVersionOtherThan
(String field, String language) boolean
isLimitImageHeight.boolean
isMetadataEpubEnabled.boolean
isMetadataPdfEnabled.boolean
isPageBrowseEnabled.boolean
isPagePdfEnabled.boolean
isPdfApiDisabled.boolean
isPiwikTrackingEnabled.boolean
isPreventProxyCaching.boolean
boolean
boolean
boolean
isRememberImageRotation.boolean
isRememberImageZoom.boolean
isSearchExcelExportEnabled.boolean
isSearchInItemEnabled.boolean
isSearchInItemOnlyIfFullTextAvailable.boolean
boolean
isSearchRisExportEnabled.boolean
isSearchSavingEnabled.boolean
isShowOpenIdConnect.boolean
boolean
isShowSearchHitsInGeoFacetMap
(String facetField) boolean
isSidebarCalendarViewLinkVisible.boolean
isSidebarFulltextLinkVisible.boolean
isSidebarMetadataViewLinkVisible.boolean
isSidebarOpacLinkVisible.boolean
isSidebarPageLinkVisible.boolean
isSidebarThumbsViewLinkVisible.boolean
isSidebarTocTreeView.boolean
This method checks whether the TOC link in the sidebar views widget is enabled.boolean
This method checks whether the TOC widget is enabled.boolean
This method checks whether the TOC widget is enabled.boolean
boolean
Deprecated.Not supported when using HTTP2boolean
Deprecated.Not supported when using HTTP2boolean
isSolrUseHttp2.boolean
isSortingEnabled.boolean
boolean
boolean
isTimelineSearchEnabled.boolean
isTitleEpubEnabled.boolean
isTitlePdfEnabled.boolean
isTocEpubEnabled.boolean
isTocListSiblingRecords.boolean
isTocPdfEnabled.boolean
isTocTreeView
(String docStructType) isTocTreeView.boolean
isTranskribusEnabled.boolean
isTranslateFacetFieldLabels
(String facetField) boolean
isUrnDoRedirect.boolean
boolean
boolean
isUseReCaptcha.boolean
isUserRegistrationEnabled.boolean
boolean
boolean
boolean
boolean
boolean
boolean
loadStopwords
(String stopwordsFilePath) loadStopwords.static GeoMapMarker
readGeoMapMarker
(org.apache.commons.configuration2.HierarchicalConfiguration<org.apache.commons.configuration2.tree.ImmutableNode> config) boolean
boolean
showImageNavigator
(PageType view, de.unigoettingen.sub.commons.contentlib.imagelib.ImageType image) whether to show a navigator element in the openseadragon vieweboolean
boolean
boolean
boolean
boolean
useOpenSeadragon.boolean
useTiles()
useTiles.boolean
useTiles.boolean
useTilesFullscreen.Methods inherited from class io.goobi.viewer.controller.AbstractConfiguration
getConfig, 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
-
Configuration
Constructor for Configuration.
- Parameters:
configFilePath
- aString
object.
-
-
Method Details
-
loadStopwords
loadStopwords.
- Parameters:
stopwordsFilePath
- aString
object.- Returns:
- a
Set
object. - Throws:
IOException
- if any.
-
getStopwords
Returns the stopwords loading during initialization.- Returns:
- a
Set
object.
-
getConfigLocalPath
getConfigLocalPath.
- Returns:
- the path to the local config_viewer.xml file.
-
getLocalRessourceBundleFile
getLocalRessourceBundleFile.
- Returns:
- a
String
object.
-
getViewerThumbnailsPerPage
public int getViewerThumbnailsPerPage()getViewerThumbnailsPerPage.
- Returns:
- a int.
-
getViewerMaxImageWidth
public int getViewerMaxImageWidth()getViewerMaxImageWidth.
- Returns:
- a int.
-
getViewerMaxImageHeight
public int getViewerMaxImageHeight()getViewerMaxImageHeight.
- Returns:
- a int.
-
getViewerMaxImageScale
public int getViewerMaxImageScale()getViewerMaxImageScale.
- Returns:
- a int.
-
isRememberImageZoom
public boolean isRememberImageZoom()isRememberImageZoom.
- Returns:
- a boolean.
-
isRememberImageRotation
public boolean isRememberImageRotation()isRememberImageRotation.
- Returns:
- a boolean.
-
getDfgViewerUrl
getDfgViewerUrl.
- Returns:
- a
String
object.
-
getDfgViewerSourcefileField
- Returns:
- Configured value
-
getMetadataListTypes
- Parameters:
prefix
- Optional prefix for filtering- Returns:
- List of type attribute values of matching lists
-
getMetadataConfigurationForTemplate
public List<Metadata> getMetadataConfigurationForTemplate(String type, String template, boolean fallbackToDefaultTemplate, boolean topstructValueFallbackDefaultValue) - Parameters:
type
-template
-fallbackToDefaultTemplate
-topstructValueFallbackDefaultValue
-- Returns:
- List of metadata configurations
-
getSearchHitMetadataForTemplate
Returns the list of configured metadata for search hit elements. -
getPageMetadataForTemplate
Returns the list of configured metadata for pages. -
getHighlightMetadataForTemplate
Returns the list of configured metadata forHighlight
s which reference a record. -
getMetadataViews
- Returns:
- Configured values
-
getMainMetadataForTemplate
- Parameters:
index
-template
-- Returns:
- List of configured
Metadata
fields for the given template
-
getSidebarMetadataForTemplate
Returns the list of configured metadata for the sidebar.- Parameters:
template
- Template name- Returns:
- List of configured metadata for configured fields
-
getArchiveMetadata
Returns the list of configured metadata for the archives.- Returns:
- List of configured metadata for configured fields
-
getNormdataFieldsForTemplate
getNormdataFieldsForTemplate.
- Parameters:
template
- Template name- Returns:
- List of normdata fields configured for the given template name
-
getTocLabelConfiguration
getTocLabelConfiguration.
-
getGeoMapFeatureConfiguration
-
getGeomapFeatureConfigurations
-
getGeomapEntityConfigurations
-
getGeomapFeatureTitleOptions
- Returns:
- Configured values
-
getGeomapDefaultView
-
getGeomapFilters
-
getRecordGeomapFeatureSetConfigs
-
getTocAnchorGroupElementsPerPage
public 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.
-
isDisplaySidebarBrowsingTerms
public boolean isDisplaySidebarBrowsingTerms()isDisplaySidebarBrowsingTerms.
- Returns:
- a boolean.
-
isDisplaySidebarRssFeed
public boolean isDisplaySidebarRssFeed()isDisplaySidebarRssFeed.
- Returns:
- a boolean.
-
isDisplaySidebarWidgetDownloads
Deprecated.Use Configuration.isDisplaySidebarWidgetAdditionalFiles()isOriginalContentDownload.
- Returns:
- a boolean.
-
isDisplaySidebarWidgetAdditionalFiles
public boolean isDisplaySidebarWidgetAdditionalFiles()isOriginalContentDownload.
- Returns:
- true if enabled; false otherwise
-
getAdditionalFilesDisplayFilters
Returns 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
-
isDisplaySidebarWidgetUsage
public boolean isDisplaySidebarWidgetUsage()isDisplayWidgetUsage.
- Returns:
- a boolean.
-
isDisplaySidebarWidgetUsageCitationRecommendation
public boolean isDisplaySidebarWidgetUsageCitationRecommendation()- Returns:
- Boolean value
-
getSidebarWidgetUsageCitationRecommendationStyles
- Returns:
- List of available citation style names
-
getSidebarWidgetUsageCitationRecommendationSource
- Returns:
- Configured values
-
isDisplaySidebarWidgetUsageCitationLinks
public boolean isDisplaySidebarWidgetUsageCitationLinks()- Returns:
- Boolean value
-
getSidebarWidgetUsageCitationLinks
- Returns:
- Configured values
-
getSidebarWidgetUsagePageDownloadOptions
Returns a list of configured page download options.- Returns:
- List of configured
DownloadOption
items
-
isDisplayWidgetUsageDownloadOptions
public boolean isDisplayWidgetUsageDownloadOptions()- Returns:
- Configured value
-
isDisplaySidebarWidgetUsagePdfPageRange
public boolean isDisplaySidebarWidgetUsagePdfPageRange() -
getCalendarDocStructTypes
Returns the list of structure elements allowed to be shown in calendar view- Returns:
- a
List
object.
-
isBrowsingMenuEnabled
public boolean isBrowsingMenuEnabled()isBrowsingMenuEnabled.
- Returns:
- a boolean.
-
getBrowsingMenuIndexSizeThreshold
public int getBrowsingMenuIndexSizeThreshold()getBrowsingMenuIndexSizeThreshold.
- Returns:
- Solr doc count threshold for browsing term calculation
-
getBrowsingMenuHitsPerPage
public int getBrowsingMenuHitsPerPage()getBrowsingMenuHitsPerPage.
- Returns:
- a int.
-
getBrowsingMenuFields
Returns the list of index fields to be used for term browsing.- Returns:
- a
List
object.
-
getBrowsingMenuSortingIgnoreLeadingChars
- Returns:
- Configured value
-
getDocstrctWhitelistFilterQuery
getDocstrctWhitelistFilterQuery.
- Returns:
- a
String
object.
-
getCollectionSplittingChar
getCollectionSplittingChar.
-
getConfiguredCollectionFields
- Returns:
- Configured values
-
getCollectionSortOrders
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 sortOrder- Parameters:
field
- the solr fild on which the collection is based- Returns:
- a map of regular expressions matching collection names and associated sortOrders
-
getCollectionSorting
getCollectionSorting.
-
getCollectionBlacklist
Returns collection names to be omitted from search results, listings etc. -
getCollectionDefaultSortFields
Returns the index field by which records in the collection with the given name are to be sorted in a listing. -
getCollectionDisplayNumberOfVolumesLevel
getCollectionDisplayNumberOfVolumesLevel.
- Parameters:
field
- aString
object.- Returns:
- a int.
-
getCollectionDisplayDepthForSearch
getCollectionDisplayDepthForSearch.
- Parameters:
field
- aString
object.- Returns:
- a int.
-
getCollectionHierarchyField
getCollectionHierarchyField.
- Returns:
- a
String
object.
-
isAddCollectionHierarchyToBreadcrumbs
isAddCollectionHierarchyToBreadcrumbs.
- Parameters:
field
- aString
object.- Returns:
- a boolean.
-
getSolrUrl
getSolrUrl.
- Returns:
- a
String
object.
-
getDownloadUrl
getDownloadUrl.
- Returns:
- a
String
object.
-
getViewerBaseUrl
Get 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
-
getRestApiUrl
getRestApiUrl.
- Returns:
- The url to the viewer REST API as configured in the config_viewer. The url always ends with "/"
-
getIIIFApiUrl
url to rest api url for record media files. Always ends with a slash- Returns:
- Configured value
-
isUseIIIFApiUrlForCmsMediaUrls
public boolean isUseIIIFApiUrlForCmsMediaUrls()- Returns:
- Configured value
-
getSourceFileUrl
getSourceFileUrl.
- Returns:
- a
String
object.
-
getMarcUrl
getMarcUrl.
- Returns:
- a
String
object.
-
getDcUrl
getDcUrl.
- Returns:
- a
String
object.
-
getEseUrl
getEseUrl.
- Returns:
- a
String
object.
-
getSearchHitsPerPageValues
getSearchHitsPerPageValues.
- Returns:
- List of configured values
-
isDisplaySearchHitNumbers
public boolean isDisplaySearchHitNumbers()- Returns:
- Configured value; default value if none found
-
getSearchChildHitsInitialLoadLimit
public int getSearchChildHitsInitialLoadLimit() -
getSearchChildHitsToLoadOnExpand
public int getSearchChildHitsToLoadOnExpand() -
getSearchHitsPerPageDefaultValue
public int getSearchHitsPerPageDefaultValue()getSearchHitsPerPageDefaultValue.
- Returns:
- value element that is marked as default value; 10 if none found
-
getFulltextFragmentLength
public int getFulltextFragmentLength()getFulltextFragmentLength.
- Returns:
- a int.
-
isAdvancedSearchEnabled
public boolean isAdvancedSearchEnabled()isAdvancedSearchEnabled.
- Returns:
- a boolean.
-
getAdvancedSearchFields
public List<AdvancedSearchFieldConfiguration> getAdvancedSearchFields(String template, boolean fallbackToDefaultTemplate, String language) getAdvancedSearchFields.
- Parameters:
template
-fallbackToDefaultTemplate
-language
-- Returns:
- a
List
object.
-
isDisplayAdditionalMetadataEnabled
public boolean isDisplayAdditionalMetadataEnabled()isDisplayAdditionalMetadataEnabled.
- Returns:
- a boolean.
-
getDisplayAdditionalMetadataIgnoreFields
getDisplayAdditionalMetadataIgnoreFields.
- Returns:
- List of configured fields; empty list if none found.
-
getDisplayAdditionalMetadataTranslateFields
Returns 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.
-
getDisplayAdditionalMetadataOnelineFields
getDisplayAdditionalMetadataIgnoreFields.
- Returns:
- List of configured fields; empty list if none found.
-
getDisplayAdditionalMetadataSnippetFields
getDisplayAdditionalMetadataSnippetFields.
- Returns:
- List of configured fields; empty list if none found.
-
getDisplayAdditionalMetadataNoHighlightFields
getDisplayAdditionalMetadataNoHighlightFields.
- Returns:
- List of configured fields; empty list if none found.
-
isAdvancedSearchFieldHierarchical
public boolean isAdvancedSearchFieldHierarchical(String field, String template, boolean fallbackToDefaultTemplate) isAdvancedSearchFieldHierarchical.
- Parameters:
field
- aString
object.template
-fallbackToDefaultTemplate
-- Returns:
- a boolean.
-
isAdvancedSearchFieldRange
public boolean isAdvancedSearchFieldRange(String field, String template, boolean fallbackToDefaultTemplate) isAdvancedSearchFieldRange.
- Parameters:
field
- aString
object.template
-fallbackToDefaultTemplate
-- Returns:
- a boolean.
-
isAdvancedSearchFieldUntokenizeForPhraseSearch
public boolean isAdvancedSearchFieldUntokenizeForPhraseSearch(String field, String template, boolean fallbackToDefaultTemplate) isAdvancedSearchFieldUntokenizeForPhraseSearch.
- Parameters:
field
- aString
object.template
-fallbackToDefaultTemplate
-- Returns:
- a boolean.
-
getAdvancedSearchFieldDisplaySelectItemsThreshold
public int getAdvancedSearchFieldDisplaySelectItemsThreshold(String field, String template, boolean fallbackToDefaultTemplate) - Parameters:
field
-template
-fallbackToDefaultTemplate
-- Returns:
- Configured value
-
getAdvancedSearchFieldSelectType
public String getAdvancedSearchFieldSelectType(String field, String template, boolean fallbackToDefaultTemplate) - Parameters:
field
-template
-fallbackToDefaultTemplate
-- Returns:
- Configured value
-
getAdvancedSearchFieldSeparatorLabel
public String getAdvancedSearchFieldSeparatorLabel(String field, String template, boolean fallbackToDefaultTemplate) isAdvancedSearchFieldHierarchical.
- Parameters:
field
- aString
object.template
-fallbackToDefaultTemplate
-- Returns:
- Label attribute value for the given field name
-
getAdvancedSearchFieldReplaceRegex
public String getAdvancedSearchFieldReplaceRegex(String field, String template, boolean fallbackToDefaultTemplate) - Parameters:
field
-template
-fallbackToDefaultTemplate
-- Returns:
- Configured value; null if none found
-
getAdvancedSearchFieldReplaceWith
public String getAdvancedSearchFieldReplaceWith(String field, String template, boolean fallbackToDefaultTemplate) - Parameters:
field
-template
-fallbackToDefaultTemplate
-- Returns:
- Configured value; null if none found
-
isTimelineSearchEnabled
public boolean isTimelineSearchEnabled()isTimelineSearchEnabled.
- Returns:
- a boolean.
-
isCalendarSearchEnabled
public boolean isCalendarSearchEnabled()isCalendarSearchEnabled.
- Returns:
- a boolean.
-
getStaticQuerySuffix
getStaticQuerySuffix.
- Returns:
- a
String
object.
-
getPreviousVersionIdentifierField
getPreviousVersionIdentifierField.
- Returns:
- a
String
object.
-
getNextVersionIdentifierField
getNextVersionIdentifierField.
- Returns:
- a
String
object.
-
getVersionLabelField
getVersionLabelField.
- Returns:
- a
String
object.
-
getIndexedMetsFolder
getIndexedMetsFolder.
- Returns:
- a
String
object.
-
getIndexedLidoFolder
getIndexedLidoFolder.
- Returns:
- a
String
object.
-
getIndexedEadFolder
getIndexedEadFolder.
- Returns:
- a
String
object.
-
getIndexedDenkxwebFolder
getIndexedDenkxwebFolder.
- Returns:
- a
String
object.
-
getIndexedDublinCoreFolder
getIndexedDublinCoreFolder.
- Returns:
- a
String
object.
-
getPageSelectionFormat
getPageSelectionFormat.
- Returns:
- a
String
object.
-
getMediaFolder
getMediaFolder.
- Returns:
- a
String
object.
-
getPdfFolder
getPdfFolder.
- Returns:
- a
String
object.
-
getVocabulariesFolder
getVocabulariesFolder.
- Returns:
- a
String
object.
-
getOrigContentFolder
getOrigContentFolder.
- Returns:
- a
String
object.
-
getCmsMediaFolder
getCmsMediaFolder.
- Returns:
- a
String
object.
-
getCmsTextFolder
getCmsTextFolder.
- Returns:
- a
String
object.
-
getAltoFolder
getAltoFolder.
- Returns:
- a
String
object.
-
getAltoCrowdsourcingFolder
getAltoCrowdsourcingFolder.
- Returns:
- a
String
object.
-
getAbbyyFolder
getAbbyyFolder.
- Returns:
- a
String
object.
-
getFulltextFolder
getFulltextFolder.
- Returns:
- a
String
object.
-
getFulltextCrowdsourcingFolder
getFulltextCrowdsourcingFolder.
- Returns:
- a
String
object.
-
getTeiFolder
getTeiFolder.
- Returns:
- a
String
object.
-
getCmdiFolder
getCmdiFolder.
- Returns:
- a
String
object.
-
getAnnotationFolder
getAnnotationFolder.
- Returns:
- a
String
object.
-
getHotfolder
getHotfolder.
- Returns:
- a
String
object.
-
getTempFolder
getTempFolder.
- Returns:
- a
String
object.
-
getUrnResolverFields
- Returns:
- Configured values
-
isUrnDoRedirect
public boolean isUrnDoRedirect()isUrnDoRedirect.
- Returns:
- a boolean.
-
isUserRegistrationEnabled
public boolean isUserRegistrationEnabled()isUserRegistrationEnabled.
- Returns:
- a boolean.
-
getSecurityQuestions
- Returns:
- Configured values
-
isShowOpenIdConnect
public boolean isShowOpenIdConnect()isShowOpenIdConnect.
- Returns:
- a boolean.
-
getAuthenticationProviders
getAuthenticationProviders.
- Returns:
- a
List
object.
-
getSmtpServer
getSmtpServer.
- Returns:
- a
String
object.
-
getSmtpUser
getSmtpUser.
- Returns:
- a
String
object.
-
getSmtpPassword
getSmtpPassword.
- Returns:
- a
String
object.
-
getSmtpSenderAddress
getSmtpSenderAddress.
- Returns:
- a
String
object.
-
getSmtpSenderName
getSmtpSenderName.
- Returns:
- a
String
object.
-
getSmtpSecurity
getSmtpSecurity.
- Returns:
- a
String
object.
-
getSmtpPort
public int getSmtpPort()- Returns:
- Configured SMTP port number; -1 if not configured
-
isDisplayCollectionBrowsing
public boolean isDisplayCollectionBrowsing()isDisplayCollectionBrowsing.
- Returns:
- a boolean.
-
isDisplayStatistics
public boolean isDisplayStatistics()isDisplayStatistics.
- Returns:
- a boolean.
-
isDisplayTimeMatrix
public boolean isDisplayTimeMatrix()isDisplayTimeMatrix.
- Returns:
- a boolean.
-
isDisplayCrowdsourcingModuleLinks
public boolean isDisplayCrowdsourcingModuleLinks()isDisplayCrowdsourcingModuleLinks.
- Returns:
- a boolean.
-
getTheme
getTheme.
- Returns:
- a
String
object.
-
getThemeRootPath
getThemeRootPath.
- Returns:
- a
String
object.
-
getName
getName.
- Returns:
- a
String
object.
-
getDescription
getDescription.
- Returns:
- a
String
object.
-
isDisplayTagCloudStartpage
public boolean isDisplayTagCloudStartpage()- Returns:
- a boolean.
-
isFoldout
isFoldout.
- Parameters:
sidebarElement
- aString
object.- Returns:
- a boolean.
-
isSidebarPageViewLinkVisible
public boolean isSidebarPageViewLinkVisible()isSidebarPageLinkVisible.
- Returns:
- a boolean.
-
isSidebarCalendarViewLinkVisible
public boolean isSidebarCalendarViewLinkVisible()isSidebarCalendarViewLinkVisible.
- Returns:
- a boolean.
-
isSidebarTocViewLinkVisible
public boolean isSidebarTocViewLinkVisible()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.
-
isSidebarThumbsViewLinkVisible
public boolean isSidebarThumbsViewLinkVisible()isSidebarThumbsViewLinkVisible.
- Returns:
- a boolean.
-
isSidebarMetadataViewLinkVisible
public boolean isSidebarMetadataViewLinkVisible()isSidebarMetadataViewLinkVisible.
- Returns:
- a boolean.
-
isSidebarFulltextLinkVisible
public boolean isSidebarFulltextLinkVisible()isSidebarFulltextLinkVisible.
- Returns:
- a boolean.
-
isSidebarTocWidgetVisible
public boolean isSidebarTocWidgetVisible()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.
-
isSidebarTocWidgetVisibleInFullscreen
public 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.
-
isSidebarOpacLinkVisible
public boolean isSidebarOpacLinkVisible()isSidebarOpacLinkVisible.
- Returns:
- a boolean.
-
getSidebarTocPageNumbersVisible
public boolean getSidebarTocPageNumbersVisible()getSidebarTocPageNumbersVisible.
- Returns:
- a boolean.
-
getSidebarTocLengthBeforeCut
public int getSidebarTocLengthBeforeCut()getSidebarTocLengthBeforeCut.
- Returns:
- a int.
-
getSidebarTocInitialCollapseLevel
public int getSidebarTocInitialCollapseLevel()getSidebarTocInitialCollapseLevel.
- Returns:
- a int.
-
getSidebarTocCollapseLengthThreshold
public int getSidebarTocCollapseLengthThreshold()getSidebarTocCollapseLengthThreshold.
- Returns:
- a int.
-
getSidebarTocLowestLevelToCollapseForLength
public int getSidebarTocLowestLevelToCollapseForLength()getSidebarTocLowestLevelToCollapseForLength.
- Returns:
- a int.
-
isSidebarTocTreeView
public boolean isSidebarTocTreeView()isSidebarTocTreeView.
- Returns:
- a boolean.
-
isTocTreeView
isTocTreeView.
- Parameters:
docStructType
- aString
object.- Returns:
- a boolean.
-
getAllFacetFields
Returns a list containing all simple facet fields.
- Returns:
- a
List
object.
-
getRegularFacetFields
- Returns:
- Configured values
-
getBooleanFacetFields
getBooleanFacetFields.
- Returns:
- a
List
object.
-
getHierarchicalFacetFields
getHierarchicalFacetFields.
- Returns:
- a
List
object.
-
getRangeFacetFields
getRangeFacetFields.
- 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
-
getGeoFacetFields
getGeoFacetFields.
- Returns:
- a
List
object.
-
getGeoFacetFieldPredicate
- Parameters:
facetField
-- Returns:
- Configured value
-
isShowSearchHitsInGeoFacetMap
- Parameters:
facetField
-- Returns:
- Configured value
-
getInitialFacetElementNumber
getInitialFacetElementNumber.
- Parameters:
facetField
- aString
object.- Returns:
- Number of initial facet values
-
getSortOrder
getSortOrder.
-
getPriorityValuesForFacetField
Returns a list of values to prioritize for the given facet field.- Parameters:
field
- aString
object.- 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
-
isSortingEnabled
public boolean isSortingEnabled()isSortingEnabled.
- Returns:
- a boolean.
-
getDefaultSortField
getDefaultSortField.
- Parameters:
language
-- Returns:
- a
String
object.
-
getSortFields
getSortFields.
- Returns:
- a
List
object.
-
getSearchSortingOptions
- Parameters:
language
-- Returns:
- List of
SearchSortingOption
s from configured sorting fields
-
getStaticSortFields
getStaticSortFields.
- Returns:
- a
List
object.
-
getSearchSortingKeyAscending
- Parameters:
field
-- Returns:
- Configured value
-
getSearchSortingKeyDescending
- Parameters:
field
-- Returns:
- Configured value
-
getUrnResolverUrl
getUrnResolverUrl.
- Returns:
- a
String
object.
-
getThumbnailImageAccessMaxWidth
public int getThumbnailImageAccessMaxWidth()The maximal image size retrievable with only the permission to view thumbnails- Returns:
- the maximal image width
-
getUnzoomedImageAccessMaxWidth
public 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
-
isFullAccessForLocalhost
public boolean isFullAccessForLocalhost()isFullAccessForLocalhost.
- Returns:
- a boolean.
-
isGeneratePdfInMessageQueue
public boolean isGeneratePdfInMessageQueue()isGeneratePdfInMessageQueue.
- Returns:
- a boolean.
-
isPdfApiDisabled
public boolean isPdfApiDisabled()isPdfApiDisabled.
- Returns:
- a boolean.
-
isTitlePdfEnabled
public boolean isTitlePdfEnabled()isTitlePdfEnabled.
- Returns:
- a boolean.
-
isTocPdfEnabled
public boolean isTocPdfEnabled()isTocPdfEnabled.
- Returns:
- a boolean.
-
isMetadataPdfEnabled
public boolean isMetadataPdfEnabled()isMetadataPdfEnabled.
- Returns:
- a boolean.
-
isPagePdfEnabled
public boolean isPagePdfEnabled()isPagePdfEnabled.
- Returns:
- a boolean.
-
isDocHierarchyPdfEnabled
public boolean isDocHierarchyPdfEnabled()isDocHierarchyPdfEnabled.
- Returns:
- a boolean.
-
isTitleEpubEnabled
public boolean isTitleEpubEnabled()isTitleEpubEnabled.
- Returns:
- a boolean.
-
isTocEpubEnabled
public boolean isTocEpubEnabled()isTocEpubEnabled.
- Returns:
- a boolean.
-
isMetadataEpubEnabled
public boolean isMetadataEpubEnabled()isMetadataEpubEnabled.
- Returns:
- a boolean.
-
getDownloadFolder
getDownloadFolder.
-
getExternalResourceUrlTemplates
-
getExternalResourceTimeBeforeDeletion
-
getRssFeedItems
public int getRssFeedItems()getRssFeedItems.
- Returns:
- a int.
-
getRssTitle
getRssTitle.
- Returns:
- a
String
object.
-
getRssDescription
getRssDescription.
- Returns:
- a
String
object.
-
getRssCopyrightText
getRssCopyrightText.
- Returns:
- a
String
object.
-
getThumbnailsWidth
public int getThumbnailsWidth()getThumbnailsWidth.
- Returns:
- a int.
-
getThumbnailsHeight
public int getThumbnailsHeight()getThumbnailsHeight.
- Returns:
- a int.
-
getAnchorThumbnailMode
getAnchorThumbnailMode.
- Returns:
- a
String
object.
-
getDisplayBreadcrumbs
public boolean getDisplayBreadcrumbs()getDisplayBreadcrumbs.
- Returns:
- a boolean.
-
getDisplayMetadataPageLinkBlock
public boolean getDisplayMetadataPageLinkBlock()getDisplayMetadataPageLinkBlock.
- Returns:
- a boolean.
-
useTiles
useTiles.
- Returns:
- a boolean.
- Throws:
ViewerConfigurationException
- if any.
-
useTilesFullscreen
useTilesFullscreen.
- Returns:
- a boolean.
- Throws:
ViewerConfigurationException
- if any.
-
useTiles
public boolean useTiles(PageType view, de.unigoettingen.sub.commons.contentlib.imagelib.ImageType image) throws ViewerConfigurationException useTiles.
- Parameters:
view
- aPageType
object.image
- aImageType
object.- Returns:
- a boolean.
- Throws:
ViewerConfigurationException
- if any.
-
getImageViewType
getImageViewType.
- Returns:
- a
String
object. - Throws:
ViewerConfigurationException
- if any.
-
getZoomFullscreenViewType
getZoomFullscreenViewType.
- Returns:
- a
String
object. - Throws:
ViewerConfigurationException
- if any.
-
getZoomImageViewType
public String getZoomImageViewType(PageType view, de.unigoettingen.sub.commons.contentlib.imagelib.ImageType image) throws ViewerConfigurationException getZoomImageViewType.
- Parameters:
view
- aPageType
object.image
- aImageType
object.- Returns:
- a
String
object. - Throws:
ViewerConfigurationException
- if any.
-
useOpenSeadragon
useOpenSeadragon.
- Returns:
- a boolean.
- Throws:
ViewerConfigurationException
- if any.
-
getImageViewZoomScales
getImageViewZoomScales.
- Returns:
- a
List
object. - Throws:
ViewerConfigurationException
- if any.
-
getImageViewZoomScales
getImageViewZoomScales.
- Parameters:
view
- aString
object.- Returns:
- a
List
object. - Throws:
ViewerConfigurationException
- if any.
-
getImageViewZoomScales
public List<String> getImageViewZoomScales(PageType view, de.unigoettingen.sub.commons.contentlib.imagelib.ImageType image) throws ViewerConfigurationException getImageViewZoomScales.
- Parameters:
view
- aPageType
object.image
- aImageType
object.- Returns:
- a
List
object. - Throws:
ViewerConfigurationException
- if any.
-
getTileSizes
getTileSizes.
- 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.
-
getTileSizes
public Map<Integer,List<Integer>> getTileSizes(PageType view, de.unigoettingen.sub.commons.contentlib.imagelib.ImageType image) throws ViewerConfigurationException getTileSizes.
- Parameters:
view
- aPageType
object.image
- aImageType
object.- Returns:
- a
Map
object. - Throws:
ViewerConfigurationException
- if any.
-
getZoomImageViewConfig
public org.apache.commons.configuration2.BaseHierarchicalConfiguration getZoomImageViewConfig(PageType pageType, de.unigoettingen.sub.commons.contentlib.imagelib.ImageType imageType) throws ViewerConfigurationException getZoomImageViewConfig.
- Parameters:
pageType
- aPageType
object.imageType
- aImageType
object.- Returns:
- a
SubnodeConfiguration
object. - Throws:
ViewerConfigurationException
- if any.
-
getBreadcrumbsClipping
public int getBreadcrumbsClipping()getBreadcrumbsClipping.
- Returns:
- a int.
-
getDisplayStructType
public boolean getDisplayStructType()getDisplayStructType.
- Returns:
- a boolean.
-
getSearchHitMetadataValueNumber
public int getSearchHitMetadataValueNumber()getSearchHitMetadataValueNumber.
- Returns:
- a int.
-
getSearchHitMetadataValueLength
public int getSearchHitMetadataValueLength()getSearchHitMetadataValueLength.
- Returns:
- a int.
-
isWatermarkTextConfigurationEnabled
public boolean isWatermarkTextConfigurationEnabled()- Returns:
- true if enabled or not configured; false otherwise
-
getWatermarkTextConfiguration
Returns the preference order of data to be used as an image footer text.- Returns:
- a
List
object.
-
getWatermarkFormat
getWatermarkFormat.
- Returns:
- a
String
object.
-
getStopwordsFilePath
getStopwordsFilePath.
- Returns:
- a
String
object.
-
getPageType
Returns the locally configured page type name for URLs (e.g. "bild" instead of default "image"). -
getRecordTargetPageType
getRecordTargetPageType.
-
getPageTypeExitView
-
getFulltextPercentageWarningThreshold
public int getFulltextPercentageWarningThreshold()getFulltextPercentageWarningThreshold.
- Returns:
- a int.
-
getFallbackDefaultLanguage
- Returns:
- Configured value
-
getFeedbackEmailRecipients
getFeedbackEmailAddresses.
- Returns:
- a
String
object.
-
getDefaultFeedbackEmailAddress
- Returns:
- Configured value
-
isBookmarksEnabled
public boolean isBookmarksEnabled()isBookmarksEnabled.
- Returns:
- a boolean.
-
getPageLoaderThreshold
public int getPageLoaderThreshold()getPageLoaderThreshold.
- Returns:
- a int.
-
isPreventProxyCaching
public boolean isPreventProxyCaching()isPreventProxyCaching.
- Returns:
- a boolean.
-
isSolrUseHttp2
public boolean isSolrUseHttp2()isSolrUseHttp2.
- Returns:
- a boolean.
-
isSolrCompressionEnabled
Deprecated.Not supported when using HTTP2isSolrCompressionEnabled.
- Returns:
- a boolean
-
isSolrBackwardsCompatible
Deprecated.Not supported when using HTTP2isSolrBackwardsCompatible.
- Returns:
- a boolean.
-
reviewEnabledForComments
public boolean reviewEnabledForComments()- Returns:
- Configured value
-
getViewerHome
getViewerHome.
- Returns:
- a
String
object.
-
getWatermarkIdField
getWatermarkIdField.
- Returns:
- a
List
object.
-
getSubthemeMainTheme
getSubthemeMainTheme.
- Returns:
- a
String
object.
-
getSubthemeDiscriminatorField
getSubthemeDiscriminatorField.
- Returns:
- a
String
object.
-
getTagCloudSampleSize
getTagCloudSampleSize.
- Parameters:
fieldName
- aString
object.- Returns:
- a int.
-
getTocVolumeSortFieldsForTemplate
getTocVolumeSortFieldsForTemplate.
-
getTocVolumeGroupFieldForTemplate
Returns the grouping Solr field for the given anchor TOC sort configuration. -
getDisplayTitleBreadcrumbs
public boolean getDisplayTitleBreadcrumbs()getDisplayTitleBreadcrumbs.
- Returns:
- a boolean.
-
isDisplayTitlePURL
public boolean isDisplayTitlePURL()isDisplayTitlePURL.
- Returns:
- a boolean.
-
getTitleBreadcrumbsMaxTitleLength
public int getTitleBreadcrumbsMaxTitleLength()getTitleBreadcrumbsMaxTitleLength.
- Returns:
- a int.
-
getIncludeAnchorInTitleBreadcrumbs
public boolean getIncludeAnchorInTitleBreadcrumbs()getIncludeAnchorInTitleBreadcrumbs.
- Returns:
- a boolean.
-
isDisplaySearchRssLinks
public boolean isDisplaySearchRssLinks()isDisplaySearchRssLinks.
- Returns:
- a boolean.
-
getStartYearForTimeline
getStartYearForTimeline.
- Returns:
- a
String
object.
-
getEndYearForTimeline
getEndYearForTimeline.
- Returns:
- a
String
object.
-
getTimelineHits
getTimelineHits.
- Returns:
- a
String
object.
-
isPiwikTrackingEnabled
public boolean isPiwikTrackingEnabled()isPiwikTrackingEnabled.
- Returns:
- a boolean.
-
getPiwikBaseURL
getPiwikBaseURL.
- Returns:
- a
String
object.
-
getPiwikSiteID
getPiwikSiteID.
- Returns:
- a
String
object.
-
isSearchSavingEnabled
public boolean isSearchSavingEnabled()isSearchSavingEnabled.
- Returns:
- a boolean.
-
getRecordGroupIdentifierFields
getRecordGroupIdentifierFields.
- Returns:
- a
List
object.
-
getAncestorIdentifierFields
getAncestorIdentifierFields.
- Returns:
- a
List
object.
-
isTocListSiblingRecords
public boolean isTocListSiblingRecords()isTocListSiblingRecords.
- Returns:
- a boolean.
-
getSearchFilters
getSearchFilters.
- Returns:
- a
List
object.
-
getDefaultSearchFilter
- Returns:
- Configured value
-
getWebApiFields
getWebApiFields.
- Returns:
- a
List
object.
-
getDbPersistenceUnit
getDbPersistenceUnit.
- Returns:
- a
String
object.
-
getTempMediaFolder
A 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
-
getCmsMediaDisplayWidth
public int getCmsMediaDisplayWidth()getCmsMediaDisplayWidth.
- Returns:
- a int.
-
getCmsMediaDisplayHeight
public 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.
-
isTranskribusEnabled
public boolean isTranskribusEnabled()isTranskribusEnabled.
- Returns:
- a boolean.
-
getTranskribusUserName
getTranskribusUserName.
- Returns:
- a
String
object.
-
getTranskribusPassword
getTranskribusPassword.
- Returns:
- a
String
object.
-
getTranskribusDefaultCollection
getTranskribusDefaultCollection.
- Returns:
- a
String
object.
-
getTranskribusRestApiUrl
getTranskribusRestApiUrl.
- Returns:
- a
String
object.
-
getTranskribusAllowedDocumentTypes
getTranskribusAllowedDocumentTypes.
- Returns:
- a
List
object.
-
getTocIndentation
public int getTocIndentation()getTocIndentation.
- Returns:
- a int.
-
isPageBrowseEnabled
public boolean isPageBrowseEnabled()isPageBrowseEnabled.
- Returns:
- a boolean.
-
getPageBrowseSteps
getPageBrowseSteps.
- Returns:
- a
List
object.
-
getPageSelectDropdownDisplayMinPages
public int getPageSelectDropdownDisplayMinPages()- Returns:
- Configured value
-
getWorkflowRestUrl
getWorkflowRestUrl.
- Returns:
- The url to the Goobi workflow REST API as configured in the config_viewer. The url always ends with "/"
-
getTaskManagerServiceUrl
Deprecated.currently unused since download jobs are handled via message queuesgetTaskManagerServiceUrl.
- Returns:
- a
String
object.
-
getTaskManagerRestUrl
Deprecated.jobs are no longs handled via TaskManager but via queuesgetTaskManagerRestUrl.
- Returns:
- a
String
object.
-
getReCaptchaSiteKey
getReCaptchaSiteKey.
- Returns:
- a
String
object.
-
isUseReCaptcha
public boolean isUseReCaptcha()isUseReCaptcha.
- Returns:
- a boolean.
-
isSearchInItemEnabled
public boolean isSearchInItemEnabled()isSearchInItemEnabled.
- Returns:
- a boolean.
-
isSearchInItemOnlyIfFullTextAvailable
public boolean isSearchInItemOnlyIfFullTextAvailable()isSearchInItemOnlyIfFullTextAvailable.
- Returns:
- a boolean.
-
isSearchRisExportEnabled
public boolean isSearchRisExportEnabled()isSearchRisExportEnabled.
- Returns:
- a boolean.
-
isSearchExcelExportEnabled
public boolean isSearchExcelExportEnabled()isSearchExcelExportEnabled.
- Returns:
- a boolean.
-
getSearchExcelExportFields
getSearchExcelExportFields.
- Returns:
- a
List
object.
-
getExcelDownloadTimeout
public int getExcelDownloadTimeout()getExcelDownloadTimeout.
- Returns:
- a int.
-
getRestrictedImageUrls
getRestrictedImageUrls.
- Returns:
- a
List
object.
-
getIIIFLicenses
-
useExternalManifestUrls
public boolean useExternalManifestUrls() -
getExternalManifestSolrField
-
getIIIFMetadataFields
getIIIFMetadataFields.
- Returns:
- a
List
object.
-
getIIIFEventFields
getIIIFEventFields.
- 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
-
getIIIFMetadataLabel
getIIIFMetadataLabel.
- Parameters:
field
- the value of the field- Returns:
- The attribute "label" of any children of webapi.iiif.metadataFields
-
getIIIFDiscoveryAvtivitiesPerPage
public 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
-
getIIIFLogo
getIIIFLogo.
- Returns:
- a
String
object.
-
getIIIFAttribution
getIIIFAttribution.
- Returns:
- a
String
object.
-
getIIIFDescriptionFields
getIIIFDescriptionFields.
- Returns:
- a
List
object.
-
getIIIFLabelFields
-
getIIIFTranslationLocales
-
getIIIFRightsField
- Returns:
- The SOLR field containing a rights url for a IIIF3 manifest if one is configured
-
getIIIFRequiredValue
UsesgetIIIFAttribution()
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
-
isVisibleIIIFRenderingPDF
public boolean isVisibleIIIFRenderingPDF()- Returns:
- Configured value
-
isVisibleIIIFRenderingViewer
public boolean isVisibleIIIFRenderingViewer()- Returns:
- Configured value
-
getLabelIIIFRenderingPDF
-
getLabelIIIFRenderingViewer
-
isVisibleIIIFRenderingPlaintext
public boolean isVisibleIIIFRenderingPlaintext()- Returns:
- Configured value
-
isVisibleIIIFRenderingAlto
public boolean isVisibleIIIFRenderingAlto()- Returns:
- Configured value
-
getLabelIIIFRenderingPlaintext
-
getLabelIIIFRenderingAlto
-
isVisibleIIIFSeeAlsoMets
public boolean isVisibleIIIFSeeAlsoMets() -
getLabelIIIFSeeAlsoMets
-
isVisibleIIIFSeeAlsoLido
public boolean isVisibleIIIFSeeAlsoLido() -
getLabelIIIFSeeAlsoLido
-
getIIIFSeeAlsoMetadataConfigurations
-
getSitelinksField
getSitelinksField.
- Returns:
- a
String
object.
-
isSitelinksEnabled
public boolean isSitelinksEnabled()- Returns:
- Configured value
-
getSitelinksFilterQuery
getSitelinksFilterQuery.
- Returns:
- a
String
object.
-
getConfiguredCollections
getConfiguredCollections.
- Returns:
- a
List
object.
-
getWebApiToken
getWebApiToken.
- Returns:
- a
String
object.
-
isAllowRedirectCollectionToWork
public boolean isAllowRedirectCollectionToWork()isAllowRedirectCollectionToWork.
- Returns:
- true if opening a collection containing only a single work should redirect to that work
-
getTwitterUserName
getTwitterUserName.
- Returns:
- Configured value; null if none configured
-
getLimitImageHeightUpperRatioThreshold
public float getLimitImageHeightUpperRatioThreshold()getLimitImageHeightUpperRatioThreshold.
- Returns:
- a float.
-
getLimitImageHeightLowerRatioThreshold
public float getLimitImageHeightLowerRatioThreshold()getLimitImageHeightLowerRatioThreshold.
- Returns:
- a float.
-
isLimitImageHeight
public boolean isLimitImageHeight()isLimitImageHeight.
- Returns:
- a boolean.
-
isAddCORSHeader
public boolean isAddCORSHeader()isAddCORSHeader.
- Returns:
- a boolean.
-
getCORSHeaderValue
Gets the value configured in webapi.cors. Default is "*"
- Returns:
- a
String
object.
-
isDiscloseImageContentLocation
public boolean isDiscloseImageContentLocation()- Returns:
- Configured value
-
isCopyrightIndicatorEnabled
public boolean isCopyrightIndicatorEnabled()- 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
-
isDisplayAddressSearchInMap
public 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
-
useHeatmapForCMSMaps
public boolean useHeatmapForCMSMaps() -
useHeatmapForMapSearch
public boolean useHeatmapForMapSearch() -
useHeatmapForFacetting
public boolean useHeatmapForFacetting() -
getMarkerForMapSearch
-
getMarkerForFacetting
-
getSelectionColorForMapSearch
-
getSelectionColorForFacetting
-
includeCoordinateFieldsFromMetadataDocs
public boolean includeCoordinateFieldsFromMetadataDocs() -
getGeoMapMarkers
-
getRecordGeomapMarker
-
readGeoMapMarker
public static GeoMapMarker readGeoMapMarker(org.apache.commons.configuration2.HierarchicalConfiguration<org.apache.commons.configuration2.tree.ImmutableNode> config) - Parameters:
config
-- Returns:
- Configured value
-
getLicenseDescriptions
- Returns:
- Configured values
-
getArchivesLazyLoadingThreshold
public int getArchivesLazyLoadingThreshold()- Returns:
- Configured value
-
isExpandArchiveEntryOnSelection
public boolean isExpandArchiveEntryOnSelection() -
getArchiveNodeTypes
-
getDefaultArchiveNodeType
-
isDisplayUserGeneratedContentBelowImage
public boolean isDisplayUserGeneratedContentBelowImage()- Returns:
- a boolean
-
getIIIFVersionToUse
config:<iiif use-version="3.0"></iiif>
- Returns:
- Configured value
-
getTranslationGroups
- Returns:
- Configured value
-
isDisplayAnnotationTextInImage
public boolean isDisplayAnnotationTextInImage()- Returns:
- Configured value
-
isUseFacetsAsExpandQuery
public boolean isUseFacetsAsExpandQuery()- Returns:
- Configured value
-
getAllowedFacetsForExpandQuery
- Returns:
- Configured values
-
isSearchResultGroupsEnabled
public boolean isSearchResultGroupsEnabled()- Returns:
- Configured value
-
getSearchResultGroups
- Returns:
- Configured values
-
isContentUploadEnabled
public 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
-
getGeomapAnnotationZoom
public int getGeomapAnnotationZoom() -
getCrowdsourcingCampaignGeomapZoom
public int getCrowdsourcingCampaignGeomapZoom() -
getCrowdsourcingCampaignGeomapLngLat
-
getCrowdsourcingCampaignGeomapTilesource
-
isStatisticsEnabled
public boolean isStatisticsEnabled() -
isShowRecordStatisticsWidget
public boolean isShowRecordStatisticsWidget() -
isRecordStatisticsWidgetCollapsible
public boolean isRecordStatisticsWidgetCollapsible() -
getCrawlerDetectionRegex
-
isConfigEditorEnabled
public boolean isConfigEditorEnabled()- Returns:
- Configured value
-
getConfigEditorBackupFiles
public int getConfigEditorBackupFiles()- Returns:
- Configured value
-
getConfigEditorDirectories
- Returns:
- Configured values
-
isProxyEnabled
public boolean isProxyEnabled()- Returns:
- true if enabled; false otherwise
-
getProxyUrl
- Returns:
- Configured value
-
getProxyPort
public int getProxyPort()- Returns:
- Configured port number; 0 if none found
-
isHostProxyWhitelisted
- Parameters:
url
-- Returns:
- Configured value
- Throws:
MalformedURLException
-
getProxyWhitelist
- Returns:
- Configured values
-
isStartInternalMessageBroker
public boolean isStartInternalMessageBroker() -
getNumberOfParallelMessages
public int getNumberOfParallelMessages() -
getActiveMQMessagePurgeInterval
public int getActiveMQMessagePurgeInterval() -
getQuartzSchedulerCronExpression
-
getQuartzSchedulerCronExpression
-
isDeveloperPageActive
public boolean isDeveloperPageActive() -
getDeveloperScriptPath
-
isLanguageVersionOtherThan
- Parameters:
field
-language
-- Returns:
- Configured value
-
getStringFormat
-
getThemePullScriptPath
-
isPullThemeEnabled
public boolean isPullThemeEnabled()- Returns:
- boolean
-
getCreateDeveloperPackageScriptPath
-
getMediaTypeHandling
-
getMediaTypeRedirectUrl
-
getSearchHitStyleClass
-
getRecordViewStyleClass
-