target
stringlengths
20
113k
src_fm
stringlengths
11
86.3k
src_fm_fc
stringlengths
21
86.4k
src_fm_fc_co
stringlengths
30
86.4k
src_fm_fc_ms
stringlengths
42
86.8k
src_fm_fc_ms_ff
stringlengths
43
86.8k
@Test public void isUserRegistrationEnabled_shouldReturnCorrectValue() throws Exception { Assert.assertFalse(DataManager.getInstance().getConfiguration().isUserRegistrationEnabled()); }
public boolean isUserRegistrationEnabled() { return getLocalBoolean("user.userRegistrationEnabled", true); }
Configuration extends AbstractConfiguration { public boolean isUserRegistrationEnabled() { return getLocalBoolean("user.userRegistrationEnabled", true); } }
Configuration extends AbstractConfiguration { public boolean isUserRegistrationEnabled() { return getLocalBoolean("user.userRegistrationEnabled", true); } Configuration(String configFilePath); }
Configuration extends AbstractConfiguration { public boolean isUserRegistrationEnabled() { return getLocalBoolean("user.userRegistrationEnabled", true); } Configuration(String configFilePath); Set<String> getStopwords(); boolean reloadingRequired(); String getConfigLocalPath(); String getLocalRessourceBundleFile(); int getViewerThumbnailsPerPage(); int getViewerMaxImageWidth(); int getViewerMaxImageHeight(); int getViewerMaxImageScale(); boolean isRememberImageZoom(); boolean isRememberImageRotation(); String getDfgViewerUrl(); String getConnectorVersionUrl(); List<Metadata> getTitleBarMetadata(); List<Metadata> getSearchHitMetadataForTemplate(String template); List<Metadata> getMainMetadataForTemplate(String template); List<Metadata> getSidebarMetadataForTemplate(String template); List<String> getNormdataFieldsForTemplate(String template); List<Metadata> getTocLabelConfiguration(String template); int getTocAnchorGroupElementsPerPage(); boolean isDisplaySidebarBrowsingTerms(); boolean isDisplaySidebarRssFeed(); boolean isDisplayWidgetUsage(); Metadata getWidgetUsageLicenceTextMetadata(); boolean isDisplaySidebarUsageWidgetLinkToJpegImage(); boolean isDisplaySidebarUsageWidgetLinkToMasterImage(); String getWidgetUsageMaxJpegSize(); String getWidgetUsageMaxMasterImageSize(); List<String> getCalendarDocStructTypes(); boolean isBrowsingMenuEnabled(); int getBrowsingMenuHitsPerPage(); List<BrowsingMenuFieldConfig> getBrowsingMenuFields(); String getBrowsingMenuSortingIgnoreLeadingChars(); String getDocstrctWhitelistFilterQuery(); String getCollectionSplittingChar(String field); List<DcSortingList> getCollectionSorting(String field); List<String> getCollectionBlacklist(String field); String getCollectionDefaultSortField(String field, String name); int getCollectionDisplayNumberOfVolumesLevel(String field); int getCollectionDisplayDepthForSearch(String field); String getCollectionHierarchyField(); boolean isAddCollectionHierarchyToBreadcrumbs(String field); String getSolrUrl(); String getContentServerWrapperUrl(); String getDownloadUrl(); String getRestApiUrl(); String getIIIFApiUrl(); boolean isUseIIIFApiUrlForCmsMediaUrls(); String getContentServerRealUrl(); String getMetsUrl(); String getMarcUrl(); String getDcUrl(); String getEseUrl(); List<Integer> getSearchHitsPerPageValues(); int getSearchHitsPerPageDefaultValue(); int getFulltextFragmentLength(); boolean isAdvancedSearchEnabled(); int getAdvancedSearchDefaultItemNumber(); List<AdvancedSearchFieldConfiguration> getAdvancedSearchFields(); boolean isAggregateHits(); boolean isDisplayAdditionalMetadataEnabled(); List<String> getDisplayAdditionalMetadataIgnoreFields(); List<String> getDisplayAdditionalMetadataTranslateFields(); boolean isAdvancedSearchFieldHierarchical(String field); boolean isAdvancedSearchFieldRange(String field); boolean isAdvancedSearchFieldUntokenizeForPhraseSearch(String field); String getAdvancedSearchFieldSeparatorLabel(String field); boolean isTimelineSearchEnabled(); boolean isCalendarSearchEnabled(); String getStaticQuerySuffix(); String getPreviousVersionIdentifierField(); String getNextVersionIdentifierField(); String getVersionLabelField(); String getIndexedMetsFolder(); String getIndexedLidoFolder(); String getIndexedDenkxwebFolder(); String getIndexedDublinCoreFolder(); String getPageSelectionFormat(); String getMediaFolder(); String getPdfFolder(); String getVocabulariesFolder(); String getOrigContentFolder(); String getCmsTextFolder(); String getAltoFolder(); String getAbbyyFolder(); String getFulltextFolder(); String getTeiFolder(); String getCmdiFolder(); String getWcFolder(); String getAnnotationFolder(); String getHotfolder(); @SuppressWarnings("static-method") String getTempFolder(); boolean isUrnDoRedirect(); boolean isUserRegistrationEnabled(); List<SecurityQuestion> getSecurityQuestions(); boolean isShowOpenIdConnect(); List<IAuthenticationProvider> getAuthenticationProviders(); String getSmtpServer(); String getSmtpUser(); String getSmtpPassword(); String getSmtpSenderAddress(); String getSmtpSenderName(); String getSmtpSecurity(); String getAnonymousUserEmailAddress(); boolean isDisplayCollectionBrowsing(); boolean isDisplayUserNavigation(); boolean isDisplayTagCloudNavigation(); boolean isDisplayStatistics(); boolean isDisplayTimeMatrix(); boolean isDisplayCrowdsourcingModuleLinks(); String getTheme(); String getThemeRootPath(); String getName(); String getDescription(); boolean isDisplayTagCloudStartpage(); boolean isDisplaySearchResultNavigation(); boolean isFoldout(String sidebarElement); boolean isSidebarPageViewLinkVisible(); boolean isSidebarCalendarViewLinkVisible(); boolean isSidebarTocViewLinkVisible(); boolean isSidebarThumbsViewLinkVisible(); boolean isSidebarMetadataViewLinkVisible(); boolean isShowSidebarEventMetadata(); boolean isShowRecordLabelIfNoOtherViews(); boolean isSidebarFulltextLinkVisible(); boolean isSidebarTocWidgetVisible(); boolean isSidebarTocWidgetVisibleInFullscreen(); boolean isSidebarOpacLinkVisible(); boolean getSidebarTocPageNumbersVisible(); int getSidebarTocLengthBeforeCut(); int getSidebarTocInitialCollapseLevel(); int getSidebarTocCollapseLengthThreshold(); int getSidebarTocLowestLevelToCollapseForLength(); boolean isSidebarTocTreeView(); boolean isTocTreeView(String docStructType); List<String> getAllDrillDownFields(); List<String> getDrillDownFields(); List<String> getHierarchicalDrillDownFields(); int getInitialDrillDownElementNumber(String field); String getSortOrder(String field); List<String> getPriorityValuesForDrillDownField(String field); String getLabelFieldForDrillDownField(String facetField); @SuppressWarnings("static-method") List<String> getRangeFacetFields(); boolean isSortingEnabled(); String getDefaultSortField(); List<String> getSortFields(); List<String> getStaticSortFields(); String getUrnResolverUrl(); int getUnconditionalImageAccessMaxWidth(); boolean isFullAccessForLocalhost(); boolean isGeneratePdfInTaskManager(); boolean isPdfApiDisabled(); boolean isTitlePdfEnabled(); boolean isTocPdfEnabled(); boolean isMetadataPdfEnabled(); boolean isPagePdfEnabled(); boolean isDocHierarchyPdfEnabled(); boolean isTitleEpubEnabled(); boolean isTocEpubEnabled(); boolean isMetadataEpubEnabled(); String getDownloadFolder(String type); int getRssFeedItems(); String getRssTitle(); String getRssDescription(); String getRssCopyrightText(); String getRulesetFilePath(); String getDefaultCollection(); int getThumbnailsWidth(); int getThumbnailsHeight(); int getThumbnailsCompression(); String getAnchorThumbnailMode(); int getMultivolumeThumbnailWidth(); int getMultivolumeThumbnailHeight(); boolean getDisplayBreadcrumbs(); boolean getDisplayMetadataPageLinkBlock(); boolean isAddDublinCoreMetaTags(); boolean isAddHighwirePressMetaTags(); int getMetadataParamNumber(); boolean useTiles(); boolean useTilesFullscreen(); boolean useTiles(PageType view, ImageType image); int getFooterHeight(); int getFullscreenFooterHeight(); int getFooterHeight(PageType view, ImageType image); String getImageViewType(); String getZoomFullscreenViewType(); String getZoomImageViewType(PageType view, ImageType image); boolean useOpenSeadragon(); List<String> getImageViewZoomScales(); List<String> getImageViewZoomScales(String view); List<String> getImageViewZoomScales(PageType view, ImageType image); Map<Integer, List<Integer>> getTileSizes(); Map<Integer, List<Integer>> getTileSizes(PageType view, ImageType image); SubnodeConfiguration getZoomImageViewConfig(PageType pageType, ImageType imageType); int getBreadcrumbsClipping(); boolean isDisplayTopstructLabel(); boolean getDisplayStructType(); int getSearchHitMetadataValueNumber(); int getSearchHitMetadataValueLength(); List<String> getWatermarkTextConfiguration(); String getWatermarkFormat(); boolean isOriginalContentDownload(); String getStopwordsFilePath(); String getPageType(PageType type); String getDocstructTargetPageType(String docstruct); String getPageTypeExitView(PageType type); int getFulltextPercentageWarningThreshold(); boolean isUseViewerLocaleAsRecordLanguage(); String getFeedbackEmailAddress(); boolean isBookmarksEnabled(); boolean isForceJpegConversion(); int getPageLoaderThreshold(); boolean isPreventProxyCaching(); boolean isSolrCompressionEnabled(); boolean isSolrBackwardsCompatible(); boolean isUserCommentsEnabled(); String getUserCommentsConditionalQuery(); List<String> getUserCommentsNotificationEmailAddresses(); String getViewerHome(); List<String> getWatermarkIdField(); String getSubthemeMainTheme(); String getSubthemeDiscriminatorField(); int getTagCloudSampleSize(String fieldName); List<StringPair> getTocVolumeSortFieldsForTemplate(String template); String getTocVolumeGroupFieldForTemplate(String template); boolean getDisplayTitleBreadcrumbs(); boolean isDisplayTitlePURL(); int getTitleBreadcrumbsMaxTitleLength(); boolean getIncludeAnchorInTitleBreadcrumbs(); boolean isDisplaySearchRssLinks(); boolean showThumbnailsInToc(); String getStartYearForTimeline(); String getEndYearForTimeline(); String getTimelineHits(); boolean isPiwikTrackingEnabled(); String getPiwikBaseURL(); String getPiwikSiteID(); boolean isSearchSavingEnabled(); boolean isBoostTopLevelDocstructs(); boolean isGroupDuplicateHits(); List<String> getRecordGroupIdentifierFields(); List<String> getAncestorIdentifierFields(); boolean isTocListSiblingRecords(); List<SearchFilter> getSearchFilters(); List<Map<String, String>> getWebApiFields(); String getDbPersistenceUnit(); boolean useCustomNavBar(); String getCmsTemplateFolder(); String getCmsMediaFolder(); String getTempMediaFolder(); List<String> getCmsClassifications(); int getCmsMediaDisplayWidth(); int getCmsMediaDisplayHeight(); boolean isTranskribusEnabled(); String getTranskribusUserName(); String getTranskribusPassword(); String getTranskribusDefaultCollection(); String getTranskribusRestApiUrl(); List<String> getTranskribusAllowedDocumentTypes(); int getTocIndentation(); boolean isPageBrowseEnabled(); List<Integer> getPageBrowseSteps(); String getTaskManagerServiceUrl(); String getTaskManagerRestUrl(); String getReCaptchaSiteKey(); boolean isUseReCaptcha(); boolean isSearchInItemEnabled(); String getDefaultBrowseIcon(String field); boolean isSearchExcelExportEnabled(); List<String> getSearchExcelExportFields(); int getExcelDownloadTimeout(); boolean isDisplayEmptyTocInSidebar(); boolean isDoublePageModeEnabled(); List<String> getRestrictedImageUrls(); List<String> getIIIFLicenses(); List<String> getIIIFMetadataFields(); List<String> getIIIFEventFields(); String getIIIFMetadataLabel(String field); int getIIIFDiscoveryAvtivitiesPerPage(); List<String> getIIIFLogo(); String getIIIFNavDateField(); List<String> getIIIFAttribution(); List<String> getIIIFDescriptionFields(); String getSitelinksField(); String getSitelinksFilterQuery(); List<String> getConfiguredCollections(); String getWebApiToken(); boolean isAllowRedirectCollectionToWork(); String getTwitterUserName(); float getLimitImageHeightUpperRatioThreshold(); float getLimitImageHeightLowerRatioThreshold(); boolean isLimitImageHeight(); boolean isAddCORSHeader(); String getCORSHeaderValue(); boolean isDiscloseImageContentLocation(); String getAccessConditionDisplayField(); String getCopyrightDisplayField(); boolean isDisplayCopyrightInfo(); boolean isDisplaySocialMediaShareLinks(); boolean isDisplayAnchorLabelInTitleBar(String template); String getAnchorLabelInTitleBarPrefix(String template); String getAnchorLabelInTitleBarSuffix(String template); String getMapBoxToken(); GeoMapMarker getGeoMapMarker(String name); List<String> getGeoMapMarkerFields(); List<GeoMapMarker> getGeoMapMarkers(); static GeoMapMarker readGeoMapMarker(HierarchicalConfiguration config); List<LicenseDescription> getLicenseDescriptions(); }
Configuration extends AbstractConfiguration { public boolean isUserRegistrationEnabled() { return getLocalBoolean("user.userRegistrationEnabled", true); } Configuration(String configFilePath); Set<String> getStopwords(); boolean reloadingRequired(); String getConfigLocalPath(); String getLocalRessourceBundleFile(); int getViewerThumbnailsPerPage(); int getViewerMaxImageWidth(); int getViewerMaxImageHeight(); int getViewerMaxImageScale(); boolean isRememberImageZoom(); boolean isRememberImageRotation(); String getDfgViewerUrl(); String getConnectorVersionUrl(); List<Metadata> getTitleBarMetadata(); List<Metadata> getSearchHitMetadataForTemplate(String template); List<Metadata> getMainMetadataForTemplate(String template); List<Metadata> getSidebarMetadataForTemplate(String template); List<String> getNormdataFieldsForTemplate(String template); List<Metadata> getTocLabelConfiguration(String template); int getTocAnchorGroupElementsPerPage(); boolean isDisplaySidebarBrowsingTerms(); boolean isDisplaySidebarRssFeed(); boolean isDisplayWidgetUsage(); Metadata getWidgetUsageLicenceTextMetadata(); boolean isDisplaySidebarUsageWidgetLinkToJpegImage(); boolean isDisplaySidebarUsageWidgetLinkToMasterImage(); String getWidgetUsageMaxJpegSize(); String getWidgetUsageMaxMasterImageSize(); List<String> getCalendarDocStructTypes(); boolean isBrowsingMenuEnabled(); int getBrowsingMenuHitsPerPage(); List<BrowsingMenuFieldConfig> getBrowsingMenuFields(); String getBrowsingMenuSortingIgnoreLeadingChars(); String getDocstrctWhitelistFilterQuery(); String getCollectionSplittingChar(String field); List<DcSortingList> getCollectionSorting(String field); List<String> getCollectionBlacklist(String field); String getCollectionDefaultSortField(String field, String name); int getCollectionDisplayNumberOfVolumesLevel(String field); int getCollectionDisplayDepthForSearch(String field); String getCollectionHierarchyField(); boolean isAddCollectionHierarchyToBreadcrumbs(String field); String getSolrUrl(); String getContentServerWrapperUrl(); String getDownloadUrl(); String getRestApiUrl(); String getIIIFApiUrl(); boolean isUseIIIFApiUrlForCmsMediaUrls(); String getContentServerRealUrl(); String getMetsUrl(); String getMarcUrl(); String getDcUrl(); String getEseUrl(); List<Integer> getSearchHitsPerPageValues(); int getSearchHitsPerPageDefaultValue(); int getFulltextFragmentLength(); boolean isAdvancedSearchEnabled(); int getAdvancedSearchDefaultItemNumber(); List<AdvancedSearchFieldConfiguration> getAdvancedSearchFields(); boolean isAggregateHits(); boolean isDisplayAdditionalMetadataEnabled(); List<String> getDisplayAdditionalMetadataIgnoreFields(); List<String> getDisplayAdditionalMetadataTranslateFields(); boolean isAdvancedSearchFieldHierarchical(String field); boolean isAdvancedSearchFieldRange(String field); boolean isAdvancedSearchFieldUntokenizeForPhraseSearch(String field); String getAdvancedSearchFieldSeparatorLabel(String field); boolean isTimelineSearchEnabled(); boolean isCalendarSearchEnabled(); String getStaticQuerySuffix(); String getPreviousVersionIdentifierField(); String getNextVersionIdentifierField(); String getVersionLabelField(); String getIndexedMetsFolder(); String getIndexedLidoFolder(); String getIndexedDenkxwebFolder(); String getIndexedDublinCoreFolder(); String getPageSelectionFormat(); String getMediaFolder(); String getPdfFolder(); String getVocabulariesFolder(); String getOrigContentFolder(); String getCmsTextFolder(); String getAltoFolder(); String getAbbyyFolder(); String getFulltextFolder(); String getTeiFolder(); String getCmdiFolder(); String getWcFolder(); String getAnnotationFolder(); String getHotfolder(); @SuppressWarnings("static-method") String getTempFolder(); boolean isUrnDoRedirect(); boolean isUserRegistrationEnabled(); List<SecurityQuestion> getSecurityQuestions(); boolean isShowOpenIdConnect(); List<IAuthenticationProvider> getAuthenticationProviders(); String getSmtpServer(); String getSmtpUser(); String getSmtpPassword(); String getSmtpSenderAddress(); String getSmtpSenderName(); String getSmtpSecurity(); String getAnonymousUserEmailAddress(); boolean isDisplayCollectionBrowsing(); boolean isDisplayUserNavigation(); boolean isDisplayTagCloudNavigation(); boolean isDisplayStatistics(); boolean isDisplayTimeMatrix(); boolean isDisplayCrowdsourcingModuleLinks(); String getTheme(); String getThemeRootPath(); String getName(); String getDescription(); boolean isDisplayTagCloudStartpage(); boolean isDisplaySearchResultNavigation(); boolean isFoldout(String sidebarElement); boolean isSidebarPageViewLinkVisible(); boolean isSidebarCalendarViewLinkVisible(); boolean isSidebarTocViewLinkVisible(); boolean isSidebarThumbsViewLinkVisible(); boolean isSidebarMetadataViewLinkVisible(); boolean isShowSidebarEventMetadata(); boolean isShowRecordLabelIfNoOtherViews(); boolean isSidebarFulltextLinkVisible(); boolean isSidebarTocWidgetVisible(); boolean isSidebarTocWidgetVisibleInFullscreen(); boolean isSidebarOpacLinkVisible(); boolean getSidebarTocPageNumbersVisible(); int getSidebarTocLengthBeforeCut(); int getSidebarTocInitialCollapseLevel(); int getSidebarTocCollapseLengthThreshold(); int getSidebarTocLowestLevelToCollapseForLength(); boolean isSidebarTocTreeView(); boolean isTocTreeView(String docStructType); List<String> getAllDrillDownFields(); List<String> getDrillDownFields(); List<String> getHierarchicalDrillDownFields(); int getInitialDrillDownElementNumber(String field); String getSortOrder(String field); List<String> getPriorityValuesForDrillDownField(String field); String getLabelFieldForDrillDownField(String facetField); @SuppressWarnings("static-method") List<String> getRangeFacetFields(); boolean isSortingEnabled(); String getDefaultSortField(); List<String> getSortFields(); List<String> getStaticSortFields(); String getUrnResolverUrl(); int getUnconditionalImageAccessMaxWidth(); boolean isFullAccessForLocalhost(); boolean isGeneratePdfInTaskManager(); boolean isPdfApiDisabled(); boolean isTitlePdfEnabled(); boolean isTocPdfEnabled(); boolean isMetadataPdfEnabled(); boolean isPagePdfEnabled(); boolean isDocHierarchyPdfEnabled(); boolean isTitleEpubEnabled(); boolean isTocEpubEnabled(); boolean isMetadataEpubEnabled(); String getDownloadFolder(String type); int getRssFeedItems(); String getRssTitle(); String getRssDescription(); String getRssCopyrightText(); String getRulesetFilePath(); String getDefaultCollection(); int getThumbnailsWidth(); int getThumbnailsHeight(); int getThumbnailsCompression(); String getAnchorThumbnailMode(); int getMultivolumeThumbnailWidth(); int getMultivolumeThumbnailHeight(); boolean getDisplayBreadcrumbs(); boolean getDisplayMetadataPageLinkBlock(); boolean isAddDublinCoreMetaTags(); boolean isAddHighwirePressMetaTags(); int getMetadataParamNumber(); boolean useTiles(); boolean useTilesFullscreen(); boolean useTiles(PageType view, ImageType image); int getFooterHeight(); int getFullscreenFooterHeight(); int getFooterHeight(PageType view, ImageType image); String getImageViewType(); String getZoomFullscreenViewType(); String getZoomImageViewType(PageType view, ImageType image); boolean useOpenSeadragon(); List<String> getImageViewZoomScales(); List<String> getImageViewZoomScales(String view); List<String> getImageViewZoomScales(PageType view, ImageType image); Map<Integer, List<Integer>> getTileSizes(); Map<Integer, List<Integer>> getTileSizes(PageType view, ImageType image); SubnodeConfiguration getZoomImageViewConfig(PageType pageType, ImageType imageType); int getBreadcrumbsClipping(); boolean isDisplayTopstructLabel(); boolean getDisplayStructType(); int getSearchHitMetadataValueNumber(); int getSearchHitMetadataValueLength(); List<String> getWatermarkTextConfiguration(); String getWatermarkFormat(); boolean isOriginalContentDownload(); String getStopwordsFilePath(); String getPageType(PageType type); String getDocstructTargetPageType(String docstruct); String getPageTypeExitView(PageType type); int getFulltextPercentageWarningThreshold(); boolean isUseViewerLocaleAsRecordLanguage(); String getFeedbackEmailAddress(); boolean isBookmarksEnabled(); boolean isForceJpegConversion(); int getPageLoaderThreshold(); boolean isPreventProxyCaching(); boolean isSolrCompressionEnabled(); boolean isSolrBackwardsCompatible(); boolean isUserCommentsEnabled(); String getUserCommentsConditionalQuery(); List<String> getUserCommentsNotificationEmailAddresses(); String getViewerHome(); List<String> getWatermarkIdField(); String getSubthemeMainTheme(); String getSubthemeDiscriminatorField(); int getTagCloudSampleSize(String fieldName); List<StringPair> getTocVolumeSortFieldsForTemplate(String template); String getTocVolumeGroupFieldForTemplate(String template); boolean getDisplayTitleBreadcrumbs(); boolean isDisplayTitlePURL(); int getTitleBreadcrumbsMaxTitleLength(); boolean getIncludeAnchorInTitleBreadcrumbs(); boolean isDisplaySearchRssLinks(); boolean showThumbnailsInToc(); String getStartYearForTimeline(); String getEndYearForTimeline(); String getTimelineHits(); boolean isPiwikTrackingEnabled(); String getPiwikBaseURL(); String getPiwikSiteID(); boolean isSearchSavingEnabled(); boolean isBoostTopLevelDocstructs(); boolean isGroupDuplicateHits(); List<String> getRecordGroupIdentifierFields(); List<String> getAncestorIdentifierFields(); boolean isTocListSiblingRecords(); List<SearchFilter> getSearchFilters(); List<Map<String, String>> getWebApiFields(); String getDbPersistenceUnit(); boolean useCustomNavBar(); String getCmsTemplateFolder(); String getCmsMediaFolder(); String getTempMediaFolder(); List<String> getCmsClassifications(); int getCmsMediaDisplayWidth(); int getCmsMediaDisplayHeight(); boolean isTranskribusEnabled(); String getTranskribusUserName(); String getTranskribusPassword(); String getTranskribusDefaultCollection(); String getTranskribusRestApiUrl(); List<String> getTranskribusAllowedDocumentTypes(); int getTocIndentation(); boolean isPageBrowseEnabled(); List<Integer> getPageBrowseSteps(); String getTaskManagerServiceUrl(); String getTaskManagerRestUrl(); String getReCaptchaSiteKey(); boolean isUseReCaptcha(); boolean isSearchInItemEnabled(); String getDefaultBrowseIcon(String field); boolean isSearchExcelExportEnabled(); List<String> getSearchExcelExportFields(); int getExcelDownloadTimeout(); boolean isDisplayEmptyTocInSidebar(); boolean isDoublePageModeEnabled(); List<String> getRestrictedImageUrls(); List<String> getIIIFLicenses(); List<String> getIIIFMetadataFields(); List<String> getIIIFEventFields(); String getIIIFMetadataLabel(String field); int getIIIFDiscoveryAvtivitiesPerPage(); List<String> getIIIFLogo(); String getIIIFNavDateField(); List<String> getIIIFAttribution(); List<String> getIIIFDescriptionFields(); String getSitelinksField(); String getSitelinksFilterQuery(); List<String> getConfiguredCollections(); String getWebApiToken(); boolean isAllowRedirectCollectionToWork(); String getTwitterUserName(); float getLimitImageHeightUpperRatioThreshold(); float getLimitImageHeightLowerRatioThreshold(); boolean isLimitImageHeight(); boolean isAddCORSHeader(); String getCORSHeaderValue(); boolean isDiscloseImageContentLocation(); String getAccessConditionDisplayField(); String getCopyrightDisplayField(); boolean isDisplayCopyrightInfo(); boolean isDisplaySocialMediaShareLinks(); boolean isDisplayAnchorLabelInTitleBar(String template); String getAnchorLabelInTitleBarPrefix(String template); String getAnchorLabelInTitleBarSuffix(String template); String getMapBoxToken(); GeoMapMarker getGeoMapMarker(String name); List<String> getGeoMapMarkerFields(); List<GeoMapMarker> getGeoMapMarkers(); static GeoMapMarker readGeoMapMarker(HierarchicalConfiguration config); List<LicenseDescription> getLicenseDescriptions(); }
@Test public void checkAccessPermission_shouldNotReturnTrueIfNoIpRangeMatches() throws Exception { List<LicenseType> licenseTypes = new ArrayList<>(); { LicenseType lt = new LicenseType(); lt.setName("license type 1 name"); licenseTypes.add(lt); } Set<String> recordAccessConditions = new HashSet<>(); recordAccessConditions.add("license type 1 name"); Assert.assertFalse(AccessConditionUtils.checkAccessPermission(licenseTypes, recordAccessConditions, IPrivilegeHolder.PRIV_LIST, null, "11.22.33.44", null)); }
public static boolean checkAccessPermission(Set<String> requiredAccessConditions, String privilegeName, String query, HttpServletRequest request) throws IndexUnreachableException, PresentationException, DAOException { User user = BeanUtils.getUserFromRequest(request); if (user == null) { UserBean userBean = BeanUtils.getUserBean(); if (userBean != null) { user = userBean.getUser(); } } return checkAccessPermission(DataManager.getInstance().getDao().getRecordLicenseTypes(), requiredAccessConditions, privilegeName, user, NetTools.getIpAddress(request), query); }
AccessConditionUtils { public static boolean checkAccessPermission(Set<String> requiredAccessConditions, String privilegeName, String query, HttpServletRequest request) throws IndexUnreachableException, PresentationException, DAOException { User user = BeanUtils.getUserFromRequest(request); if (user == null) { UserBean userBean = BeanUtils.getUserBean(); if (userBean != null) { user = userBean.getUser(); } } return checkAccessPermission(DataManager.getInstance().getDao().getRecordLicenseTypes(), requiredAccessConditions, privilegeName, user, NetTools.getIpAddress(request), query); } }
AccessConditionUtils { public static boolean checkAccessPermission(Set<String> requiredAccessConditions, String privilegeName, String query, HttpServletRequest request) throws IndexUnreachableException, PresentationException, DAOException { User user = BeanUtils.getUserFromRequest(request); if (user == null) { UserBean userBean = BeanUtils.getUserBean(); if (userBean != null) { user = userBean.getUser(); } } return checkAccessPermission(DataManager.getInstance().getDao().getRecordLicenseTypes(), requiredAccessConditions, privilegeName, user, NetTools.getIpAddress(request), query); } }
AccessConditionUtils { public static boolean checkAccessPermission(Set<String> requiredAccessConditions, String privilegeName, String query, HttpServletRequest request) throws IndexUnreachableException, PresentationException, DAOException { User user = BeanUtils.getUserFromRequest(request); if (user == null) { UserBean userBean = BeanUtils.getUserBean(); if (userBean != null) { user = userBean.getUser(); } } return checkAccessPermission(DataManager.getInstance().getDao().getRecordLicenseTypes(), requiredAccessConditions, privilegeName, user, NetTools.getIpAddress(request), query); } static boolean checkAccess(HttpServletRequest request, String action, String pi, String contentFileName, boolean isThumbnail); static boolean checkAccessPermissionByIdentifierAndLogId(String identifier, String logId, String privilegeName, HttpServletRequest request); @SuppressWarnings("unchecked") static Map<String, Boolean> checkAccessPermissionByIdentiferForAllLogids(String identifier, String privilegeName, HttpServletRequest request); @SuppressWarnings("unchecked") static Map<String, Boolean> checkContentFileAccessPermission(String identifier, HttpServletRequest request, List<Path> files); static boolean checkAccessPermissionByImageUrn(String imageUrn, String privilegeName, HttpServletRequest request); static boolean checkAccessPermission(Set<String> requiredAccessConditions, String privilegeName, String query, HttpServletRequest request); static boolean checkAccessPermissionForImage(HttpServletRequest request, String pi, String contentFileName); static boolean checkAccessPermissionForThumbnail(HttpServletRequest request, String pi, String contentFileName); static boolean checkAccessPermissionForPagePdf(HttpServletRequest request, PhysicalElement page); static boolean checkAccessPermissionByIdentifierAndFilePathWithSessionMap(HttpServletRequest request, String filePath, String privilegeType); @SuppressWarnings("unchecked") static boolean checkAccessPermissionByIdentifierAndFileNameWithSessionMap(HttpServletRequest request, String pi, String contentFileName, String privilegeType); static boolean checkAccessPermission(List<LicenseType> allLicenseTypes, Set<String> requiredAccessConditions, String privilegeName, User user, String remoteAddress, String query); static boolean isFreeOpenAccess(Set<String> requiredAccessConditions, Collection<LicenseType> allLicenseTypes); static int getPdfDownloadQuotaForRecord(String pi); static boolean isConcurrentViewsLimitEnabledForAnyAccessCondition(List<String> accessConditions); }
AccessConditionUtils { public static boolean checkAccessPermission(Set<String> requiredAccessConditions, String privilegeName, String query, HttpServletRequest request) throws IndexUnreachableException, PresentationException, DAOException { User user = BeanUtils.getUserFromRequest(request); if (user == null) { UserBean userBean = BeanUtils.getUserBean(); if (userBean != null) { user = userBean.getUser(); } } return checkAccessPermission(DataManager.getInstance().getDao().getRecordLicenseTypes(), requiredAccessConditions, privilegeName, user, NetTools.getIpAddress(request), query); } static boolean checkAccess(HttpServletRequest request, String action, String pi, String contentFileName, boolean isThumbnail); static boolean checkAccessPermissionByIdentifierAndLogId(String identifier, String logId, String privilegeName, HttpServletRequest request); @SuppressWarnings("unchecked") static Map<String, Boolean> checkAccessPermissionByIdentiferForAllLogids(String identifier, String privilegeName, HttpServletRequest request); @SuppressWarnings("unchecked") static Map<String, Boolean> checkContentFileAccessPermission(String identifier, HttpServletRequest request, List<Path> files); static boolean checkAccessPermissionByImageUrn(String imageUrn, String privilegeName, HttpServletRequest request); static boolean checkAccessPermission(Set<String> requiredAccessConditions, String privilegeName, String query, HttpServletRequest request); static boolean checkAccessPermissionForImage(HttpServletRequest request, String pi, String contentFileName); static boolean checkAccessPermissionForThumbnail(HttpServletRequest request, String pi, String contentFileName); static boolean checkAccessPermissionForPagePdf(HttpServletRequest request, PhysicalElement page); static boolean checkAccessPermissionByIdentifierAndFilePathWithSessionMap(HttpServletRequest request, String filePath, String privilegeType); @SuppressWarnings("unchecked") static boolean checkAccessPermissionByIdentifierAndFileNameWithSessionMap(HttpServletRequest request, String pi, String contentFileName, String privilegeType); static boolean checkAccessPermission(List<LicenseType> allLicenseTypes, Set<String> requiredAccessConditions, String privilegeName, User user, String remoteAddress, String query); static boolean isFreeOpenAccess(Set<String> requiredAccessConditions, Collection<LicenseType> allLicenseTypes); static int getPdfDownloadQuotaForRecord(String pi); static boolean isConcurrentViewsLimitEnabledForAnyAccessCondition(List<String> accessConditions); }
@Test public void getSecurityQuestions_shouldReturnAllConfiguredElements() throws Exception { List<SecurityQuestion> result = DataManager.getInstance().getConfiguration().getSecurityQuestions(); Assert.assertNotNull(result); Assert.assertEquals(2, result.size()); { SecurityQuestion q = result.get(0); Assert.assertEquals("user__security_question__1", q.getQuestionKey()); Assert.assertEquals(3, q.getCorrectAnswers().size()); Assert.assertTrue(q.getCorrectAnswers().contains("foo")); Assert.assertTrue(q.getCorrectAnswers().contains("f00")); Assert.assertTrue(q.getCorrectAnswers().contains("phoo")); } }
public List<SecurityQuestion> getSecurityQuestions() { List<HierarchicalConfiguration> nodes = getLocalConfigurationsAt("user.securityQuestions.question"); if (nodes == null || nodes.isEmpty()) { return Collections.emptyList(); } List<SecurityQuestion> ret = new ArrayList<>(nodes.size()); for (HierarchicalConfiguration node : nodes) { String questionKey = node.getString("[@key]"); if (StringUtils.isEmpty(questionKey)) { logger.warn("Security question key not found, skipping..."); continue; } List<Object> answerNodes = node.getList("allowedAnswer", Collections.emptyList()); if (answerNodes.isEmpty()) { logger.warn("Security question '{}' has no configured answers, skipping..."); continue; } Set<String> allowedAnswers = new HashSet<>(answerNodes.size()); for (Object answer : answerNodes) { allowedAnswers.add(((String) answer).toLowerCase()); } ret.add(new SecurityQuestion(questionKey, allowedAnswers)); } return ret; }
Configuration extends AbstractConfiguration { public List<SecurityQuestion> getSecurityQuestions() { List<HierarchicalConfiguration> nodes = getLocalConfigurationsAt("user.securityQuestions.question"); if (nodes == null || nodes.isEmpty()) { return Collections.emptyList(); } List<SecurityQuestion> ret = new ArrayList<>(nodes.size()); for (HierarchicalConfiguration node : nodes) { String questionKey = node.getString("[@key]"); if (StringUtils.isEmpty(questionKey)) { logger.warn("Security question key not found, skipping..."); continue; } List<Object> answerNodes = node.getList("allowedAnswer", Collections.emptyList()); if (answerNodes.isEmpty()) { logger.warn("Security question '{}' has no configured answers, skipping..."); continue; } Set<String> allowedAnswers = new HashSet<>(answerNodes.size()); for (Object answer : answerNodes) { allowedAnswers.add(((String) answer).toLowerCase()); } ret.add(new SecurityQuestion(questionKey, allowedAnswers)); } return ret; } }
Configuration extends AbstractConfiguration { public List<SecurityQuestion> getSecurityQuestions() { List<HierarchicalConfiguration> nodes = getLocalConfigurationsAt("user.securityQuestions.question"); if (nodes == null || nodes.isEmpty()) { return Collections.emptyList(); } List<SecurityQuestion> ret = new ArrayList<>(nodes.size()); for (HierarchicalConfiguration node : nodes) { String questionKey = node.getString("[@key]"); if (StringUtils.isEmpty(questionKey)) { logger.warn("Security question key not found, skipping..."); continue; } List<Object> answerNodes = node.getList("allowedAnswer", Collections.emptyList()); if (answerNodes.isEmpty()) { logger.warn("Security question '{}' has no configured answers, skipping..."); continue; } Set<String> allowedAnswers = new HashSet<>(answerNodes.size()); for (Object answer : answerNodes) { allowedAnswers.add(((String) answer).toLowerCase()); } ret.add(new SecurityQuestion(questionKey, allowedAnswers)); } return ret; } Configuration(String configFilePath); }
Configuration extends AbstractConfiguration { public List<SecurityQuestion> getSecurityQuestions() { List<HierarchicalConfiguration> nodes = getLocalConfigurationsAt("user.securityQuestions.question"); if (nodes == null || nodes.isEmpty()) { return Collections.emptyList(); } List<SecurityQuestion> ret = new ArrayList<>(nodes.size()); for (HierarchicalConfiguration node : nodes) { String questionKey = node.getString("[@key]"); if (StringUtils.isEmpty(questionKey)) { logger.warn("Security question key not found, skipping..."); continue; } List<Object> answerNodes = node.getList("allowedAnswer", Collections.emptyList()); if (answerNodes.isEmpty()) { logger.warn("Security question '{}' has no configured answers, skipping..."); continue; } Set<String> allowedAnswers = new HashSet<>(answerNodes.size()); for (Object answer : answerNodes) { allowedAnswers.add(((String) answer).toLowerCase()); } ret.add(new SecurityQuestion(questionKey, allowedAnswers)); } return ret; } Configuration(String configFilePath); Set<String> getStopwords(); boolean reloadingRequired(); String getConfigLocalPath(); String getLocalRessourceBundleFile(); int getViewerThumbnailsPerPage(); int getViewerMaxImageWidth(); int getViewerMaxImageHeight(); int getViewerMaxImageScale(); boolean isRememberImageZoom(); boolean isRememberImageRotation(); String getDfgViewerUrl(); String getConnectorVersionUrl(); List<Metadata> getTitleBarMetadata(); List<Metadata> getSearchHitMetadataForTemplate(String template); List<Metadata> getMainMetadataForTemplate(String template); List<Metadata> getSidebarMetadataForTemplate(String template); List<String> getNormdataFieldsForTemplate(String template); List<Metadata> getTocLabelConfiguration(String template); int getTocAnchorGroupElementsPerPage(); boolean isDisplaySidebarBrowsingTerms(); boolean isDisplaySidebarRssFeed(); boolean isDisplayWidgetUsage(); Metadata getWidgetUsageLicenceTextMetadata(); boolean isDisplaySidebarUsageWidgetLinkToJpegImage(); boolean isDisplaySidebarUsageWidgetLinkToMasterImage(); String getWidgetUsageMaxJpegSize(); String getWidgetUsageMaxMasterImageSize(); List<String> getCalendarDocStructTypes(); boolean isBrowsingMenuEnabled(); int getBrowsingMenuHitsPerPage(); List<BrowsingMenuFieldConfig> getBrowsingMenuFields(); String getBrowsingMenuSortingIgnoreLeadingChars(); String getDocstrctWhitelistFilterQuery(); String getCollectionSplittingChar(String field); List<DcSortingList> getCollectionSorting(String field); List<String> getCollectionBlacklist(String field); String getCollectionDefaultSortField(String field, String name); int getCollectionDisplayNumberOfVolumesLevel(String field); int getCollectionDisplayDepthForSearch(String field); String getCollectionHierarchyField(); boolean isAddCollectionHierarchyToBreadcrumbs(String field); String getSolrUrl(); String getContentServerWrapperUrl(); String getDownloadUrl(); String getRestApiUrl(); String getIIIFApiUrl(); boolean isUseIIIFApiUrlForCmsMediaUrls(); String getContentServerRealUrl(); String getMetsUrl(); String getMarcUrl(); String getDcUrl(); String getEseUrl(); List<Integer> getSearchHitsPerPageValues(); int getSearchHitsPerPageDefaultValue(); int getFulltextFragmentLength(); boolean isAdvancedSearchEnabled(); int getAdvancedSearchDefaultItemNumber(); List<AdvancedSearchFieldConfiguration> getAdvancedSearchFields(); boolean isAggregateHits(); boolean isDisplayAdditionalMetadataEnabled(); List<String> getDisplayAdditionalMetadataIgnoreFields(); List<String> getDisplayAdditionalMetadataTranslateFields(); boolean isAdvancedSearchFieldHierarchical(String field); boolean isAdvancedSearchFieldRange(String field); boolean isAdvancedSearchFieldUntokenizeForPhraseSearch(String field); String getAdvancedSearchFieldSeparatorLabel(String field); boolean isTimelineSearchEnabled(); boolean isCalendarSearchEnabled(); String getStaticQuerySuffix(); String getPreviousVersionIdentifierField(); String getNextVersionIdentifierField(); String getVersionLabelField(); String getIndexedMetsFolder(); String getIndexedLidoFolder(); String getIndexedDenkxwebFolder(); String getIndexedDublinCoreFolder(); String getPageSelectionFormat(); String getMediaFolder(); String getPdfFolder(); String getVocabulariesFolder(); String getOrigContentFolder(); String getCmsTextFolder(); String getAltoFolder(); String getAbbyyFolder(); String getFulltextFolder(); String getTeiFolder(); String getCmdiFolder(); String getWcFolder(); String getAnnotationFolder(); String getHotfolder(); @SuppressWarnings("static-method") String getTempFolder(); boolean isUrnDoRedirect(); boolean isUserRegistrationEnabled(); List<SecurityQuestion> getSecurityQuestions(); boolean isShowOpenIdConnect(); List<IAuthenticationProvider> getAuthenticationProviders(); String getSmtpServer(); String getSmtpUser(); String getSmtpPassword(); String getSmtpSenderAddress(); String getSmtpSenderName(); String getSmtpSecurity(); String getAnonymousUserEmailAddress(); boolean isDisplayCollectionBrowsing(); boolean isDisplayUserNavigation(); boolean isDisplayTagCloudNavigation(); boolean isDisplayStatistics(); boolean isDisplayTimeMatrix(); boolean isDisplayCrowdsourcingModuleLinks(); String getTheme(); String getThemeRootPath(); String getName(); String getDescription(); boolean isDisplayTagCloudStartpage(); boolean isDisplaySearchResultNavigation(); boolean isFoldout(String sidebarElement); boolean isSidebarPageViewLinkVisible(); boolean isSidebarCalendarViewLinkVisible(); boolean isSidebarTocViewLinkVisible(); boolean isSidebarThumbsViewLinkVisible(); boolean isSidebarMetadataViewLinkVisible(); boolean isShowSidebarEventMetadata(); boolean isShowRecordLabelIfNoOtherViews(); boolean isSidebarFulltextLinkVisible(); boolean isSidebarTocWidgetVisible(); boolean isSidebarTocWidgetVisibleInFullscreen(); boolean isSidebarOpacLinkVisible(); boolean getSidebarTocPageNumbersVisible(); int getSidebarTocLengthBeforeCut(); int getSidebarTocInitialCollapseLevel(); int getSidebarTocCollapseLengthThreshold(); int getSidebarTocLowestLevelToCollapseForLength(); boolean isSidebarTocTreeView(); boolean isTocTreeView(String docStructType); List<String> getAllDrillDownFields(); List<String> getDrillDownFields(); List<String> getHierarchicalDrillDownFields(); int getInitialDrillDownElementNumber(String field); String getSortOrder(String field); List<String> getPriorityValuesForDrillDownField(String field); String getLabelFieldForDrillDownField(String facetField); @SuppressWarnings("static-method") List<String> getRangeFacetFields(); boolean isSortingEnabled(); String getDefaultSortField(); List<String> getSortFields(); List<String> getStaticSortFields(); String getUrnResolverUrl(); int getUnconditionalImageAccessMaxWidth(); boolean isFullAccessForLocalhost(); boolean isGeneratePdfInTaskManager(); boolean isPdfApiDisabled(); boolean isTitlePdfEnabled(); boolean isTocPdfEnabled(); boolean isMetadataPdfEnabled(); boolean isPagePdfEnabled(); boolean isDocHierarchyPdfEnabled(); boolean isTitleEpubEnabled(); boolean isTocEpubEnabled(); boolean isMetadataEpubEnabled(); String getDownloadFolder(String type); int getRssFeedItems(); String getRssTitle(); String getRssDescription(); String getRssCopyrightText(); String getRulesetFilePath(); String getDefaultCollection(); int getThumbnailsWidth(); int getThumbnailsHeight(); int getThumbnailsCompression(); String getAnchorThumbnailMode(); int getMultivolumeThumbnailWidth(); int getMultivolumeThumbnailHeight(); boolean getDisplayBreadcrumbs(); boolean getDisplayMetadataPageLinkBlock(); boolean isAddDublinCoreMetaTags(); boolean isAddHighwirePressMetaTags(); int getMetadataParamNumber(); boolean useTiles(); boolean useTilesFullscreen(); boolean useTiles(PageType view, ImageType image); int getFooterHeight(); int getFullscreenFooterHeight(); int getFooterHeight(PageType view, ImageType image); String getImageViewType(); String getZoomFullscreenViewType(); String getZoomImageViewType(PageType view, ImageType image); boolean useOpenSeadragon(); List<String> getImageViewZoomScales(); List<String> getImageViewZoomScales(String view); List<String> getImageViewZoomScales(PageType view, ImageType image); Map<Integer, List<Integer>> getTileSizes(); Map<Integer, List<Integer>> getTileSizes(PageType view, ImageType image); SubnodeConfiguration getZoomImageViewConfig(PageType pageType, ImageType imageType); int getBreadcrumbsClipping(); boolean isDisplayTopstructLabel(); boolean getDisplayStructType(); int getSearchHitMetadataValueNumber(); int getSearchHitMetadataValueLength(); List<String> getWatermarkTextConfiguration(); String getWatermarkFormat(); boolean isOriginalContentDownload(); String getStopwordsFilePath(); String getPageType(PageType type); String getDocstructTargetPageType(String docstruct); String getPageTypeExitView(PageType type); int getFulltextPercentageWarningThreshold(); boolean isUseViewerLocaleAsRecordLanguage(); String getFeedbackEmailAddress(); boolean isBookmarksEnabled(); boolean isForceJpegConversion(); int getPageLoaderThreshold(); boolean isPreventProxyCaching(); boolean isSolrCompressionEnabled(); boolean isSolrBackwardsCompatible(); boolean isUserCommentsEnabled(); String getUserCommentsConditionalQuery(); List<String> getUserCommentsNotificationEmailAddresses(); String getViewerHome(); List<String> getWatermarkIdField(); String getSubthemeMainTheme(); String getSubthemeDiscriminatorField(); int getTagCloudSampleSize(String fieldName); List<StringPair> getTocVolumeSortFieldsForTemplate(String template); String getTocVolumeGroupFieldForTemplate(String template); boolean getDisplayTitleBreadcrumbs(); boolean isDisplayTitlePURL(); int getTitleBreadcrumbsMaxTitleLength(); boolean getIncludeAnchorInTitleBreadcrumbs(); boolean isDisplaySearchRssLinks(); boolean showThumbnailsInToc(); String getStartYearForTimeline(); String getEndYearForTimeline(); String getTimelineHits(); boolean isPiwikTrackingEnabled(); String getPiwikBaseURL(); String getPiwikSiteID(); boolean isSearchSavingEnabled(); boolean isBoostTopLevelDocstructs(); boolean isGroupDuplicateHits(); List<String> getRecordGroupIdentifierFields(); List<String> getAncestorIdentifierFields(); boolean isTocListSiblingRecords(); List<SearchFilter> getSearchFilters(); List<Map<String, String>> getWebApiFields(); String getDbPersistenceUnit(); boolean useCustomNavBar(); String getCmsTemplateFolder(); String getCmsMediaFolder(); String getTempMediaFolder(); List<String> getCmsClassifications(); int getCmsMediaDisplayWidth(); int getCmsMediaDisplayHeight(); boolean isTranskribusEnabled(); String getTranskribusUserName(); String getTranskribusPassword(); String getTranskribusDefaultCollection(); String getTranskribusRestApiUrl(); List<String> getTranskribusAllowedDocumentTypes(); int getTocIndentation(); boolean isPageBrowseEnabled(); List<Integer> getPageBrowseSteps(); String getTaskManagerServiceUrl(); String getTaskManagerRestUrl(); String getReCaptchaSiteKey(); boolean isUseReCaptcha(); boolean isSearchInItemEnabled(); String getDefaultBrowseIcon(String field); boolean isSearchExcelExportEnabled(); List<String> getSearchExcelExportFields(); int getExcelDownloadTimeout(); boolean isDisplayEmptyTocInSidebar(); boolean isDoublePageModeEnabled(); List<String> getRestrictedImageUrls(); List<String> getIIIFLicenses(); List<String> getIIIFMetadataFields(); List<String> getIIIFEventFields(); String getIIIFMetadataLabel(String field); int getIIIFDiscoveryAvtivitiesPerPage(); List<String> getIIIFLogo(); String getIIIFNavDateField(); List<String> getIIIFAttribution(); List<String> getIIIFDescriptionFields(); String getSitelinksField(); String getSitelinksFilterQuery(); List<String> getConfiguredCollections(); String getWebApiToken(); boolean isAllowRedirectCollectionToWork(); String getTwitterUserName(); float getLimitImageHeightUpperRatioThreshold(); float getLimitImageHeightLowerRatioThreshold(); boolean isLimitImageHeight(); boolean isAddCORSHeader(); String getCORSHeaderValue(); boolean isDiscloseImageContentLocation(); String getAccessConditionDisplayField(); String getCopyrightDisplayField(); boolean isDisplayCopyrightInfo(); boolean isDisplaySocialMediaShareLinks(); boolean isDisplayAnchorLabelInTitleBar(String template); String getAnchorLabelInTitleBarPrefix(String template); String getAnchorLabelInTitleBarSuffix(String template); String getMapBoxToken(); GeoMapMarker getGeoMapMarker(String name); List<String> getGeoMapMarkerFields(); List<GeoMapMarker> getGeoMapMarkers(); static GeoMapMarker readGeoMapMarker(HierarchicalConfiguration config); List<LicenseDescription> getLicenseDescriptions(); }
Configuration extends AbstractConfiguration { public List<SecurityQuestion> getSecurityQuestions() { List<HierarchicalConfiguration> nodes = getLocalConfigurationsAt("user.securityQuestions.question"); if (nodes == null || nodes.isEmpty()) { return Collections.emptyList(); } List<SecurityQuestion> ret = new ArrayList<>(nodes.size()); for (HierarchicalConfiguration node : nodes) { String questionKey = node.getString("[@key]"); if (StringUtils.isEmpty(questionKey)) { logger.warn("Security question key not found, skipping..."); continue; } List<Object> answerNodes = node.getList("allowedAnswer", Collections.emptyList()); if (answerNodes.isEmpty()) { logger.warn("Security question '{}' has no configured answers, skipping..."); continue; } Set<String> allowedAnswers = new HashSet<>(answerNodes.size()); for (Object answer : answerNodes) { allowedAnswers.add(((String) answer).toLowerCase()); } ret.add(new SecurityQuestion(questionKey, allowedAnswers)); } return ret; } Configuration(String configFilePath); Set<String> getStopwords(); boolean reloadingRequired(); String getConfigLocalPath(); String getLocalRessourceBundleFile(); int getViewerThumbnailsPerPage(); int getViewerMaxImageWidth(); int getViewerMaxImageHeight(); int getViewerMaxImageScale(); boolean isRememberImageZoom(); boolean isRememberImageRotation(); String getDfgViewerUrl(); String getConnectorVersionUrl(); List<Metadata> getTitleBarMetadata(); List<Metadata> getSearchHitMetadataForTemplate(String template); List<Metadata> getMainMetadataForTemplate(String template); List<Metadata> getSidebarMetadataForTemplate(String template); List<String> getNormdataFieldsForTemplate(String template); List<Metadata> getTocLabelConfiguration(String template); int getTocAnchorGroupElementsPerPage(); boolean isDisplaySidebarBrowsingTerms(); boolean isDisplaySidebarRssFeed(); boolean isDisplayWidgetUsage(); Metadata getWidgetUsageLicenceTextMetadata(); boolean isDisplaySidebarUsageWidgetLinkToJpegImage(); boolean isDisplaySidebarUsageWidgetLinkToMasterImage(); String getWidgetUsageMaxJpegSize(); String getWidgetUsageMaxMasterImageSize(); List<String> getCalendarDocStructTypes(); boolean isBrowsingMenuEnabled(); int getBrowsingMenuHitsPerPage(); List<BrowsingMenuFieldConfig> getBrowsingMenuFields(); String getBrowsingMenuSortingIgnoreLeadingChars(); String getDocstrctWhitelistFilterQuery(); String getCollectionSplittingChar(String field); List<DcSortingList> getCollectionSorting(String field); List<String> getCollectionBlacklist(String field); String getCollectionDefaultSortField(String field, String name); int getCollectionDisplayNumberOfVolumesLevel(String field); int getCollectionDisplayDepthForSearch(String field); String getCollectionHierarchyField(); boolean isAddCollectionHierarchyToBreadcrumbs(String field); String getSolrUrl(); String getContentServerWrapperUrl(); String getDownloadUrl(); String getRestApiUrl(); String getIIIFApiUrl(); boolean isUseIIIFApiUrlForCmsMediaUrls(); String getContentServerRealUrl(); String getMetsUrl(); String getMarcUrl(); String getDcUrl(); String getEseUrl(); List<Integer> getSearchHitsPerPageValues(); int getSearchHitsPerPageDefaultValue(); int getFulltextFragmentLength(); boolean isAdvancedSearchEnabled(); int getAdvancedSearchDefaultItemNumber(); List<AdvancedSearchFieldConfiguration> getAdvancedSearchFields(); boolean isAggregateHits(); boolean isDisplayAdditionalMetadataEnabled(); List<String> getDisplayAdditionalMetadataIgnoreFields(); List<String> getDisplayAdditionalMetadataTranslateFields(); boolean isAdvancedSearchFieldHierarchical(String field); boolean isAdvancedSearchFieldRange(String field); boolean isAdvancedSearchFieldUntokenizeForPhraseSearch(String field); String getAdvancedSearchFieldSeparatorLabel(String field); boolean isTimelineSearchEnabled(); boolean isCalendarSearchEnabled(); String getStaticQuerySuffix(); String getPreviousVersionIdentifierField(); String getNextVersionIdentifierField(); String getVersionLabelField(); String getIndexedMetsFolder(); String getIndexedLidoFolder(); String getIndexedDenkxwebFolder(); String getIndexedDublinCoreFolder(); String getPageSelectionFormat(); String getMediaFolder(); String getPdfFolder(); String getVocabulariesFolder(); String getOrigContentFolder(); String getCmsTextFolder(); String getAltoFolder(); String getAbbyyFolder(); String getFulltextFolder(); String getTeiFolder(); String getCmdiFolder(); String getWcFolder(); String getAnnotationFolder(); String getHotfolder(); @SuppressWarnings("static-method") String getTempFolder(); boolean isUrnDoRedirect(); boolean isUserRegistrationEnabled(); List<SecurityQuestion> getSecurityQuestions(); boolean isShowOpenIdConnect(); List<IAuthenticationProvider> getAuthenticationProviders(); String getSmtpServer(); String getSmtpUser(); String getSmtpPassword(); String getSmtpSenderAddress(); String getSmtpSenderName(); String getSmtpSecurity(); String getAnonymousUserEmailAddress(); boolean isDisplayCollectionBrowsing(); boolean isDisplayUserNavigation(); boolean isDisplayTagCloudNavigation(); boolean isDisplayStatistics(); boolean isDisplayTimeMatrix(); boolean isDisplayCrowdsourcingModuleLinks(); String getTheme(); String getThemeRootPath(); String getName(); String getDescription(); boolean isDisplayTagCloudStartpage(); boolean isDisplaySearchResultNavigation(); boolean isFoldout(String sidebarElement); boolean isSidebarPageViewLinkVisible(); boolean isSidebarCalendarViewLinkVisible(); boolean isSidebarTocViewLinkVisible(); boolean isSidebarThumbsViewLinkVisible(); boolean isSidebarMetadataViewLinkVisible(); boolean isShowSidebarEventMetadata(); boolean isShowRecordLabelIfNoOtherViews(); boolean isSidebarFulltextLinkVisible(); boolean isSidebarTocWidgetVisible(); boolean isSidebarTocWidgetVisibleInFullscreen(); boolean isSidebarOpacLinkVisible(); boolean getSidebarTocPageNumbersVisible(); int getSidebarTocLengthBeforeCut(); int getSidebarTocInitialCollapseLevel(); int getSidebarTocCollapseLengthThreshold(); int getSidebarTocLowestLevelToCollapseForLength(); boolean isSidebarTocTreeView(); boolean isTocTreeView(String docStructType); List<String> getAllDrillDownFields(); List<String> getDrillDownFields(); List<String> getHierarchicalDrillDownFields(); int getInitialDrillDownElementNumber(String field); String getSortOrder(String field); List<String> getPriorityValuesForDrillDownField(String field); String getLabelFieldForDrillDownField(String facetField); @SuppressWarnings("static-method") List<String> getRangeFacetFields(); boolean isSortingEnabled(); String getDefaultSortField(); List<String> getSortFields(); List<String> getStaticSortFields(); String getUrnResolverUrl(); int getUnconditionalImageAccessMaxWidth(); boolean isFullAccessForLocalhost(); boolean isGeneratePdfInTaskManager(); boolean isPdfApiDisabled(); boolean isTitlePdfEnabled(); boolean isTocPdfEnabled(); boolean isMetadataPdfEnabled(); boolean isPagePdfEnabled(); boolean isDocHierarchyPdfEnabled(); boolean isTitleEpubEnabled(); boolean isTocEpubEnabled(); boolean isMetadataEpubEnabled(); String getDownloadFolder(String type); int getRssFeedItems(); String getRssTitle(); String getRssDescription(); String getRssCopyrightText(); String getRulesetFilePath(); String getDefaultCollection(); int getThumbnailsWidth(); int getThumbnailsHeight(); int getThumbnailsCompression(); String getAnchorThumbnailMode(); int getMultivolumeThumbnailWidth(); int getMultivolumeThumbnailHeight(); boolean getDisplayBreadcrumbs(); boolean getDisplayMetadataPageLinkBlock(); boolean isAddDublinCoreMetaTags(); boolean isAddHighwirePressMetaTags(); int getMetadataParamNumber(); boolean useTiles(); boolean useTilesFullscreen(); boolean useTiles(PageType view, ImageType image); int getFooterHeight(); int getFullscreenFooterHeight(); int getFooterHeight(PageType view, ImageType image); String getImageViewType(); String getZoomFullscreenViewType(); String getZoomImageViewType(PageType view, ImageType image); boolean useOpenSeadragon(); List<String> getImageViewZoomScales(); List<String> getImageViewZoomScales(String view); List<String> getImageViewZoomScales(PageType view, ImageType image); Map<Integer, List<Integer>> getTileSizes(); Map<Integer, List<Integer>> getTileSizes(PageType view, ImageType image); SubnodeConfiguration getZoomImageViewConfig(PageType pageType, ImageType imageType); int getBreadcrumbsClipping(); boolean isDisplayTopstructLabel(); boolean getDisplayStructType(); int getSearchHitMetadataValueNumber(); int getSearchHitMetadataValueLength(); List<String> getWatermarkTextConfiguration(); String getWatermarkFormat(); boolean isOriginalContentDownload(); String getStopwordsFilePath(); String getPageType(PageType type); String getDocstructTargetPageType(String docstruct); String getPageTypeExitView(PageType type); int getFulltextPercentageWarningThreshold(); boolean isUseViewerLocaleAsRecordLanguage(); String getFeedbackEmailAddress(); boolean isBookmarksEnabled(); boolean isForceJpegConversion(); int getPageLoaderThreshold(); boolean isPreventProxyCaching(); boolean isSolrCompressionEnabled(); boolean isSolrBackwardsCompatible(); boolean isUserCommentsEnabled(); String getUserCommentsConditionalQuery(); List<String> getUserCommentsNotificationEmailAddresses(); String getViewerHome(); List<String> getWatermarkIdField(); String getSubthemeMainTheme(); String getSubthemeDiscriminatorField(); int getTagCloudSampleSize(String fieldName); List<StringPair> getTocVolumeSortFieldsForTemplate(String template); String getTocVolumeGroupFieldForTemplate(String template); boolean getDisplayTitleBreadcrumbs(); boolean isDisplayTitlePURL(); int getTitleBreadcrumbsMaxTitleLength(); boolean getIncludeAnchorInTitleBreadcrumbs(); boolean isDisplaySearchRssLinks(); boolean showThumbnailsInToc(); String getStartYearForTimeline(); String getEndYearForTimeline(); String getTimelineHits(); boolean isPiwikTrackingEnabled(); String getPiwikBaseURL(); String getPiwikSiteID(); boolean isSearchSavingEnabled(); boolean isBoostTopLevelDocstructs(); boolean isGroupDuplicateHits(); List<String> getRecordGroupIdentifierFields(); List<String> getAncestorIdentifierFields(); boolean isTocListSiblingRecords(); List<SearchFilter> getSearchFilters(); List<Map<String, String>> getWebApiFields(); String getDbPersistenceUnit(); boolean useCustomNavBar(); String getCmsTemplateFolder(); String getCmsMediaFolder(); String getTempMediaFolder(); List<String> getCmsClassifications(); int getCmsMediaDisplayWidth(); int getCmsMediaDisplayHeight(); boolean isTranskribusEnabled(); String getTranskribusUserName(); String getTranskribusPassword(); String getTranskribusDefaultCollection(); String getTranskribusRestApiUrl(); List<String> getTranskribusAllowedDocumentTypes(); int getTocIndentation(); boolean isPageBrowseEnabled(); List<Integer> getPageBrowseSteps(); String getTaskManagerServiceUrl(); String getTaskManagerRestUrl(); String getReCaptchaSiteKey(); boolean isUseReCaptcha(); boolean isSearchInItemEnabled(); String getDefaultBrowseIcon(String field); boolean isSearchExcelExportEnabled(); List<String> getSearchExcelExportFields(); int getExcelDownloadTimeout(); boolean isDisplayEmptyTocInSidebar(); boolean isDoublePageModeEnabled(); List<String> getRestrictedImageUrls(); List<String> getIIIFLicenses(); List<String> getIIIFMetadataFields(); List<String> getIIIFEventFields(); String getIIIFMetadataLabel(String field); int getIIIFDiscoveryAvtivitiesPerPage(); List<String> getIIIFLogo(); String getIIIFNavDateField(); List<String> getIIIFAttribution(); List<String> getIIIFDescriptionFields(); String getSitelinksField(); String getSitelinksFilterQuery(); List<String> getConfiguredCollections(); String getWebApiToken(); boolean isAllowRedirectCollectionToWork(); String getTwitterUserName(); float getLimitImageHeightUpperRatioThreshold(); float getLimitImageHeightLowerRatioThreshold(); boolean isLimitImageHeight(); boolean isAddCORSHeader(); String getCORSHeaderValue(); boolean isDiscloseImageContentLocation(); String getAccessConditionDisplayField(); String getCopyrightDisplayField(); boolean isDisplayCopyrightInfo(); boolean isDisplaySocialMediaShareLinks(); boolean isDisplayAnchorLabelInTitleBar(String template); String getAnchorLabelInTitleBarPrefix(String template); String getAnchorLabelInTitleBarSuffix(String template); String getMapBoxToken(); GeoMapMarker getGeoMapMarker(String name); List<String> getGeoMapMarkerFields(); List<GeoMapMarker> getGeoMapMarkers(); static GeoMapMarker readGeoMapMarker(HierarchicalConfiguration config); List<LicenseDescription> getLicenseDescriptions(); }
@Test public void isShowOpenIdConnect_shouldReturnCorrectValue() throws Exception { Assert.assertTrue(DataManager.getInstance().getConfiguration().isShowOpenIdConnect()); }
public boolean isShowOpenIdConnect() { return getAuthenticationProviders().stream().anyMatch(provider -> OpenIdProvider.TYPE_OPENID.equalsIgnoreCase(provider.getType())); }
Configuration extends AbstractConfiguration { public boolean isShowOpenIdConnect() { return getAuthenticationProviders().stream().anyMatch(provider -> OpenIdProvider.TYPE_OPENID.equalsIgnoreCase(provider.getType())); } }
Configuration extends AbstractConfiguration { public boolean isShowOpenIdConnect() { return getAuthenticationProviders().stream().anyMatch(provider -> OpenIdProvider.TYPE_OPENID.equalsIgnoreCase(provider.getType())); } Configuration(String configFilePath); }
Configuration extends AbstractConfiguration { public boolean isShowOpenIdConnect() { return getAuthenticationProviders().stream().anyMatch(provider -> OpenIdProvider.TYPE_OPENID.equalsIgnoreCase(provider.getType())); } Configuration(String configFilePath); Set<String> getStopwords(); boolean reloadingRequired(); String getConfigLocalPath(); String getLocalRessourceBundleFile(); int getViewerThumbnailsPerPage(); int getViewerMaxImageWidth(); int getViewerMaxImageHeight(); int getViewerMaxImageScale(); boolean isRememberImageZoom(); boolean isRememberImageRotation(); String getDfgViewerUrl(); String getConnectorVersionUrl(); List<Metadata> getTitleBarMetadata(); List<Metadata> getSearchHitMetadataForTemplate(String template); List<Metadata> getMainMetadataForTemplate(String template); List<Metadata> getSidebarMetadataForTemplate(String template); List<String> getNormdataFieldsForTemplate(String template); List<Metadata> getTocLabelConfiguration(String template); int getTocAnchorGroupElementsPerPage(); boolean isDisplaySidebarBrowsingTerms(); boolean isDisplaySidebarRssFeed(); boolean isDisplayWidgetUsage(); Metadata getWidgetUsageLicenceTextMetadata(); boolean isDisplaySidebarUsageWidgetLinkToJpegImage(); boolean isDisplaySidebarUsageWidgetLinkToMasterImage(); String getWidgetUsageMaxJpegSize(); String getWidgetUsageMaxMasterImageSize(); List<String> getCalendarDocStructTypes(); boolean isBrowsingMenuEnabled(); int getBrowsingMenuHitsPerPage(); List<BrowsingMenuFieldConfig> getBrowsingMenuFields(); String getBrowsingMenuSortingIgnoreLeadingChars(); String getDocstrctWhitelistFilterQuery(); String getCollectionSplittingChar(String field); List<DcSortingList> getCollectionSorting(String field); List<String> getCollectionBlacklist(String field); String getCollectionDefaultSortField(String field, String name); int getCollectionDisplayNumberOfVolumesLevel(String field); int getCollectionDisplayDepthForSearch(String field); String getCollectionHierarchyField(); boolean isAddCollectionHierarchyToBreadcrumbs(String field); String getSolrUrl(); String getContentServerWrapperUrl(); String getDownloadUrl(); String getRestApiUrl(); String getIIIFApiUrl(); boolean isUseIIIFApiUrlForCmsMediaUrls(); String getContentServerRealUrl(); String getMetsUrl(); String getMarcUrl(); String getDcUrl(); String getEseUrl(); List<Integer> getSearchHitsPerPageValues(); int getSearchHitsPerPageDefaultValue(); int getFulltextFragmentLength(); boolean isAdvancedSearchEnabled(); int getAdvancedSearchDefaultItemNumber(); List<AdvancedSearchFieldConfiguration> getAdvancedSearchFields(); boolean isAggregateHits(); boolean isDisplayAdditionalMetadataEnabled(); List<String> getDisplayAdditionalMetadataIgnoreFields(); List<String> getDisplayAdditionalMetadataTranslateFields(); boolean isAdvancedSearchFieldHierarchical(String field); boolean isAdvancedSearchFieldRange(String field); boolean isAdvancedSearchFieldUntokenizeForPhraseSearch(String field); String getAdvancedSearchFieldSeparatorLabel(String field); boolean isTimelineSearchEnabled(); boolean isCalendarSearchEnabled(); String getStaticQuerySuffix(); String getPreviousVersionIdentifierField(); String getNextVersionIdentifierField(); String getVersionLabelField(); String getIndexedMetsFolder(); String getIndexedLidoFolder(); String getIndexedDenkxwebFolder(); String getIndexedDublinCoreFolder(); String getPageSelectionFormat(); String getMediaFolder(); String getPdfFolder(); String getVocabulariesFolder(); String getOrigContentFolder(); String getCmsTextFolder(); String getAltoFolder(); String getAbbyyFolder(); String getFulltextFolder(); String getTeiFolder(); String getCmdiFolder(); String getWcFolder(); String getAnnotationFolder(); String getHotfolder(); @SuppressWarnings("static-method") String getTempFolder(); boolean isUrnDoRedirect(); boolean isUserRegistrationEnabled(); List<SecurityQuestion> getSecurityQuestions(); boolean isShowOpenIdConnect(); List<IAuthenticationProvider> getAuthenticationProviders(); String getSmtpServer(); String getSmtpUser(); String getSmtpPassword(); String getSmtpSenderAddress(); String getSmtpSenderName(); String getSmtpSecurity(); String getAnonymousUserEmailAddress(); boolean isDisplayCollectionBrowsing(); boolean isDisplayUserNavigation(); boolean isDisplayTagCloudNavigation(); boolean isDisplayStatistics(); boolean isDisplayTimeMatrix(); boolean isDisplayCrowdsourcingModuleLinks(); String getTheme(); String getThemeRootPath(); String getName(); String getDescription(); boolean isDisplayTagCloudStartpage(); boolean isDisplaySearchResultNavigation(); boolean isFoldout(String sidebarElement); boolean isSidebarPageViewLinkVisible(); boolean isSidebarCalendarViewLinkVisible(); boolean isSidebarTocViewLinkVisible(); boolean isSidebarThumbsViewLinkVisible(); boolean isSidebarMetadataViewLinkVisible(); boolean isShowSidebarEventMetadata(); boolean isShowRecordLabelIfNoOtherViews(); boolean isSidebarFulltextLinkVisible(); boolean isSidebarTocWidgetVisible(); boolean isSidebarTocWidgetVisibleInFullscreen(); boolean isSidebarOpacLinkVisible(); boolean getSidebarTocPageNumbersVisible(); int getSidebarTocLengthBeforeCut(); int getSidebarTocInitialCollapseLevel(); int getSidebarTocCollapseLengthThreshold(); int getSidebarTocLowestLevelToCollapseForLength(); boolean isSidebarTocTreeView(); boolean isTocTreeView(String docStructType); List<String> getAllDrillDownFields(); List<String> getDrillDownFields(); List<String> getHierarchicalDrillDownFields(); int getInitialDrillDownElementNumber(String field); String getSortOrder(String field); List<String> getPriorityValuesForDrillDownField(String field); String getLabelFieldForDrillDownField(String facetField); @SuppressWarnings("static-method") List<String> getRangeFacetFields(); boolean isSortingEnabled(); String getDefaultSortField(); List<String> getSortFields(); List<String> getStaticSortFields(); String getUrnResolverUrl(); int getUnconditionalImageAccessMaxWidth(); boolean isFullAccessForLocalhost(); boolean isGeneratePdfInTaskManager(); boolean isPdfApiDisabled(); boolean isTitlePdfEnabled(); boolean isTocPdfEnabled(); boolean isMetadataPdfEnabled(); boolean isPagePdfEnabled(); boolean isDocHierarchyPdfEnabled(); boolean isTitleEpubEnabled(); boolean isTocEpubEnabled(); boolean isMetadataEpubEnabled(); String getDownloadFolder(String type); int getRssFeedItems(); String getRssTitle(); String getRssDescription(); String getRssCopyrightText(); String getRulesetFilePath(); String getDefaultCollection(); int getThumbnailsWidth(); int getThumbnailsHeight(); int getThumbnailsCompression(); String getAnchorThumbnailMode(); int getMultivolumeThumbnailWidth(); int getMultivolumeThumbnailHeight(); boolean getDisplayBreadcrumbs(); boolean getDisplayMetadataPageLinkBlock(); boolean isAddDublinCoreMetaTags(); boolean isAddHighwirePressMetaTags(); int getMetadataParamNumber(); boolean useTiles(); boolean useTilesFullscreen(); boolean useTiles(PageType view, ImageType image); int getFooterHeight(); int getFullscreenFooterHeight(); int getFooterHeight(PageType view, ImageType image); String getImageViewType(); String getZoomFullscreenViewType(); String getZoomImageViewType(PageType view, ImageType image); boolean useOpenSeadragon(); List<String> getImageViewZoomScales(); List<String> getImageViewZoomScales(String view); List<String> getImageViewZoomScales(PageType view, ImageType image); Map<Integer, List<Integer>> getTileSizes(); Map<Integer, List<Integer>> getTileSizes(PageType view, ImageType image); SubnodeConfiguration getZoomImageViewConfig(PageType pageType, ImageType imageType); int getBreadcrumbsClipping(); boolean isDisplayTopstructLabel(); boolean getDisplayStructType(); int getSearchHitMetadataValueNumber(); int getSearchHitMetadataValueLength(); List<String> getWatermarkTextConfiguration(); String getWatermarkFormat(); boolean isOriginalContentDownload(); String getStopwordsFilePath(); String getPageType(PageType type); String getDocstructTargetPageType(String docstruct); String getPageTypeExitView(PageType type); int getFulltextPercentageWarningThreshold(); boolean isUseViewerLocaleAsRecordLanguage(); String getFeedbackEmailAddress(); boolean isBookmarksEnabled(); boolean isForceJpegConversion(); int getPageLoaderThreshold(); boolean isPreventProxyCaching(); boolean isSolrCompressionEnabled(); boolean isSolrBackwardsCompatible(); boolean isUserCommentsEnabled(); String getUserCommentsConditionalQuery(); List<String> getUserCommentsNotificationEmailAddresses(); String getViewerHome(); List<String> getWatermarkIdField(); String getSubthemeMainTheme(); String getSubthemeDiscriminatorField(); int getTagCloudSampleSize(String fieldName); List<StringPair> getTocVolumeSortFieldsForTemplate(String template); String getTocVolumeGroupFieldForTemplate(String template); boolean getDisplayTitleBreadcrumbs(); boolean isDisplayTitlePURL(); int getTitleBreadcrumbsMaxTitleLength(); boolean getIncludeAnchorInTitleBreadcrumbs(); boolean isDisplaySearchRssLinks(); boolean showThumbnailsInToc(); String getStartYearForTimeline(); String getEndYearForTimeline(); String getTimelineHits(); boolean isPiwikTrackingEnabled(); String getPiwikBaseURL(); String getPiwikSiteID(); boolean isSearchSavingEnabled(); boolean isBoostTopLevelDocstructs(); boolean isGroupDuplicateHits(); List<String> getRecordGroupIdentifierFields(); List<String> getAncestorIdentifierFields(); boolean isTocListSiblingRecords(); List<SearchFilter> getSearchFilters(); List<Map<String, String>> getWebApiFields(); String getDbPersistenceUnit(); boolean useCustomNavBar(); String getCmsTemplateFolder(); String getCmsMediaFolder(); String getTempMediaFolder(); List<String> getCmsClassifications(); int getCmsMediaDisplayWidth(); int getCmsMediaDisplayHeight(); boolean isTranskribusEnabled(); String getTranskribusUserName(); String getTranskribusPassword(); String getTranskribusDefaultCollection(); String getTranskribusRestApiUrl(); List<String> getTranskribusAllowedDocumentTypes(); int getTocIndentation(); boolean isPageBrowseEnabled(); List<Integer> getPageBrowseSteps(); String getTaskManagerServiceUrl(); String getTaskManagerRestUrl(); String getReCaptchaSiteKey(); boolean isUseReCaptcha(); boolean isSearchInItemEnabled(); String getDefaultBrowseIcon(String field); boolean isSearchExcelExportEnabled(); List<String> getSearchExcelExportFields(); int getExcelDownloadTimeout(); boolean isDisplayEmptyTocInSidebar(); boolean isDoublePageModeEnabled(); List<String> getRestrictedImageUrls(); List<String> getIIIFLicenses(); List<String> getIIIFMetadataFields(); List<String> getIIIFEventFields(); String getIIIFMetadataLabel(String field); int getIIIFDiscoveryAvtivitiesPerPage(); List<String> getIIIFLogo(); String getIIIFNavDateField(); List<String> getIIIFAttribution(); List<String> getIIIFDescriptionFields(); String getSitelinksField(); String getSitelinksFilterQuery(); List<String> getConfiguredCollections(); String getWebApiToken(); boolean isAllowRedirectCollectionToWork(); String getTwitterUserName(); float getLimitImageHeightUpperRatioThreshold(); float getLimitImageHeightLowerRatioThreshold(); boolean isLimitImageHeight(); boolean isAddCORSHeader(); String getCORSHeaderValue(); boolean isDiscloseImageContentLocation(); String getAccessConditionDisplayField(); String getCopyrightDisplayField(); boolean isDisplayCopyrightInfo(); boolean isDisplaySocialMediaShareLinks(); boolean isDisplayAnchorLabelInTitleBar(String template); String getAnchorLabelInTitleBarPrefix(String template); String getAnchorLabelInTitleBarSuffix(String template); String getMapBoxToken(); GeoMapMarker getGeoMapMarker(String name); List<String> getGeoMapMarkerFields(); List<GeoMapMarker> getGeoMapMarkers(); static GeoMapMarker readGeoMapMarker(HierarchicalConfiguration config); List<LicenseDescription> getLicenseDescriptions(); }
Configuration extends AbstractConfiguration { public boolean isShowOpenIdConnect() { return getAuthenticationProviders().stream().anyMatch(provider -> OpenIdProvider.TYPE_OPENID.equalsIgnoreCase(provider.getType())); } Configuration(String configFilePath); Set<String> getStopwords(); boolean reloadingRequired(); String getConfigLocalPath(); String getLocalRessourceBundleFile(); int getViewerThumbnailsPerPage(); int getViewerMaxImageWidth(); int getViewerMaxImageHeight(); int getViewerMaxImageScale(); boolean isRememberImageZoom(); boolean isRememberImageRotation(); String getDfgViewerUrl(); String getConnectorVersionUrl(); List<Metadata> getTitleBarMetadata(); List<Metadata> getSearchHitMetadataForTemplate(String template); List<Metadata> getMainMetadataForTemplate(String template); List<Metadata> getSidebarMetadataForTemplate(String template); List<String> getNormdataFieldsForTemplate(String template); List<Metadata> getTocLabelConfiguration(String template); int getTocAnchorGroupElementsPerPage(); boolean isDisplaySidebarBrowsingTerms(); boolean isDisplaySidebarRssFeed(); boolean isDisplayWidgetUsage(); Metadata getWidgetUsageLicenceTextMetadata(); boolean isDisplaySidebarUsageWidgetLinkToJpegImage(); boolean isDisplaySidebarUsageWidgetLinkToMasterImage(); String getWidgetUsageMaxJpegSize(); String getWidgetUsageMaxMasterImageSize(); List<String> getCalendarDocStructTypes(); boolean isBrowsingMenuEnabled(); int getBrowsingMenuHitsPerPage(); List<BrowsingMenuFieldConfig> getBrowsingMenuFields(); String getBrowsingMenuSortingIgnoreLeadingChars(); String getDocstrctWhitelistFilterQuery(); String getCollectionSplittingChar(String field); List<DcSortingList> getCollectionSorting(String field); List<String> getCollectionBlacklist(String field); String getCollectionDefaultSortField(String field, String name); int getCollectionDisplayNumberOfVolumesLevel(String field); int getCollectionDisplayDepthForSearch(String field); String getCollectionHierarchyField(); boolean isAddCollectionHierarchyToBreadcrumbs(String field); String getSolrUrl(); String getContentServerWrapperUrl(); String getDownloadUrl(); String getRestApiUrl(); String getIIIFApiUrl(); boolean isUseIIIFApiUrlForCmsMediaUrls(); String getContentServerRealUrl(); String getMetsUrl(); String getMarcUrl(); String getDcUrl(); String getEseUrl(); List<Integer> getSearchHitsPerPageValues(); int getSearchHitsPerPageDefaultValue(); int getFulltextFragmentLength(); boolean isAdvancedSearchEnabled(); int getAdvancedSearchDefaultItemNumber(); List<AdvancedSearchFieldConfiguration> getAdvancedSearchFields(); boolean isAggregateHits(); boolean isDisplayAdditionalMetadataEnabled(); List<String> getDisplayAdditionalMetadataIgnoreFields(); List<String> getDisplayAdditionalMetadataTranslateFields(); boolean isAdvancedSearchFieldHierarchical(String field); boolean isAdvancedSearchFieldRange(String field); boolean isAdvancedSearchFieldUntokenizeForPhraseSearch(String field); String getAdvancedSearchFieldSeparatorLabel(String field); boolean isTimelineSearchEnabled(); boolean isCalendarSearchEnabled(); String getStaticQuerySuffix(); String getPreviousVersionIdentifierField(); String getNextVersionIdentifierField(); String getVersionLabelField(); String getIndexedMetsFolder(); String getIndexedLidoFolder(); String getIndexedDenkxwebFolder(); String getIndexedDublinCoreFolder(); String getPageSelectionFormat(); String getMediaFolder(); String getPdfFolder(); String getVocabulariesFolder(); String getOrigContentFolder(); String getCmsTextFolder(); String getAltoFolder(); String getAbbyyFolder(); String getFulltextFolder(); String getTeiFolder(); String getCmdiFolder(); String getWcFolder(); String getAnnotationFolder(); String getHotfolder(); @SuppressWarnings("static-method") String getTempFolder(); boolean isUrnDoRedirect(); boolean isUserRegistrationEnabled(); List<SecurityQuestion> getSecurityQuestions(); boolean isShowOpenIdConnect(); List<IAuthenticationProvider> getAuthenticationProviders(); String getSmtpServer(); String getSmtpUser(); String getSmtpPassword(); String getSmtpSenderAddress(); String getSmtpSenderName(); String getSmtpSecurity(); String getAnonymousUserEmailAddress(); boolean isDisplayCollectionBrowsing(); boolean isDisplayUserNavigation(); boolean isDisplayTagCloudNavigation(); boolean isDisplayStatistics(); boolean isDisplayTimeMatrix(); boolean isDisplayCrowdsourcingModuleLinks(); String getTheme(); String getThemeRootPath(); String getName(); String getDescription(); boolean isDisplayTagCloudStartpage(); boolean isDisplaySearchResultNavigation(); boolean isFoldout(String sidebarElement); boolean isSidebarPageViewLinkVisible(); boolean isSidebarCalendarViewLinkVisible(); boolean isSidebarTocViewLinkVisible(); boolean isSidebarThumbsViewLinkVisible(); boolean isSidebarMetadataViewLinkVisible(); boolean isShowSidebarEventMetadata(); boolean isShowRecordLabelIfNoOtherViews(); boolean isSidebarFulltextLinkVisible(); boolean isSidebarTocWidgetVisible(); boolean isSidebarTocWidgetVisibleInFullscreen(); boolean isSidebarOpacLinkVisible(); boolean getSidebarTocPageNumbersVisible(); int getSidebarTocLengthBeforeCut(); int getSidebarTocInitialCollapseLevel(); int getSidebarTocCollapseLengthThreshold(); int getSidebarTocLowestLevelToCollapseForLength(); boolean isSidebarTocTreeView(); boolean isTocTreeView(String docStructType); List<String> getAllDrillDownFields(); List<String> getDrillDownFields(); List<String> getHierarchicalDrillDownFields(); int getInitialDrillDownElementNumber(String field); String getSortOrder(String field); List<String> getPriorityValuesForDrillDownField(String field); String getLabelFieldForDrillDownField(String facetField); @SuppressWarnings("static-method") List<String> getRangeFacetFields(); boolean isSortingEnabled(); String getDefaultSortField(); List<String> getSortFields(); List<String> getStaticSortFields(); String getUrnResolverUrl(); int getUnconditionalImageAccessMaxWidth(); boolean isFullAccessForLocalhost(); boolean isGeneratePdfInTaskManager(); boolean isPdfApiDisabled(); boolean isTitlePdfEnabled(); boolean isTocPdfEnabled(); boolean isMetadataPdfEnabled(); boolean isPagePdfEnabled(); boolean isDocHierarchyPdfEnabled(); boolean isTitleEpubEnabled(); boolean isTocEpubEnabled(); boolean isMetadataEpubEnabled(); String getDownloadFolder(String type); int getRssFeedItems(); String getRssTitle(); String getRssDescription(); String getRssCopyrightText(); String getRulesetFilePath(); String getDefaultCollection(); int getThumbnailsWidth(); int getThumbnailsHeight(); int getThumbnailsCompression(); String getAnchorThumbnailMode(); int getMultivolumeThumbnailWidth(); int getMultivolumeThumbnailHeight(); boolean getDisplayBreadcrumbs(); boolean getDisplayMetadataPageLinkBlock(); boolean isAddDublinCoreMetaTags(); boolean isAddHighwirePressMetaTags(); int getMetadataParamNumber(); boolean useTiles(); boolean useTilesFullscreen(); boolean useTiles(PageType view, ImageType image); int getFooterHeight(); int getFullscreenFooterHeight(); int getFooterHeight(PageType view, ImageType image); String getImageViewType(); String getZoomFullscreenViewType(); String getZoomImageViewType(PageType view, ImageType image); boolean useOpenSeadragon(); List<String> getImageViewZoomScales(); List<String> getImageViewZoomScales(String view); List<String> getImageViewZoomScales(PageType view, ImageType image); Map<Integer, List<Integer>> getTileSizes(); Map<Integer, List<Integer>> getTileSizes(PageType view, ImageType image); SubnodeConfiguration getZoomImageViewConfig(PageType pageType, ImageType imageType); int getBreadcrumbsClipping(); boolean isDisplayTopstructLabel(); boolean getDisplayStructType(); int getSearchHitMetadataValueNumber(); int getSearchHitMetadataValueLength(); List<String> getWatermarkTextConfiguration(); String getWatermarkFormat(); boolean isOriginalContentDownload(); String getStopwordsFilePath(); String getPageType(PageType type); String getDocstructTargetPageType(String docstruct); String getPageTypeExitView(PageType type); int getFulltextPercentageWarningThreshold(); boolean isUseViewerLocaleAsRecordLanguage(); String getFeedbackEmailAddress(); boolean isBookmarksEnabled(); boolean isForceJpegConversion(); int getPageLoaderThreshold(); boolean isPreventProxyCaching(); boolean isSolrCompressionEnabled(); boolean isSolrBackwardsCompatible(); boolean isUserCommentsEnabled(); String getUserCommentsConditionalQuery(); List<String> getUserCommentsNotificationEmailAddresses(); String getViewerHome(); List<String> getWatermarkIdField(); String getSubthemeMainTheme(); String getSubthemeDiscriminatorField(); int getTagCloudSampleSize(String fieldName); List<StringPair> getTocVolumeSortFieldsForTemplate(String template); String getTocVolumeGroupFieldForTemplate(String template); boolean getDisplayTitleBreadcrumbs(); boolean isDisplayTitlePURL(); int getTitleBreadcrumbsMaxTitleLength(); boolean getIncludeAnchorInTitleBreadcrumbs(); boolean isDisplaySearchRssLinks(); boolean showThumbnailsInToc(); String getStartYearForTimeline(); String getEndYearForTimeline(); String getTimelineHits(); boolean isPiwikTrackingEnabled(); String getPiwikBaseURL(); String getPiwikSiteID(); boolean isSearchSavingEnabled(); boolean isBoostTopLevelDocstructs(); boolean isGroupDuplicateHits(); List<String> getRecordGroupIdentifierFields(); List<String> getAncestorIdentifierFields(); boolean isTocListSiblingRecords(); List<SearchFilter> getSearchFilters(); List<Map<String, String>> getWebApiFields(); String getDbPersistenceUnit(); boolean useCustomNavBar(); String getCmsTemplateFolder(); String getCmsMediaFolder(); String getTempMediaFolder(); List<String> getCmsClassifications(); int getCmsMediaDisplayWidth(); int getCmsMediaDisplayHeight(); boolean isTranskribusEnabled(); String getTranskribusUserName(); String getTranskribusPassword(); String getTranskribusDefaultCollection(); String getTranskribusRestApiUrl(); List<String> getTranskribusAllowedDocumentTypes(); int getTocIndentation(); boolean isPageBrowseEnabled(); List<Integer> getPageBrowseSteps(); String getTaskManagerServiceUrl(); String getTaskManagerRestUrl(); String getReCaptchaSiteKey(); boolean isUseReCaptcha(); boolean isSearchInItemEnabled(); String getDefaultBrowseIcon(String field); boolean isSearchExcelExportEnabled(); List<String> getSearchExcelExportFields(); int getExcelDownloadTimeout(); boolean isDisplayEmptyTocInSidebar(); boolean isDoublePageModeEnabled(); List<String> getRestrictedImageUrls(); List<String> getIIIFLicenses(); List<String> getIIIFMetadataFields(); List<String> getIIIFEventFields(); String getIIIFMetadataLabel(String field); int getIIIFDiscoveryAvtivitiesPerPage(); List<String> getIIIFLogo(); String getIIIFNavDateField(); List<String> getIIIFAttribution(); List<String> getIIIFDescriptionFields(); String getSitelinksField(); String getSitelinksFilterQuery(); List<String> getConfiguredCollections(); String getWebApiToken(); boolean isAllowRedirectCollectionToWork(); String getTwitterUserName(); float getLimitImageHeightUpperRatioThreshold(); float getLimitImageHeightLowerRatioThreshold(); boolean isLimitImageHeight(); boolean isAddCORSHeader(); String getCORSHeaderValue(); boolean isDiscloseImageContentLocation(); String getAccessConditionDisplayField(); String getCopyrightDisplayField(); boolean isDisplayCopyrightInfo(); boolean isDisplaySocialMediaShareLinks(); boolean isDisplayAnchorLabelInTitleBar(String template); String getAnchorLabelInTitleBarPrefix(String template); String getAnchorLabelInTitleBarSuffix(String template); String getMapBoxToken(); GeoMapMarker getGeoMapMarker(String name); List<String> getGeoMapMarkerFields(); List<GeoMapMarker> getGeoMapMarkers(); static GeoMapMarker readGeoMapMarker(HierarchicalConfiguration config); List<LicenseDescription> getLicenseDescriptions(); }
@Test public void getAuthenticationProviders_shouldLoadUserGroupNamesCorrectly() throws Exception { List<IAuthenticationProvider> providers = DataManager.getInstance().getConfiguration().getAuthenticationProviders(); Assert.assertEquals(5, providers.size()); List<String> groups = providers.get(2).getAddUserToGroups(); Assert.assertEquals(2, groups.size()); }
public List<IAuthenticationProvider> getAuthenticationProviders() { XMLConfiguration myConfigToUse = config; if (!configLocal.configurationsAt("user.authenticationProviders").isEmpty()) { myConfigToUse = configLocal; } int max = myConfigToUse.getMaxIndex("user.authenticationProviders.provider"); List<IAuthenticationProvider> providers = new ArrayList<>(max + 1); for (int i = 0; i <= max; i++) { String label = myConfigToUse.getString("user.authenticationProviders.provider(" + i + ")[@label]"); String name = myConfigToUse.getString("user.authenticationProviders.provider(" + i + ")[@name]"); String endpoint = myConfigToUse.getString("user.authenticationProviders.provider(" + i + ")[@endpoint]", null); String image = myConfigToUse.getString("user.authenticationProviders.provider(" + i + ")[@image]", null); String type = myConfigToUse.getString("user.authenticationProviders.provider(" + i + ")[@type]", ""); boolean visible = myConfigToUse.getBoolean("user.authenticationProviders.provider(" + i + ")[@show]", true); String clientId = myConfigToUse.getString("user.authenticationProviders.provider(" + i + ")[@clientId]", null); String clientSecret = myConfigToUse.getString("user.authenticationProviders.provider(" + i + ")[@clientSecret]", null); String idpMetadataUrl = myConfigToUse.getString("user.authenticationProviders.provider(" + i + ")[@idpMetadataUrl]", null); String relyingPartyIdentifier = myConfigToUse.getString("user.authenticationProviders.provider(" + i + ")[@relyingPartyIdentifier]", null); String samlPublicKeyPath = myConfigToUse.getString("user.authenticationProviders.provider(" + i + ")[@publicKeyPath]", null); String samlPrivateKeyPath = myConfigToUse.getString("user.authenticationProviders.provider(" + i + ")[@privateKeyPath]", null); long timeoutMillis = myConfigToUse.getLong("user.authenticationProviders.provider(" + i + ")[@timeout]", 10000); if (visible) { IAuthenticationProvider provider = null; switch (type.toLowerCase()) { case "saml": providers.add( new SAMLProvider(name, idpMetadataUrl, relyingPartyIdentifier, samlPublicKeyPath, samlPrivateKeyPath, timeoutMillis)); break; case "openid": providers.add(new OpenIdProvider(name, label, endpoint, image, timeoutMillis, clientId, clientSecret)); break; case "userpassword": switch (name.toLowerCase()) { case "vufind": provider = new VuFindProvider(name, label, endpoint, image, timeoutMillis); break; case "x-service": case "xservice": provider = new XServiceProvider(name, label, endpoint, image, timeoutMillis); break; case "littera": provider = new LitteraProvider(name, label, endpoint, image, timeoutMillis); break; case "bibliotheca": provider = new BibliothecaProvider(name, label, endpoint, image, timeoutMillis); break; default: logger.error("Cannot add userpassword authentification provider with name {}. No implementation found", name); } break; case "local": provider = new LocalAuthenticationProvider(name); break; default: logger.error("Cannot add authentification provider with name {} and type {}. No implementation found", name, type); } if (provider != null) { List<String> addToUserGroupList = getLocalList(myConfigToUse, null, "user.authenticationProviders.provider(" + i + ").addUserToGroup", null); if (addToUserGroupList != null) { provider.setAddUserToGroups(addToUserGroupList); } providers.add(provider); } } } return providers; }
Configuration extends AbstractConfiguration { public List<IAuthenticationProvider> getAuthenticationProviders() { XMLConfiguration myConfigToUse = config; if (!configLocal.configurationsAt("user.authenticationProviders").isEmpty()) { myConfigToUse = configLocal; } int max = myConfigToUse.getMaxIndex("user.authenticationProviders.provider"); List<IAuthenticationProvider> providers = new ArrayList<>(max + 1); for (int i = 0; i <= max; i++) { String label = myConfigToUse.getString("user.authenticationProviders.provider(" + i + ")[@label]"); String name = myConfigToUse.getString("user.authenticationProviders.provider(" + i + ")[@name]"); String endpoint = myConfigToUse.getString("user.authenticationProviders.provider(" + i + ")[@endpoint]", null); String image = myConfigToUse.getString("user.authenticationProviders.provider(" + i + ")[@image]", null); String type = myConfigToUse.getString("user.authenticationProviders.provider(" + i + ")[@type]", ""); boolean visible = myConfigToUse.getBoolean("user.authenticationProviders.provider(" + i + ")[@show]", true); String clientId = myConfigToUse.getString("user.authenticationProviders.provider(" + i + ")[@clientId]", null); String clientSecret = myConfigToUse.getString("user.authenticationProviders.provider(" + i + ")[@clientSecret]", null); String idpMetadataUrl = myConfigToUse.getString("user.authenticationProviders.provider(" + i + ")[@idpMetadataUrl]", null); String relyingPartyIdentifier = myConfigToUse.getString("user.authenticationProviders.provider(" + i + ")[@relyingPartyIdentifier]", null); String samlPublicKeyPath = myConfigToUse.getString("user.authenticationProviders.provider(" + i + ")[@publicKeyPath]", null); String samlPrivateKeyPath = myConfigToUse.getString("user.authenticationProviders.provider(" + i + ")[@privateKeyPath]", null); long timeoutMillis = myConfigToUse.getLong("user.authenticationProviders.provider(" + i + ")[@timeout]", 10000); if (visible) { IAuthenticationProvider provider = null; switch (type.toLowerCase()) { case "saml": providers.add( new SAMLProvider(name, idpMetadataUrl, relyingPartyIdentifier, samlPublicKeyPath, samlPrivateKeyPath, timeoutMillis)); break; case "openid": providers.add(new OpenIdProvider(name, label, endpoint, image, timeoutMillis, clientId, clientSecret)); break; case "userpassword": switch (name.toLowerCase()) { case "vufind": provider = new VuFindProvider(name, label, endpoint, image, timeoutMillis); break; case "x-service": case "xservice": provider = new XServiceProvider(name, label, endpoint, image, timeoutMillis); break; case "littera": provider = new LitteraProvider(name, label, endpoint, image, timeoutMillis); break; case "bibliotheca": provider = new BibliothecaProvider(name, label, endpoint, image, timeoutMillis); break; default: logger.error("Cannot add userpassword authentification provider with name {}. No implementation found", name); } break; case "local": provider = new LocalAuthenticationProvider(name); break; default: logger.error("Cannot add authentification provider with name {} and type {}. No implementation found", name, type); } if (provider != null) { List<String> addToUserGroupList = getLocalList(myConfigToUse, null, "user.authenticationProviders.provider(" + i + ").addUserToGroup", null); if (addToUserGroupList != null) { provider.setAddUserToGroups(addToUserGroupList); } providers.add(provider); } } } return providers; } }
Configuration extends AbstractConfiguration { public List<IAuthenticationProvider> getAuthenticationProviders() { XMLConfiguration myConfigToUse = config; if (!configLocal.configurationsAt("user.authenticationProviders").isEmpty()) { myConfigToUse = configLocal; } int max = myConfigToUse.getMaxIndex("user.authenticationProviders.provider"); List<IAuthenticationProvider> providers = new ArrayList<>(max + 1); for (int i = 0; i <= max; i++) { String label = myConfigToUse.getString("user.authenticationProviders.provider(" + i + ")[@label]"); String name = myConfigToUse.getString("user.authenticationProviders.provider(" + i + ")[@name]"); String endpoint = myConfigToUse.getString("user.authenticationProviders.provider(" + i + ")[@endpoint]", null); String image = myConfigToUse.getString("user.authenticationProviders.provider(" + i + ")[@image]", null); String type = myConfigToUse.getString("user.authenticationProviders.provider(" + i + ")[@type]", ""); boolean visible = myConfigToUse.getBoolean("user.authenticationProviders.provider(" + i + ")[@show]", true); String clientId = myConfigToUse.getString("user.authenticationProviders.provider(" + i + ")[@clientId]", null); String clientSecret = myConfigToUse.getString("user.authenticationProviders.provider(" + i + ")[@clientSecret]", null); String idpMetadataUrl = myConfigToUse.getString("user.authenticationProviders.provider(" + i + ")[@idpMetadataUrl]", null); String relyingPartyIdentifier = myConfigToUse.getString("user.authenticationProviders.provider(" + i + ")[@relyingPartyIdentifier]", null); String samlPublicKeyPath = myConfigToUse.getString("user.authenticationProviders.provider(" + i + ")[@publicKeyPath]", null); String samlPrivateKeyPath = myConfigToUse.getString("user.authenticationProviders.provider(" + i + ")[@privateKeyPath]", null); long timeoutMillis = myConfigToUse.getLong("user.authenticationProviders.provider(" + i + ")[@timeout]", 10000); if (visible) { IAuthenticationProvider provider = null; switch (type.toLowerCase()) { case "saml": providers.add( new SAMLProvider(name, idpMetadataUrl, relyingPartyIdentifier, samlPublicKeyPath, samlPrivateKeyPath, timeoutMillis)); break; case "openid": providers.add(new OpenIdProvider(name, label, endpoint, image, timeoutMillis, clientId, clientSecret)); break; case "userpassword": switch (name.toLowerCase()) { case "vufind": provider = new VuFindProvider(name, label, endpoint, image, timeoutMillis); break; case "x-service": case "xservice": provider = new XServiceProvider(name, label, endpoint, image, timeoutMillis); break; case "littera": provider = new LitteraProvider(name, label, endpoint, image, timeoutMillis); break; case "bibliotheca": provider = new BibliothecaProvider(name, label, endpoint, image, timeoutMillis); break; default: logger.error("Cannot add userpassword authentification provider with name {}. No implementation found", name); } break; case "local": provider = new LocalAuthenticationProvider(name); break; default: logger.error("Cannot add authentification provider with name {} and type {}. No implementation found", name, type); } if (provider != null) { List<String> addToUserGroupList = getLocalList(myConfigToUse, null, "user.authenticationProviders.provider(" + i + ").addUserToGroup", null); if (addToUserGroupList != null) { provider.setAddUserToGroups(addToUserGroupList); } providers.add(provider); } } } return providers; } Configuration(String configFilePath); }
Configuration extends AbstractConfiguration { public List<IAuthenticationProvider> getAuthenticationProviders() { XMLConfiguration myConfigToUse = config; if (!configLocal.configurationsAt("user.authenticationProviders").isEmpty()) { myConfigToUse = configLocal; } int max = myConfigToUse.getMaxIndex("user.authenticationProviders.provider"); List<IAuthenticationProvider> providers = new ArrayList<>(max + 1); for (int i = 0; i <= max; i++) { String label = myConfigToUse.getString("user.authenticationProviders.provider(" + i + ")[@label]"); String name = myConfigToUse.getString("user.authenticationProviders.provider(" + i + ")[@name]"); String endpoint = myConfigToUse.getString("user.authenticationProviders.provider(" + i + ")[@endpoint]", null); String image = myConfigToUse.getString("user.authenticationProviders.provider(" + i + ")[@image]", null); String type = myConfigToUse.getString("user.authenticationProviders.provider(" + i + ")[@type]", ""); boolean visible = myConfigToUse.getBoolean("user.authenticationProviders.provider(" + i + ")[@show]", true); String clientId = myConfigToUse.getString("user.authenticationProviders.provider(" + i + ")[@clientId]", null); String clientSecret = myConfigToUse.getString("user.authenticationProviders.provider(" + i + ")[@clientSecret]", null); String idpMetadataUrl = myConfigToUse.getString("user.authenticationProviders.provider(" + i + ")[@idpMetadataUrl]", null); String relyingPartyIdentifier = myConfigToUse.getString("user.authenticationProviders.provider(" + i + ")[@relyingPartyIdentifier]", null); String samlPublicKeyPath = myConfigToUse.getString("user.authenticationProviders.provider(" + i + ")[@publicKeyPath]", null); String samlPrivateKeyPath = myConfigToUse.getString("user.authenticationProviders.provider(" + i + ")[@privateKeyPath]", null); long timeoutMillis = myConfigToUse.getLong("user.authenticationProviders.provider(" + i + ")[@timeout]", 10000); if (visible) { IAuthenticationProvider provider = null; switch (type.toLowerCase()) { case "saml": providers.add( new SAMLProvider(name, idpMetadataUrl, relyingPartyIdentifier, samlPublicKeyPath, samlPrivateKeyPath, timeoutMillis)); break; case "openid": providers.add(new OpenIdProvider(name, label, endpoint, image, timeoutMillis, clientId, clientSecret)); break; case "userpassword": switch (name.toLowerCase()) { case "vufind": provider = new VuFindProvider(name, label, endpoint, image, timeoutMillis); break; case "x-service": case "xservice": provider = new XServiceProvider(name, label, endpoint, image, timeoutMillis); break; case "littera": provider = new LitteraProvider(name, label, endpoint, image, timeoutMillis); break; case "bibliotheca": provider = new BibliothecaProvider(name, label, endpoint, image, timeoutMillis); break; default: logger.error("Cannot add userpassword authentification provider with name {}. No implementation found", name); } break; case "local": provider = new LocalAuthenticationProvider(name); break; default: logger.error("Cannot add authentification provider with name {} and type {}. No implementation found", name, type); } if (provider != null) { List<String> addToUserGroupList = getLocalList(myConfigToUse, null, "user.authenticationProviders.provider(" + i + ").addUserToGroup", null); if (addToUserGroupList != null) { provider.setAddUserToGroups(addToUserGroupList); } providers.add(provider); } } } return providers; } Configuration(String configFilePath); Set<String> getStopwords(); boolean reloadingRequired(); String getConfigLocalPath(); String getLocalRessourceBundleFile(); int getViewerThumbnailsPerPage(); int getViewerMaxImageWidth(); int getViewerMaxImageHeight(); int getViewerMaxImageScale(); boolean isRememberImageZoom(); boolean isRememberImageRotation(); String getDfgViewerUrl(); String getConnectorVersionUrl(); List<Metadata> getTitleBarMetadata(); List<Metadata> getSearchHitMetadataForTemplate(String template); List<Metadata> getMainMetadataForTemplate(String template); List<Metadata> getSidebarMetadataForTemplate(String template); List<String> getNormdataFieldsForTemplate(String template); List<Metadata> getTocLabelConfiguration(String template); int getTocAnchorGroupElementsPerPage(); boolean isDisplaySidebarBrowsingTerms(); boolean isDisplaySidebarRssFeed(); boolean isDisplayWidgetUsage(); Metadata getWidgetUsageLicenceTextMetadata(); boolean isDisplaySidebarUsageWidgetLinkToJpegImage(); boolean isDisplaySidebarUsageWidgetLinkToMasterImage(); String getWidgetUsageMaxJpegSize(); String getWidgetUsageMaxMasterImageSize(); List<String> getCalendarDocStructTypes(); boolean isBrowsingMenuEnabled(); int getBrowsingMenuHitsPerPage(); List<BrowsingMenuFieldConfig> getBrowsingMenuFields(); String getBrowsingMenuSortingIgnoreLeadingChars(); String getDocstrctWhitelistFilterQuery(); String getCollectionSplittingChar(String field); List<DcSortingList> getCollectionSorting(String field); List<String> getCollectionBlacklist(String field); String getCollectionDefaultSortField(String field, String name); int getCollectionDisplayNumberOfVolumesLevel(String field); int getCollectionDisplayDepthForSearch(String field); String getCollectionHierarchyField(); boolean isAddCollectionHierarchyToBreadcrumbs(String field); String getSolrUrl(); String getContentServerWrapperUrl(); String getDownloadUrl(); String getRestApiUrl(); String getIIIFApiUrl(); boolean isUseIIIFApiUrlForCmsMediaUrls(); String getContentServerRealUrl(); String getMetsUrl(); String getMarcUrl(); String getDcUrl(); String getEseUrl(); List<Integer> getSearchHitsPerPageValues(); int getSearchHitsPerPageDefaultValue(); int getFulltextFragmentLength(); boolean isAdvancedSearchEnabled(); int getAdvancedSearchDefaultItemNumber(); List<AdvancedSearchFieldConfiguration> getAdvancedSearchFields(); boolean isAggregateHits(); boolean isDisplayAdditionalMetadataEnabled(); List<String> getDisplayAdditionalMetadataIgnoreFields(); List<String> getDisplayAdditionalMetadataTranslateFields(); boolean isAdvancedSearchFieldHierarchical(String field); boolean isAdvancedSearchFieldRange(String field); boolean isAdvancedSearchFieldUntokenizeForPhraseSearch(String field); String getAdvancedSearchFieldSeparatorLabel(String field); boolean isTimelineSearchEnabled(); boolean isCalendarSearchEnabled(); String getStaticQuerySuffix(); String getPreviousVersionIdentifierField(); String getNextVersionIdentifierField(); String getVersionLabelField(); String getIndexedMetsFolder(); String getIndexedLidoFolder(); String getIndexedDenkxwebFolder(); String getIndexedDublinCoreFolder(); String getPageSelectionFormat(); String getMediaFolder(); String getPdfFolder(); String getVocabulariesFolder(); String getOrigContentFolder(); String getCmsTextFolder(); String getAltoFolder(); String getAbbyyFolder(); String getFulltextFolder(); String getTeiFolder(); String getCmdiFolder(); String getWcFolder(); String getAnnotationFolder(); String getHotfolder(); @SuppressWarnings("static-method") String getTempFolder(); boolean isUrnDoRedirect(); boolean isUserRegistrationEnabled(); List<SecurityQuestion> getSecurityQuestions(); boolean isShowOpenIdConnect(); List<IAuthenticationProvider> getAuthenticationProviders(); String getSmtpServer(); String getSmtpUser(); String getSmtpPassword(); String getSmtpSenderAddress(); String getSmtpSenderName(); String getSmtpSecurity(); String getAnonymousUserEmailAddress(); boolean isDisplayCollectionBrowsing(); boolean isDisplayUserNavigation(); boolean isDisplayTagCloudNavigation(); boolean isDisplayStatistics(); boolean isDisplayTimeMatrix(); boolean isDisplayCrowdsourcingModuleLinks(); String getTheme(); String getThemeRootPath(); String getName(); String getDescription(); boolean isDisplayTagCloudStartpage(); boolean isDisplaySearchResultNavigation(); boolean isFoldout(String sidebarElement); boolean isSidebarPageViewLinkVisible(); boolean isSidebarCalendarViewLinkVisible(); boolean isSidebarTocViewLinkVisible(); boolean isSidebarThumbsViewLinkVisible(); boolean isSidebarMetadataViewLinkVisible(); boolean isShowSidebarEventMetadata(); boolean isShowRecordLabelIfNoOtherViews(); boolean isSidebarFulltextLinkVisible(); boolean isSidebarTocWidgetVisible(); boolean isSidebarTocWidgetVisibleInFullscreen(); boolean isSidebarOpacLinkVisible(); boolean getSidebarTocPageNumbersVisible(); int getSidebarTocLengthBeforeCut(); int getSidebarTocInitialCollapseLevel(); int getSidebarTocCollapseLengthThreshold(); int getSidebarTocLowestLevelToCollapseForLength(); boolean isSidebarTocTreeView(); boolean isTocTreeView(String docStructType); List<String> getAllDrillDownFields(); List<String> getDrillDownFields(); List<String> getHierarchicalDrillDownFields(); int getInitialDrillDownElementNumber(String field); String getSortOrder(String field); List<String> getPriorityValuesForDrillDownField(String field); String getLabelFieldForDrillDownField(String facetField); @SuppressWarnings("static-method") List<String> getRangeFacetFields(); boolean isSortingEnabled(); String getDefaultSortField(); List<String> getSortFields(); List<String> getStaticSortFields(); String getUrnResolverUrl(); int getUnconditionalImageAccessMaxWidth(); boolean isFullAccessForLocalhost(); boolean isGeneratePdfInTaskManager(); boolean isPdfApiDisabled(); boolean isTitlePdfEnabled(); boolean isTocPdfEnabled(); boolean isMetadataPdfEnabled(); boolean isPagePdfEnabled(); boolean isDocHierarchyPdfEnabled(); boolean isTitleEpubEnabled(); boolean isTocEpubEnabled(); boolean isMetadataEpubEnabled(); String getDownloadFolder(String type); int getRssFeedItems(); String getRssTitle(); String getRssDescription(); String getRssCopyrightText(); String getRulesetFilePath(); String getDefaultCollection(); int getThumbnailsWidth(); int getThumbnailsHeight(); int getThumbnailsCompression(); String getAnchorThumbnailMode(); int getMultivolumeThumbnailWidth(); int getMultivolumeThumbnailHeight(); boolean getDisplayBreadcrumbs(); boolean getDisplayMetadataPageLinkBlock(); boolean isAddDublinCoreMetaTags(); boolean isAddHighwirePressMetaTags(); int getMetadataParamNumber(); boolean useTiles(); boolean useTilesFullscreen(); boolean useTiles(PageType view, ImageType image); int getFooterHeight(); int getFullscreenFooterHeight(); int getFooterHeight(PageType view, ImageType image); String getImageViewType(); String getZoomFullscreenViewType(); String getZoomImageViewType(PageType view, ImageType image); boolean useOpenSeadragon(); List<String> getImageViewZoomScales(); List<String> getImageViewZoomScales(String view); List<String> getImageViewZoomScales(PageType view, ImageType image); Map<Integer, List<Integer>> getTileSizes(); Map<Integer, List<Integer>> getTileSizes(PageType view, ImageType image); SubnodeConfiguration getZoomImageViewConfig(PageType pageType, ImageType imageType); int getBreadcrumbsClipping(); boolean isDisplayTopstructLabel(); boolean getDisplayStructType(); int getSearchHitMetadataValueNumber(); int getSearchHitMetadataValueLength(); List<String> getWatermarkTextConfiguration(); String getWatermarkFormat(); boolean isOriginalContentDownload(); String getStopwordsFilePath(); String getPageType(PageType type); String getDocstructTargetPageType(String docstruct); String getPageTypeExitView(PageType type); int getFulltextPercentageWarningThreshold(); boolean isUseViewerLocaleAsRecordLanguage(); String getFeedbackEmailAddress(); boolean isBookmarksEnabled(); boolean isForceJpegConversion(); int getPageLoaderThreshold(); boolean isPreventProxyCaching(); boolean isSolrCompressionEnabled(); boolean isSolrBackwardsCompatible(); boolean isUserCommentsEnabled(); String getUserCommentsConditionalQuery(); List<String> getUserCommentsNotificationEmailAddresses(); String getViewerHome(); List<String> getWatermarkIdField(); String getSubthemeMainTheme(); String getSubthemeDiscriminatorField(); int getTagCloudSampleSize(String fieldName); List<StringPair> getTocVolumeSortFieldsForTemplate(String template); String getTocVolumeGroupFieldForTemplate(String template); boolean getDisplayTitleBreadcrumbs(); boolean isDisplayTitlePURL(); int getTitleBreadcrumbsMaxTitleLength(); boolean getIncludeAnchorInTitleBreadcrumbs(); boolean isDisplaySearchRssLinks(); boolean showThumbnailsInToc(); String getStartYearForTimeline(); String getEndYearForTimeline(); String getTimelineHits(); boolean isPiwikTrackingEnabled(); String getPiwikBaseURL(); String getPiwikSiteID(); boolean isSearchSavingEnabled(); boolean isBoostTopLevelDocstructs(); boolean isGroupDuplicateHits(); List<String> getRecordGroupIdentifierFields(); List<String> getAncestorIdentifierFields(); boolean isTocListSiblingRecords(); List<SearchFilter> getSearchFilters(); List<Map<String, String>> getWebApiFields(); String getDbPersistenceUnit(); boolean useCustomNavBar(); String getCmsTemplateFolder(); String getCmsMediaFolder(); String getTempMediaFolder(); List<String> getCmsClassifications(); int getCmsMediaDisplayWidth(); int getCmsMediaDisplayHeight(); boolean isTranskribusEnabled(); String getTranskribusUserName(); String getTranskribusPassword(); String getTranskribusDefaultCollection(); String getTranskribusRestApiUrl(); List<String> getTranskribusAllowedDocumentTypes(); int getTocIndentation(); boolean isPageBrowseEnabled(); List<Integer> getPageBrowseSteps(); String getTaskManagerServiceUrl(); String getTaskManagerRestUrl(); String getReCaptchaSiteKey(); boolean isUseReCaptcha(); boolean isSearchInItemEnabled(); String getDefaultBrowseIcon(String field); boolean isSearchExcelExportEnabled(); List<String> getSearchExcelExportFields(); int getExcelDownloadTimeout(); boolean isDisplayEmptyTocInSidebar(); boolean isDoublePageModeEnabled(); List<String> getRestrictedImageUrls(); List<String> getIIIFLicenses(); List<String> getIIIFMetadataFields(); List<String> getIIIFEventFields(); String getIIIFMetadataLabel(String field); int getIIIFDiscoveryAvtivitiesPerPage(); List<String> getIIIFLogo(); String getIIIFNavDateField(); List<String> getIIIFAttribution(); List<String> getIIIFDescriptionFields(); String getSitelinksField(); String getSitelinksFilterQuery(); List<String> getConfiguredCollections(); String getWebApiToken(); boolean isAllowRedirectCollectionToWork(); String getTwitterUserName(); float getLimitImageHeightUpperRatioThreshold(); float getLimitImageHeightLowerRatioThreshold(); boolean isLimitImageHeight(); boolean isAddCORSHeader(); String getCORSHeaderValue(); boolean isDiscloseImageContentLocation(); String getAccessConditionDisplayField(); String getCopyrightDisplayField(); boolean isDisplayCopyrightInfo(); boolean isDisplaySocialMediaShareLinks(); boolean isDisplayAnchorLabelInTitleBar(String template); String getAnchorLabelInTitleBarPrefix(String template); String getAnchorLabelInTitleBarSuffix(String template); String getMapBoxToken(); GeoMapMarker getGeoMapMarker(String name); List<String> getGeoMapMarkerFields(); List<GeoMapMarker> getGeoMapMarkers(); static GeoMapMarker readGeoMapMarker(HierarchicalConfiguration config); List<LicenseDescription> getLicenseDescriptions(); }
Configuration extends AbstractConfiguration { public List<IAuthenticationProvider> getAuthenticationProviders() { XMLConfiguration myConfigToUse = config; if (!configLocal.configurationsAt("user.authenticationProviders").isEmpty()) { myConfigToUse = configLocal; } int max = myConfigToUse.getMaxIndex("user.authenticationProviders.provider"); List<IAuthenticationProvider> providers = new ArrayList<>(max + 1); for (int i = 0; i <= max; i++) { String label = myConfigToUse.getString("user.authenticationProviders.provider(" + i + ")[@label]"); String name = myConfigToUse.getString("user.authenticationProviders.provider(" + i + ")[@name]"); String endpoint = myConfigToUse.getString("user.authenticationProviders.provider(" + i + ")[@endpoint]", null); String image = myConfigToUse.getString("user.authenticationProviders.provider(" + i + ")[@image]", null); String type = myConfigToUse.getString("user.authenticationProviders.provider(" + i + ")[@type]", ""); boolean visible = myConfigToUse.getBoolean("user.authenticationProviders.provider(" + i + ")[@show]", true); String clientId = myConfigToUse.getString("user.authenticationProviders.provider(" + i + ")[@clientId]", null); String clientSecret = myConfigToUse.getString("user.authenticationProviders.provider(" + i + ")[@clientSecret]", null); String idpMetadataUrl = myConfigToUse.getString("user.authenticationProviders.provider(" + i + ")[@idpMetadataUrl]", null); String relyingPartyIdentifier = myConfigToUse.getString("user.authenticationProviders.provider(" + i + ")[@relyingPartyIdentifier]", null); String samlPublicKeyPath = myConfigToUse.getString("user.authenticationProviders.provider(" + i + ")[@publicKeyPath]", null); String samlPrivateKeyPath = myConfigToUse.getString("user.authenticationProviders.provider(" + i + ")[@privateKeyPath]", null); long timeoutMillis = myConfigToUse.getLong("user.authenticationProviders.provider(" + i + ")[@timeout]", 10000); if (visible) { IAuthenticationProvider provider = null; switch (type.toLowerCase()) { case "saml": providers.add( new SAMLProvider(name, idpMetadataUrl, relyingPartyIdentifier, samlPublicKeyPath, samlPrivateKeyPath, timeoutMillis)); break; case "openid": providers.add(new OpenIdProvider(name, label, endpoint, image, timeoutMillis, clientId, clientSecret)); break; case "userpassword": switch (name.toLowerCase()) { case "vufind": provider = new VuFindProvider(name, label, endpoint, image, timeoutMillis); break; case "x-service": case "xservice": provider = new XServiceProvider(name, label, endpoint, image, timeoutMillis); break; case "littera": provider = new LitteraProvider(name, label, endpoint, image, timeoutMillis); break; case "bibliotheca": provider = new BibliothecaProvider(name, label, endpoint, image, timeoutMillis); break; default: logger.error("Cannot add userpassword authentification provider with name {}. No implementation found", name); } break; case "local": provider = new LocalAuthenticationProvider(name); break; default: logger.error("Cannot add authentification provider with name {} and type {}. No implementation found", name, type); } if (provider != null) { List<String> addToUserGroupList = getLocalList(myConfigToUse, null, "user.authenticationProviders.provider(" + i + ").addUserToGroup", null); if (addToUserGroupList != null) { provider.setAddUserToGroups(addToUserGroupList); } providers.add(provider); } } } return providers; } Configuration(String configFilePath); Set<String> getStopwords(); boolean reloadingRequired(); String getConfigLocalPath(); String getLocalRessourceBundleFile(); int getViewerThumbnailsPerPage(); int getViewerMaxImageWidth(); int getViewerMaxImageHeight(); int getViewerMaxImageScale(); boolean isRememberImageZoom(); boolean isRememberImageRotation(); String getDfgViewerUrl(); String getConnectorVersionUrl(); List<Metadata> getTitleBarMetadata(); List<Metadata> getSearchHitMetadataForTemplate(String template); List<Metadata> getMainMetadataForTemplate(String template); List<Metadata> getSidebarMetadataForTemplate(String template); List<String> getNormdataFieldsForTemplate(String template); List<Metadata> getTocLabelConfiguration(String template); int getTocAnchorGroupElementsPerPage(); boolean isDisplaySidebarBrowsingTerms(); boolean isDisplaySidebarRssFeed(); boolean isDisplayWidgetUsage(); Metadata getWidgetUsageLicenceTextMetadata(); boolean isDisplaySidebarUsageWidgetLinkToJpegImage(); boolean isDisplaySidebarUsageWidgetLinkToMasterImage(); String getWidgetUsageMaxJpegSize(); String getWidgetUsageMaxMasterImageSize(); List<String> getCalendarDocStructTypes(); boolean isBrowsingMenuEnabled(); int getBrowsingMenuHitsPerPage(); List<BrowsingMenuFieldConfig> getBrowsingMenuFields(); String getBrowsingMenuSortingIgnoreLeadingChars(); String getDocstrctWhitelistFilterQuery(); String getCollectionSplittingChar(String field); List<DcSortingList> getCollectionSorting(String field); List<String> getCollectionBlacklist(String field); String getCollectionDefaultSortField(String field, String name); int getCollectionDisplayNumberOfVolumesLevel(String field); int getCollectionDisplayDepthForSearch(String field); String getCollectionHierarchyField(); boolean isAddCollectionHierarchyToBreadcrumbs(String field); String getSolrUrl(); String getContentServerWrapperUrl(); String getDownloadUrl(); String getRestApiUrl(); String getIIIFApiUrl(); boolean isUseIIIFApiUrlForCmsMediaUrls(); String getContentServerRealUrl(); String getMetsUrl(); String getMarcUrl(); String getDcUrl(); String getEseUrl(); List<Integer> getSearchHitsPerPageValues(); int getSearchHitsPerPageDefaultValue(); int getFulltextFragmentLength(); boolean isAdvancedSearchEnabled(); int getAdvancedSearchDefaultItemNumber(); List<AdvancedSearchFieldConfiguration> getAdvancedSearchFields(); boolean isAggregateHits(); boolean isDisplayAdditionalMetadataEnabled(); List<String> getDisplayAdditionalMetadataIgnoreFields(); List<String> getDisplayAdditionalMetadataTranslateFields(); boolean isAdvancedSearchFieldHierarchical(String field); boolean isAdvancedSearchFieldRange(String field); boolean isAdvancedSearchFieldUntokenizeForPhraseSearch(String field); String getAdvancedSearchFieldSeparatorLabel(String field); boolean isTimelineSearchEnabled(); boolean isCalendarSearchEnabled(); String getStaticQuerySuffix(); String getPreviousVersionIdentifierField(); String getNextVersionIdentifierField(); String getVersionLabelField(); String getIndexedMetsFolder(); String getIndexedLidoFolder(); String getIndexedDenkxwebFolder(); String getIndexedDublinCoreFolder(); String getPageSelectionFormat(); String getMediaFolder(); String getPdfFolder(); String getVocabulariesFolder(); String getOrigContentFolder(); String getCmsTextFolder(); String getAltoFolder(); String getAbbyyFolder(); String getFulltextFolder(); String getTeiFolder(); String getCmdiFolder(); String getWcFolder(); String getAnnotationFolder(); String getHotfolder(); @SuppressWarnings("static-method") String getTempFolder(); boolean isUrnDoRedirect(); boolean isUserRegistrationEnabled(); List<SecurityQuestion> getSecurityQuestions(); boolean isShowOpenIdConnect(); List<IAuthenticationProvider> getAuthenticationProviders(); String getSmtpServer(); String getSmtpUser(); String getSmtpPassword(); String getSmtpSenderAddress(); String getSmtpSenderName(); String getSmtpSecurity(); String getAnonymousUserEmailAddress(); boolean isDisplayCollectionBrowsing(); boolean isDisplayUserNavigation(); boolean isDisplayTagCloudNavigation(); boolean isDisplayStatistics(); boolean isDisplayTimeMatrix(); boolean isDisplayCrowdsourcingModuleLinks(); String getTheme(); String getThemeRootPath(); String getName(); String getDescription(); boolean isDisplayTagCloudStartpage(); boolean isDisplaySearchResultNavigation(); boolean isFoldout(String sidebarElement); boolean isSidebarPageViewLinkVisible(); boolean isSidebarCalendarViewLinkVisible(); boolean isSidebarTocViewLinkVisible(); boolean isSidebarThumbsViewLinkVisible(); boolean isSidebarMetadataViewLinkVisible(); boolean isShowSidebarEventMetadata(); boolean isShowRecordLabelIfNoOtherViews(); boolean isSidebarFulltextLinkVisible(); boolean isSidebarTocWidgetVisible(); boolean isSidebarTocWidgetVisibleInFullscreen(); boolean isSidebarOpacLinkVisible(); boolean getSidebarTocPageNumbersVisible(); int getSidebarTocLengthBeforeCut(); int getSidebarTocInitialCollapseLevel(); int getSidebarTocCollapseLengthThreshold(); int getSidebarTocLowestLevelToCollapseForLength(); boolean isSidebarTocTreeView(); boolean isTocTreeView(String docStructType); List<String> getAllDrillDownFields(); List<String> getDrillDownFields(); List<String> getHierarchicalDrillDownFields(); int getInitialDrillDownElementNumber(String field); String getSortOrder(String field); List<String> getPriorityValuesForDrillDownField(String field); String getLabelFieldForDrillDownField(String facetField); @SuppressWarnings("static-method") List<String> getRangeFacetFields(); boolean isSortingEnabled(); String getDefaultSortField(); List<String> getSortFields(); List<String> getStaticSortFields(); String getUrnResolverUrl(); int getUnconditionalImageAccessMaxWidth(); boolean isFullAccessForLocalhost(); boolean isGeneratePdfInTaskManager(); boolean isPdfApiDisabled(); boolean isTitlePdfEnabled(); boolean isTocPdfEnabled(); boolean isMetadataPdfEnabled(); boolean isPagePdfEnabled(); boolean isDocHierarchyPdfEnabled(); boolean isTitleEpubEnabled(); boolean isTocEpubEnabled(); boolean isMetadataEpubEnabled(); String getDownloadFolder(String type); int getRssFeedItems(); String getRssTitle(); String getRssDescription(); String getRssCopyrightText(); String getRulesetFilePath(); String getDefaultCollection(); int getThumbnailsWidth(); int getThumbnailsHeight(); int getThumbnailsCompression(); String getAnchorThumbnailMode(); int getMultivolumeThumbnailWidth(); int getMultivolumeThumbnailHeight(); boolean getDisplayBreadcrumbs(); boolean getDisplayMetadataPageLinkBlock(); boolean isAddDublinCoreMetaTags(); boolean isAddHighwirePressMetaTags(); int getMetadataParamNumber(); boolean useTiles(); boolean useTilesFullscreen(); boolean useTiles(PageType view, ImageType image); int getFooterHeight(); int getFullscreenFooterHeight(); int getFooterHeight(PageType view, ImageType image); String getImageViewType(); String getZoomFullscreenViewType(); String getZoomImageViewType(PageType view, ImageType image); boolean useOpenSeadragon(); List<String> getImageViewZoomScales(); List<String> getImageViewZoomScales(String view); List<String> getImageViewZoomScales(PageType view, ImageType image); Map<Integer, List<Integer>> getTileSizes(); Map<Integer, List<Integer>> getTileSizes(PageType view, ImageType image); SubnodeConfiguration getZoomImageViewConfig(PageType pageType, ImageType imageType); int getBreadcrumbsClipping(); boolean isDisplayTopstructLabel(); boolean getDisplayStructType(); int getSearchHitMetadataValueNumber(); int getSearchHitMetadataValueLength(); List<String> getWatermarkTextConfiguration(); String getWatermarkFormat(); boolean isOriginalContentDownload(); String getStopwordsFilePath(); String getPageType(PageType type); String getDocstructTargetPageType(String docstruct); String getPageTypeExitView(PageType type); int getFulltextPercentageWarningThreshold(); boolean isUseViewerLocaleAsRecordLanguage(); String getFeedbackEmailAddress(); boolean isBookmarksEnabled(); boolean isForceJpegConversion(); int getPageLoaderThreshold(); boolean isPreventProxyCaching(); boolean isSolrCompressionEnabled(); boolean isSolrBackwardsCompatible(); boolean isUserCommentsEnabled(); String getUserCommentsConditionalQuery(); List<String> getUserCommentsNotificationEmailAddresses(); String getViewerHome(); List<String> getWatermarkIdField(); String getSubthemeMainTheme(); String getSubthemeDiscriminatorField(); int getTagCloudSampleSize(String fieldName); List<StringPair> getTocVolumeSortFieldsForTemplate(String template); String getTocVolumeGroupFieldForTemplate(String template); boolean getDisplayTitleBreadcrumbs(); boolean isDisplayTitlePURL(); int getTitleBreadcrumbsMaxTitleLength(); boolean getIncludeAnchorInTitleBreadcrumbs(); boolean isDisplaySearchRssLinks(); boolean showThumbnailsInToc(); String getStartYearForTimeline(); String getEndYearForTimeline(); String getTimelineHits(); boolean isPiwikTrackingEnabled(); String getPiwikBaseURL(); String getPiwikSiteID(); boolean isSearchSavingEnabled(); boolean isBoostTopLevelDocstructs(); boolean isGroupDuplicateHits(); List<String> getRecordGroupIdentifierFields(); List<String> getAncestorIdentifierFields(); boolean isTocListSiblingRecords(); List<SearchFilter> getSearchFilters(); List<Map<String, String>> getWebApiFields(); String getDbPersistenceUnit(); boolean useCustomNavBar(); String getCmsTemplateFolder(); String getCmsMediaFolder(); String getTempMediaFolder(); List<String> getCmsClassifications(); int getCmsMediaDisplayWidth(); int getCmsMediaDisplayHeight(); boolean isTranskribusEnabled(); String getTranskribusUserName(); String getTranskribusPassword(); String getTranskribusDefaultCollection(); String getTranskribusRestApiUrl(); List<String> getTranskribusAllowedDocumentTypes(); int getTocIndentation(); boolean isPageBrowseEnabled(); List<Integer> getPageBrowseSteps(); String getTaskManagerServiceUrl(); String getTaskManagerRestUrl(); String getReCaptchaSiteKey(); boolean isUseReCaptcha(); boolean isSearchInItemEnabled(); String getDefaultBrowseIcon(String field); boolean isSearchExcelExportEnabled(); List<String> getSearchExcelExportFields(); int getExcelDownloadTimeout(); boolean isDisplayEmptyTocInSidebar(); boolean isDoublePageModeEnabled(); List<String> getRestrictedImageUrls(); List<String> getIIIFLicenses(); List<String> getIIIFMetadataFields(); List<String> getIIIFEventFields(); String getIIIFMetadataLabel(String field); int getIIIFDiscoveryAvtivitiesPerPage(); List<String> getIIIFLogo(); String getIIIFNavDateField(); List<String> getIIIFAttribution(); List<String> getIIIFDescriptionFields(); String getSitelinksField(); String getSitelinksFilterQuery(); List<String> getConfiguredCollections(); String getWebApiToken(); boolean isAllowRedirectCollectionToWork(); String getTwitterUserName(); float getLimitImageHeightUpperRatioThreshold(); float getLimitImageHeightLowerRatioThreshold(); boolean isLimitImageHeight(); boolean isAddCORSHeader(); String getCORSHeaderValue(); boolean isDiscloseImageContentLocation(); String getAccessConditionDisplayField(); String getCopyrightDisplayField(); boolean isDisplayCopyrightInfo(); boolean isDisplaySocialMediaShareLinks(); boolean isDisplayAnchorLabelInTitleBar(String template); String getAnchorLabelInTitleBarPrefix(String template); String getAnchorLabelInTitleBarSuffix(String template); String getMapBoxToken(); GeoMapMarker getGeoMapMarker(String name); List<String> getGeoMapMarkerFields(); List<GeoMapMarker> getGeoMapMarkers(); static GeoMapMarker readGeoMapMarker(HierarchicalConfiguration config); List<LicenseDescription> getLicenseDescriptions(); }
@Test public void getOrigContentFolder_shouldReturnCorrectValue() throws Exception { Assert.assertEquals("source", DataManager.getInstance().getConfiguration().getOrigContentFolder()); }
public String getOrigContentFolder() { return getLocalString("origContentFolder"); }
Configuration extends AbstractConfiguration { public String getOrigContentFolder() { return getLocalString("origContentFolder"); } }
Configuration extends AbstractConfiguration { public String getOrigContentFolder() { return getLocalString("origContentFolder"); } Configuration(String configFilePath); }
Configuration extends AbstractConfiguration { public String getOrigContentFolder() { return getLocalString("origContentFolder"); } Configuration(String configFilePath); Set<String> getStopwords(); boolean reloadingRequired(); String getConfigLocalPath(); String getLocalRessourceBundleFile(); int getViewerThumbnailsPerPage(); int getViewerMaxImageWidth(); int getViewerMaxImageHeight(); int getViewerMaxImageScale(); boolean isRememberImageZoom(); boolean isRememberImageRotation(); String getDfgViewerUrl(); String getConnectorVersionUrl(); List<Metadata> getTitleBarMetadata(); List<Metadata> getSearchHitMetadataForTemplate(String template); List<Metadata> getMainMetadataForTemplate(String template); List<Metadata> getSidebarMetadataForTemplate(String template); List<String> getNormdataFieldsForTemplate(String template); List<Metadata> getTocLabelConfiguration(String template); int getTocAnchorGroupElementsPerPage(); boolean isDisplaySidebarBrowsingTerms(); boolean isDisplaySidebarRssFeed(); boolean isDisplayWidgetUsage(); Metadata getWidgetUsageLicenceTextMetadata(); boolean isDisplaySidebarUsageWidgetLinkToJpegImage(); boolean isDisplaySidebarUsageWidgetLinkToMasterImage(); String getWidgetUsageMaxJpegSize(); String getWidgetUsageMaxMasterImageSize(); List<String> getCalendarDocStructTypes(); boolean isBrowsingMenuEnabled(); int getBrowsingMenuHitsPerPage(); List<BrowsingMenuFieldConfig> getBrowsingMenuFields(); String getBrowsingMenuSortingIgnoreLeadingChars(); String getDocstrctWhitelistFilterQuery(); String getCollectionSplittingChar(String field); List<DcSortingList> getCollectionSorting(String field); List<String> getCollectionBlacklist(String field); String getCollectionDefaultSortField(String field, String name); int getCollectionDisplayNumberOfVolumesLevel(String field); int getCollectionDisplayDepthForSearch(String field); String getCollectionHierarchyField(); boolean isAddCollectionHierarchyToBreadcrumbs(String field); String getSolrUrl(); String getContentServerWrapperUrl(); String getDownloadUrl(); String getRestApiUrl(); String getIIIFApiUrl(); boolean isUseIIIFApiUrlForCmsMediaUrls(); String getContentServerRealUrl(); String getMetsUrl(); String getMarcUrl(); String getDcUrl(); String getEseUrl(); List<Integer> getSearchHitsPerPageValues(); int getSearchHitsPerPageDefaultValue(); int getFulltextFragmentLength(); boolean isAdvancedSearchEnabled(); int getAdvancedSearchDefaultItemNumber(); List<AdvancedSearchFieldConfiguration> getAdvancedSearchFields(); boolean isAggregateHits(); boolean isDisplayAdditionalMetadataEnabled(); List<String> getDisplayAdditionalMetadataIgnoreFields(); List<String> getDisplayAdditionalMetadataTranslateFields(); boolean isAdvancedSearchFieldHierarchical(String field); boolean isAdvancedSearchFieldRange(String field); boolean isAdvancedSearchFieldUntokenizeForPhraseSearch(String field); String getAdvancedSearchFieldSeparatorLabel(String field); boolean isTimelineSearchEnabled(); boolean isCalendarSearchEnabled(); String getStaticQuerySuffix(); String getPreviousVersionIdentifierField(); String getNextVersionIdentifierField(); String getVersionLabelField(); String getIndexedMetsFolder(); String getIndexedLidoFolder(); String getIndexedDenkxwebFolder(); String getIndexedDublinCoreFolder(); String getPageSelectionFormat(); String getMediaFolder(); String getPdfFolder(); String getVocabulariesFolder(); String getOrigContentFolder(); String getCmsTextFolder(); String getAltoFolder(); String getAbbyyFolder(); String getFulltextFolder(); String getTeiFolder(); String getCmdiFolder(); String getWcFolder(); String getAnnotationFolder(); String getHotfolder(); @SuppressWarnings("static-method") String getTempFolder(); boolean isUrnDoRedirect(); boolean isUserRegistrationEnabled(); List<SecurityQuestion> getSecurityQuestions(); boolean isShowOpenIdConnect(); List<IAuthenticationProvider> getAuthenticationProviders(); String getSmtpServer(); String getSmtpUser(); String getSmtpPassword(); String getSmtpSenderAddress(); String getSmtpSenderName(); String getSmtpSecurity(); String getAnonymousUserEmailAddress(); boolean isDisplayCollectionBrowsing(); boolean isDisplayUserNavigation(); boolean isDisplayTagCloudNavigation(); boolean isDisplayStatistics(); boolean isDisplayTimeMatrix(); boolean isDisplayCrowdsourcingModuleLinks(); String getTheme(); String getThemeRootPath(); String getName(); String getDescription(); boolean isDisplayTagCloudStartpage(); boolean isDisplaySearchResultNavigation(); boolean isFoldout(String sidebarElement); boolean isSidebarPageViewLinkVisible(); boolean isSidebarCalendarViewLinkVisible(); boolean isSidebarTocViewLinkVisible(); boolean isSidebarThumbsViewLinkVisible(); boolean isSidebarMetadataViewLinkVisible(); boolean isShowSidebarEventMetadata(); boolean isShowRecordLabelIfNoOtherViews(); boolean isSidebarFulltextLinkVisible(); boolean isSidebarTocWidgetVisible(); boolean isSidebarTocWidgetVisibleInFullscreen(); boolean isSidebarOpacLinkVisible(); boolean getSidebarTocPageNumbersVisible(); int getSidebarTocLengthBeforeCut(); int getSidebarTocInitialCollapseLevel(); int getSidebarTocCollapseLengthThreshold(); int getSidebarTocLowestLevelToCollapseForLength(); boolean isSidebarTocTreeView(); boolean isTocTreeView(String docStructType); List<String> getAllDrillDownFields(); List<String> getDrillDownFields(); List<String> getHierarchicalDrillDownFields(); int getInitialDrillDownElementNumber(String field); String getSortOrder(String field); List<String> getPriorityValuesForDrillDownField(String field); String getLabelFieldForDrillDownField(String facetField); @SuppressWarnings("static-method") List<String> getRangeFacetFields(); boolean isSortingEnabled(); String getDefaultSortField(); List<String> getSortFields(); List<String> getStaticSortFields(); String getUrnResolverUrl(); int getUnconditionalImageAccessMaxWidth(); boolean isFullAccessForLocalhost(); boolean isGeneratePdfInTaskManager(); boolean isPdfApiDisabled(); boolean isTitlePdfEnabled(); boolean isTocPdfEnabled(); boolean isMetadataPdfEnabled(); boolean isPagePdfEnabled(); boolean isDocHierarchyPdfEnabled(); boolean isTitleEpubEnabled(); boolean isTocEpubEnabled(); boolean isMetadataEpubEnabled(); String getDownloadFolder(String type); int getRssFeedItems(); String getRssTitle(); String getRssDescription(); String getRssCopyrightText(); String getRulesetFilePath(); String getDefaultCollection(); int getThumbnailsWidth(); int getThumbnailsHeight(); int getThumbnailsCompression(); String getAnchorThumbnailMode(); int getMultivolumeThumbnailWidth(); int getMultivolumeThumbnailHeight(); boolean getDisplayBreadcrumbs(); boolean getDisplayMetadataPageLinkBlock(); boolean isAddDublinCoreMetaTags(); boolean isAddHighwirePressMetaTags(); int getMetadataParamNumber(); boolean useTiles(); boolean useTilesFullscreen(); boolean useTiles(PageType view, ImageType image); int getFooterHeight(); int getFullscreenFooterHeight(); int getFooterHeight(PageType view, ImageType image); String getImageViewType(); String getZoomFullscreenViewType(); String getZoomImageViewType(PageType view, ImageType image); boolean useOpenSeadragon(); List<String> getImageViewZoomScales(); List<String> getImageViewZoomScales(String view); List<String> getImageViewZoomScales(PageType view, ImageType image); Map<Integer, List<Integer>> getTileSizes(); Map<Integer, List<Integer>> getTileSizes(PageType view, ImageType image); SubnodeConfiguration getZoomImageViewConfig(PageType pageType, ImageType imageType); int getBreadcrumbsClipping(); boolean isDisplayTopstructLabel(); boolean getDisplayStructType(); int getSearchHitMetadataValueNumber(); int getSearchHitMetadataValueLength(); List<String> getWatermarkTextConfiguration(); String getWatermarkFormat(); boolean isOriginalContentDownload(); String getStopwordsFilePath(); String getPageType(PageType type); String getDocstructTargetPageType(String docstruct); String getPageTypeExitView(PageType type); int getFulltextPercentageWarningThreshold(); boolean isUseViewerLocaleAsRecordLanguage(); String getFeedbackEmailAddress(); boolean isBookmarksEnabled(); boolean isForceJpegConversion(); int getPageLoaderThreshold(); boolean isPreventProxyCaching(); boolean isSolrCompressionEnabled(); boolean isSolrBackwardsCompatible(); boolean isUserCommentsEnabled(); String getUserCommentsConditionalQuery(); List<String> getUserCommentsNotificationEmailAddresses(); String getViewerHome(); List<String> getWatermarkIdField(); String getSubthemeMainTheme(); String getSubthemeDiscriminatorField(); int getTagCloudSampleSize(String fieldName); List<StringPair> getTocVolumeSortFieldsForTemplate(String template); String getTocVolumeGroupFieldForTemplate(String template); boolean getDisplayTitleBreadcrumbs(); boolean isDisplayTitlePURL(); int getTitleBreadcrumbsMaxTitleLength(); boolean getIncludeAnchorInTitleBreadcrumbs(); boolean isDisplaySearchRssLinks(); boolean showThumbnailsInToc(); String getStartYearForTimeline(); String getEndYearForTimeline(); String getTimelineHits(); boolean isPiwikTrackingEnabled(); String getPiwikBaseURL(); String getPiwikSiteID(); boolean isSearchSavingEnabled(); boolean isBoostTopLevelDocstructs(); boolean isGroupDuplicateHits(); List<String> getRecordGroupIdentifierFields(); List<String> getAncestorIdentifierFields(); boolean isTocListSiblingRecords(); List<SearchFilter> getSearchFilters(); List<Map<String, String>> getWebApiFields(); String getDbPersistenceUnit(); boolean useCustomNavBar(); String getCmsTemplateFolder(); String getCmsMediaFolder(); String getTempMediaFolder(); List<String> getCmsClassifications(); int getCmsMediaDisplayWidth(); int getCmsMediaDisplayHeight(); boolean isTranskribusEnabled(); String getTranskribusUserName(); String getTranskribusPassword(); String getTranskribusDefaultCollection(); String getTranskribusRestApiUrl(); List<String> getTranskribusAllowedDocumentTypes(); int getTocIndentation(); boolean isPageBrowseEnabled(); List<Integer> getPageBrowseSteps(); String getTaskManagerServiceUrl(); String getTaskManagerRestUrl(); String getReCaptchaSiteKey(); boolean isUseReCaptcha(); boolean isSearchInItemEnabled(); String getDefaultBrowseIcon(String field); boolean isSearchExcelExportEnabled(); List<String> getSearchExcelExportFields(); int getExcelDownloadTimeout(); boolean isDisplayEmptyTocInSidebar(); boolean isDoublePageModeEnabled(); List<String> getRestrictedImageUrls(); List<String> getIIIFLicenses(); List<String> getIIIFMetadataFields(); List<String> getIIIFEventFields(); String getIIIFMetadataLabel(String field); int getIIIFDiscoveryAvtivitiesPerPage(); List<String> getIIIFLogo(); String getIIIFNavDateField(); List<String> getIIIFAttribution(); List<String> getIIIFDescriptionFields(); String getSitelinksField(); String getSitelinksFilterQuery(); List<String> getConfiguredCollections(); String getWebApiToken(); boolean isAllowRedirectCollectionToWork(); String getTwitterUserName(); float getLimitImageHeightUpperRatioThreshold(); float getLimitImageHeightLowerRatioThreshold(); boolean isLimitImageHeight(); boolean isAddCORSHeader(); String getCORSHeaderValue(); boolean isDiscloseImageContentLocation(); String getAccessConditionDisplayField(); String getCopyrightDisplayField(); boolean isDisplayCopyrightInfo(); boolean isDisplaySocialMediaShareLinks(); boolean isDisplayAnchorLabelInTitleBar(String template); String getAnchorLabelInTitleBarPrefix(String template); String getAnchorLabelInTitleBarSuffix(String template); String getMapBoxToken(); GeoMapMarker getGeoMapMarker(String name); List<String> getGeoMapMarkerFields(); List<GeoMapMarker> getGeoMapMarkers(); static GeoMapMarker readGeoMapMarker(HierarchicalConfiguration config); List<LicenseDescription> getLicenseDescriptions(); }
Configuration extends AbstractConfiguration { public String getOrigContentFolder() { return getLocalString("origContentFolder"); } Configuration(String configFilePath); Set<String> getStopwords(); boolean reloadingRequired(); String getConfigLocalPath(); String getLocalRessourceBundleFile(); int getViewerThumbnailsPerPage(); int getViewerMaxImageWidth(); int getViewerMaxImageHeight(); int getViewerMaxImageScale(); boolean isRememberImageZoom(); boolean isRememberImageRotation(); String getDfgViewerUrl(); String getConnectorVersionUrl(); List<Metadata> getTitleBarMetadata(); List<Metadata> getSearchHitMetadataForTemplate(String template); List<Metadata> getMainMetadataForTemplate(String template); List<Metadata> getSidebarMetadataForTemplate(String template); List<String> getNormdataFieldsForTemplate(String template); List<Metadata> getTocLabelConfiguration(String template); int getTocAnchorGroupElementsPerPage(); boolean isDisplaySidebarBrowsingTerms(); boolean isDisplaySidebarRssFeed(); boolean isDisplayWidgetUsage(); Metadata getWidgetUsageLicenceTextMetadata(); boolean isDisplaySidebarUsageWidgetLinkToJpegImage(); boolean isDisplaySidebarUsageWidgetLinkToMasterImage(); String getWidgetUsageMaxJpegSize(); String getWidgetUsageMaxMasterImageSize(); List<String> getCalendarDocStructTypes(); boolean isBrowsingMenuEnabled(); int getBrowsingMenuHitsPerPage(); List<BrowsingMenuFieldConfig> getBrowsingMenuFields(); String getBrowsingMenuSortingIgnoreLeadingChars(); String getDocstrctWhitelistFilterQuery(); String getCollectionSplittingChar(String field); List<DcSortingList> getCollectionSorting(String field); List<String> getCollectionBlacklist(String field); String getCollectionDefaultSortField(String field, String name); int getCollectionDisplayNumberOfVolumesLevel(String field); int getCollectionDisplayDepthForSearch(String field); String getCollectionHierarchyField(); boolean isAddCollectionHierarchyToBreadcrumbs(String field); String getSolrUrl(); String getContentServerWrapperUrl(); String getDownloadUrl(); String getRestApiUrl(); String getIIIFApiUrl(); boolean isUseIIIFApiUrlForCmsMediaUrls(); String getContentServerRealUrl(); String getMetsUrl(); String getMarcUrl(); String getDcUrl(); String getEseUrl(); List<Integer> getSearchHitsPerPageValues(); int getSearchHitsPerPageDefaultValue(); int getFulltextFragmentLength(); boolean isAdvancedSearchEnabled(); int getAdvancedSearchDefaultItemNumber(); List<AdvancedSearchFieldConfiguration> getAdvancedSearchFields(); boolean isAggregateHits(); boolean isDisplayAdditionalMetadataEnabled(); List<String> getDisplayAdditionalMetadataIgnoreFields(); List<String> getDisplayAdditionalMetadataTranslateFields(); boolean isAdvancedSearchFieldHierarchical(String field); boolean isAdvancedSearchFieldRange(String field); boolean isAdvancedSearchFieldUntokenizeForPhraseSearch(String field); String getAdvancedSearchFieldSeparatorLabel(String field); boolean isTimelineSearchEnabled(); boolean isCalendarSearchEnabled(); String getStaticQuerySuffix(); String getPreviousVersionIdentifierField(); String getNextVersionIdentifierField(); String getVersionLabelField(); String getIndexedMetsFolder(); String getIndexedLidoFolder(); String getIndexedDenkxwebFolder(); String getIndexedDublinCoreFolder(); String getPageSelectionFormat(); String getMediaFolder(); String getPdfFolder(); String getVocabulariesFolder(); String getOrigContentFolder(); String getCmsTextFolder(); String getAltoFolder(); String getAbbyyFolder(); String getFulltextFolder(); String getTeiFolder(); String getCmdiFolder(); String getWcFolder(); String getAnnotationFolder(); String getHotfolder(); @SuppressWarnings("static-method") String getTempFolder(); boolean isUrnDoRedirect(); boolean isUserRegistrationEnabled(); List<SecurityQuestion> getSecurityQuestions(); boolean isShowOpenIdConnect(); List<IAuthenticationProvider> getAuthenticationProviders(); String getSmtpServer(); String getSmtpUser(); String getSmtpPassword(); String getSmtpSenderAddress(); String getSmtpSenderName(); String getSmtpSecurity(); String getAnonymousUserEmailAddress(); boolean isDisplayCollectionBrowsing(); boolean isDisplayUserNavigation(); boolean isDisplayTagCloudNavigation(); boolean isDisplayStatistics(); boolean isDisplayTimeMatrix(); boolean isDisplayCrowdsourcingModuleLinks(); String getTheme(); String getThemeRootPath(); String getName(); String getDescription(); boolean isDisplayTagCloudStartpage(); boolean isDisplaySearchResultNavigation(); boolean isFoldout(String sidebarElement); boolean isSidebarPageViewLinkVisible(); boolean isSidebarCalendarViewLinkVisible(); boolean isSidebarTocViewLinkVisible(); boolean isSidebarThumbsViewLinkVisible(); boolean isSidebarMetadataViewLinkVisible(); boolean isShowSidebarEventMetadata(); boolean isShowRecordLabelIfNoOtherViews(); boolean isSidebarFulltextLinkVisible(); boolean isSidebarTocWidgetVisible(); boolean isSidebarTocWidgetVisibleInFullscreen(); boolean isSidebarOpacLinkVisible(); boolean getSidebarTocPageNumbersVisible(); int getSidebarTocLengthBeforeCut(); int getSidebarTocInitialCollapseLevel(); int getSidebarTocCollapseLengthThreshold(); int getSidebarTocLowestLevelToCollapseForLength(); boolean isSidebarTocTreeView(); boolean isTocTreeView(String docStructType); List<String> getAllDrillDownFields(); List<String> getDrillDownFields(); List<String> getHierarchicalDrillDownFields(); int getInitialDrillDownElementNumber(String field); String getSortOrder(String field); List<String> getPriorityValuesForDrillDownField(String field); String getLabelFieldForDrillDownField(String facetField); @SuppressWarnings("static-method") List<String> getRangeFacetFields(); boolean isSortingEnabled(); String getDefaultSortField(); List<String> getSortFields(); List<String> getStaticSortFields(); String getUrnResolverUrl(); int getUnconditionalImageAccessMaxWidth(); boolean isFullAccessForLocalhost(); boolean isGeneratePdfInTaskManager(); boolean isPdfApiDisabled(); boolean isTitlePdfEnabled(); boolean isTocPdfEnabled(); boolean isMetadataPdfEnabled(); boolean isPagePdfEnabled(); boolean isDocHierarchyPdfEnabled(); boolean isTitleEpubEnabled(); boolean isTocEpubEnabled(); boolean isMetadataEpubEnabled(); String getDownloadFolder(String type); int getRssFeedItems(); String getRssTitle(); String getRssDescription(); String getRssCopyrightText(); String getRulesetFilePath(); String getDefaultCollection(); int getThumbnailsWidth(); int getThumbnailsHeight(); int getThumbnailsCompression(); String getAnchorThumbnailMode(); int getMultivolumeThumbnailWidth(); int getMultivolumeThumbnailHeight(); boolean getDisplayBreadcrumbs(); boolean getDisplayMetadataPageLinkBlock(); boolean isAddDublinCoreMetaTags(); boolean isAddHighwirePressMetaTags(); int getMetadataParamNumber(); boolean useTiles(); boolean useTilesFullscreen(); boolean useTiles(PageType view, ImageType image); int getFooterHeight(); int getFullscreenFooterHeight(); int getFooterHeight(PageType view, ImageType image); String getImageViewType(); String getZoomFullscreenViewType(); String getZoomImageViewType(PageType view, ImageType image); boolean useOpenSeadragon(); List<String> getImageViewZoomScales(); List<String> getImageViewZoomScales(String view); List<String> getImageViewZoomScales(PageType view, ImageType image); Map<Integer, List<Integer>> getTileSizes(); Map<Integer, List<Integer>> getTileSizes(PageType view, ImageType image); SubnodeConfiguration getZoomImageViewConfig(PageType pageType, ImageType imageType); int getBreadcrumbsClipping(); boolean isDisplayTopstructLabel(); boolean getDisplayStructType(); int getSearchHitMetadataValueNumber(); int getSearchHitMetadataValueLength(); List<String> getWatermarkTextConfiguration(); String getWatermarkFormat(); boolean isOriginalContentDownload(); String getStopwordsFilePath(); String getPageType(PageType type); String getDocstructTargetPageType(String docstruct); String getPageTypeExitView(PageType type); int getFulltextPercentageWarningThreshold(); boolean isUseViewerLocaleAsRecordLanguage(); String getFeedbackEmailAddress(); boolean isBookmarksEnabled(); boolean isForceJpegConversion(); int getPageLoaderThreshold(); boolean isPreventProxyCaching(); boolean isSolrCompressionEnabled(); boolean isSolrBackwardsCompatible(); boolean isUserCommentsEnabled(); String getUserCommentsConditionalQuery(); List<String> getUserCommentsNotificationEmailAddresses(); String getViewerHome(); List<String> getWatermarkIdField(); String getSubthemeMainTheme(); String getSubthemeDiscriminatorField(); int getTagCloudSampleSize(String fieldName); List<StringPair> getTocVolumeSortFieldsForTemplate(String template); String getTocVolumeGroupFieldForTemplate(String template); boolean getDisplayTitleBreadcrumbs(); boolean isDisplayTitlePURL(); int getTitleBreadcrumbsMaxTitleLength(); boolean getIncludeAnchorInTitleBreadcrumbs(); boolean isDisplaySearchRssLinks(); boolean showThumbnailsInToc(); String getStartYearForTimeline(); String getEndYearForTimeline(); String getTimelineHits(); boolean isPiwikTrackingEnabled(); String getPiwikBaseURL(); String getPiwikSiteID(); boolean isSearchSavingEnabled(); boolean isBoostTopLevelDocstructs(); boolean isGroupDuplicateHits(); List<String> getRecordGroupIdentifierFields(); List<String> getAncestorIdentifierFields(); boolean isTocListSiblingRecords(); List<SearchFilter> getSearchFilters(); List<Map<String, String>> getWebApiFields(); String getDbPersistenceUnit(); boolean useCustomNavBar(); String getCmsTemplateFolder(); String getCmsMediaFolder(); String getTempMediaFolder(); List<String> getCmsClassifications(); int getCmsMediaDisplayWidth(); int getCmsMediaDisplayHeight(); boolean isTranskribusEnabled(); String getTranskribusUserName(); String getTranskribusPassword(); String getTranskribusDefaultCollection(); String getTranskribusRestApiUrl(); List<String> getTranskribusAllowedDocumentTypes(); int getTocIndentation(); boolean isPageBrowseEnabled(); List<Integer> getPageBrowseSteps(); String getTaskManagerServiceUrl(); String getTaskManagerRestUrl(); String getReCaptchaSiteKey(); boolean isUseReCaptcha(); boolean isSearchInItemEnabled(); String getDefaultBrowseIcon(String field); boolean isSearchExcelExportEnabled(); List<String> getSearchExcelExportFields(); int getExcelDownloadTimeout(); boolean isDisplayEmptyTocInSidebar(); boolean isDoublePageModeEnabled(); List<String> getRestrictedImageUrls(); List<String> getIIIFLicenses(); List<String> getIIIFMetadataFields(); List<String> getIIIFEventFields(); String getIIIFMetadataLabel(String field); int getIIIFDiscoveryAvtivitiesPerPage(); List<String> getIIIFLogo(); String getIIIFNavDateField(); List<String> getIIIFAttribution(); List<String> getIIIFDescriptionFields(); String getSitelinksField(); String getSitelinksFilterQuery(); List<String> getConfiguredCollections(); String getWebApiToken(); boolean isAllowRedirectCollectionToWork(); String getTwitterUserName(); float getLimitImageHeightUpperRatioThreshold(); float getLimitImageHeightLowerRatioThreshold(); boolean isLimitImageHeight(); boolean isAddCORSHeader(); String getCORSHeaderValue(); boolean isDiscloseImageContentLocation(); String getAccessConditionDisplayField(); String getCopyrightDisplayField(); boolean isDisplayCopyrightInfo(); boolean isDisplaySocialMediaShareLinks(); boolean isDisplayAnchorLabelInTitleBar(String template); String getAnchorLabelInTitleBarPrefix(String template); String getAnchorLabelInTitleBarSuffix(String template); String getMapBoxToken(); GeoMapMarker getGeoMapMarker(String name); List<String> getGeoMapMarkerFields(); List<GeoMapMarker> getGeoMapMarkers(); static GeoMapMarker readGeoMapMarker(HierarchicalConfiguration config); List<LicenseDescription> getLicenseDescriptions(); }
@Test public void getPageLoaderThreshold_shouldReturnCorrectValue() throws Exception { Assert.assertEquals(1000, DataManager.getInstance().getConfiguration().getPageLoaderThreshold()); }
public int getPageLoaderThreshold() { return getLocalInt("performance.pageLoaderThreshold", 1000); }
Configuration extends AbstractConfiguration { public int getPageLoaderThreshold() { return getLocalInt("performance.pageLoaderThreshold", 1000); } }
Configuration extends AbstractConfiguration { public int getPageLoaderThreshold() { return getLocalInt("performance.pageLoaderThreshold", 1000); } Configuration(String configFilePath); }
Configuration extends AbstractConfiguration { public int getPageLoaderThreshold() { return getLocalInt("performance.pageLoaderThreshold", 1000); } Configuration(String configFilePath); Set<String> getStopwords(); boolean reloadingRequired(); String getConfigLocalPath(); String getLocalRessourceBundleFile(); int getViewerThumbnailsPerPage(); int getViewerMaxImageWidth(); int getViewerMaxImageHeight(); int getViewerMaxImageScale(); boolean isRememberImageZoom(); boolean isRememberImageRotation(); String getDfgViewerUrl(); String getConnectorVersionUrl(); List<Metadata> getTitleBarMetadata(); List<Metadata> getSearchHitMetadataForTemplate(String template); List<Metadata> getMainMetadataForTemplate(String template); List<Metadata> getSidebarMetadataForTemplate(String template); List<String> getNormdataFieldsForTemplate(String template); List<Metadata> getTocLabelConfiguration(String template); int getTocAnchorGroupElementsPerPage(); boolean isDisplaySidebarBrowsingTerms(); boolean isDisplaySidebarRssFeed(); boolean isDisplayWidgetUsage(); Metadata getWidgetUsageLicenceTextMetadata(); boolean isDisplaySidebarUsageWidgetLinkToJpegImage(); boolean isDisplaySidebarUsageWidgetLinkToMasterImage(); String getWidgetUsageMaxJpegSize(); String getWidgetUsageMaxMasterImageSize(); List<String> getCalendarDocStructTypes(); boolean isBrowsingMenuEnabled(); int getBrowsingMenuHitsPerPage(); List<BrowsingMenuFieldConfig> getBrowsingMenuFields(); String getBrowsingMenuSortingIgnoreLeadingChars(); String getDocstrctWhitelistFilterQuery(); String getCollectionSplittingChar(String field); List<DcSortingList> getCollectionSorting(String field); List<String> getCollectionBlacklist(String field); String getCollectionDefaultSortField(String field, String name); int getCollectionDisplayNumberOfVolumesLevel(String field); int getCollectionDisplayDepthForSearch(String field); String getCollectionHierarchyField(); boolean isAddCollectionHierarchyToBreadcrumbs(String field); String getSolrUrl(); String getContentServerWrapperUrl(); String getDownloadUrl(); String getRestApiUrl(); String getIIIFApiUrl(); boolean isUseIIIFApiUrlForCmsMediaUrls(); String getContentServerRealUrl(); String getMetsUrl(); String getMarcUrl(); String getDcUrl(); String getEseUrl(); List<Integer> getSearchHitsPerPageValues(); int getSearchHitsPerPageDefaultValue(); int getFulltextFragmentLength(); boolean isAdvancedSearchEnabled(); int getAdvancedSearchDefaultItemNumber(); List<AdvancedSearchFieldConfiguration> getAdvancedSearchFields(); boolean isAggregateHits(); boolean isDisplayAdditionalMetadataEnabled(); List<String> getDisplayAdditionalMetadataIgnoreFields(); List<String> getDisplayAdditionalMetadataTranslateFields(); boolean isAdvancedSearchFieldHierarchical(String field); boolean isAdvancedSearchFieldRange(String field); boolean isAdvancedSearchFieldUntokenizeForPhraseSearch(String field); String getAdvancedSearchFieldSeparatorLabel(String field); boolean isTimelineSearchEnabled(); boolean isCalendarSearchEnabled(); String getStaticQuerySuffix(); String getPreviousVersionIdentifierField(); String getNextVersionIdentifierField(); String getVersionLabelField(); String getIndexedMetsFolder(); String getIndexedLidoFolder(); String getIndexedDenkxwebFolder(); String getIndexedDublinCoreFolder(); String getPageSelectionFormat(); String getMediaFolder(); String getPdfFolder(); String getVocabulariesFolder(); String getOrigContentFolder(); String getCmsTextFolder(); String getAltoFolder(); String getAbbyyFolder(); String getFulltextFolder(); String getTeiFolder(); String getCmdiFolder(); String getWcFolder(); String getAnnotationFolder(); String getHotfolder(); @SuppressWarnings("static-method") String getTempFolder(); boolean isUrnDoRedirect(); boolean isUserRegistrationEnabled(); List<SecurityQuestion> getSecurityQuestions(); boolean isShowOpenIdConnect(); List<IAuthenticationProvider> getAuthenticationProviders(); String getSmtpServer(); String getSmtpUser(); String getSmtpPassword(); String getSmtpSenderAddress(); String getSmtpSenderName(); String getSmtpSecurity(); String getAnonymousUserEmailAddress(); boolean isDisplayCollectionBrowsing(); boolean isDisplayUserNavigation(); boolean isDisplayTagCloudNavigation(); boolean isDisplayStatistics(); boolean isDisplayTimeMatrix(); boolean isDisplayCrowdsourcingModuleLinks(); String getTheme(); String getThemeRootPath(); String getName(); String getDescription(); boolean isDisplayTagCloudStartpage(); boolean isDisplaySearchResultNavigation(); boolean isFoldout(String sidebarElement); boolean isSidebarPageViewLinkVisible(); boolean isSidebarCalendarViewLinkVisible(); boolean isSidebarTocViewLinkVisible(); boolean isSidebarThumbsViewLinkVisible(); boolean isSidebarMetadataViewLinkVisible(); boolean isShowSidebarEventMetadata(); boolean isShowRecordLabelIfNoOtherViews(); boolean isSidebarFulltextLinkVisible(); boolean isSidebarTocWidgetVisible(); boolean isSidebarTocWidgetVisibleInFullscreen(); boolean isSidebarOpacLinkVisible(); boolean getSidebarTocPageNumbersVisible(); int getSidebarTocLengthBeforeCut(); int getSidebarTocInitialCollapseLevel(); int getSidebarTocCollapseLengthThreshold(); int getSidebarTocLowestLevelToCollapseForLength(); boolean isSidebarTocTreeView(); boolean isTocTreeView(String docStructType); List<String> getAllDrillDownFields(); List<String> getDrillDownFields(); List<String> getHierarchicalDrillDownFields(); int getInitialDrillDownElementNumber(String field); String getSortOrder(String field); List<String> getPriorityValuesForDrillDownField(String field); String getLabelFieldForDrillDownField(String facetField); @SuppressWarnings("static-method") List<String> getRangeFacetFields(); boolean isSortingEnabled(); String getDefaultSortField(); List<String> getSortFields(); List<String> getStaticSortFields(); String getUrnResolverUrl(); int getUnconditionalImageAccessMaxWidth(); boolean isFullAccessForLocalhost(); boolean isGeneratePdfInTaskManager(); boolean isPdfApiDisabled(); boolean isTitlePdfEnabled(); boolean isTocPdfEnabled(); boolean isMetadataPdfEnabled(); boolean isPagePdfEnabled(); boolean isDocHierarchyPdfEnabled(); boolean isTitleEpubEnabled(); boolean isTocEpubEnabled(); boolean isMetadataEpubEnabled(); String getDownloadFolder(String type); int getRssFeedItems(); String getRssTitle(); String getRssDescription(); String getRssCopyrightText(); String getRulesetFilePath(); String getDefaultCollection(); int getThumbnailsWidth(); int getThumbnailsHeight(); int getThumbnailsCompression(); String getAnchorThumbnailMode(); int getMultivolumeThumbnailWidth(); int getMultivolumeThumbnailHeight(); boolean getDisplayBreadcrumbs(); boolean getDisplayMetadataPageLinkBlock(); boolean isAddDublinCoreMetaTags(); boolean isAddHighwirePressMetaTags(); int getMetadataParamNumber(); boolean useTiles(); boolean useTilesFullscreen(); boolean useTiles(PageType view, ImageType image); int getFooterHeight(); int getFullscreenFooterHeight(); int getFooterHeight(PageType view, ImageType image); String getImageViewType(); String getZoomFullscreenViewType(); String getZoomImageViewType(PageType view, ImageType image); boolean useOpenSeadragon(); List<String> getImageViewZoomScales(); List<String> getImageViewZoomScales(String view); List<String> getImageViewZoomScales(PageType view, ImageType image); Map<Integer, List<Integer>> getTileSizes(); Map<Integer, List<Integer>> getTileSizes(PageType view, ImageType image); SubnodeConfiguration getZoomImageViewConfig(PageType pageType, ImageType imageType); int getBreadcrumbsClipping(); boolean isDisplayTopstructLabel(); boolean getDisplayStructType(); int getSearchHitMetadataValueNumber(); int getSearchHitMetadataValueLength(); List<String> getWatermarkTextConfiguration(); String getWatermarkFormat(); boolean isOriginalContentDownload(); String getStopwordsFilePath(); String getPageType(PageType type); String getDocstructTargetPageType(String docstruct); String getPageTypeExitView(PageType type); int getFulltextPercentageWarningThreshold(); boolean isUseViewerLocaleAsRecordLanguage(); String getFeedbackEmailAddress(); boolean isBookmarksEnabled(); boolean isForceJpegConversion(); int getPageLoaderThreshold(); boolean isPreventProxyCaching(); boolean isSolrCompressionEnabled(); boolean isSolrBackwardsCompatible(); boolean isUserCommentsEnabled(); String getUserCommentsConditionalQuery(); List<String> getUserCommentsNotificationEmailAddresses(); String getViewerHome(); List<String> getWatermarkIdField(); String getSubthemeMainTheme(); String getSubthemeDiscriminatorField(); int getTagCloudSampleSize(String fieldName); List<StringPair> getTocVolumeSortFieldsForTemplate(String template); String getTocVolumeGroupFieldForTemplate(String template); boolean getDisplayTitleBreadcrumbs(); boolean isDisplayTitlePURL(); int getTitleBreadcrumbsMaxTitleLength(); boolean getIncludeAnchorInTitleBreadcrumbs(); boolean isDisplaySearchRssLinks(); boolean showThumbnailsInToc(); String getStartYearForTimeline(); String getEndYearForTimeline(); String getTimelineHits(); boolean isPiwikTrackingEnabled(); String getPiwikBaseURL(); String getPiwikSiteID(); boolean isSearchSavingEnabled(); boolean isBoostTopLevelDocstructs(); boolean isGroupDuplicateHits(); List<String> getRecordGroupIdentifierFields(); List<String> getAncestorIdentifierFields(); boolean isTocListSiblingRecords(); List<SearchFilter> getSearchFilters(); List<Map<String, String>> getWebApiFields(); String getDbPersistenceUnit(); boolean useCustomNavBar(); String getCmsTemplateFolder(); String getCmsMediaFolder(); String getTempMediaFolder(); List<String> getCmsClassifications(); int getCmsMediaDisplayWidth(); int getCmsMediaDisplayHeight(); boolean isTranskribusEnabled(); String getTranskribusUserName(); String getTranskribusPassword(); String getTranskribusDefaultCollection(); String getTranskribusRestApiUrl(); List<String> getTranskribusAllowedDocumentTypes(); int getTocIndentation(); boolean isPageBrowseEnabled(); List<Integer> getPageBrowseSteps(); String getTaskManagerServiceUrl(); String getTaskManagerRestUrl(); String getReCaptchaSiteKey(); boolean isUseReCaptcha(); boolean isSearchInItemEnabled(); String getDefaultBrowseIcon(String field); boolean isSearchExcelExportEnabled(); List<String> getSearchExcelExportFields(); int getExcelDownloadTimeout(); boolean isDisplayEmptyTocInSidebar(); boolean isDoublePageModeEnabled(); List<String> getRestrictedImageUrls(); List<String> getIIIFLicenses(); List<String> getIIIFMetadataFields(); List<String> getIIIFEventFields(); String getIIIFMetadataLabel(String field); int getIIIFDiscoveryAvtivitiesPerPage(); List<String> getIIIFLogo(); String getIIIFNavDateField(); List<String> getIIIFAttribution(); List<String> getIIIFDescriptionFields(); String getSitelinksField(); String getSitelinksFilterQuery(); List<String> getConfiguredCollections(); String getWebApiToken(); boolean isAllowRedirectCollectionToWork(); String getTwitterUserName(); float getLimitImageHeightUpperRatioThreshold(); float getLimitImageHeightLowerRatioThreshold(); boolean isLimitImageHeight(); boolean isAddCORSHeader(); String getCORSHeaderValue(); boolean isDiscloseImageContentLocation(); String getAccessConditionDisplayField(); String getCopyrightDisplayField(); boolean isDisplayCopyrightInfo(); boolean isDisplaySocialMediaShareLinks(); boolean isDisplayAnchorLabelInTitleBar(String template); String getAnchorLabelInTitleBarPrefix(String template); String getAnchorLabelInTitleBarSuffix(String template); String getMapBoxToken(); GeoMapMarker getGeoMapMarker(String name); List<String> getGeoMapMarkerFields(); List<GeoMapMarker> getGeoMapMarkers(); static GeoMapMarker readGeoMapMarker(HierarchicalConfiguration config); List<LicenseDescription> getLicenseDescriptions(); }
Configuration extends AbstractConfiguration { public int getPageLoaderThreshold() { return getLocalInt("performance.pageLoaderThreshold", 1000); } Configuration(String configFilePath); Set<String> getStopwords(); boolean reloadingRequired(); String getConfigLocalPath(); String getLocalRessourceBundleFile(); int getViewerThumbnailsPerPage(); int getViewerMaxImageWidth(); int getViewerMaxImageHeight(); int getViewerMaxImageScale(); boolean isRememberImageZoom(); boolean isRememberImageRotation(); String getDfgViewerUrl(); String getConnectorVersionUrl(); List<Metadata> getTitleBarMetadata(); List<Metadata> getSearchHitMetadataForTemplate(String template); List<Metadata> getMainMetadataForTemplate(String template); List<Metadata> getSidebarMetadataForTemplate(String template); List<String> getNormdataFieldsForTemplate(String template); List<Metadata> getTocLabelConfiguration(String template); int getTocAnchorGroupElementsPerPage(); boolean isDisplaySidebarBrowsingTerms(); boolean isDisplaySidebarRssFeed(); boolean isDisplayWidgetUsage(); Metadata getWidgetUsageLicenceTextMetadata(); boolean isDisplaySidebarUsageWidgetLinkToJpegImage(); boolean isDisplaySidebarUsageWidgetLinkToMasterImage(); String getWidgetUsageMaxJpegSize(); String getWidgetUsageMaxMasterImageSize(); List<String> getCalendarDocStructTypes(); boolean isBrowsingMenuEnabled(); int getBrowsingMenuHitsPerPage(); List<BrowsingMenuFieldConfig> getBrowsingMenuFields(); String getBrowsingMenuSortingIgnoreLeadingChars(); String getDocstrctWhitelistFilterQuery(); String getCollectionSplittingChar(String field); List<DcSortingList> getCollectionSorting(String field); List<String> getCollectionBlacklist(String field); String getCollectionDefaultSortField(String field, String name); int getCollectionDisplayNumberOfVolumesLevel(String field); int getCollectionDisplayDepthForSearch(String field); String getCollectionHierarchyField(); boolean isAddCollectionHierarchyToBreadcrumbs(String field); String getSolrUrl(); String getContentServerWrapperUrl(); String getDownloadUrl(); String getRestApiUrl(); String getIIIFApiUrl(); boolean isUseIIIFApiUrlForCmsMediaUrls(); String getContentServerRealUrl(); String getMetsUrl(); String getMarcUrl(); String getDcUrl(); String getEseUrl(); List<Integer> getSearchHitsPerPageValues(); int getSearchHitsPerPageDefaultValue(); int getFulltextFragmentLength(); boolean isAdvancedSearchEnabled(); int getAdvancedSearchDefaultItemNumber(); List<AdvancedSearchFieldConfiguration> getAdvancedSearchFields(); boolean isAggregateHits(); boolean isDisplayAdditionalMetadataEnabled(); List<String> getDisplayAdditionalMetadataIgnoreFields(); List<String> getDisplayAdditionalMetadataTranslateFields(); boolean isAdvancedSearchFieldHierarchical(String field); boolean isAdvancedSearchFieldRange(String field); boolean isAdvancedSearchFieldUntokenizeForPhraseSearch(String field); String getAdvancedSearchFieldSeparatorLabel(String field); boolean isTimelineSearchEnabled(); boolean isCalendarSearchEnabled(); String getStaticQuerySuffix(); String getPreviousVersionIdentifierField(); String getNextVersionIdentifierField(); String getVersionLabelField(); String getIndexedMetsFolder(); String getIndexedLidoFolder(); String getIndexedDenkxwebFolder(); String getIndexedDublinCoreFolder(); String getPageSelectionFormat(); String getMediaFolder(); String getPdfFolder(); String getVocabulariesFolder(); String getOrigContentFolder(); String getCmsTextFolder(); String getAltoFolder(); String getAbbyyFolder(); String getFulltextFolder(); String getTeiFolder(); String getCmdiFolder(); String getWcFolder(); String getAnnotationFolder(); String getHotfolder(); @SuppressWarnings("static-method") String getTempFolder(); boolean isUrnDoRedirect(); boolean isUserRegistrationEnabled(); List<SecurityQuestion> getSecurityQuestions(); boolean isShowOpenIdConnect(); List<IAuthenticationProvider> getAuthenticationProviders(); String getSmtpServer(); String getSmtpUser(); String getSmtpPassword(); String getSmtpSenderAddress(); String getSmtpSenderName(); String getSmtpSecurity(); String getAnonymousUserEmailAddress(); boolean isDisplayCollectionBrowsing(); boolean isDisplayUserNavigation(); boolean isDisplayTagCloudNavigation(); boolean isDisplayStatistics(); boolean isDisplayTimeMatrix(); boolean isDisplayCrowdsourcingModuleLinks(); String getTheme(); String getThemeRootPath(); String getName(); String getDescription(); boolean isDisplayTagCloudStartpage(); boolean isDisplaySearchResultNavigation(); boolean isFoldout(String sidebarElement); boolean isSidebarPageViewLinkVisible(); boolean isSidebarCalendarViewLinkVisible(); boolean isSidebarTocViewLinkVisible(); boolean isSidebarThumbsViewLinkVisible(); boolean isSidebarMetadataViewLinkVisible(); boolean isShowSidebarEventMetadata(); boolean isShowRecordLabelIfNoOtherViews(); boolean isSidebarFulltextLinkVisible(); boolean isSidebarTocWidgetVisible(); boolean isSidebarTocWidgetVisibleInFullscreen(); boolean isSidebarOpacLinkVisible(); boolean getSidebarTocPageNumbersVisible(); int getSidebarTocLengthBeforeCut(); int getSidebarTocInitialCollapseLevel(); int getSidebarTocCollapseLengthThreshold(); int getSidebarTocLowestLevelToCollapseForLength(); boolean isSidebarTocTreeView(); boolean isTocTreeView(String docStructType); List<String> getAllDrillDownFields(); List<String> getDrillDownFields(); List<String> getHierarchicalDrillDownFields(); int getInitialDrillDownElementNumber(String field); String getSortOrder(String field); List<String> getPriorityValuesForDrillDownField(String field); String getLabelFieldForDrillDownField(String facetField); @SuppressWarnings("static-method") List<String> getRangeFacetFields(); boolean isSortingEnabled(); String getDefaultSortField(); List<String> getSortFields(); List<String> getStaticSortFields(); String getUrnResolverUrl(); int getUnconditionalImageAccessMaxWidth(); boolean isFullAccessForLocalhost(); boolean isGeneratePdfInTaskManager(); boolean isPdfApiDisabled(); boolean isTitlePdfEnabled(); boolean isTocPdfEnabled(); boolean isMetadataPdfEnabled(); boolean isPagePdfEnabled(); boolean isDocHierarchyPdfEnabled(); boolean isTitleEpubEnabled(); boolean isTocEpubEnabled(); boolean isMetadataEpubEnabled(); String getDownloadFolder(String type); int getRssFeedItems(); String getRssTitle(); String getRssDescription(); String getRssCopyrightText(); String getRulesetFilePath(); String getDefaultCollection(); int getThumbnailsWidth(); int getThumbnailsHeight(); int getThumbnailsCompression(); String getAnchorThumbnailMode(); int getMultivolumeThumbnailWidth(); int getMultivolumeThumbnailHeight(); boolean getDisplayBreadcrumbs(); boolean getDisplayMetadataPageLinkBlock(); boolean isAddDublinCoreMetaTags(); boolean isAddHighwirePressMetaTags(); int getMetadataParamNumber(); boolean useTiles(); boolean useTilesFullscreen(); boolean useTiles(PageType view, ImageType image); int getFooterHeight(); int getFullscreenFooterHeight(); int getFooterHeight(PageType view, ImageType image); String getImageViewType(); String getZoomFullscreenViewType(); String getZoomImageViewType(PageType view, ImageType image); boolean useOpenSeadragon(); List<String> getImageViewZoomScales(); List<String> getImageViewZoomScales(String view); List<String> getImageViewZoomScales(PageType view, ImageType image); Map<Integer, List<Integer>> getTileSizes(); Map<Integer, List<Integer>> getTileSizes(PageType view, ImageType image); SubnodeConfiguration getZoomImageViewConfig(PageType pageType, ImageType imageType); int getBreadcrumbsClipping(); boolean isDisplayTopstructLabel(); boolean getDisplayStructType(); int getSearchHitMetadataValueNumber(); int getSearchHitMetadataValueLength(); List<String> getWatermarkTextConfiguration(); String getWatermarkFormat(); boolean isOriginalContentDownload(); String getStopwordsFilePath(); String getPageType(PageType type); String getDocstructTargetPageType(String docstruct); String getPageTypeExitView(PageType type); int getFulltextPercentageWarningThreshold(); boolean isUseViewerLocaleAsRecordLanguage(); String getFeedbackEmailAddress(); boolean isBookmarksEnabled(); boolean isForceJpegConversion(); int getPageLoaderThreshold(); boolean isPreventProxyCaching(); boolean isSolrCompressionEnabled(); boolean isSolrBackwardsCompatible(); boolean isUserCommentsEnabled(); String getUserCommentsConditionalQuery(); List<String> getUserCommentsNotificationEmailAddresses(); String getViewerHome(); List<String> getWatermarkIdField(); String getSubthemeMainTheme(); String getSubthemeDiscriminatorField(); int getTagCloudSampleSize(String fieldName); List<StringPair> getTocVolumeSortFieldsForTemplate(String template); String getTocVolumeGroupFieldForTemplate(String template); boolean getDisplayTitleBreadcrumbs(); boolean isDisplayTitlePURL(); int getTitleBreadcrumbsMaxTitleLength(); boolean getIncludeAnchorInTitleBreadcrumbs(); boolean isDisplaySearchRssLinks(); boolean showThumbnailsInToc(); String getStartYearForTimeline(); String getEndYearForTimeline(); String getTimelineHits(); boolean isPiwikTrackingEnabled(); String getPiwikBaseURL(); String getPiwikSiteID(); boolean isSearchSavingEnabled(); boolean isBoostTopLevelDocstructs(); boolean isGroupDuplicateHits(); List<String> getRecordGroupIdentifierFields(); List<String> getAncestorIdentifierFields(); boolean isTocListSiblingRecords(); List<SearchFilter> getSearchFilters(); List<Map<String, String>> getWebApiFields(); String getDbPersistenceUnit(); boolean useCustomNavBar(); String getCmsTemplateFolder(); String getCmsMediaFolder(); String getTempMediaFolder(); List<String> getCmsClassifications(); int getCmsMediaDisplayWidth(); int getCmsMediaDisplayHeight(); boolean isTranskribusEnabled(); String getTranskribusUserName(); String getTranskribusPassword(); String getTranskribusDefaultCollection(); String getTranskribusRestApiUrl(); List<String> getTranskribusAllowedDocumentTypes(); int getTocIndentation(); boolean isPageBrowseEnabled(); List<Integer> getPageBrowseSteps(); String getTaskManagerServiceUrl(); String getTaskManagerRestUrl(); String getReCaptchaSiteKey(); boolean isUseReCaptcha(); boolean isSearchInItemEnabled(); String getDefaultBrowseIcon(String field); boolean isSearchExcelExportEnabled(); List<String> getSearchExcelExportFields(); int getExcelDownloadTimeout(); boolean isDisplayEmptyTocInSidebar(); boolean isDoublePageModeEnabled(); List<String> getRestrictedImageUrls(); List<String> getIIIFLicenses(); List<String> getIIIFMetadataFields(); List<String> getIIIFEventFields(); String getIIIFMetadataLabel(String field); int getIIIFDiscoveryAvtivitiesPerPage(); List<String> getIIIFLogo(); String getIIIFNavDateField(); List<String> getIIIFAttribution(); List<String> getIIIFDescriptionFields(); String getSitelinksField(); String getSitelinksFilterQuery(); List<String> getConfiguredCollections(); String getWebApiToken(); boolean isAllowRedirectCollectionToWork(); String getTwitterUserName(); float getLimitImageHeightUpperRatioThreshold(); float getLimitImageHeightLowerRatioThreshold(); boolean isLimitImageHeight(); boolean isAddCORSHeader(); String getCORSHeaderValue(); boolean isDiscloseImageContentLocation(); String getAccessConditionDisplayField(); String getCopyrightDisplayField(); boolean isDisplayCopyrightInfo(); boolean isDisplaySocialMediaShareLinks(); boolean isDisplayAnchorLabelInTitleBar(String template); String getAnchorLabelInTitleBarPrefix(String template); String getAnchorLabelInTitleBarSuffix(String template); String getMapBoxToken(); GeoMapMarker getGeoMapMarker(String name); List<String> getGeoMapMarkerFields(); List<GeoMapMarker> getGeoMapMarkers(); static GeoMapMarker readGeoMapMarker(HierarchicalConfiguration config); List<LicenseDescription> getLicenseDescriptions(); }
@Test public void getPageType_shouldReturnTheCorrectValueForTheGivenType() throws Exception { Assert.assertEquals("viewImage_value", DataManager.getInstance().getConfiguration().getPageType(PageType.viewImage)); }
public String getPageType(PageType type) { return getLocalString("viewer.pageTypes." + type.name()); }
Configuration extends AbstractConfiguration { public String getPageType(PageType type) { return getLocalString("viewer.pageTypes." + type.name()); } }
Configuration extends AbstractConfiguration { public String getPageType(PageType type) { return getLocalString("viewer.pageTypes." + type.name()); } Configuration(String configFilePath); }
Configuration extends AbstractConfiguration { public String getPageType(PageType type) { return getLocalString("viewer.pageTypes." + type.name()); } Configuration(String configFilePath); Set<String> getStopwords(); boolean reloadingRequired(); String getConfigLocalPath(); String getLocalRessourceBundleFile(); int getViewerThumbnailsPerPage(); int getViewerMaxImageWidth(); int getViewerMaxImageHeight(); int getViewerMaxImageScale(); boolean isRememberImageZoom(); boolean isRememberImageRotation(); String getDfgViewerUrl(); String getConnectorVersionUrl(); List<Metadata> getTitleBarMetadata(); List<Metadata> getSearchHitMetadataForTemplate(String template); List<Metadata> getMainMetadataForTemplate(String template); List<Metadata> getSidebarMetadataForTemplate(String template); List<String> getNormdataFieldsForTemplate(String template); List<Metadata> getTocLabelConfiguration(String template); int getTocAnchorGroupElementsPerPage(); boolean isDisplaySidebarBrowsingTerms(); boolean isDisplaySidebarRssFeed(); boolean isDisplayWidgetUsage(); Metadata getWidgetUsageLicenceTextMetadata(); boolean isDisplaySidebarUsageWidgetLinkToJpegImage(); boolean isDisplaySidebarUsageWidgetLinkToMasterImage(); String getWidgetUsageMaxJpegSize(); String getWidgetUsageMaxMasterImageSize(); List<String> getCalendarDocStructTypes(); boolean isBrowsingMenuEnabled(); int getBrowsingMenuHitsPerPage(); List<BrowsingMenuFieldConfig> getBrowsingMenuFields(); String getBrowsingMenuSortingIgnoreLeadingChars(); String getDocstrctWhitelistFilterQuery(); String getCollectionSplittingChar(String field); List<DcSortingList> getCollectionSorting(String field); List<String> getCollectionBlacklist(String field); String getCollectionDefaultSortField(String field, String name); int getCollectionDisplayNumberOfVolumesLevel(String field); int getCollectionDisplayDepthForSearch(String field); String getCollectionHierarchyField(); boolean isAddCollectionHierarchyToBreadcrumbs(String field); String getSolrUrl(); String getContentServerWrapperUrl(); String getDownloadUrl(); String getRestApiUrl(); String getIIIFApiUrl(); boolean isUseIIIFApiUrlForCmsMediaUrls(); String getContentServerRealUrl(); String getMetsUrl(); String getMarcUrl(); String getDcUrl(); String getEseUrl(); List<Integer> getSearchHitsPerPageValues(); int getSearchHitsPerPageDefaultValue(); int getFulltextFragmentLength(); boolean isAdvancedSearchEnabled(); int getAdvancedSearchDefaultItemNumber(); List<AdvancedSearchFieldConfiguration> getAdvancedSearchFields(); boolean isAggregateHits(); boolean isDisplayAdditionalMetadataEnabled(); List<String> getDisplayAdditionalMetadataIgnoreFields(); List<String> getDisplayAdditionalMetadataTranslateFields(); boolean isAdvancedSearchFieldHierarchical(String field); boolean isAdvancedSearchFieldRange(String field); boolean isAdvancedSearchFieldUntokenizeForPhraseSearch(String field); String getAdvancedSearchFieldSeparatorLabel(String field); boolean isTimelineSearchEnabled(); boolean isCalendarSearchEnabled(); String getStaticQuerySuffix(); String getPreviousVersionIdentifierField(); String getNextVersionIdentifierField(); String getVersionLabelField(); String getIndexedMetsFolder(); String getIndexedLidoFolder(); String getIndexedDenkxwebFolder(); String getIndexedDublinCoreFolder(); String getPageSelectionFormat(); String getMediaFolder(); String getPdfFolder(); String getVocabulariesFolder(); String getOrigContentFolder(); String getCmsTextFolder(); String getAltoFolder(); String getAbbyyFolder(); String getFulltextFolder(); String getTeiFolder(); String getCmdiFolder(); String getWcFolder(); String getAnnotationFolder(); String getHotfolder(); @SuppressWarnings("static-method") String getTempFolder(); boolean isUrnDoRedirect(); boolean isUserRegistrationEnabled(); List<SecurityQuestion> getSecurityQuestions(); boolean isShowOpenIdConnect(); List<IAuthenticationProvider> getAuthenticationProviders(); String getSmtpServer(); String getSmtpUser(); String getSmtpPassword(); String getSmtpSenderAddress(); String getSmtpSenderName(); String getSmtpSecurity(); String getAnonymousUserEmailAddress(); boolean isDisplayCollectionBrowsing(); boolean isDisplayUserNavigation(); boolean isDisplayTagCloudNavigation(); boolean isDisplayStatistics(); boolean isDisplayTimeMatrix(); boolean isDisplayCrowdsourcingModuleLinks(); String getTheme(); String getThemeRootPath(); String getName(); String getDescription(); boolean isDisplayTagCloudStartpage(); boolean isDisplaySearchResultNavigation(); boolean isFoldout(String sidebarElement); boolean isSidebarPageViewLinkVisible(); boolean isSidebarCalendarViewLinkVisible(); boolean isSidebarTocViewLinkVisible(); boolean isSidebarThumbsViewLinkVisible(); boolean isSidebarMetadataViewLinkVisible(); boolean isShowSidebarEventMetadata(); boolean isShowRecordLabelIfNoOtherViews(); boolean isSidebarFulltextLinkVisible(); boolean isSidebarTocWidgetVisible(); boolean isSidebarTocWidgetVisibleInFullscreen(); boolean isSidebarOpacLinkVisible(); boolean getSidebarTocPageNumbersVisible(); int getSidebarTocLengthBeforeCut(); int getSidebarTocInitialCollapseLevel(); int getSidebarTocCollapseLengthThreshold(); int getSidebarTocLowestLevelToCollapseForLength(); boolean isSidebarTocTreeView(); boolean isTocTreeView(String docStructType); List<String> getAllDrillDownFields(); List<String> getDrillDownFields(); List<String> getHierarchicalDrillDownFields(); int getInitialDrillDownElementNumber(String field); String getSortOrder(String field); List<String> getPriorityValuesForDrillDownField(String field); String getLabelFieldForDrillDownField(String facetField); @SuppressWarnings("static-method") List<String> getRangeFacetFields(); boolean isSortingEnabled(); String getDefaultSortField(); List<String> getSortFields(); List<String> getStaticSortFields(); String getUrnResolverUrl(); int getUnconditionalImageAccessMaxWidth(); boolean isFullAccessForLocalhost(); boolean isGeneratePdfInTaskManager(); boolean isPdfApiDisabled(); boolean isTitlePdfEnabled(); boolean isTocPdfEnabled(); boolean isMetadataPdfEnabled(); boolean isPagePdfEnabled(); boolean isDocHierarchyPdfEnabled(); boolean isTitleEpubEnabled(); boolean isTocEpubEnabled(); boolean isMetadataEpubEnabled(); String getDownloadFolder(String type); int getRssFeedItems(); String getRssTitle(); String getRssDescription(); String getRssCopyrightText(); String getRulesetFilePath(); String getDefaultCollection(); int getThumbnailsWidth(); int getThumbnailsHeight(); int getThumbnailsCompression(); String getAnchorThumbnailMode(); int getMultivolumeThumbnailWidth(); int getMultivolumeThumbnailHeight(); boolean getDisplayBreadcrumbs(); boolean getDisplayMetadataPageLinkBlock(); boolean isAddDublinCoreMetaTags(); boolean isAddHighwirePressMetaTags(); int getMetadataParamNumber(); boolean useTiles(); boolean useTilesFullscreen(); boolean useTiles(PageType view, ImageType image); int getFooterHeight(); int getFullscreenFooterHeight(); int getFooterHeight(PageType view, ImageType image); String getImageViewType(); String getZoomFullscreenViewType(); String getZoomImageViewType(PageType view, ImageType image); boolean useOpenSeadragon(); List<String> getImageViewZoomScales(); List<String> getImageViewZoomScales(String view); List<String> getImageViewZoomScales(PageType view, ImageType image); Map<Integer, List<Integer>> getTileSizes(); Map<Integer, List<Integer>> getTileSizes(PageType view, ImageType image); SubnodeConfiguration getZoomImageViewConfig(PageType pageType, ImageType imageType); int getBreadcrumbsClipping(); boolean isDisplayTopstructLabel(); boolean getDisplayStructType(); int getSearchHitMetadataValueNumber(); int getSearchHitMetadataValueLength(); List<String> getWatermarkTextConfiguration(); String getWatermarkFormat(); boolean isOriginalContentDownload(); String getStopwordsFilePath(); String getPageType(PageType type); String getDocstructTargetPageType(String docstruct); String getPageTypeExitView(PageType type); int getFulltextPercentageWarningThreshold(); boolean isUseViewerLocaleAsRecordLanguage(); String getFeedbackEmailAddress(); boolean isBookmarksEnabled(); boolean isForceJpegConversion(); int getPageLoaderThreshold(); boolean isPreventProxyCaching(); boolean isSolrCompressionEnabled(); boolean isSolrBackwardsCompatible(); boolean isUserCommentsEnabled(); String getUserCommentsConditionalQuery(); List<String> getUserCommentsNotificationEmailAddresses(); String getViewerHome(); List<String> getWatermarkIdField(); String getSubthemeMainTheme(); String getSubthemeDiscriminatorField(); int getTagCloudSampleSize(String fieldName); List<StringPair> getTocVolumeSortFieldsForTemplate(String template); String getTocVolumeGroupFieldForTemplate(String template); boolean getDisplayTitleBreadcrumbs(); boolean isDisplayTitlePURL(); int getTitleBreadcrumbsMaxTitleLength(); boolean getIncludeAnchorInTitleBreadcrumbs(); boolean isDisplaySearchRssLinks(); boolean showThumbnailsInToc(); String getStartYearForTimeline(); String getEndYearForTimeline(); String getTimelineHits(); boolean isPiwikTrackingEnabled(); String getPiwikBaseURL(); String getPiwikSiteID(); boolean isSearchSavingEnabled(); boolean isBoostTopLevelDocstructs(); boolean isGroupDuplicateHits(); List<String> getRecordGroupIdentifierFields(); List<String> getAncestorIdentifierFields(); boolean isTocListSiblingRecords(); List<SearchFilter> getSearchFilters(); List<Map<String, String>> getWebApiFields(); String getDbPersistenceUnit(); boolean useCustomNavBar(); String getCmsTemplateFolder(); String getCmsMediaFolder(); String getTempMediaFolder(); List<String> getCmsClassifications(); int getCmsMediaDisplayWidth(); int getCmsMediaDisplayHeight(); boolean isTranskribusEnabled(); String getTranskribusUserName(); String getTranskribusPassword(); String getTranskribusDefaultCollection(); String getTranskribusRestApiUrl(); List<String> getTranskribusAllowedDocumentTypes(); int getTocIndentation(); boolean isPageBrowseEnabled(); List<Integer> getPageBrowseSteps(); String getTaskManagerServiceUrl(); String getTaskManagerRestUrl(); String getReCaptchaSiteKey(); boolean isUseReCaptcha(); boolean isSearchInItemEnabled(); String getDefaultBrowseIcon(String field); boolean isSearchExcelExportEnabled(); List<String> getSearchExcelExportFields(); int getExcelDownloadTimeout(); boolean isDisplayEmptyTocInSidebar(); boolean isDoublePageModeEnabled(); List<String> getRestrictedImageUrls(); List<String> getIIIFLicenses(); List<String> getIIIFMetadataFields(); List<String> getIIIFEventFields(); String getIIIFMetadataLabel(String field); int getIIIFDiscoveryAvtivitiesPerPage(); List<String> getIIIFLogo(); String getIIIFNavDateField(); List<String> getIIIFAttribution(); List<String> getIIIFDescriptionFields(); String getSitelinksField(); String getSitelinksFilterQuery(); List<String> getConfiguredCollections(); String getWebApiToken(); boolean isAllowRedirectCollectionToWork(); String getTwitterUserName(); float getLimitImageHeightUpperRatioThreshold(); float getLimitImageHeightLowerRatioThreshold(); boolean isLimitImageHeight(); boolean isAddCORSHeader(); String getCORSHeaderValue(); boolean isDiscloseImageContentLocation(); String getAccessConditionDisplayField(); String getCopyrightDisplayField(); boolean isDisplayCopyrightInfo(); boolean isDisplaySocialMediaShareLinks(); boolean isDisplayAnchorLabelInTitleBar(String template); String getAnchorLabelInTitleBarPrefix(String template); String getAnchorLabelInTitleBarSuffix(String template); String getMapBoxToken(); GeoMapMarker getGeoMapMarker(String name); List<String> getGeoMapMarkerFields(); List<GeoMapMarker> getGeoMapMarkers(); static GeoMapMarker readGeoMapMarker(HierarchicalConfiguration config); List<LicenseDescription> getLicenseDescriptions(); }
Configuration extends AbstractConfiguration { public String getPageType(PageType type) { return getLocalString("viewer.pageTypes." + type.name()); } Configuration(String configFilePath); Set<String> getStopwords(); boolean reloadingRequired(); String getConfigLocalPath(); String getLocalRessourceBundleFile(); int getViewerThumbnailsPerPage(); int getViewerMaxImageWidth(); int getViewerMaxImageHeight(); int getViewerMaxImageScale(); boolean isRememberImageZoom(); boolean isRememberImageRotation(); String getDfgViewerUrl(); String getConnectorVersionUrl(); List<Metadata> getTitleBarMetadata(); List<Metadata> getSearchHitMetadataForTemplate(String template); List<Metadata> getMainMetadataForTemplate(String template); List<Metadata> getSidebarMetadataForTemplate(String template); List<String> getNormdataFieldsForTemplate(String template); List<Metadata> getTocLabelConfiguration(String template); int getTocAnchorGroupElementsPerPage(); boolean isDisplaySidebarBrowsingTerms(); boolean isDisplaySidebarRssFeed(); boolean isDisplayWidgetUsage(); Metadata getWidgetUsageLicenceTextMetadata(); boolean isDisplaySidebarUsageWidgetLinkToJpegImage(); boolean isDisplaySidebarUsageWidgetLinkToMasterImage(); String getWidgetUsageMaxJpegSize(); String getWidgetUsageMaxMasterImageSize(); List<String> getCalendarDocStructTypes(); boolean isBrowsingMenuEnabled(); int getBrowsingMenuHitsPerPage(); List<BrowsingMenuFieldConfig> getBrowsingMenuFields(); String getBrowsingMenuSortingIgnoreLeadingChars(); String getDocstrctWhitelistFilterQuery(); String getCollectionSplittingChar(String field); List<DcSortingList> getCollectionSorting(String field); List<String> getCollectionBlacklist(String field); String getCollectionDefaultSortField(String field, String name); int getCollectionDisplayNumberOfVolumesLevel(String field); int getCollectionDisplayDepthForSearch(String field); String getCollectionHierarchyField(); boolean isAddCollectionHierarchyToBreadcrumbs(String field); String getSolrUrl(); String getContentServerWrapperUrl(); String getDownloadUrl(); String getRestApiUrl(); String getIIIFApiUrl(); boolean isUseIIIFApiUrlForCmsMediaUrls(); String getContentServerRealUrl(); String getMetsUrl(); String getMarcUrl(); String getDcUrl(); String getEseUrl(); List<Integer> getSearchHitsPerPageValues(); int getSearchHitsPerPageDefaultValue(); int getFulltextFragmentLength(); boolean isAdvancedSearchEnabled(); int getAdvancedSearchDefaultItemNumber(); List<AdvancedSearchFieldConfiguration> getAdvancedSearchFields(); boolean isAggregateHits(); boolean isDisplayAdditionalMetadataEnabled(); List<String> getDisplayAdditionalMetadataIgnoreFields(); List<String> getDisplayAdditionalMetadataTranslateFields(); boolean isAdvancedSearchFieldHierarchical(String field); boolean isAdvancedSearchFieldRange(String field); boolean isAdvancedSearchFieldUntokenizeForPhraseSearch(String field); String getAdvancedSearchFieldSeparatorLabel(String field); boolean isTimelineSearchEnabled(); boolean isCalendarSearchEnabled(); String getStaticQuerySuffix(); String getPreviousVersionIdentifierField(); String getNextVersionIdentifierField(); String getVersionLabelField(); String getIndexedMetsFolder(); String getIndexedLidoFolder(); String getIndexedDenkxwebFolder(); String getIndexedDublinCoreFolder(); String getPageSelectionFormat(); String getMediaFolder(); String getPdfFolder(); String getVocabulariesFolder(); String getOrigContentFolder(); String getCmsTextFolder(); String getAltoFolder(); String getAbbyyFolder(); String getFulltextFolder(); String getTeiFolder(); String getCmdiFolder(); String getWcFolder(); String getAnnotationFolder(); String getHotfolder(); @SuppressWarnings("static-method") String getTempFolder(); boolean isUrnDoRedirect(); boolean isUserRegistrationEnabled(); List<SecurityQuestion> getSecurityQuestions(); boolean isShowOpenIdConnect(); List<IAuthenticationProvider> getAuthenticationProviders(); String getSmtpServer(); String getSmtpUser(); String getSmtpPassword(); String getSmtpSenderAddress(); String getSmtpSenderName(); String getSmtpSecurity(); String getAnonymousUserEmailAddress(); boolean isDisplayCollectionBrowsing(); boolean isDisplayUserNavigation(); boolean isDisplayTagCloudNavigation(); boolean isDisplayStatistics(); boolean isDisplayTimeMatrix(); boolean isDisplayCrowdsourcingModuleLinks(); String getTheme(); String getThemeRootPath(); String getName(); String getDescription(); boolean isDisplayTagCloudStartpage(); boolean isDisplaySearchResultNavigation(); boolean isFoldout(String sidebarElement); boolean isSidebarPageViewLinkVisible(); boolean isSidebarCalendarViewLinkVisible(); boolean isSidebarTocViewLinkVisible(); boolean isSidebarThumbsViewLinkVisible(); boolean isSidebarMetadataViewLinkVisible(); boolean isShowSidebarEventMetadata(); boolean isShowRecordLabelIfNoOtherViews(); boolean isSidebarFulltextLinkVisible(); boolean isSidebarTocWidgetVisible(); boolean isSidebarTocWidgetVisibleInFullscreen(); boolean isSidebarOpacLinkVisible(); boolean getSidebarTocPageNumbersVisible(); int getSidebarTocLengthBeforeCut(); int getSidebarTocInitialCollapseLevel(); int getSidebarTocCollapseLengthThreshold(); int getSidebarTocLowestLevelToCollapseForLength(); boolean isSidebarTocTreeView(); boolean isTocTreeView(String docStructType); List<String> getAllDrillDownFields(); List<String> getDrillDownFields(); List<String> getHierarchicalDrillDownFields(); int getInitialDrillDownElementNumber(String field); String getSortOrder(String field); List<String> getPriorityValuesForDrillDownField(String field); String getLabelFieldForDrillDownField(String facetField); @SuppressWarnings("static-method") List<String> getRangeFacetFields(); boolean isSortingEnabled(); String getDefaultSortField(); List<String> getSortFields(); List<String> getStaticSortFields(); String getUrnResolverUrl(); int getUnconditionalImageAccessMaxWidth(); boolean isFullAccessForLocalhost(); boolean isGeneratePdfInTaskManager(); boolean isPdfApiDisabled(); boolean isTitlePdfEnabled(); boolean isTocPdfEnabled(); boolean isMetadataPdfEnabled(); boolean isPagePdfEnabled(); boolean isDocHierarchyPdfEnabled(); boolean isTitleEpubEnabled(); boolean isTocEpubEnabled(); boolean isMetadataEpubEnabled(); String getDownloadFolder(String type); int getRssFeedItems(); String getRssTitle(); String getRssDescription(); String getRssCopyrightText(); String getRulesetFilePath(); String getDefaultCollection(); int getThumbnailsWidth(); int getThumbnailsHeight(); int getThumbnailsCompression(); String getAnchorThumbnailMode(); int getMultivolumeThumbnailWidth(); int getMultivolumeThumbnailHeight(); boolean getDisplayBreadcrumbs(); boolean getDisplayMetadataPageLinkBlock(); boolean isAddDublinCoreMetaTags(); boolean isAddHighwirePressMetaTags(); int getMetadataParamNumber(); boolean useTiles(); boolean useTilesFullscreen(); boolean useTiles(PageType view, ImageType image); int getFooterHeight(); int getFullscreenFooterHeight(); int getFooterHeight(PageType view, ImageType image); String getImageViewType(); String getZoomFullscreenViewType(); String getZoomImageViewType(PageType view, ImageType image); boolean useOpenSeadragon(); List<String> getImageViewZoomScales(); List<String> getImageViewZoomScales(String view); List<String> getImageViewZoomScales(PageType view, ImageType image); Map<Integer, List<Integer>> getTileSizes(); Map<Integer, List<Integer>> getTileSizes(PageType view, ImageType image); SubnodeConfiguration getZoomImageViewConfig(PageType pageType, ImageType imageType); int getBreadcrumbsClipping(); boolean isDisplayTopstructLabel(); boolean getDisplayStructType(); int getSearchHitMetadataValueNumber(); int getSearchHitMetadataValueLength(); List<String> getWatermarkTextConfiguration(); String getWatermarkFormat(); boolean isOriginalContentDownload(); String getStopwordsFilePath(); String getPageType(PageType type); String getDocstructTargetPageType(String docstruct); String getPageTypeExitView(PageType type); int getFulltextPercentageWarningThreshold(); boolean isUseViewerLocaleAsRecordLanguage(); String getFeedbackEmailAddress(); boolean isBookmarksEnabled(); boolean isForceJpegConversion(); int getPageLoaderThreshold(); boolean isPreventProxyCaching(); boolean isSolrCompressionEnabled(); boolean isSolrBackwardsCompatible(); boolean isUserCommentsEnabled(); String getUserCommentsConditionalQuery(); List<String> getUserCommentsNotificationEmailAddresses(); String getViewerHome(); List<String> getWatermarkIdField(); String getSubthemeMainTheme(); String getSubthemeDiscriminatorField(); int getTagCloudSampleSize(String fieldName); List<StringPair> getTocVolumeSortFieldsForTemplate(String template); String getTocVolumeGroupFieldForTemplate(String template); boolean getDisplayTitleBreadcrumbs(); boolean isDisplayTitlePURL(); int getTitleBreadcrumbsMaxTitleLength(); boolean getIncludeAnchorInTitleBreadcrumbs(); boolean isDisplaySearchRssLinks(); boolean showThumbnailsInToc(); String getStartYearForTimeline(); String getEndYearForTimeline(); String getTimelineHits(); boolean isPiwikTrackingEnabled(); String getPiwikBaseURL(); String getPiwikSiteID(); boolean isSearchSavingEnabled(); boolean isBoostTopLevelDocstructs(); boolean isGroupDuplicateHits(); List<String> getRecordGroupIdentifierFields(); List<String> getAncestorIdentifierFields(); boolean isTocListSiblingRecords(); List<SearchFilter> getSearchFilters(); List<Map<String, String>> getWebApiFields(); String getDbPersistenceUnit(); boolean useCustomNavBar(); String getCmsTemplateFolder(); String getCmsMediaFolder(); String getTempMediaFolder(); List<String> getCmsClassifications(); int getCmsMediaDisplayWidth(); int getCmsMediaDisplayHeight(); boolean isTranskribusEnabled(); String getTranskribusUserName(); String getTranskribusPassword(); String getTranskribusDefaultCollection(); String getTranskribusRestApiUrl(); List<String> getTranskribusAllowedDocumentTypes(); int getTocIndentation(); boolean isPageBrowseEnabled(); List<Integer> getPageBrowseSteps(); String getTaskManagerServiceUrl(); String getTaskManagerRestUrl(); String getReCaptchaSiteKey(); boolean isUseReCaptcha(); boolean isSearchInItemEnabled(); String getDefaultBrowseIcon(String field); boolean isSearchExcelExportEnabled(); List<String> getSearchExcelExportFields(); int getExcelDownloadTimeout(); boolean isDisplayEmptyTocInSidebar(); boolean isDoublePageModeEnabled(); List<String> getRestrictedImageUrls(); List<String> getIIIFLicenses(); List<String> getIIIFMetadataFields(); List<String> getIIIFEventFields(); String getIIIFMetadataLabel(String field); int getIIIFDiscoveryAvtivitiesPerPage(); List<String> getIIIFLogo(); String getIIIFNavDateField(); List<String> getIIIFAttribution(); List<String> getIIIFDescriptionFields(); String getSitelinksField(); String getSitelinksFilterQuery(); List<String> getConfiguredCollections(); String getWebApiToken(); boolean isAllowRedirectCollectionToWork(); String getTwitterUserName(); float getLimitImageHeightUpperRatioThreshold(); float getLimitImageHeightLowerRatioThreshold(); boolean isLimitImageHeight(); boolean isAddCORSHeader(); String getCORSHeaderValue(); boolean isDiscloseImageContentLocation(); String getAccessConditionDisplayField(); String getCopyrightDisplayField(); boolean isDisplayCopyrightInfo(); boolean isDisplaySocialMediaShareLinks(); boolean isDisplayAnchorLabelInTitleBar(String template); String getAnchorLabelInTitleBarPrefix(String template); String getAnchorLabelInTitleBarSuffix(String template); String getMapBoxToken(); GeoMapMarker getGeoMapMarker(String name); List<String> getGeoMapMarkerFields(); List<GeoMapMarker> getGeoMapMarkers(); static GeoMapMarker readGeoMapMarker(HierarchicalConfiguration config); List<LicenseDescription> getLicenseDescriptions(); }
@Test public void getRssCopyrightText_shouldReturnCorrectValue() throws Exception { Assert.assertEquals("copyright_value", DataManager.getInstance().getConfiguration().getRssCopyrightText()); }
public String getRssCopyrightText() { return getLocalString("rss.copyright"); }
Configuration extends AbstractConfiguration { public String getRssCopyrightText() { return getLocalString("rss.copyright"); } }
Configuration extends AbstractConfiguration { public String getRssCopyrightText() { return getLocalString("rss.copyright"); } Configuration(String configFilePath); }
Configuration extends AbstractConfiguration { public String getRssCopyrightText() { return getLocalString("rss.copyright"); } Configuration(String configFilePath); Set<String> getStopwords(); boolean reloadingRequired(); String getConfigLocalPath(); String getLocalRessourceBundleFile(); int getViewerThumbnailsPerPage(); int getViewerMaxImageWidth(); int getViewerMaxImageHeight(); int getViewerMaxImageScale(); boolean isRememberImageZoom(); boolean isRememberImageRotation(); String getDfgViewerUrl(); String getConnectorVersionUrl(); List<Metadata> getTitleBarMetadata(); List<Metadata> getSearchHitMetadataForTemplate(String template); List<Metadata> getMainMetadataForTemplate(String template); List<Metadata> getSidebarMetadataForTemplate(String template); List<String> getNormdataFieldsForTemplate(String template); List<Metadata> getTocLabelConfiguration(String template); int getTocAnchorGroupElementsPerPage(); boolean isDisplaySidebarBrowsingTerms(); boolean isDisplaySidebarRssFeed(); boolean isDisplayWidgetUsage(); Metadata getWidgetUsageLicenceTextMetadata(); boolean isDisplaySidebarUsageWidgetLinkToJpegImage(); boolean isDisplaySidebarUsageWidgetLinkToMasterImage(); String getWidgetUsageMaxJpegSize(); String getWidgetUsageMaxMasterImageSize(); List<String> getCalendarDocStructTypes(); boolean isBrowsingMenuEnabled(); int getBrowsingMenuHitsPerPage(); List<BrowsingMenuFieldConfig> getBrowsingMenuFields(); String getBrowsingMenuSortingIgnoreLeadingChars(); String getDocstrctWhitelistFilterQuery(); String getCollectionSplittingChar(String field); List<DcSortingList> getCollectionSorting(String field); List<String> getCollectionBlacklist(String field); String getCollectionDefaultSortField(String field, String name); int getCollectionDisplayNumberOfVolumesLevel(String field); int getCollectionDisplayDepthForSearch(String field); String getCollectionHierarchyField(); boolean isAddCollectionHierarchyToBreadcrumbs(String field); String getSolrUrl(); String getContentServerWrapperUrl(); String getDownloadUrl(); String getRestApiUrl(); String getIIIFApiUrl(); boolean isUseIIIFApiUrlForCmsMediaUrls(); String getContentServerRealUrl(); String getMetsUrl(); String getMarcUrl(); String getDcUrl(); String getEseUrl(); List<Integer> getSearchHitsPerPageValues(); int getSearchHitsPerPageDefaultValue(); int getFulltextFragmentLength(); boolean isAdvancedSearchEnabled(); int getAdvancedSearchDefaultItemNumber(); List<AdvancedSearchFieldConfiguration> getAdvancedSearchFields(); boolean isAggregateHits(); boolean isDisplayAdditionalMetadataEnabled(); List<String> getDisplayAdditionalMetadataIgnoreFields(); List<String> getDisplayAdditionalMetadataTranslateFields(); boolean isAdvancedSearchFieldHierarchical(String field); boolean isAdvancedSearchFieldRange(String field); boolean isAdvancedSearchFieldUntokenizeForPhraseSearch(String field); String getAdvancedSearchFieldSeparatorLabel(String field); boolean isTimelineSearchEnabled(); boolean isCalendarSearchEnabled(); String getStaticQuerySuffix(); String getPreviousVersionIdentifierField(); String getNextVersionIdentifierField(); String getVersionLabelField(); String getIndexedMetsFolder(); String getIndexedLidoFolder(); String getIndexedDenkxwebFolder(); String getIndexedDublinCoreFolder(); String getPageSelectionFormat(); String getMediaFolder(); String getPdfFolder(); String getVocabulariesFolder(); String getOrigContentFolder(); String getCmsTextFolder(); String getAltoFolder(); String getAbbyyFolder(); String getFulltextFolder(); String getTeiFolder(); String getCmdiFolder(); String getWcFolder(); String getAnnotationFolder(); String getHotfolder(); @SuppressWarnings("static-method") String getTempFolder(); boolean isUrnDoRedirect(); boolean isUserRegistrationEnabled(); List<SecurityQuestion> getSecurityQuestions(); boolean isShowOpenIdConnect(); List<IAuthenticationProvider> getAuthenticationProviders(); String getSmtpServer(); String getSmtpUser(); String getSmtpPassword(); String getSmtpSenderAddress(); String getSmtpSenderName(); String getSmtpSecurity(); String getAnonymousUserEmailAddress(); boolean isDisplayCollectionBrowsing(); boolean isDisplayUserNavigation(); boolean isDisplayTagCloudNavigation(); boolean isDisplayStatistics(); boolean isDisplayTimeMatrix(); boolean isDisplayCrowdsourcingModuleLinks(); String getTheme(); String getThemeRootPath(); String getName(); String getDescription(); boolean isDisplayTagCloudStartpage(); boolean isDisplaySearchResultNavigation(); boolean isFoldout(String sidebarElement); boolean isSidebarPageViewLinkVisible(); boolean isSidebarCalendarViewLinkVisible(); boolean isSidebarTocViewLinkVisible(); boolean isSidebarThumbsViewLinkVisible(); boolean isSidebarMetadataViewLinkVisible(); boolean isShowSidebarEventMetadata(); boolean isShowRecordLabelIfNoOtherViews(); boolean isSidebarFulltextLinkVisible(); boolean isSidebarTocWidgetVisible(); boolean isSidebarTocWidgetVisibleInFullscreen(); boolean isSidebarOpacLinkVisible(); boolean getSidebarTocPageNumbersVisible(); int getSidebarTocLengthBeforeCut(); int getSidebarTocInitialCollapseLevel(); int getSidebarTocCollapseLengthThreshold(); int getSidebarTocLowestLevelToCollapseForLength(); boolean isSidebarTocTreeView(); boolean isTocTreeView(String docStructType); List<String> getAllDrillDownFields(); List<String> getDrillDownFields(); List<String> getHierarchicalDrillDownFields(); int getInitialDrillDownElementNumber(String field); String getSortOrder(String field); List<String> getPriorityValuesForDrillDownField(String field); String getLabelFieldForDrillDownField(String facetField); @SuppressWarnings("static-method") List<String> getRangeFacetFields(); boolean isSortingEnabled(); String getDefaultSortField(); List<String> getSortFields(); List<String> getStaticSortFields(); String getUrnResolverUrl(); int getUnconditionalImageAccessMaxWidth(); boolean isFullAccessForLocalhost(); boolean isGeneratePdfInTaskManager(); boolean isPdfApiDisabled(); boolean isTitlePdfEnabled(); boolean isTocPdfEnabled(); boolean isMetadataPdfEnabled(); boolean isPagePdfEnabled(); boolean isDocHierarchyPdfEnabled(); boolean isTitleEpubEnabled(); boolean isTocEpubEnabled(); boolean isMetadataEpubEnabled(); String getDownloadFolder(String type); int getRssFeedItems(); String getRssTitle(); String getRssDescription(); String getRssCopyrightText(); String getRulesetFilePath(); String getDefaultCollection(); int getThumbnailsWidth(); int getThumbnailsHeight(); int getThumbnailsCompression(); String getAnchorThumbnailMode(); int getMultivolumeThumbnailWidth(); int getMultivolumeThumbnailHeight(); boolean getDisplayBreadcrumbs(); boolean getDisplayMetadataPageLinkBlock(); boolean isAddDublinCoreMetaTags(); boolean isAddHighwirePressMetaTags(); int getMetadataParamNumber(); boolean useTiles(); boolean useTilesFullscreen(); boolean useTiles(PageType view, ImageType image); int getFooterHeight(); int getFullscreenFooterHeight(); int getFooterHeight(PageType view, ImageType image); String getImageViewType(); String getZoomFullscreenViewType(); String getZoomImageViewType(PageType view, ImageType image); boolean useOpenSeadragon(); List<String> getImageViewZoomScales(); List<String> getImageViewZoomScales(String view); List<String> getImageViewZoomScales(PageType view, ImageType image); Map<Integer, List<Integer>> getTileSizes(); Map<Integer, List<Integer>> getTileSizes(PageType view, ImageType image); SubnodeConfiguration getZoomImageViewConfig(PageType pageType, ImageType imageType); int getBreadcrumbsClipping(); boolean isDisplayTopstructLabel(); boolean getDisplayStructType(); int getSearchHitMetadataValueNumber(); int getSearchHitMetadataValueLength(); List<String> getWatermarkTextConfiguration(); String getWatermarkFormat(); boolean isOriginalContentDownload(); String getStopwordsFilePath(); String getPageType(PageType type); String getDocstructTargetPageType(String docstruct); String getPageTypeExitView(PageType type); int getFulltextPercentageWarningThreshold(); boolean isUseViewerLocaleAsRecordLanguage(); String getFeedbackEmailAddress(); boolean isBookmarksEnabled(); boolean isForceJpegConversion(); int getPageLoaderThreshold(); boolean isPreventProxyCaching(); boolean isSolrCompressionEnabled(); boolean isSolrBackwardsCompatible(); boolean isUserCommentsEnabled(); String getUserCommentsConditionalQuery(); List<String> getUserCommentsNotificationEmailAddresses(); String getViewerHome(); List<String> getWatermarkIdField(); String getSubthemeMainTheme(); String getSubthemeDiscriminatorField(); int getTagCloudSampleSize(String fieldName); List<StringPair> getTocVolumeSortFieldsForTemplate(String template); String getTocVolumeGroupFieldForTemplate(String template); boolean getDisplayTitleBreadcrumbs(); boolean isDisplayTitlePURL(); int getTitleBreadcrumbsMaxTitleLength(); boolean getIncludeAnchorInTitleBreadcrumbs(); boolean isDisplaySearchRssLinks(); boolean showThumbnailsInToc(); String getStartYearForTimeline(); String getEndYearForTimeline(); String getTimelineHits(); boolean isPiwikTrackingEnabled(); String getPiwikBaseURL(); String getPiwikSiteID(); boolean isSearchSavingEnabled(); boolean isBoostTopLevelDocstructs(); boolean isGroupDuplicateHits(); List<String> getRecordGroupIdentifierFields(); List<String> getAncestorIdentifierFields(); boolean isTocListSiblingRecords(); List<SearchFilter> getSearchFilters(); List<Map<String, String>> getWebApiFields(); String getDbPersistenceUnit(); boolean useCustomNavBar(); String getCmsTemplateFolder(); String getCmsMediaFolder(); String getTempMediaFolder(); List<String> getCmsClassifications(); int getCmsMediaDisplayWidth(); int getCmsMediaDisplayHeight(); boolean isTranskribusEnabled(); String getTranskribusUserName(); String getTranskribusPassword(); String getTranskribusDefaultCollection(); String getTranskribusRestApiUrl(); List<String> getTranskribusAllowedDocumentTypes(); int getTocIndentation(); boolean isPageBrowseEnabled(); List<Integer> getPageBrowseSteps(); String getTaskManagerServiceUrl(); String getTaskManagerRestUrl(); String getReCaptchaSiteKey(); boolean isUseReCaptcha(); boolean isSearchInItemEnabled(); String getDefaultBrowseIcon(String field); boolean isSearchExcelExportEnabled(); List<String> getSearchExcelExportFields(); int getExcelDownloadTimeout(); boolean isDisplayEmptyTocInSidebar(); boolean isDoublePageModeEnabled(); List<String> getRestrictedImageUrls(); List<String> getIIIFLicenses(); List<String> getIIIFMetadataFields(); List<String> getIIIFEventFields(); String getIIIFMetadataLabel(String field); int getIIIFDiscoveryAvtivitiesPerPage(); List<String> getIIIFLogo(); String getIIIFNavDateField(); List<String> getIIIFAttribution(); List<String> getIIIFDescriptionFields(); String getSitelinksField(); String getSitelinksFilterQuery(); List<String> getConfiguredCollections(); String getWebApiToken(); boolean isAllowRedirectCollectionToWork(); String getTwitterUserName(); float getLimitImageHeightUpperRatioThreshold(); float getLimitImageHeightLowerRatioThreshold(); boolean isLimitImageHeight(); boolean isAddCORSHeader(); String getCORSHeaderValue(); boolean isDiscloseImageContentLocation(); String getAccessConditionDisplayField(); String getCopyrightDisplayField(); boolean isDisplayCopyrightInfo(); boolean isDisplaySocialMediaShareLinks(); boolean isDisplayAnchorLabelInTitleBar(String template); String getAnchorLabelInTitleBarPrefix(String template); String getAnchorLabelInTitleBarSuffix(String template); String getMapBoxToken(); GeoMapMarker getGeoMapMarker(String name); List<String> getGeoMapMarkerFields(); List<GeoMapMarker> getGeoMapMarkers(); static GeoMapMarker readGeoMapMarker(HierarchicalConfiguration config); List<LicenseDescription> getLicenseDescriptions(); }
Configuration extends AbstractConfiguration { public String getRssCopyrightText() { return getLocalString("rss.copyright"); } Configuration(String configFilePath); Set<String> getStopwords(); boolean reloadingRequired(); String getConfigLocalPath(); String getLocalRessourceBundleFile(); int getViewerThumbnailsPerPage(); int getViewerMaxImageWidth(); int getViewerMaxImageHeight(); int getViewerMaxImageScale(); boolean isRememberImageZoom(); boolean isRememberImageRotation(); String getDfgViewerUrl(); String getConnectorVersionUrl(); List<Metadata> getTitleBarMetadata(); List<Metadata> getSearchHitMetadataForTemplate(String template); List<Metadata> getMainMetadataForTemplate(String template); List<Metadata> getSidebarMetadataForTemplate(String template); List<String> getNormdataFieldsForTemplate(String template); List<Metadata> getTocLabelConfiguration(String template); int getTocAnchorGroupElementsPerPage(); boolean isDisplaySidebarBrowsingTerms(); boolean isDisplaySidebarRssFeed(); boolean isDisplayWidgetUsage(); Metadata getWidgetUsageLicenceTextMetadata(); boolean isDisplaySidebarUsageWidgetLinkToJpegImage(); boolean isDisplaySidebarUsageWidgetLinkToMasterImage(); String getWidgetUsageMaxJpegSize(); String getWidgetUsageMaxMasterImageSize(); List<String> getCalendarDocStructTypes(); boolean isBrowsingMenuEnabled(); int getBrowsingMenuHitsPerPage(); List<BrowsingMenuFieldConfig> getBrowsingMenuFields(); String getBrowsingMenuSortingIgnoreLeadingChars(); String getDocstrctWhitelistFilterQuery(); String getCollectionSplittingChar(String field); List<DcSortingList> getCollectionSorting(String field); List<String> getCollectionBlacklist(String field); String getCollectionDefaultSortField(String field, String name); int getCollectionDisplayNumberOfVolumesLevel(String field); int getCollectionDisplayDepthForSearch(String field); String getCollectionHierarchyField(); boolean isAddCollectionHierarchyToBreadcrumbs(String field); String getSolrUrl(); String getContentServerWrapperUrl(); String getDownloadUrl(); String getRestApiUrl(); String getIIIFApiUrl(); boolean isUseIIIFApiUrlForCmsMediaUrls(); String getContentServerRealUrl(); String getMetsUrl(); String getMarcUrl(); String getDcUrl(); String getEseUrl(); List<Integer> getSearchHitsPerPageValues(); int getSearchHitsPerPageDefaultValue(); int getFulltextFragmentLength(); boolean isAdvancedSearchEnabled(); int getAdvancedSearchDefaultItemNumber(); List<AdvancedSearchFieldConfiguration> getAdvancedSearchFields(); boolean isAggregateHits(); boolean isDisplayAdditionalMetadataEnabled(); List<String> getDisplayAdditionalMetadataIgnoreFields(); List<String> getDisplayAdditionalMetadataTranslateFields(); boolean isAdvancedSearchFieldHierarchical(String field); boolean isAdvancedSearchFieldRange(String field); boolean isAdvancedSearchFieldUntokenizeForPhraseSearch(String field); String getAdvancedSearchFieldSeparatorLabel(String field); boolean isTimelineSearchEnabled(); boolean isCalendarSearchEnabled(); String getStaticQuerySuffix(); String getPreviousVersionIdentifierField(); String getNextVersionIdentifierField(); String getVersionLabelField(); String getIndexedMetsFolder(); String getIndexedLidoFolder(); String getIndexedDenkxwebFolder(); String getIndexedDublinCoreFolder(); String getPageSelectionFormat(); String getMediaFolder(); String getPdfFolder(); String getVocabulariesFolder(); String getOrigContentFolder(); String getCmsTextFolder(); String getAltoFolder(); String getAbbyyFolder(); String getFulltextFolder(); String getTeiFolder(); String getCmdiFolder(); String getWcFolder(); String getAnnotationFolder(); String getHotfolder(); @SuppressWarnings("static-method") String getTempFolder(); boolean isUrnDoRedirect(); boolean isUserRegistrationEnabled(); List<SecurityQuestion> getSecurityQuestions(); boolean isShowOpenIdConnect(); List<IAuthenticationProvider> getAuthenticationProviders(); String getSmtpServer(); String getSmtpUser(); String getSmtpPassword(); String getSmtpSenderAddress(); String getSmtpSenderName(); String getSmtpSecurity(); String getAnonymousUserEmailAddress(); boolean isDisplayCollectionBrowsing(); boolean isDisplayUserNavigation(); boolean isDisplayTagCloudNavigation(); boolean isDisplayStatistics(); boolean isDisplayTimeMatrix(); boolean isDisplayCrowdsourcingModuleLinks(); String getTheme(); String getThemeRootPath(); String getName(); String getDescription(); boolean isDisplayTagCloudStartpage(); boolean isDisplaySearchResultNavigation(); boolean isFoldout(String sidebarElement); boolean isSidebarPageViewLinkVisible(); boolean isSidebarCalendarViewLinkVisible(); boolean isSidebarTocViewLinkVisible(); boolean isSidebarThumbsViewLinkVisible(); boolean isSidebarMetadataViewLinkVisible(); boolean isShowSidebarEventMetadata(); boolean isShowRecordLabelIfNoOtherViews(); boolean isSidebarFulltextLinkVisible(); boolean isSidebarTocWidgetVisible(); boolean isSidebarTocWidgetVisibleInFullscreen(); boolean isSidebarOpacLinkVisible(); boolean getSidebarTocPageNumbersVisible(); int getSidebarTocLengthBeforeCut(); int getSidebarTocInitialCollapseLevel(); int getSidebarTocCollapseLengthThreshold(); int getSidebarTocLowestLevelToCollapseForLength(); boolean isSidebarTocTreeView(); boolean isTocTreeView(String docStructType); List<String> getAllDrillDownFields(); List<String> getDrillDownFields(); List<String> getHierarchicalDrillDownFields(); int getInitialDrillDownElementNumber(String field); String getSortOrder(String field); List<String> getPriorityValuesForDrillDownField(String field); String getLabelFieldForDrillDownField(String facetField); @SuppressWarnings("static-method") List<String> getRangeFacetFields(); boolean isSortingEnabled(); String getDefaultSortField(); List<String> getSortFields(); List<String> getStaticSortFields(); String getUrnResolverUrl(); int getUnconditionalImageAccessMaxWidth(); boolean isFullAccessForLocalhost(); boolean isGeneratePdfInTaskManager(); boolean isPdfApiDisabled(); boolean isTitlePdfEnabled(); boolean isTocPdfEnabled(); boolean isMetadataPdfEnabled(); boolean isPagePdfEnabled(); boolean isDocHierarchyPdfEnabled(); boolean isTitleEpubEnabled(); boolean isTocEpubEnabled(); boolean isMetadataEpubEnabled(); String getDownloadFolder(String type); int getRssFeedItems(); String getRssTitle(); String getRssDescription(); String getRssCopyrightText(); String getRulesetFilePath(); String getDefaultCollection(); int getThumbnailsWidth(); int getThumbnailsHeight(); int getThumbnailsCompression(); String getAnchorThumbnailMode(); int getMultivolumeThumbnailWidth(); int getMultivolumeThumbnailHeight(); boolean getDisplayBreadcrumbs(); boolean getDisplayMetadataPageLinkBlock(); boolean isAddDublinCoreMetaTags(); boolean isAddHighwirePressMetaTags(); int getMetadataParamNumber(); boolean useTiles(); boolean useTilesFullscreen(); boolean useTiles(PageType view, ImageType image); int getFooterHeight(); int getFullscreenFooterHeight(); int getFooterHeight(PageType view, ImageType image); String getImageViewType(); String getZoomFullscreenViewType(); String getZoomImageViewType(PageType view, ImageType image); boolean useOpenSeadragon(); List<String> getImageViewZoomScales(); List<String> getImageViewZoomScales(String view); List<String> getImageViewZoomScales(PageType view, ImageType image); Map<Integer, List<Integer>> getTileSizes(); Map<Integer, List<Integer>> getTileSizes(PageType view, ImageType image); SubnodeConfiguration getZoomImageViewConfig(PageType pageType, ImageType imageType); int getBreadcrumbsClipping(); boolean isDisplayTopstructLabel(); boolean getDisplayStructType(); int getSearchHitMetadataValueNumber(); int getSearchHitMetadataValueLength(); List<String> getWatermarkTextConfiguration(); String getWatermarkFormat(); boolean isOriginalContentDownload(); String getStopwordsFilePath(); String getPageType(PageType type); String getDocstructTargetPageType(String docstruct); String getPageTypeExitView(PageType type); int getFulltextPercentageWarningThreshold(); boolean isUseViewerLocaleAsRecordLanguage(); String getFeedbackEmailAddress(); boolean isBookmarksEnabled(); boolean isForceJpegConversion(); int getPageLoaderThreshold(); boolean isPreventProxyCaching(); boolean isSolrCompressionEnabled(); boolean isSolrBackwardsCompatible(); boolean isUserCommentsEnabled(); String getUserCommentsConditionalQuery(); List<String> getUserCommentsNotificationEmailAddresses(); String getViewerHome(); List<String> getWatermarkIdField(); String getSubthemeMainTheme(); String getSubthemeDiscriminatorField(); int getTagCloudSampleSize(String fieldName); List<StringPair> getTocVolumeSortFieldsForTemplate(String template); String getTocVolumeGroupFieldForTemplate(String template); boolean getDisplayTitleBreadcrumbs(); boolean isDisplayTitlePURL(); int getTitleBreadcrumbsMaxTitleLength(); boolean getIncludeAnchorInTitleBreadcrumbs(); boolean isDisplaySearchRssLinks(); boolean showThumbnailsInToc(); String getStartYearForTimeline(); String getEndYearForTimeline(); String getTimelineHits(); boolean isPiwikTrackingEnabled(); String getPiwikBaseURL(); String getPiwikSiteID(); boolean isSearchSavingEnabled(); boolean isBoostTopLevelDocstructs(); boolean isGroupDuplicateHits(); List<String> getRecordGroupIdentifierFields(); List<String> getAncestorIdentifierFields(); boolean isTocListSiblingRecords(); List<SearchFilter> getSearchFilters(); List<Map<String, String>> getWebApiFields(); String getDbPersistenceUnit(); boolean useCustomNavBar(); String getCmsTemplateFolder(); String getCmsMediaFolder(); String getTempMediaFolder(); List<String> getCmsClassifications(); int getCmsMediaDisplayWidth(); int getCmsMediaDisplayHeight(); boolean isTranskribusEnabled(); String getTranskribusUserName(); String getTranskribusPassword(); String getTranskribusDefaultCollection(); String getTranskribusRestApiUrl(); List<String> getTranskribusAllowedDocumentTypes(); int getTocIndentation(); boolean isPageBrowseEnabled(); List<Integer> getPageBrowseSteps(); String getTaskManagerServiceUrl(); String getTaskManagerRestUrl(); String getReCaptchaSiteKey(); boolean isUseReCaptcha(); boolean isSearchInItemEnabled(); String getDefaultBrowseIcon(String field); boolean isSearchExcelExportEnabled(); List<String> getSearchExcelExportFields(); int getExcelDownloadTimeout(); boolean isDisplayEmptyTocInSidebar(); boolean isDoublePageModeEnabled(); List<String> getRestrictedImageUrls(); List<String> getIIIFLicenses(); List<String> getIIIFMetadataFields(); List<String> getIIIFEventFields(); String getIIIFMetadataLabel(String field); int getIIIFDiscoveryAvtivitiesPerPage(); List<String> getIIIFLogo(); String getIIIFNavDateField(); List<String> getIIIFAttribution(); List<String> getIIIFDescriptionFields(); String getSitelinksField(); String getSitelinksFilterQuery(); List<String> getConfiguredCollections(); String getWebApiToken(); boolean isAllowRedirectCollectionToWork(); String getTwitterUserName(); float getLimitImageHeightUpperRatioThreshold(); float getLimitImageHeightLowerRatioThreshold(); boolean isLimitImageHeight(); boolean isAddCORSHeader(); String getCORSHeaderValue(); boolean isDiscloseImageContentLocation(); String getAccessConditionDisplayField(); String getCopyrightDisplayField(); boolean isDisplayCopyrightInfo(); boolean isDisplaySocialMediaShareLinks(); boolean isDisplayAnchorLabelInTitleBar(String template); String getAnchorLabelInTitleBarPrefix(String template); String getAnchorLabelInTitleBarSuffix(String template); String getMapBoxToken(); GeoMapMarker getGeoMapMarker(String name); List<String> getGeoMapMarkerFields(); List<GeoMapMarker> getGeoMapMarkers(); static GeoMapMarker readGeoMapMarker(HierarchicalConfiguration config); List<LicenseDescription> getLicenseDescriptions(); }
@Test public void getRssDescription_shouldReturnCorrectValue() throws Exception { Assert.assertEquals("description_value", DataManager.getInstance().getConfiguration().getRssDescription()); }
public String getRssDescription() { return getLocalString("rss.description", "latest imports"); }
Configuration extends AbstractConfiguration { public String getRssDescription() { return getLocalString("rss.description", "latest imports"); } }
Configuration extends AbstractConfiguration { public String getRssDescription() { return getLocalString("rss.description", "latest imports"); } Configuration(String configFilePath); }
Configuration extends AbstractConfiguration { public String getRssDescription() { return getLocalString("rss.description", "latest imports"); } Configuration(String configFilePath); Set<String> getStopwords(); boolean reloadingRequired(); String getConfigLocalPath(); String getLocalRessourceBundleFile(); int getViewerThumbnailsPerPage(); int getViewerMaxImageWidth(); int getViewerMaxImageHeight(); int getViewerMaxImageScale(); boolean isRememberImageZoom(); boolean isRememberImageRotation(); String getDfgViewerUrl(); String getConnectorVersionUrl(); List<Metadata> getTitleBarMetadata(); List<Metadata> getSearchHitMetadataForTemplate(String template); List<Metadata> getMainMetadataForTemplate(String template); List<Metadata> getSidebarMetadataForTemplate(String template); List<String> getNormdataFieldsForTemplate(String template); List<Metadata> getTocLabelConfiguration(String template); int getTocAnchorGroupElementsPerPage(); boolean isDisplaySidebarBrowsingTerms(); boolean isDisplaySidebarRssFeed(); boolean isDisplayWidgetUsage(); Metadata getWidgetUsageLicenceTextMetadata(); boolean isDisplaySidebarUsageWidgetLinkToJpegImage(); boolean isDisplaySidebarUsageWidgetLinkToMasterImage(); String getWidgetUsageMaxJpegSize(); String getWidgetUsageMaxMasterImageSize(); List<String> getCalendarDocStructTypes(); boolean isBrowsingMenuEnabled(); int getBrowsingMenuHitsPerPage(); List<BrowsingMenuFieldConfig> getBrowsingMenuFields(); String getBrowsingMenuSortingIgnoreLeadingChars(); String getDocstrctWhitelistFilterQuery(); String getCollectionSplittingChar(String field); List<DcSortingList> getCollectionSorting(String field); List<String> getCollectionBlacklist(String field); String getCollectionDefaultSortField(String field, String name); int getCollectionDisplayNumberOfVolumesLevel(String field); int getCollectionDisplayDepthForSearch(String field); String getCollectionHierarchyField(); boolean isAddCollectionHierarchyToBreadcrumbs(String field); String getSolrUrl(); String getContentServerWrapperUrl(); String getDownloadUrl(); String getRestApiUrl(); String getIIIFApiUrl(); boolean isUseIIIFApiUrlForCmsMediaUrls(); String getContentServerRealUrl(); String getMetsUrl(); String getMarcUrl(); String getDcUrl(); String getEseUrl(); List<Integer> getSearchHitsPerPageValues(); int getSearchHitsPerPageDefaultValue(); int getFulltextFragmentLength(); boolean isAdvancedSearchEnabled(); int getAdvancedSearchDefaultItemNumber(); List<AdvancedSearchFieldConfiguration> getAdvancedSearchFields(); boolean isAggregateHits(); boolean isDisplayAdditionalMetadataEnabled(); List<String> getDisplayAdditionalMetadataIgnoreFields(); List<String> getDisplayAdditionalMetadataTranslateFields(); boolean isAdvancedSearchFieldHierarchical(String field); boolean isAdvancedSearchFieldRange(String field); boolean isAdvancedSearchFieldUntokenizeForPhraseSearch(String field); String getAdvancedSearchFieldSeparatorLabel(String field); boolean isTimelineSearchEnabled(); boolean isCalendarSearchEnabled(); String getStaticQuerySuffix(); String getPreviousVersionIdentifierField(); String getNextVersionIdentifierField(); String getVersionLabelField(); String getIndexedMetsFolder(); String getIndexedLidoFolder(); String getIndexedDenkxwebFolder(); String getIndexedDublinCoreFolder(); String getPageSelectionFormat(); String getMediaFolder(); String getPdfFolder(); String getVocabulariesFolder(); String getOrigContentFolder(); String getCmsTextFolder(); String getAltoFolder(); String getAbbyyFolder(); String getFulltextFolder(); String getTeiFolder(); String getCmdiFolder(); String getWcFolder(); String getAnnotationFolder(); String getHotfolder(); @SuppressWarnings("static-method") String getTempFolder(); boolean isUrnDoRedirect(); boolean isUserRegistrationEnabled(); List<SecurityQuestion> getSecurityQuestions(); boolean isShowOpenIdConnect(); List<IAuthenticationProvider> getAuthenticationProviders(); String getSmtpServer(); String getSmtpUser(); String getSmtpPassword(); String getSmtpSenderAddress(); String getSmtpSenderName(); String getSmtpSecurity(); String getAnonymousUserEmailAddress(); boolean isDisplayCollectionBrowsing(); boolean isDisplayUserNavigation(); boolean isDisplayTagCloudNavigation(); boolean isDisplayStatistics(); boolean isDisplayTimeMatrix(); boolean isDisplayCrowdsourcingModuleLinks(); String getTheme(); String getThemeRootPath(); String getName(); String getDescription(); boolean isDisplayTagCloudStartpage(); boolean isDisplaySearchResultNavigation(); boolean isFoldout(String sidebarElement); boolean isSidebarPageViewLinkVisible(); boolean isSidebarCalendarViewLinkVisible(); boolean isSidebarTocViewLinkVisible(); boolean isSidebarThumbsViewLinkVisible(); boolean isSidebarMetadataViewLinkVisible(); boolean isShowSidebarEventMetadata(); boolean isShowRecordLabelIfNoOtherViews(); boolean isSidebarFulltextLinkVisible(); boolean isSidebarTocWidgetVisible(); boolean isSidebarTocWidgetVisibleInFullscreen(); boolean isSidebarOpacLinkVisible(); boolean getSidebarTocPageNumbersVisible(); int getSidebarTocLengthBeforeCut(); int getSidebarTocInitialCollapseLevel(); int getSidebarTocCollapseLengthThreshold(); int getSidebarTocLowestLevelToCollapseForLength(); boolean isSidebarTocTreeView(); boolean isTocTreeView(String docStructType); List<String> getAllDrillDownFields(); List<String> getDrillDownFields(); List<String> getHierarchicalDrillDownFields(); int getInitialDrillDownElementNumber(String field); String getSortOrder(String field); List<String> getPriorityValuesForDrillDownField(String field); String getLabelFieldForDrillDownField(String facetField); @SuppressWarnings("static-method") List<String> getRangeFacetFields(); boolean isSortingEnabled(); String getDefaultSortField(); List<String> getSortFields(); List<String> getStaticSortFields(); String getUrnResolverUrl(); int getUnconditionalImageAccessMaxWidth(); boolean isFullAccessForLocalhost(); boolean isGeneratePdfInTaskManager(); boolean isPdfApiDisabled(); boolean isTitlePdfEnabled(); boolean isTocPdfEnabled(); boolean isMetadataPdfEnabled(); boolean isPagePdfEnabled(); boolean isDocHierarchyPdfEnabled(); boolean isTitleEpubEnabled(); boolean isTocEpubEnabled(); boolean isMetadataEpubEnabled(); String getDownloadFolder(String type); int getRssFeedItems(); String getRssTitle(); String getRssDescription(); String getRssCopyrightText(); String getRulesetFilePath(); String getDefaultCollection(); int getThumbnailsWidth(); int getThumbnailsHeight(); int getThumbnailsCompression(); String getAnchorThumbnailMode(); int getMultivolumeThumbnailWidth(); int getMultivolumeThumbnailHeight(); boolean getDisplayBreadcrumbs(); boolean getDisplayMetadataPageLinkBlock(); boolean isAddDublinCoreMetaTags(); boolean isAddHighwirePressMetaTags(); int getMetadataParamNumber(); boolean useTiles(); boolean useTilesFullscreen(); boolean useTiles(PageType view, ImageType image); int getFooterHeight(); int getFullscreenFooterHeight(); int getFooterHeight(PageType view, ImageType image); String getImageViewType(); String getZoomFullscreenViewType(); String getZoomImageViewType(PageType view, ImageType image); boolean useOpenSeadragon(); List<String> getImageViewZoomScales(); List<String> getImageViewZoomScales(String view); List<String> getImageViewZoomScales(PageType view, ImageType image); Map<Integer, List<Integer>> getTileSizes(); Map<Integer, List<Integer>> getTileSizes(PageType view, ImageType image); SubnodeConfiguration getZoomImageViewConfig(PageType pageType, ImageType imageType); int getBreadcrumbsClipping(); boolean isDisplayTopstructLabel(); boolean getDisplayStructType(); int getSearchHitMetadataValueNumber(); int getSearchHitMetadataValueLength(); List<String> getWatermarkTextConfiguration(); String getWatermarkFormat(); boolean isOriginalContentDownload(); String getStopwordsFilePath(); String getPageType(PageType type); String getDocstructTargetPageType(String docstruct); String getPageTypeExitView(PageType type); int getFulltextPercentageWarningThreshold(); boolean isUseViewerLocaleAsRecordLanguage(); String getFeedbackEmailAddress(); boolean isBookmarksEnabled(); boolean isForceJpegConversion(); int getPageLoaderThreshold(); boolean isPreventProxyCaching(); boolean isSolrCompressionEnabled(); boolean isSolrBackwardsCompatible(); boolean isUserCommentsEnabled(); String getUserCommentsConditionalQuery(); List<String> getUserCommentsNotificationEmailAddresses(); String getViewerHome(); List<String> getWatermarkIdField(); String getSubthemeMainTheme(); String getSubthemeDiscriminatorField(); int getTagCloudSampleSize(String fieldName); List<StringPair> getTocVolumeSortFieldsForTemplate(String template); String getTocVolumeGroupFieldForTemplate(String template); boolean getDisplayTitleBreadcrumbs(); boolean isDisplayTitlePURL(); int getTitleBreadcrumbsMaxTitleLength(); boolean getIncludeAnchorInTitleBreadcrumbs(); boolean isDisplaySearchRssLinks(); boolean showThumbnailsInToc(); String getStartYearForTimeline(); String getEndYearForTimeline(); String getTimelineHits(); boolean isPiwikTrackingEnabled(); String getPiwikBaseURL(); String getPiwikSiteID(); boolean isSearchSavingEnabled(); boolean isBoostTopLevelDocstructs(); boolean isGroupDuplicateHits(); List<String> getRecordGroupIdentifierFields(); List<String> getAncestorIdentifierFields(); boolean isTocListSiblingRecords(); List<SearchFilter> getSearchFilters(); List<Map<String, String>> getWebApiFields(); String getDbPersistenceUnit(); boolean useCustomNavBar(); String getCmsTemplateFolder(); String getCmsMediaFolder(); String getTempMediaFolder(); List<String> getCmsClassifications(); int getCmsMediaDisplayWidth(); int getCmsMediaDisplayHeight(); boolean isTranskribusEnabled(); String getTranskribusUserName(); String getTranskribusPassword(); String getTranskribusDefaultCollection(); String getTranskribusRestApiUrl(); List<String> getTranskribusAllowedDocumentTypes(); int getTocIndentation(); boolean isPageBrowseEnabled(); List<Integer> getPageBrowseSteps(); String getTaskManagerServiceUrl(); String getTaskManagerRestUrl(); String getReCaptchaSiteKey(); boolean isUseReCaptcha(); boolean isSearchInItemEnabled(); String getDefaultBrowseIcon(String field); boolean isSearchExcelExportEnabled(); List<String> getSearchExcelExportFields(); int getExcelDownloadTimeout(); boolean isDisplayEmptyTocInSidebar(); boolean isDoublePageModeEnabled(); List<String> getRestrictedImageUrls(); List<String> getIIIFLicenses(); List<String> getIIIFMetadataFields(); List<String> getIIIFEventFields(); String getIIIFMetadataLabel(String field); int getIIIFDiscoveryAvtivitiesPerPage(); List<String> getIIIFLogo(); String getIIIFNavDateField(); List<String> getIIIFAttribution(); List<String> getIIIFDescriptionFields(); String getSitelinksField(); String getSitelinksFilterQuery(); List<String> getConfiguredCollections(); String getWebApiToken(); boolean isAllowRedirectCollectionToWork(); String getTwitterUserName(); float getLimitImageHeightUpperRatioThreshold(); float getLimitImageHeightLowerRatioThreshold(); boolean isLimitImageHeight(); boolean isAddCORSHeader(); String getCORSHeaderValue(); boolean isDiscloseImageContentLocation(); String getAccessConditionDisplayField(); String getCopyrightDisplayField(); boolean isDisplayCopyrightInfo(); boolean isDisplaySocialMediaShareLinks(); boolean isDisplayAnchorLabelInTitleBar(String template); String getAnchorLabelInTitleBarPrefix(String template); String getAnchorLabelInTitleBarSuffix(String template); String getMapBoxToken(); GeoMapMarker getGeoMapMarker(String name); List<String> getGeoMapMarkerFields(); List<GeoMapMarker> getGeoMapMarkers(); static GeoMapMarker readGeoMapMarker(HierarchicalConfiguration config); List<LicenseDescription> getLicenseDescriptions(); }
Configuration extends AbstractConfiguration { public String getRssDescription() { return getLocalString("rss.description", "latest imports"); } Configuration(String configFilePath); Set<String> getStopwords(); boolean reloadingRequired(); String getConfigLocalPath(); String getLocalRessourceBundleFile(); int getViewerThumbnailsPerPage(); int getViewerMaxImageWidth(); int getViewerMaxImageHeight(); int getViewerMaxImageScale(); boolean isRememberImageZoom(); boolean isRememberImageRotation(); String getDfgViewerUrl(); String getConnectorVersionUrl(); List<Metadata> getTitleBarMetadata(); List<Metadata> getSearchHitMetadataForTemplate(String template); List<Metadata> getMainMetadataForTemplate(String template); List<Metadata> getSidebarMetadataForTemplate(String template); List<String> getNormdataFieldsForTemplate(String template); List<Metadata> getTocLabelConfiguration(String template); int getTocAnchorGroupElementsPerPage(); boolean isDisplaySidebarBrowsingTerms(); boolean isDisplaySidebarRssFeed(); boolean isDisplayWidgetUsage(); Metadata getWidgetUsageLicenceTextMetadata(); boolean isDisplaySidebarUsageWidgetLinkToJpegImage(); boolean isDisplaySidebarUsageWidgetLinkToMasterImage(); String getWidgetUsageMaxJpegSize(); String getWidgetUsageMaxMasterImageSize(); List<String> getCalendarDocStructTypes(); boolean isBrowsingMenuEnabled(); int getBrowsingMenuHitsPerPage(); List<BrowsingMenuFieldConfig> getBrowsingMenuFields(); String getBrowsingMenuSortingIgnoreLeadingChars(); String getDocstrctWhitelistFilterQuery(); String getCollectionSplittingChar(String field); List<DcSortingList> getCollectionSorting(String field); List<String> getCollectionBlacklist(String field); String getCollectionDefaultSortField(String field, String name); int getCollectionDisplayNumberOfVolumesLevel(String field); int getCollectionDisplayDepthForSearch(String field); String getCollectionHierarchyField(); boolean isAddCollectionHierarchyToBreadcrumbs(String field); String getSolrUrl(); String getContentServerWrapperUrl(); String getDownloadUrl(); String getRestApiUrl(); String getIIIFApiUrl(); boolean isUseIIIFApiUrlForCmsMediaUrls(); String getContentServerRealUrl(); String getMetsUrl(); String getMarcUrl(); String getDcUrl(); String getEseUrl(); List<Integer> getSearchHitsPerPageValues(); int getSearchHitsPerPageDefaultValue(); int getFulltextFragmentLength(); boolean isAdvancedSearchEnabled(); int getAdvancedSearchDefaultItemNumber(); List<AdvancedSearchFieldConfiguration> getAdvancedSearchFields(); boolean isAggregateHits(); boolean isDisplayAdditionalMetadataEnabled(); List<String> getDisplayAdditionalMetadataIgnoreFields(); List<String> getDisplayAdditionalMetadataTranslateFields(); boolean isAdvancedSearchFieldHierarchical(String field); boolean isAdvancedSearchFieldRange(String field); boolean isAdvancedSearchFieldUntokenizeForPhraseSearch(String field); String getAdvancedSearchFieldSeparatorLabel(String field); boolean isTimelineSearchEnabled(); boolean isCalendarSearchEnabled(); String getStaticQuerySuffix(); String getPreviousVersionIdentifierField(); String getNextVersionIdentifierField(); String getVersionLabelField(); String getIndexedMetsFolder(); String getIndexedLidoFolder(); String getIndexedDenkxwebFolder(); String getIndexedDublinCoreFolder(); String getPageSelectionFormat(); String getMediaFolder(); String getPdfFolder(); String getVocabulariesFolder(); String getOrigContentFolder(); String getCmsTextFolder(); String getAltoFolder(); String getAbbyyFolder(); String getFulltextFolder(); String getTeiFolder(); String getCmdiFolder(); String getWcFolder(); String getAnnotationFolder(); String getHotfolder(); @SuppressWarnings("static-method") String getTempFolder(); boolean isUrnDoRedirect(); boolean isUserRegistrationEnabled(); List<SecurityQuestion> getSecurityQuestions(); boolean isShowOpenIdConnect(); List<IAuthenticationProvider> getAuthenticationProviders(); String getSmtpServer(); String getSmtpUser(); String getSmtpPassword(); String getSmtpSenderAddress(); String getSmtpSenderName(); String getSmtpSecurity(); String getAnonymousUserEmailAddress(); boolean isDisplayCollectionBrowsing(); boolean isDisplayUserNavigation(); boolean isDisplayTagCloudNavigation(); boolean isDisplayStatistics(); boolean isDisplayTimeMatrix(); boolean isDisplayCrowdsourcingModuleLinks(); String getTheme(); String getThemeRootPath(); String getName(); String getDescription(); boolean isDisplayTagCloudStartpage(); boolean isDisplaySearchResultNavigation(); boolean isFoldout(String sidebarElement); boolean isSidebarPageViewLinkVisible(); boolean isSidebarCalendarViewLinkVisible(); boolean isSidebarTocViewLinkVisible(); boolean isSidebarThumbsViewLinkVisible(); boolean isSidebarMetadataViewLinkVisible(); boolean isShowSidebarEventMetadata(); boolean isShowRecordLabelIfNoOtherViews(); boolean isSidebarFulltextLinkVisible(); boolean isSidebarTocWidgetVisible(); boolean isSidebarTocWidgetVisibleInFullscreen(); boolean isSidebarOpacLinkVisible(); boolean getSidebarTocPageNumbersVisible(); int getSidebarTocLengthBeforeCut(); int getSidebarTocInitialCollapseLevel(); int getSidebarTocCollapseLengthThreshold(); int getSidebarTocLowestLevelToCollapseForLength(); boolean isSidebarTocTreeView(); boolean isTocTreeView(String docStructType); List<String> getAllDrillDownFields(); List<String> getDrillDownFields(); List<String> getHierarchicalDrillDownFields(); int getInitialDrillDownElementNumber(String field); String getSortOrder(String field); List<String> getPriorityValuesForDrillDownField(String field); String getLabelFieldForDrillDownField(String facetField); @SuppressWarnings("static-method") List<String> getRangeFacetFields(); boolean isSortingEnabled(); String getDefaultSortField(); List<String> getSortFields(); List<String> getStaticSortFields(); String getUrnResolverUrl(); int getUnconditionalImageAccessMaxWidth(); boolean isFullAccessForLocalhost(); boolean isGeneratePdfInTaskManager(); boolean isPdfApiDisabled(); boolean isTitlePdfEnabled(); boolean isTocPdfEnabled(); boolean isMetadataPdfEnabled(); boolean isPagePdfEnabled(); boolean isDocHierarchyPdfEnabled(); boolean isTitleEpubEnabled(); boolean isTocEpubEnabled(); boolean isMetadataEpubEnabled(); String getDownloadFolder(String type); int getRssFeedItems(); String getRssTitle(); String getRssDescription(); String getRssCopyrightText(); String getRulesetFilePath(); String getDefaultCollection(); int getThumbnailsWidth(); int getThumbnailsHeight(); int getThumbnailsCompression(); String getAnchorThumbnailMode(); int getMultivolumeThumbnailWidth(); int getMultivolumeThumbnailHeight(); boolean getDisplayBreadcrumbs(); boolean getDisplayMetadataPageLinkBlock(); boolean isAddDublinCoreMetaTags(); boolean isAddHighwirePressMetaTags(); int getMetadataParamNumber(); boolean useTiles(); boolean useTilesFullscreen(); boolean useTiles(PageType view, ImageType image); int getFooterHeight(); int getFullscreenFooterHeight(); int getFooterHeight(PageType view, ImageType image); String getImageViewType(); String getZoomFullscreenViewType(); String getZoomImageViewType(PageType view, ImageType image); boolean useOpenSeadragon(); List<String> getImageViewZoomScales(); List<String> getImageViewZoomScales(String view); List<String> getImageViewZoomScales(PageType view, ImageType image); Map<Integer, List<Integer>> getTileSizes(); Map<Integer, List<Integer>> getTileSizes(PageType view, ImageType image); SubnodeConfiguration getZoomImageViewConfig(PageType pageType, ImageType imageType); int getBreadcrumbsClipping(); boolean isDisplayTopstructLabel(); boolean getDisplayStructType(); int getSearchHitMetadataValueNumber(); int getSearchHitMetadataValueLength(); List<String> getWatermarkTextConfiguration(); String getWatermarkFormat(); boolean isOriginalContentDownload(); String getStopwordsFilePath(); String getPageType(PageType type); String getDocstructTargetPageType(String docstruct); String getPageTypeExitView(PageType type); int getFulltextPercentageWarningThreshold(); boolean isUseViewerLocaleAsRecordLanguage(); String getFeedbackEmailAddress(); boolean isBookmarksEnabled(); boolean isForceJpegConversion(); int getPageLoaderThreshold(); boolean isPreventProxyCaching(); boolean isSolrCompressionEnabled(); boolean isSolrBackwardsCompatible(); boolean isUserCommentsEnabled(); String getUserCommentsConditionalQuery(); List<String> getUserCommentsNotificationEmailAddresses(); String getViewerHome(); List<String> getWatermarkIdField(); String getSubthemeMainTheme(); String getSubthemeDiscriminatorField(); int getTagCloudSampleSize(String fieldName); List<StringPair> getTocVolumeSortFieldsForTemplate(String template); String getTocVolumeGroupFieldForTemplate(String template); boolean getDisplayTitleBreadcrumbs(); boolean isDisplayTitlePURL(); int getTitleBreadcrumbsMaxTitleLength(); boolean getIncludeAnchorInTitleBreadcrumbs(); boolean isDisplaySearchRssLinks(); boolean showThumbnailsInToc(); String getStartYearForTimeline(); String getEndYearForTimeline(); String getTimelineHits(); boolean isPiwikTrackingEnabled(); String getPiwikBaseURL(); String getPiwikSiteID(); boolean isSearchSavingEnabled(); boolean isBoostTopLevelDocstructs(); boolean isGroupDuplicateHits(); List<String> getRecordGroupIdentifierFields(); List<String> getAncestorIdentifierFields(); boolean isTocListSiblingRecords(); List<SearchFilter> getSearchFilters(); List<Map<String, String>> getWebApiFields(); String getDbPersistenceUnit(); boolean useCustomNavBar(); String getCmsTemplateFolder(); String getCmsMediaFolder(); String getTempMediaFolder(); List<String> getCmsClassifications(); int getCmsMediaDisplayWidth(); int getCmsMediaDisplayHeight(); boolean isTranskribusEnabled(); String getTranskribusUserName(); String getTranskribusPassword(); String getTranskribusDefaultCollection(); String getTranskribusRestApiUrl(); List<String> getTranskribusAllowedDocumentTypes(); int getTocIndentation(); boolean isPageBrowseEnabled(); List<Integer> getPageBrowseSteps(); String getTaskManagerServiceUrl(); String getTaskManagerRestUrl(); String getReCaptchaSiteKey(); boolean isUseReCaptcha(); boolean isSearchInItemEnabled(); String getDefaultBrowseIcon(String field); boolean isSearchExcelExportEnabled(); List<String> getSearchExcelExportFields(); int getExcelDownloadTimeout(); boolean isDisplayEmptyTocInSidebar(); boolean isDoublePageModeEnabled(); List<String> getRestrictedImageUrls(); List<String> getIIIFLicenses(); List<String> getIIIFMetadataFields(); List<String> getIIIFEventFields(); String getIIIFMetadataLabel(String field); int getIIIFDiscoveryAvtivitiesPerPage(); List<String> getIIIFLogo(); String getIIIFNavDateField(); List<String> getIIIFAttribution(); List<String> getIIIFDescriptionFields(); String getSitelinksField(); String getSitelinksFilterQuery(); List<String> getConfiguredCollections(); String getWebApiToken(); boolean isAllowRedirectCollectionToWork(); String getTwitterUserName(); float getLimitImageHeightUpperRatioThreshold(); float getLimitImageHeightLowerRatioThreshold(); boolean isLimitImageHeight(); boolean isAddCORSHeader(); String getCORSHeaderValue(); boolean isDiscloseImageContentLocation(); String getAccessConditionDisplayField(); String getCopyrightDisplayField(); boolean isDisplayCopyrightInfo(); boolean isDisplaySocialMediaShareLinks(); boolean isDisplayAnchorLabelInTitleBar(String template); String getAnchorLabelInTitleBarPrefix(String template); String getAnchorLabelInTitleBarSuffix(String template); String getMapBoxToken(); GeoMapMarker getGeoMapMarker(String name); List<String> getGeoMapMarkerFields(); List<GeoMapMarker> getGeoMapMarkers(); static GeoMapMarker readGeoMapMarker(HierarchicalConfiguration config); List<LicenseDescription> getLicenseDescriptions(); }
@Test public void getRssFeedItems_shouldReturnCorrectValue() throws Exception { Assert.assertEquals(25, DataManager.getInstance().getConfiguration().getRssFeedItems()); }
public int getRssFeedItems() { return getLocalInt("rss.numberOfItems", 50); }
Configuration extends AbstractConfiguration { public int getRssFeedItems() { return getLocalInt("rss.numberOfItems", 50); } }
Configuration extends AbstractConfiguration { public int getRssFeedItems() { return getLocalInt("rss.numberOfItems", 50); } Configuration(String configFilePath); }
Configuration extends AbstractConfiguration { public int getRssFeedItems() { return getLocalInt("rss.numberOfItems", 50); } Configuration(String configFilePath); Set<String> getStopwords(); boolean reloadingRequired(); String getConfigLocalPath(); String getLocalRessourceBundleFile(); int getViewerThumbnailsPerPage(); int getViewerMaxImageWidth(); int getViewerMaxImageHeight(); int getViewerMaxImageScale(); boolean isRememberImageZoom(); boolean isRememberImageRotation(); String getDfgViewerUrl(); String getConnectorVersionUrl(); List<Metadata> getTitleBarMetadata(); List<Metadata> getSearchHitMetadataForTemplate(String template); List<Metadata> getMainMetadataForTemplate(String template); List<Metadata> getSidebarMetadataForTemplate(String template); List<String> getNormdataFieldsForTemplate(String template); List<Metadata> getTocLabelConfiguration(String template); int getTocAnchorGroupElementsPerPage(); boolean isDisplaySidebarBrowsingTerms(); boolean isDisplaySidebarRssFeed(); boolean isDisplayWidgetUsage(); Metadata getWidgetUsageLicenceTextMetadata(); boolean isDisplaySidebarUsageWidgetLinkToJpegImage(); boolean isDisplaySidebarUsageWidgetLinkToMasterImage(); String getWidgetUsageMaxJpegSize(); String getWidgetUsageMaxMasterImageSize(); List<String> getCalendarDocStructTypes(); boolean isBrowsingMenuEnabled(); int getBrowsingMenuHitsPerPage(); List<BrowsingMenuFieldConfig> getBrowsingMenuFields(); String getBrowsingMenuSortingIgnoreLeadingChars(); String getDocstrctWhitelistFilterQuery(); String getCollectionSplittingChar(String field); List<DcSortingList> getCollectionSorting(String field); List<String> getCollectionBlacklist(String field); String getCollectionDefaultSortField(String field, String name); int getCollectionDisplayNumberOfVolumesLevel(String field); int getCollectionDisplayDepthForSearch(String field); String getCollectionHierarchyField(); boolean isAddCollectionHierarchyToBreadcrumbs(String field); String getSolrUrl(); String getContentServerWrapperUrl(); String getDownloadUrl(); String getRestApiUrl(); String getIIIFApiUrl(); boolean isUseIIIFApiUrlForCmsMediaUrls(); String getContentServerRealUrl(); String getMetsUrl(); String getMarcUrl(); String getDcUrl(); String getEseUrl(); List<Integer> getSearchHitsPerPageValues(); int getSearchHitsPerPageDefaultValue(); int getFulltextFragmentLength(); boolean isAdvancedSearchEnabled(); int getAdvancedSearchDefaultItemNumber(); List<AdvancedSearchFieldConfiguration> getAdvancedSearchFields(); boolean isAggregateHits(); boolean isDisplayAdditionalMetadataEnabled(); List<String> getDisplayAdditionalMetadataIgnoreFields(); List<String> getDisplayAdditionalMetadataTranslateFields(); boolean isAdvancedSearchFieldHierarchical(String field); boolean isAdvancedSearchFieldRange(String field); boolean isAdvancedSearchFieldUntokenizeForPhraseSearch(String field); String getAdvancedSearchFieldSeparatorLabel(String field); boolean isTimelineSearchEnabled(); boolean isCalendarSearchEnabled(); String getStaticQuerySuffix(); String getPreviousVersionIdentifierField(); String getNextVersionIdentifierField(); String getVersionLabelField(); String getIndexedMetsFolder(); String getIndexedLidoFolder(); String getIndexedDenkxwebFolder(); String getIndexedDublinCoreFolder(); String getPageSelectionFormat(); String getMediaFolder(); String getPdfFolder(); String getVocabulariesFolder(); String getOrigContentFolder(); String getCmsTextFolder(); String getAltoFolder(); String getAbbyyFolder(); String getFulltextFolder(); String getTeiFolder(); String getCmdiFolder(); String getWcFolder(); String getAnnotationFolder(); String getHotfolder(); @SuppressWarnings("static-method") String getTempFolder(); boolean isUrnDoRedirect(); boolean isUserRegistrationEnabled(); List<SecurityQuestion> getSecurityQuestions(); boolean isShowOpenIdConnect(); List<IAuthenticationProvider> getAuthenticationProviders(); String getSmtpServer(); String getSmtpUser(); String getSmtpPassword(); String getSmtpSenderAddress(); String getSmtpSenderName(); String getSmtpSecurity(); String getAnonymousUserEmailAddress(); boolean isDisplayCollectionBrowsing(); boolean isDisplayUserNavigation(); boolean isDisplayTagCloudNavigation(); boolean isDisplayStatistics(); boolean isDisplayTimeMatrix(); boolean isDisplayCrowdsourcingModuleLinks(); String getTheme(); String getThemeRootPath(); String getName(); String getDescription(); boolean isDisplayTagCloudStartpage(); boolean isDisplaySearchResultNavigation(); boolean isFoldout(String sidebarElement); boolean isSidebarPageViewLinkVisible(); boolean isSidebarCalendarViewLinkVisible(); boolean isSidebarTocViewLinkVisible(); boolean isSidebarThumbsViewLinkVisible(); boolean isSidebarMetadataViewLinkVisible(); boolean isShowSidebarEventMetadata(); boolean isShowRecordLabelIfNoOtherViews(); boolean isSidebarFulltextLinkVisible(); boolean isSidebarTocWidgetVisible(); boolean isSidebarTocWidgetVisibleInFullscreen(); boolean isSidebarOpacLinkVisible(); boolean getSidebarTocPageNumbersVisible(); int getSidebarTocLengthBeforeCut(); int getSidebarTocInitialCollapseLevel(); int getSidebarTocCollapseLengthThreshold(); int getSidebarTocLowestLevelToCollapseForLength(); boolean isSidebarTocTreeView(); boolean isTocTreeView(String docStructType); List<String> getAllDrillDownFields(); List<String> getDrillDownFields(); List<String> getHierarchicalDrillDownFields(); int getInitialDrillDownElementNumber(String field); String getSortOrder(String field); List<String> getPriorityValuesForDrillDownField(String field); String getLabelFieldForDrillDownField(String facetField); @SuppressWarnings("static-method") List<String> getRangeFacetFields(); boolean isSortingEnabled(); String getDefaultSortField(); List<String> getSortFields(); List<String> getStaticSortFields(); String getUrnResolverUrl(); int getUnconditionalImageAccessMaxWidth(); boolean isFullAccessForLocalhost(); boolean isGeneratePdfInTaskManager(); boolean isPdfApiDisabled(); boolean isTitlePdfEnabled(); boolean isTocPdfEnabled(); boolean isMetadataPdfEnabled(); boolean isPagePdfEnabled(); boolean isDocHierarchyPdfEnabled(); boolean isTitleEpubEnabled(); boolean isTocEpubEnabled(); boolean isMetadataEpubEnabled(); String getDownloadFolder(String type); int getRssFeedItems(); String getRssTitle(); String getRssDescription(); String getRssCopyrightText(); String getRulesetFilePath(); String getDefaultCollection(); int getThumbnailsWidth(); int getThumbnailsHeight(); int getThumbnailsCompression(); String getAnchorThumbnailMode(); int getMultivolumeThumbnailWidth(); int getMultivolumeThumbnailHeight(); boolean getDisplayBreadcrumbs(); boolean getDisplayMetadataPageLinkBlock(); boolean isAddDublinCoreMetaTags(); boolean isAddHighwirePressMetaTags(); int getMetadataParamNumber(); boolean useTiles(); boolean useTilesFullscreen(); boolean useTiles(PageType view, ImageType image); int getFooterHeight(); int getFullscreenFooterHeight(); int getFooterHeight(PageType view, ImageType image); String getImageViewType(); String getZoomFullscreenViewType(); String getZoomImageViewType(PageType view, ImageType image); boolean useOpenSeadragon(); List<String> getImageViewZoomScales(); List<String> getImageViewZoomScales(String view); List<String> getImageViewZoomScales(PageType view, ImageType image); Map<Integer, List<Integer>> getTileSizes(); Map<Integer, List<Integer>> getTileSizes(PageType view, ImageType image); SubnodeConfiguration getZoomImageViewConfig(PageType pageType, ImageType imageType); int getBreadcrumbsClipping(); boolean isDisplayTopstructLabel(); boolean getDisplayStructType(); int getSearchHitMetadataValueNumber(); int getSearchHitMetadataValueLength(); List<String> getWatermarkTextConfiguration(); String getWatermarkFormat(); boolean isOriginalContentDownload(); String getStopwordsFilePath(); String getPageType(PageType type); String getDocstructTargetPageType(String docstruct); String getPageTypeExitView(PageType type); int getFulltextPercentageWarningThreshold(); boolean isUseViewerLocaleAsRecordLanguage(); String getFeedbackEmailAddress(); boolean isBookmarksEnabled(); boolean isForceJpegConversion(); int getPageLoaderThreshold(); boolean isPreventProxyCaching(); boolean isSolrCompressionEnabled(); boolean isSolrBackwardsCompatible(); boolean isUserCommentsEnabled(); String getUserCommentsConditionalQuery(); List<String> getUserCommentsNotificationEmailAddresses(); String getViewerHome(); List<String> getWatermarkIdField(); String getSubthemeMainTheme(); String getSubthemeDiscriminatorField(); int getTagCloudSampleSize(String fieldName); List<StringPair> getTocVolumeSortFieldsForTemplate(String template); String getTocVolumeGroupFieldForTemplate(String template); boolean getDisplayTitleBreadcrumbs(); boolean isDisplayTitlePURL(); int getTitleBreadcrumbsMaxTitleLength(); boolean getIncludeAnchorInTitleBreadcrumbs(); boolean isDisplaySearchRssLinks(); boolean showThumbnailsInToc(); String getStartYearForTimeline(); String getEndYearForTimeline(); String getTimelineHits(); boolean isPiwikTrackingEnabled(); String getPiwikBaseURL(); String getPiwikSiteID(); boolean isSearchSavingEnabled(); boolean isBoostTopLevelDocstructs(); boolean isGroupDuplicateHits(); List<String> getRecordGroupIdentifierFields(); List<String> getAncestorIdentifierFields(); boolean isTocListSiblingRecords(); List<SearchFilter> getSearchFilters(); List<Map<String, String>> getWebApiFields(); String getDbPersistenceUnit(); boolean useCustomNavBar(); String getCmsTemplateFolder(); String getCmsMediaFolder(); String getTempMediaFolder(); List<String> getCmsClassifications(); int getCmsMediaDisplayWidth(); int getCmsMediaDisplayHeight(); boolean isTranskribusEnabled(); String getTranskribusUserName(); String getTranskribusPassword(); String getTranskribusDefaultCollection(); String getTranskribusRestApiUrl(); List<String> getTranskribusAllowedDocumentTypes(); int getTocIndentation(); boolean isPageBrowseEnabled(); List<Integer> getPageBrowseSteps(); String getTaskManagerServiceUrl(); String getTaskManagerRestUrl(); String getReCaptchaSiteKey(); boolean isUseReCaptcha(); boolean isSearchInItemEnabled(); String getDefaultBrowseIcon(String field); boolean isSearchExcelExportEnabled(); List<String> getSearchExcelExportFields(); int getExcelDownloadTimeout(); boolean isDisplayEmptyTocInSidebar(); boolean isDoublePageModeEnabled(); List<String> getRestrictedImageUrls(); List<String> getIIIFLicenses(); List<String> getIIIFMetadataFields(); List<String> getIIIFEventFields(); String getIIIFMetadataLabel(String field); int getIIIFDiscoveryAvtivitiesPerPage(); List<String> getIIIFLogo(); String getIIIFNavDateField(); List<String> getIIIFAttribution(); List<String> getIIIFDescriptionFields(); String getSitelinksField(); String getSitelinksFilterQuery(); List<String> getConfiguredCollections(); String getWebApiToken(); boolean isAllowRedirectCollectionToWork(); String getTwitterUserName(); float getLimitImageHeightUpperRatioThreshold(); float getLimitImageHeightLowerRatioThreshold(); boolean isLimitImageHeight(); boolean isAddCORSHeader(); String getCORSHeaderValue(); boolean isDiscloseImageContentLocation(); String getAccessConditionDisplayField(); String getCopyrightDisplayField(); boolean isDisplayCopyrightInfo(); boolean isDisplaySocialMediaShareLinks(); boolean isDisplayAnchorLabelInTitleBar(String template); String getAnchorLabelInTitleBarPrefix(String template); String getAnchorLabelInTitleBarSuffix(String template); String getMapBoxToken(); GeoMapMarker getGeoMapMarker(String name); List<String> getGeoMapMarkerFields(); List<GeoMapMarker> getGeoMapMarkers(); static GeoMapMarker readGeoMapMarker(HierarchicalConfiguration config); List<LicenseDescription> getLicenseDescriptions(); }
Configuration extends AbstractConfiguration { public int getRssFeedItems() { return getLocalInt("rss.numberOfItems", 50); } Configuration(String configFilePath); Set<String> getStopwords(); boolean reloadingRequired(); String getConfigLocalPath(); String getLocalRessourceBundleFile(); int getViewerThumbnailsPerPage(); int getViewerMaxImageWidth(); int getViewerMaxImageHeight(); int getViewerMaxImageScale(); boolean isRememberImageZoom(); boolean isRememberImageRotation(); String getDfgViewerUrl(); String getConnectorVersionUrl(); List<Metadata> getTitleBarMetadata(); List<Metadata> getSearchHitMetadataForTemplate(String template); List<Metadata> getMainMetadataForTemplate(String template); List<Metadata> getSidebarMetadataForTemplate(String template); List<String> getNormdataFieldsForTemplate(String template); List<Metadata> getTocLabelConfiguration(String template); int getTocAnchorGroupElementsPerPage(); boolean isDisplaySidebarBrowsingTerms(); boolean isDisplaySidebarRssFeed(); boolean isDisplayWidgetUsage(); Metadata getWidgetUsageLicenceTextMetadata(); boolean isDisplaySidebarUsageWidgetLinkToJpegImage(); boolean isDisplaySidebarUsageWidgetLinkToMasterImage(); String getWidgetUsageMaxJpegSize(); String getWidgetUsageMaxMasterImageSize(); List<String> getCalendarDocStructTypes(); boolean isBrowsingMenuEnabled(); int getBrowsingMenuHitsPerPage(); List<BrowsingMenuFieldConfig> getBrowsingMenuFields(); String getBrowsingMenuSortingIgnoreLeadingChars(); String getDocstrctWhitelistFilterQuery(); String getCollectionSplittingChar(String field); List<DcSortingList> getCollectionSorting(String field); List<String> getCollectionBlacklist(String field); String getCollectionDefaultSortField(String field, String name); int getCollectionDisplayNumberOfVolumesLevel(String field); int getCollectionDisplayDepthForSearch(String field); String getCollectionHierarchyField(); boolean isAddCollectionHierarchyToBreadcrumbs(String field); String getSolrUrl(); String getContentServerWrapperUrl(); String getDownloadUrl(); String getRestApiUrl(); String getIIIFApiUrl(); boolean isUseIIIFApiUrlForCmsMediaUrls(); String getContentServerRealUrl(); String getMetsUrl(); String getMarcUrl(); String getDcUrl(); String getEseUrl(); List<Integer> getSearchHitsPerPageValues(); int getSearchHitsPerPageDefaultValue(); int getFulltextFragmentLength(); boolean isAdvancedSearchEnabled(); int getAdvancedSearchDefaultItemNumber(); List<AdvancedSearchFieldConfiguration> getAdvancedSearchFields(); boolean isAggregateHits(); boolean isDisplayAdditionalMetadataEnabled(); List<String> getDisplayAdditionalMetadataIgnoreFields(); List<String> getDisplayAdditionalMetadataTranslateFields(); boolean isAdvancedSearchFieldHierarchical(String field); boolean isAdvancedSearchFieldRange(String field); boolean isAdvancedSearchFieldUntokenizeForPhraseSearch(String field); String getAdvancedSearchFieldSeparatorLabel(String field); boolean isTimelineSearchEnabled(); boolean isCalendarSearchEnabled(); String getStaticQuerySuffix(); String getPreviousVersionIdentifierField(); String getNextVersionIdentifierField(); String getVersionLabelField(); String getIndexedMetsFolder(); String getIndexedLidoFolder(); String getIndexedDenkxwebFolder(); String getIndexedDublinCoreFolder(); String getPageSelectionFormat(); String getMediaFolder(); String getPdfFolder(); String getVocabulariesFolder(); String getOrigContentFolder(); String getCmsTextFolder(); String getAltoFolder(); String getAbbyyFolder(); String getFulltextFolder(); String getTeiFolder(); String getCmdiFolder(); String getWcFolder(); String getAnnotationFolder(); String getHotfolder(); @SuppressWarnings("static-method") String getTempFolder(); boolean isUrnDoRedirect(); boolean isUserRegistrationEnabled(); List<SecurityQuestion> getSecurityQuestions(); boolean isShowOpenIdConnect(); List<IAuthenticationProvider> getAuthenticationProviders(); String getSmtpServer(); String getSmtpUser(); String getSmtpPassword(); String getSmtpSenderAddress(); String getSmtpSenderName(); String getSmtpSecurity(); String getAnonymousUserEmailAddress(); boolean isDisplayCollectionBrowsing(); boolean isDisplayUserNavigation(); boolean isDisplayTagCloudNavigation(); boolean isDisplayStatistics(); boolean isDisplayTimeMatrix(); boolean isDisplayCrowdsourcingModuleLinks(); String getTheme(); String getThemeRootPath(); String getName(); String getDescription(); boolean isDisplayTagCloudStartpage(); boolean isDisplaySearchResultNavigation(); boolean isFoldout(String sidebarElement); boolean isSidebarPageViewLinkVisible(); boolean isSidebarCalendarViewLinkVisible(); boolean isSidebarTocViewLinkVisible(); boolean isSidebarThumbsViewLinkVisible(); boolean isSidebarMetadataViewLinkVisible(); boolean isShowSidebarEventMetadata(); boolean isShowRecordLabelIfNoOtherViews(); boolean isSidebarFulltextLinkVisible(); boolean isSidebarTocWidgetVisible(); boolean isSidebarTocWidgetVisibleInFullscreen(); boolean isSidebarOpacLinkVisible(); boolean getSidebarTocPageNumbersVisible(); int getSidebarTocLengthBeforeCut(); int getSidebarTocInitialCollapseLevel(); int getSidebarTocCollapseLengthThreshold(); int getSidebarTocLowestLevelToCollapseForLength(); boolean isSidebarTocTreeView(); boolean isTocTreeView(String docStructType); List<String> getAllDrillDownFields(); List<String> getDrillDownFields(); List<String> getHierarchicalDrillDownFields(); int getInitialDrillDownElementNumber(String field); String getSortOrder(String field); List<String> getPriorityValuesForDrillDownField(String field); String getLabelFieldForDrillDownField(String facetField); @SuppressWarnings("static-method") List<String> getRangeFacetFields(); boolean isSortingEnabled(); String getDefaultSortField(); List<String> getSortFields(); List<String> getStaticSortFields(); String getUrnResolverUrl(); int getUnconditionalImageAccessMaxWidth(); boolean isFullAccessForLocalhost(); boolean isGeneratePdfInTaskManager(); boolean isPdfApiDisabled(); boolean isTitlePdfEnabled(); boolean isTocPdfEnabled(); boolean isMetadataPdfEnabled(); boolean isPagePdfEnabled(); boolean isDocHierarchyPdfEnabled(); boolean isTitleEpubEnabled(); boolean isTocEpubEnabled(); boolean isMetadataEpubEnabled(); String getDownloadFolder(String type); int getRssFeedItems(); String getRssTitle(); String getRssDescription(); String getRssCopyrightText(); String getRulesetFilePath(); String getDefaultCollection(); int getThumbnailsWidth(); int getThumbnailsHeight(); int getThumbnailsCompression(); String getAnchorThumbnailMode(); int getMultivolumeThumbnailWidth(); int getMultivolumeThumbnailHeight(); boolean getDisplayBreadcrumbs(); boolean getDisplayMetadataPageLinkBlock(); boolean isAddDublinCoreMetaTags(); boolean isAddHighwirePressMetaTags(); int getMetadataParamNumber(); boolean useTiles(); boolean useTilesFullscreen(); boolean useTiles(PageType view, ImageType image); int getFooterHeight(); int getFullscreenFooterHeight(); int getFooterHeight(PageType view, ImageType image); String getImageViewType(); String getZoomFullscreenViewType(); String getZoomImageViewType(PageType view, ImageType image); boolean useOpenSeadragon(); List<String> getImageViewZoomScales(); List<String> getImageViewZoomScales(String view); List<String> getImageViewZoomScales(PageType view, ImageType image); Map<Integer, List<Integer>> getTileSizes(); Map<Integer, List<Integer>> getTileSizes(PageType view, ImageType image); SubnodeConfiguration getZoomImageViewConfig(PageType pageType, ImageType imageType); int getBreadcrumbsClipping(); boolean isDisplayTopstructLabel(); boolean getDisplayStructType(); int getSearchHitMetadataValueNumber(); int getSearchHitMetadataValueLength(); List<String> getWatermarkTextConfiguration(); String getWatermarkFormat(); boolean isOriginalContentDownload(); String getStopwordsFilePath(); String getPageType(PageType type); String getDocstructTargetPageType(String docstruct); String getPageTypeExitView(PageType type); int getFulltextPercentageWarningThreshold(); boolean isUseViewerLocaleAsRecordLanguage(); String getFeedbackEmailAddress(); boolean isBookmarksEnabled(); boolean isForceJpegConversion(); int getPageLoaderThreshold(); boolean isPreventProxyCaching(); boolean isSolrCompressionEnabled(); boolean isSolrBackwardsCompatible(); boolean isUserCommentsEnabled(); String getUserCommentsConditionalQuery(); List<String> getUserCommentsNotificationEmailAddresses(); String getViewerHome(); List<String> getWatermarkIdField(); String getSubthemeMainTheme(); String getSubthemeDiscriminatorField(); int getTagCloudSampleSize(String fieldName); List<StringPair> getTocVolumeSortFieldsForTemplate(String template); String getTocVolumeGroupFieldForTemplate(String template); boolean getDisplayTitleBreadcrumbs(); boolean isDisplayTitlePURL(); int getTitleBreadcrumbsMaxTitleLength(); boolean getIncludeAnchorInTitleBreadcrumbs(); boolean isDisplaySearchRssLinks(); boolean showThumbnailsInToc(); String getStartYearForTimeline(); String getEndYearForTimeline(); String getTimelineHits(); boolean isPiwikTrackingEnabled(); String getPiwikBaseURL(); String getPiwikSiteID(); boolean isSearchSavingEnabled(); boolean isBoostTopLevelDocstructs(); boolean isGroupDuplicateHits(); List<String> getRecordGroupIdentifierFields(); List<String> getAncestorIdentifierFields(); boolean isTocListSiblingRecords(); List<SearchFilter> getSearchFilters(); List<Map<String, String>> getWebApiFields(); String getDbPersistenceUnit(); boolean useCustomNavBar(); String getCmsTemplateFolder(); String getCmsMediaFolder(); String getTempMediaFolder(); List<String> getCmsClassifications(); int getCmsMediaDisplayWidth(); int getCmsMediaDisplayHeight(); boolean isTranskribusEnabled(); String getTranskribusUserName(); String getTranskribusPassword(); String getTranskribusDefaultCollection(); String getTranskribusRestApiUrl(); List<String> getTranskribusAllowedDocumentTypes(); int getTocIndentation(); boolean isPageBrowseEnabled(); List<Integer> getPageBrowseSteps(); String getTaskManagerServiceUrl(); String getTaskManagerRestUrl(); String getReCaptchaSiteKey(); boolean isUseReCaptcha(); boolean isSearchInItemEnabled(); String getDefaultBrowseIcon(String field); boolean isSearchExcelExportEnabled(); List<String> getSearchExcelExportFields(); int getExcelDownloadTimeout(); boolean isDisplayEmptyTocInSidebar(); boolean isDoublePageModeEnabled(); List<String> getRestrictedImageUrls(); List<String> getIIIFLicenses(); List<String> getIIIFMetadataFields(); List<String> getIIIFEventFields(); String getIIIFMetadataLabel(String field); int getIIIFDiscoveryAvtivitiesPerPage(); List<String> getIIIFLogo(); String getIIIFNavDateField(); List<String> getIIIFAttribution(); List<String> getIIIFDescriptionFields(); String getSitelinksField(); String getSitelinksFilterQuery(); List<String> getConfiguredCollections(); String getWebApiToken(); boolean isAllowRedirectCollectionToWork(); String getTwitterUserName(); float getLimitImageHeightUpperRatioThreshold(); float getLimitImageHeightLowerRatioThreshold(); boolean isLimitImageHeight(); boolean isAddCORSHeader(); String getCORSHeaderValue(); boolean isDiscloseImageContentLocation(); String getAccessConditionDisplayField(); String getCopyrightDisplayField(); boolean isDisplayCopyrightInfo(); boolean isDisplaySocialMediaShareLinks(); boolean isDisplayAnchorLabelInTitleBar(String template); String getAnchorLabelInTitleBarPrefix(String template); String getAnchorLabelInTitleBarSuffix(String template); String getMapBoxToken(); GeoMapMarker getGeoMapMarker(String name); List<String> getGeoMapMarkerFields(); List<GeoMapMarker> getGeoMapMarkers(); static GeoMapMarker readGeoMapMarker(HierarchicalConfiguration config); List<LicenseDescription> getLicenseDescriptions(); }
@Test public void getRssTitle_shouldReturnCorrectValue() throws Exception { Assert.assertEquals("title_value", DataManager.getInstance().getConfiguration().getRssTitle()); }
public String getRssTitle() { return getLocalString("rss.title", "viewer-rss"); }
Configuration extends AbstractConfiguration { public String getRssTitle() { return getLocalString("rss.title", "viewer-rss"); } }
Configuration extends AbstractConfiguration { public String getRssTitle() { return getLocalString("rss.title", "viewer-rss"); } Configuration(String configFilePath); }
Configuration extends AbstractConfiguration { public String getRssTitle() { return getLocalString("rss.title", "viewer-rss"); } Configuration(String configFilePath); Set<String> getStopwords(); boolean reloadingRequired(); String getConfigLocalPath(); String getLocalRessourceBundleFile(); int getViewerThumbnailsPerPage(); int getViewerMaxImageWidth(); int getViewerMaxImageHeight(); int getViewerMaxImageScale(); boolean isRememberImageZoom(); boolean isRememberImageRotation(); String getDfgViewerUrl(); String getConnectorVersionUrl(); List<Metadata> getTitleBarMetadata(); List<Metadata> getSearchHitMetadataForTemplate(String template); List<Metadata> getMainMetadataForTemplate(String template); List<Metadata> getSidebarMetadataForTemplate(String template); List<String> getNormdataFieldsForTemplate(String template); List<Metadata> getTocLabelConfiguration(String template); int getTocAnchorGroupElementsPerPage(); boolean isDisplaySidebarBrowsingTerms(); boolean isDisplaySidebarRssFeed(); boolean isDisplayWidgetUsage(); Metadata getWidgetUsageLicenceTextMetadata(); boolean isDisplaySidebarUsageWidgetLinkToJpegImage(); boolean isDisplaySidebarUsageWidgetLinkToMasterImage(); String getWidgetUsageMaxJpegSize(); String getWidgetUsageMaxMasterImageSize(); List<String> getCalendarDocStructTypes(); boolean isBrowsingMenuEnabled(); int getBrowsingMenuHitsPerPage(); List<BrowsingMenuFieldConfig> getBrowsingMenuFields(); String getBrowsingMenuSortingIgnoreLeadingChars(); String getDocstrctWhitelistFilterQuery(); String getCollectionSplittingChar(String field); List<DcSortingList> getCollectionSorting(String field); List<String> getCollectionBlacklist(String field); String getCollectionDefaultSortField(String field, String name); int getCollectionDisplayNumberOfVolumesLevel(String field); int getCollectionDisplayDepthForSearch(String field); String getCollectionHierarchyField(); boolean isAddCollectionHierarchyToBreadcrumbs(String field); String getSolrUrl(); String getContentServerWrapperUrl(); String getDownloadUrl(); String getRestApiUrl(); String getIIIFApiUrl(); boolean isUseIIIFApiUrlForCmsMediaUrls(); String getContentServerRealUrl(); String getMetsUrl(); String getMarcUrl(); String getDcUrl(); String getEseUrl(); List<Integer> getSearchHitsPerPageValues(); int getSearchHitsPerPageDefaultValue(); int getFulltextFragmentLength(); boolean isAdvancedSearchEnabled(); int getAdvancedSearchDefaultItemNumber(); List<AdvancedSearchFieldConfiguration> getAdvancedSearchFields(); boolean isAggregateHits(); boolean isDisplayAdditionalMetadataEnabled(); List<String> getDisplayAdditionalMetadataIgnoreFields(); List<String> getDisplayAdditionalMetadataTranslateFields(); boolean isAdvancedSearchFieldHierarchical(String field); boolean isAdvancedSearchFieldRange(String field); boolean isAdvancedSearchFieldUntokenizeForPhraseSearch(String field); String getAdvancedSearchFieldSeparatorLabel(String field); boolean isTimelineSearchEnabled(); boolean isCalendarSearchEnabled(); String getStaticQuerySuffix(); String getPreviousVersionIdentifierField(); String getNextVersionIdentifierField(); String getVersionLabelField(); String getIndexedMetsFolder(); String getIndexedLidoFolder(); String getIndexedDenkxwebFolder(); String getIndexedDublinCoreFolder(); String getPageSelectionFormat(); String getMediaFolder(); String getPdfFolder(); String getVocabulariesFolder(); String getOrigContentFolder(); String getCmsTextFolder(); String getAltoFolder(); String getAbbyyFolder(); String getFulltextFolder(); String getTeiFolder(); String getCmdiFolder(); String getWcFolder(); String getAnnotationFolder(); String getHotfolder(); @SuppressWarnings("static-method") String getTempFolder(); boolean isUrnDoRedirect(); boolean isUserRegistrationEnabled(); List<SecurityQuestion> getSecurityQuestions(); boolean isShowOpenIdConnect(); List<IAuthenticationProvider> getAuthenticationProviders(); String getSmtpServer(); String getSmtpUser(); String getSmtpPassword(); String getSmtpSenderAddress(); String getSmtpSenderName(); String getSmtpSecurity(); String getAnonymousUserEmailAddress(); boolean isDisplayCollectionBrowsing(); boolean isDisplayUserNavigation(); boolean isDisplayTagCloudNavigation(); boolean isDisplayStatistics(); boolean isDisplayTimeMatrix(); boolean isDisplayCrowdsourcingModuleLinks(); String getTheme(); String getThemeRootPath(); String getName(); String getDescription(); boolean isDisplayTagCloudStartpage(); boolean isDisplaySearchResultNavigation(); boolean isFoldout(String sidebarElement); boolean isSidebarPageViewLinkVisible(); boolean isSidebarCalendarViewLinkVisible(); boolean isSidebarTocViewLinkVisible(); boolean isSidebarThumbsViewLinkVisible(); boolean isSidebarMetadataViewLinkVisible(); boolean isShowSidebarEventMetadata(); boolean isShowRecordLabelIfNoOtherViews(); boolean isSidebarFulltextLinkVisible(); boolean isSidebarTocWidgetVisible(); boolean isSidebarTocWidgetVisibleInFullscreen(); boolean isSidebarOpacLinkVisible(); boolean getSidebarTocPageNumbersVisible(); int getSidebarTocLengthBeforeCut(); int getSidebarTocInitialCollapseLevel(); int getSidebarTocCollapseLengthThreshold(); int getSidebarTocLowestLevelToCollapseForLength(); boolean isSidebarTocTreeView(); boolean isTocTreeView(String docStructType); List<String> getAllDrillDownFields(); List<String> getDrillDownFields(); List<String> getHierarchicalDrillDownFields(); int getInitialDrillDownElementNumber(String field); String getSortOrder(String field); List<String> getPriorityValuesForDrillDownField(String field); String getLabelFieldForDrillDownField(String facetField); @SuppressWarnings("static-method") List<String> getRangeFacetFields(); boolean isSortingEnabled(); String getDefaultSortField(); List<String> getSortFields(); List<String> getStaticSortFields(); String getUrnResolverUrl(); int getUnconditionalImageAccessMaxWidth(); boolean isFullAccessForLocalhost(); boolean isGeneratePdfInTaskManager(); boolean isPdfApiDisabled(); boolean isTitlePdfEnabled(); boolean isTocPdfEnabled(); boolean isMetadataPdfEnabled(); boolean isPagePdfEnabled(); boolean isDocHierarchyPdfEnabled(); boolean isTitleEpubEnabled(); boolean isTocEpubEnabled(); boolean isMetadataEpubEnabled(); String getDownloadFolder(String type); int getRssFeedItems(); String getRssTitle(); String getRssDescription(); String getRssCopyrightText(); String getRulesetFilePath(); String getDefaultCollection(); int getThumbnailsWidth(); int getThumbnailsHeight(); int getThumbnailsCompression(); String getAnchorThumbnailMode(); int getMultivolumeThumbnailWidth(); int getMultivolumeThumbnailHeight(); boolean getDisplayBreadcrumbs(); boolean getDisplayMetadataPageLinkBlock(); boolean isAddDublinCoreMetaTags(); boolean isAddHighwirePressMetaTags(); int getMetadataParamNumber(); boolean useTiles(); boolean useTilesFullscreen(); boolean useTiles(PageType view, ImageType image); int getFooterHeight(); int getFullscreenFooterHeight(); int getFooterHeight(PageType view, ImageType image); String getImageViewType(); String getZoomFullscreenViewType(); String getZoomImageViewType(PageType view, ImageType image); boolean useOpenSeadragon(); List<String> getImageViewZoomScales(); List<String> getImageViewZoomScales(String view); List<String> getImageViewZoomScales(PageType view, ImageType image); Map<Integer, List<Integer>> getTileSizes(); Map<Integer, List<Integer>> getTileSizes(PageType view, ImageType image); SubnodeConfiguration getZoomImageViewConfig(PageType pageType, ImageType imageType); int getBreadcrumbsClipping(); boolean isDisplayTopstructLabel(); boolean getDisplayStructType(); int getSearchHitMetadataValueNumber(); int getSearchHitMetadataValueLength(); List<String> getWatermarkTextConfiguration(); String getWatermarkFormat(); boolean isOriginalContentDownload(); String getStopwordsFilePath(); String getPageType(PageType type); String getDocstructTargetPageType(String docstruct); String getPageTypeExitView(PageType type); int getFulltextPercentageWarningThreshold(); boolean isUseViewerLocaleAsRecordLanguage(); String getFeedbackEmailAddress(); boolean isBookmarksEnabled(); boolean isForceJpegConversion(); int getPageLoaderThreshold(); boolean isPreventProxyCaching(); boolean isSolrCompressionEnabled(); boolean isSolrBackwardsCompatible(); boolean isUserCommentsEnabled(); String getUserCommentsConditionalQuery(); List<String> getUserCommentsNotificationEmailAddresses(); String getViewerHome(); List<String> getWatermarkIdField(); String getSubthemeMainTheme(); String getSubthemeDiscriminatorField(); int getTagCloudSampleSize(String fieldName); List<StringPair> getTocVolumeSortFieldsForTemplate(String template); String getTocVolumeGroupFieldForTemplate(String template); boolean getDisplayTitleBreadcrumbs(); boolean isDisplayTitlePURL(); int getTitleBreadcrumbsMaxTitleLength(); boolean getIncludeAnchorInTitleBreadcrumbs(); boolean isDisplaySearchRssLinks(); boolean showThumbnailsInToc(); String getStartYearForTimeline(); String getEndYearForTimeline(); String getTimelineHits(); boolean isPiwikTrackingEnabled(); String getPiwikBaseURL(); String getPiwikSiteID(); boolean isSearchSavingEnabled(); boolean isBoostTopLevelDocstructs(); boolean isGroupDuplicateHits(); List<String> getRecordGroupIdentifierFields(); List<String> getAncestorIdentifierFields(); boolean isTocListSiblingRecords(); List<SearchFilter> getSearchFilters(); List<Map<String, String>> getWebApiFields(); String getDbPersistenceUnit(); boolean useCustomNavBar(); String getCmsTemplateFolder(); String getCmsMediaFolder(); String getTempMediaFolder(); List<String> getCmsClassifications(); int getCmsMediaDisplayWidth(); int getCmsMediaDisplayHeight(); boolean isTranskribusEnabled(); String getTranskribusUserName(); String getTranskribusPassword(); String getTranskribusDefaultCollection(); String getTranskribusRestApiUrl(); List<String> getTranskribusAllowedDocumentTypes(); int getTocIndentation(); boolean isPageBrowseEnabled(); List<Integer> getPageBrowseSteps(); String getTaskManagerServiceUrl(); String getTaskManagerRestUrl(); String getReCaptchaSiteKey(); boolean isUseReCaptcha(); boolean isSearchInItemEnabled(); String getDefaultBrowseIcon(String field); boolean isSearchExcelExportEnabled(); List<String> getSearchExcelExportFields(); int getExcelDownloadTimeout(); boolean isDisplayEmptyTocInSidebar(); boolean isDoublePageModeEnabled(); List<String> getRestrictedImageUrls(); List<String> getIIIFLicenses(); List<String> getIIIFMetadataFields(); List<String> getIIIFEventFields(); String getIIIFMetadataLabel(String field); int getIIIFDiscoveryAvtivitiesPerPage(); List<String> getIIIFLogo(); String getIIIFNavDateField(); List<String> getIIIFAttribution(); List<String> getIIIFDescriptionFields(); String getSitelinksField(); String getSitelinksFilterQuery(); List<String> getConfiguredCollections(); String getWebApiToken(); boolean isAllowRedirectCollectionToWork(); String getTwitterUserName(); float getLimitImageHeightUpperRatioThreshold(); float getLimitImageHeightLowerRatioThreshold(); boolean isLimitImageHeight(); boolean isAddCORSHeader(); String getCORSHeaderValue(); boolean isDiscloseImageContentLocation(); String getAccessConditionDisplayField(); String getCopyrightDisplayField(); boolean isDisplayCopyrightInfo(); boolean isDisplaySocialMediaShareLinks(); boolean isDisplayAnchorLabelInTitleBar(String template); String getAnchorLabelInTitleBarPrefix(String template); String getAnchorLabelInTitleBarSuffix(String template); String getMapBoxToken(); GeoMapMarker getGeoMapMarker(String name); List<String> getGeoMapMarkerFields(); List<GeoMapMarker> getGeoMapMarkers(); static GeoMapMarker readGeoMapMarker(HierarchicalConfiguration config); List<LicenseDescription> getLicenseDescriptions(); }
Configuration extends AbstractConfiguration { public String getRssTitle() { return getLocalString("rss.title", "viewer-rss"); } Configuration(String configFilePath); Set<String> getStopwords(); boolean reloadingRequired(); String getConfigLocalPath(); String getLocalRessourceBundleFile(); int getViewerThumbnailsPerPage(); int getViewerMaxImageWidth(); int getViewerMaxImageHeight(); int getViewerMaxImageScale(); boolean isRememberImageZoom(); boolean isRememberImageRotation(); String getDfgViewerUrl(); String getConnectorVersionUrl(); List<Metadata> getTitleBarMetadata(); List<Metadata> getSearchHitMetadataForTemplate(String template); List<Metadata> getMainMetadataForTemplate(String template); List<Metadata> getSidebarMetadataForTemplate(String template); List<String> getNormdataFieldsForTemplate(String template); List<Metadata> getTocLabelConfiguration(String template); int getTocAnchorGroupElementsPerPage(); boolean isDisplaySidebarBrowsingTerms(); boolean isDisplaySidebarRssFeed(); boolean isDisplayWidgetUsage(); Metadata getWidgetUsageLicenceTextMetadata(); boolean isDisplaySidebarUsageWidgetLinkToJpegImage(); boolean isDisplaySidebarUsageWidgetLinkToMasterImage(); String getWidgetUsageMaxJpegSize(); String getWidgetUsageMaxMasterImageSize(); List<String> getCalendarDocStructTypes(); boolean isBrowsingMenuEnabled(); int getBrowsingMenuHitsPerPage(); List<BrowsingMenuFieldConfig> getBrowsingMenuFields(); String getBrowsingMenuSortingIgnoreLeadingChars(); String getDocstrctWhitelistFilterQuery(); String getCollectionSplittingChar(String field); List<DcSortingList> getCollectionSorting(String field); List<String> getCollectionBlacklist(String field); String getCollectionDefaultSortField(String field, String name); int getCollectionDisplayNumberOfVolumesLevel(String field); int getCollectionDisplayDepthForSearch(String field); String getCollectionHierarchyField(); boolean isAddCollectionHierarchyToBreadcrumbs(String field); String getSolrUrl(); String getContentServerWrapperUrl(); String getDownloadUrl(); String getRestApiUrl(); String getIIIFApiUrl(); boolean isUseIIIFApiUrlForCmsMediaUrls(); String getContentServerRealUrl(); String getMetsUrl(); String getMarcUrl(); String getDcUrl(); String getEseUrl(); List<Integer> getSearchHitsPerPageValues(); int getSearchHitsPerPageDefaultValue(); int getFulltextFragmentLength(); boolean isAdvancedSearchEnabled(); int getAdvancedSearchDefaultItemNumber(); List<AdvancedSearchFieldConfiguration> getAdvancedSearchFields(); boolean isAggregateHits(); boolean isDisplayAdditionalMetadataEnabled(); List<String> getDisplayAdditionalMetadataIgnoreFields(); List<String> getDisplayAdditionalMetadataTranslateFields(); boolean isAdvancedSearchFieldHierarchical(String field); boolean isAdvancedSearchFieldRange(String field); boolean isAdvancedSearchFieldUntokenizeForPhraseSearch(String field); String getAdvancedSearchFieldSeparatorLabel(String field); boolean isTimelineSearchEnabled(); boolean isCalendarSearchEnabled(); String getStaticQuerySuffix(); String getPreviousVersionIdentifierField(); String getNextVersionIdentifierField(); String getVersionLabelField(); String getIndexedMetsFolder(); String getIndexedLidoFolder(); String getIndexedDenkxwebFolder(); String getIndexedDublinCoreFolder(); String getPageSelectionFormat(); String getMediaFolder(); String getPdfFolder(); String getVocabulariesFolder(); String getOrigContentFolder(); String getCmsTextFolder(); String getAltoFolder(); String getAbbyyFolder(); String getFulltextFolder(); String getTeiFolder(); String getCmdiFolder(); String getWcFolder(); String getAnnotationFolder(); String getHotfolder(); @SuppressWarnings("static-method") String getTempFolder(); boolean isUrnDoRedirect(); boolean isUserRegistrationEnabled(); List<SecurityQuestion> getSecurityQuestions(); boolean isShowOpenIdConnect(); List<IAuthenticationProvider> getAuthenticationProviders(); String getSmtpServer(); String getSmtpUser(); String getSmtpPassword(); String getSmtpSenderAddress(); String getSmtpSenderName(); String getSmtpSecurity(); String getAnonymousUserEmailAddress(); boolean isDisplayCollectionBrowsing(); boolean isDisplayUserNavigation(); boolean isDisplayTagCloudNavigation(); boolean isDisplayStatistics(); boolean isDisplayTimeMatrix(); boolean isDisplayCrowdsourcingModuleLinks(); String getTheme(); String getThemeRootPath(); String getName(); String getDescription(); boolean isDisplayTagCloudStartpage(); boolean isDisplaySearchResultNavigation(); boolean isFoldout(String sidebarElement); boolean isSidebarPageViewLinkVisible(); boolean isSidebarCalendarViewLinkVisible(); boolean isSidebarTocViewLinkVisible(); boolean isSidebarThumbsViewLinkVisible(); boolean isSidebarMetadataViewLinkVisible(); boolean isShowSidebarEventMetadata(); boolean isShowRecordLabelIfNoOtherViews(); boolean isSidebarFulltextLinkVisible(); boolean isSidebarTocWidgetVisible(); boolean isSidebarTocWidgetVisibleInFullscreen(); boolean isSidebarOpacLinkVisible(); boolean getSidebarTocPageNumbersVisible(); int getSidebarTocLengthBeforeCut(); int getSidebarTocInitialCollapseLevel(); int getSidebarTocCollapseLengthThreshold(); int getSidebarTocLowestLevelToCollapseForLength(); boolean isSidebarTocTreeView(); boolean isTocTreeView(String docStructType); List<String> getAllDrillDownFields(); List<String> getDrillDownFields(); List<String> getHierarchicalDrillDownFields(); int getInitialDrillDownElementNumber(String field); String getSortOrder(String field); List<String> getPriorityValuesForDrillDownField(String field); String getLabelFieldForDrillDownField(String facetField); @SuppressWarnings("static-method") List<String> getRangeFacetFields(); boolean isSortingEnabled(); String getDefaultSortField(); List<String> getSortFields(); List<String> getStaticSortFields(); String getUrnResolverUrl(); int getUnconditionalImageAccessMaxWidth(); boolean isFullAccessForLocalhost(); boolean isGeneratePdfInTaskManager(); boolean isPdfApiDisabled(); boolean isTitlePdfEnabled(); boolean isTocPdfEnabled(); boolean isMetadataPdfEnabled(); boolean isPagePdfEnabled(); boolean isDocHierarchyPdfEnabled(); boolean isTitleEpubEnabled(); boolean isTocEpubEnabled(); boolean isMetadataEpubEnabled(); String getDownloadFolder(String type); int getRssFeedItems(); String getRssTitle(); String getRssDescription(); String getRssCopyrightText(); String getRulesetFilePath(); String getDefaultCollection(); int getThumbnailsWidth(); int getThumbnailsHeight(); int getThumbnailsCompression(); String getAnchorThumbnailMode(); int getMultivolumeThumbnailWidth(); int getMultivolumeThumbnailHeight(); boolean getDisplayBreadcrumbs(); boolean getDisplayMetadataPageLinkBlock(); boolean isAddDublinCoreMetaTags(); boolean isAddHighwirePressMetaTags(); int getMetadataParamNumber(); boolean useTiles(); boolean useTilesFullscreen(); boolean useTiles(PageType view, ImageType image); int getFooterHeight(); int getFullscreenFooterHeight(); int getFooterHeight(PageType view, ImageType image); String getImageViewType(); String getZoomFullscreenViewType(); String getZoomImageViewType(PageType view, ImageType image); boolean useOpenSeadragon(); List<String> getImageViewZoomScales(); List<String> getImageViewZoomScales(String view); List<String> getImageViewZoomScales(PageType view, ImageType image); Map<Integer, List<Integer>> getTileSizes(); Map<Integer, List<Integer>> getTileSizes(PageType view, ImageType image); SubnodeConfiguration getZoomImageViewConfig(PageType pageType, ImageType imageType); int getBreadcrumbsClipping(); boolean isDisplayTopstructLabel(); boolean getDisplayStructType(); int getSearchHitMetadataValueNumber(); int getSearchHitMetadataValueLength(); List<String> getWatermarkTextConfiguration(); String getWatermarkFormat(); boolean isOriginalContentDownload(); String getStopwordsFilePath(); String getPageType(PageType type); String getDocstructTargetPageType(String docstruct); String getPageTypeExitView(PageType type); int getFulltextPercentageWarningThreshold(); boolean isUseViewerLocaleAsRecordLanguage(); String getFeedbackEmailAddress(); boolean isBookmarksEnabled(); boolean isForceJpegConversion(); int getPageLoaderThreshold(); boolean isPreventProxyCaching(); boolean isSolrCompressionEnabled(); boolean isSolrBackwardsCompatible(); boolean isUserCommentsEnabled(); String getUserCommentsConditionalQuery(); List<String> getUserCommentsNotificationEmailAddresses(); String getViewerHome(); List<String> getWatermarkIdField(); String getSubthemeMainTheme(); String getSubthemeDiscriminatorField(); int getTagCloudSampleSize(String fieldName); List<StringPair> getTocVolumeSortFieldsForTemplate(String template); String getTocVolumeGroupFieldForTemplate(String template); boolean getDisplayTitleBreadcrumbs(); boolean isDisplayTitlePURL(); int getTitleBreadcrumbsMaxTitleLength(); boolean getIncludeAnchorInTitleBreadcrumbs(); boolean isDisplaySearchRssLinks(); boolean showThumbnailsInToc(); String getStartYearForTimeline(); String getEndYearForTimeline(); String getTimelineHits(); boolean isPiwikTrackingEnabled(); String getPiwikBaseURL(); String getPiwikSiteID(); boolean isSearchSavingEnabled(); boolean isBoostTopLevelDocstructs(); boolean isGroupDuplicateHits(); List<String> getRecordGroupIdentifierFields(); List<String> getAncestorIdentifierFields(); boolean isTocListSiblingRecords(); List<SearchFilter> getSearchFilters(); List<Map<String, String>> getWebApiFields(); String getDbPersistenceUnit(); boolean useCustomNavBar(); String getCmsTemplateFolder(); String getCmsMediaFolder(); String getTempMediaFolder(); List<String> getCmsClassifications(); int getCmsMediaDisplayWidth(); int getCmsMediaDisplayHeight(); boolean isTranskribusEnabled(); String getTranskribusUserName(); String getTranskribusPassword(); String getTranskribusDefaultCollection(); String getTranskribusRestApiUrl(); List<String> getTranskribusAllowedDocumentTypes(); int getTocIndentation(); boolean isPageBrowseEnabled(); List<Integer> getPageBrowseSteps(); String getTaskManagerServiceUrl(); String getTaskManagerRestUrl(); String getReCaptchaSiteKey(); boolean isUseReCaptcha(); boolean isSearchInItemEnabled(); String getDefaultBrowseIcon(String field); boolean isSearchExcelExportEnabled(); List<String> getSearchExcelExportFields(); int getExcelDownloadTimeout(); boolean isDisplayEmptyTocInSidebar(); boolean isDoublePageModeEnabled(); List<String> getRestrictedImageUrls(); List<String> getIIIFLicenses(); List<String> getIIIFMetadataFields(); List<String> getIIIFEventFields(); String getIIIFMetadataLabel(String field); int getIIIFDiscoveryAvtivitiesPerPage(); List<String> getIIIFLogo(); String getIIIFNavDateField(); List<String> getIIIFAttribution(); List<String> getIIIFDescriptionFields(); String getSitelinksField(); String getSitelinksFilterQuery(); List<String> getConfiguredCollections(); String getWebApiToken(); boolean isAllowRedirectCollectionToWork(); String getTwitterUserName(); float getLimitImageHeightUpperRatioThreshold(); float getLimitImageHeightLowerRatioThreshold(); boolean isLimitImageHeight(); boolean isAddCORSHeader(); String getCORSHeaderValue(); boolean isDiscloseImageContentLocation(); String getAccessConditionDisplayField(); String getCopyrightDisplayField(); boolean isDisplayCopyrightInfo(); boolean isDisplaySocialMediaShareLinks(); boolean isDisplayAnchorLabelInTitleBar(String template); String getAnchorLabelInTitleBarPrefix(String template); String getAnchorLabelInTitleBarSuffix(String template); String getMapBoxToken(); GeoMapMarker getGeoMapMarker(String name); List<String> getGeoMapMarkerFields(); List<GeoMapMarker> getGeoMapMarkers(); static GeoMapMarker readGeoMapMarker(HierarchicalConfiguration config); List<LicenseDescription> getLicenseDescriptions(); }
@Test public void getRelevantLicenseTypesOnly_shouldRemoveLicenseTypesWhoseNamesDoNotMatchAccessConditions() throws Exception { List<LicenseType> allLicenseTypes = new ArrayList<>(); LicenseType lt = new LicenseType(); allLicenseTypes.add(lt); lt.setName("type1"); lt = new LicenseType(); allLicenseTypes.add(lt); lt.setName("type2"); Set<String> recordAccessConditions = new HashSet<>(); recordAccessConditions.add("type2"); Map<String, List<LicenseType>> ret = AccessConditionUtils.getRelevantLicenseTypesOnly(allLicenseTypes, recordAccessConditions, "+" + SolrConstants.PI_TOPSTRUCT + ":PPN517154005", Collections.singletonMap("", Boolean.FALSE)); Assert.assertNotNull(ret); Assert.assertNotNull(ret.get("")); Assert.assertEquals(1, ret.get("").size()); Assert.assertEquals("type2", ret.get("").get(0).getName()); }
static Map<String, List<LicenseType>> getRelevantLicenseTypesOnly(List<LicenseType> allLicenseTypes, Set<String> requiredAccessConditions, String query, Map<String, Boolean> accessMap) throws IndexUnreachableException, PresentationException { if (requiredAccessConditions == null || requiredAccessConditions.isEmpty()) { return accessMap.keySet().stream().collect(Collectors.toMap(Function.identity(), key -> Collections.emptyList())); } Map<String, List<LicenseType>> ret = new HashMap<>(accessMap.size()); for (LicenseType licenseType : allLicenseTypes) { if (!requiredAccessConditions.contains(licenseType.getName())) { continue; } if (StringUtils.isNotEmpty(licenseType.getProcessedConditions()) && StringUtils.isNotEmpty(query)) { String conditions = licenseType.getProcessedConditions(); StringBuilder sbQuery = new StringBuilder().append("+(").append(query).append(')'); if (conditions.charAt(0) == '-' || conditions.charAt(0) == '+') { sbQuery.append(' ').append(conditions); } else { sbQuery.append(" +(").append(conditions).append(')'); } logger.trace("License relevance query: {}", sbQuery.toString()); if (DataManager.getInstance().getSearchIndex().getHitCount(sbQuery.toString()) == 0) { if (licenseType.isMovingWall()) { logger.trace( "License type '{}' is a moving wall type and its condition query doesn't match the record query '{}'. All restrictions lifted.", licenseType.getName(), query); licenseType.getRestrictionsExpired().put(query, true); } else { continue; } } logger.trace("LicenseType '{}' applies to resource described by '{}' due to configured license subquery.", licenseType.getName(), query); } String filenameConditions = licenseType.getFilenameConditions(); if (StringUtils.isNotBlank(filenameConditions)) { for (String path : accessMap.keySet()) { if (StringUtils.isNotBlank(path)) { List<LicenseType> types = ret.get(path); if (types == null) { types = new ArrayList<>(); ret.put(path, types); } if (Pattern.matches(licenseType.getFilenameConditions(), Paths.get(path).getFileName().toString())) { types.add(licenseType); } } } } else { for (String key : accessMap.keySet()) { List<LicenseType> types = ret.get(key); if (types == null) { types = new ArrayList<>(); ret.put(key, types); } types.add(licenseType); } } } return ret; }
AccessConditionUtils { static Map<String, List<LicenseType>> getRelevantLicenseTypesOnly(List<LicenseType> allLicenseTypes, Set<String> requiredAccessConditions, String query, Map<String, Boolean> accessMap) throws IndexUnreachableException, PresentationException { if (requiredAccessConditions == null || requiredAccessConditions.isEmpty()) { return accessMap.keySet().stream().collect(Collectors.toMap(Function.identity(), key -> Collections.emptyList())); } Map<String, List<LicenseType>> ret = new HashMap<>(accessMap.size()); for (LicenseType licenseType : allLicenseTypes) { if (!requiredAccessConditions.contains(licenseType.getName())) { continue; } if (StringUtils.isNotEmpty(licenseType.getProcessedConditions()) && StringUtils.isNotEmpty(query)) { String conditions = licenseType.getProcessedConditions(); StringBuilder sbQuery = new StringBuilder().append("+(").append(query).append(')'); if (conditions.charAt(0) == '-' || conditions.charAt(0) == '+') { sbQuery.append(' ').append(conditions); } else { sbQuery.append(" +(").append(conditions).append(')'); } logger.trace("License relevance query: {}", sbQuery.toString()); if (DataManager.getInstance().getSearchIndex().getHitCount(sbQuery.toString()) == 0) { if (licenseType.isMovingWall()) { logger.trace( "License type '{}' is a moving wall type and its condition query doesn't match the record query '{}'. All restrictions lifted.", licenseType.getName(), query); licenseType.getRestrictionsExpired().put(query, true); } else { continue; } } logger.trace("LicenseType '{}' applies to resource described by '{}' due to configured license subquery.", licenseType.getName(), query); } String filenameConditions = licenseType.getFilenameConditions(); if (StringUtils.isNotBlank(filenameConditions)) { for (String path : accessMap.keySet()) { if (StringUtils.isNotBlank(path)) { List<LicenseType> types = ret.get(path); if (types == null) { types = new ArrayList<>(); ret.put(path, types); } if (Pattern.matches(licenseType.getFilenameConditions(), Paths.get(path).getFileName().toString())) { types.add(licenseType); } } } } else { for (String key : accessMap.keySet()) { List<LicenseType> types = ret.get(key); if (types == null) { types = new ArrayList<>(); ret.put(key, types); } types.add(licenseType); } } } return ret; } }
AccessConditionUtils { static Map<String, List<LicenseType>> getRelevantLicenseTypesOnly(List<LicenseType> allLicenseTypes, Set<String> requiredAccessConditions, String query, Map<String, Boolean> accessMap) throws IndexUnreachableException, PresentationException { if (requiredAccessConditions == null || requiredAccessConditions.isEmpty()) { return accessMap.keySet().stream().collect(Collectors.toMap(Function.identity(), key -> Collections.emptyList())); } Map<String, List<LicenseType>> ret = new HashMap<>(accessMap.size()); for (LicenseType licenseType : allLicenseTypes) { if (!requiredAccessConditions.contains(licenseType.getName())) { continue; } if (StringUtils.isNotEmpty(licenseType.getProcessedConditions()) && StringUtils.isNotEmpty(query)) { String conditions = licenseType.getProcessedConditions(); StringBuilder sbQuery = new StringBuilder().append("+(").append(query).append(')'); if (conditions.charAt(0) == '-' || conditions.charAt(0) == '+') { sbQuery.append(' ').append(conditions); } else { sbQuery.append(" +(").append(conditions).append(')'); } logger.trace("License relevance query: {}", sbQuery.toString()); if (DataManager.getInstance().getSearchIndex().getHitCount(sbQuery.toString()) == 0) { if (licenseType.isMovingWall()) { logger.trace( "License type '{}' is a moving wall type and its condition query doesn't match the record query '{}'. All restrictions lifted.", licenseType.getName(), query); licenseType.getRestrictionsExpired().put(query, true); } else { continue; } } logger.trace("LicenseType '{}' applies to resource described by '{}' due to configured license subquery.", licenseType.getName(), query); } String filenameConditions = licenseType.getFilenameConditions(); if (StringUtils.isNotBlank(filenameConditions)) { for (String path : accessMap.keySet()) { if (StringUtils.isNotBlank(path)) { List<LicenseType> types = ret.get(path); if (types == null) { types = new ArrayList<>(); ret.put(path, types); } if (Pattern.matches(licenseType.getFilenameConditions(), Paths.get(path).getFileName().toString())) { types.add(licenseType); } } } } else { for (String key : accessMap.keySet()) { List<LicenseType> types = ret.get(key); if (types == null) { types = new ArrayList<>(); ret.put(key, types); } types.add(licenseType); } } } return ret; } }
AccessConditionUtils { static Map<String, List<LicenseType>> getRelevantLicenseTypesOnly(List<LicenseType> allLicenseTypes, Set<String> requiredAccessConditions, String query, Map<String, Boolean> accessMap) throws IndexUnreachableException, PresentationException { if (requiredAccessConditions == null || requiredAccessConditions.isEmpty()) { return accessMap.keySet().stream().collect(Collectors.toMap(Function.identity(), key -> Collections.emptyList())); } Map<String, List<LicenseType>> ret = new HashMap<>(accessMap.size()); for (LicenseType licenseType : allLicenseTypes) { if (!requiredAccessConditions.contains(licenseType.getName())) { continue; } if (StringUtils.isNotEmpty(licenseType.getProcessedConditions()) && StringUtils.isNotEmpty(query)) { String conditions = licenseType.getProcessedConditions(); StringBuilder sbQuery = new StringBuilder().append("+(").append(query).append(')'); if (conditions.charAt(0) == '-' || conditions.charAt(0) == '+') { sbQuery.append(' ').append(conditions); } else { sbQuery.append(" +(").append(conditions).append(')'); } logger.trace("License relevance query: {}", sbQuery.toString()); if (DataManager.getInstance().getSearchIndex().getHitCount(sbQuery.toString()) == 0) { if (licenseType.isMovingWall()) { logger.trace( "License type '{}' is a moving wall type and its condition query doesn't match the record query '{}'. All restrictions lifted.", licenseType.getName(), query); licenseType.getRestrictionsExpired().put(query, true); } else { continue; } } logger.trace("LicenseType '{}' applies to resource described by '{}' due to configured license subquery.", licenseType.getName(), query); } String filenameConditions = licenseType.getFilenameConditions(); if (StringUtils.isNotBlank(filenameConditions)) { for (String path : accessMap.keySet()) { if (StringUtils.isNotBlank(path)) { List<LicenseType> types = ret.get(path); if (types == null) { types = new ArrayList<>(); ret.put(path, types); } if (Pattern.matches(licenseType.getFilenameConditions(), Paths.get(path).getFileName().toString())) { types.add(licenseType); } } } } else { for (String key : accessMap.keySet()) { List<LicenseType> types = ret.get(key); if (types == null) { types = new ArrayList<>(); ret.put(key, types); } types.add(licenseType); } } } return ret; } static boolean checkAccess(HttpServletRequest request, String action, String pi, String contentFileName, boolean isThumbnail); static boolean checkAccessPermissionByIdentifierAndLogId(String identifier, String logId, String privilegeName, HttpServletRequest request); @SuppressWarnings("unchecked") static Map<String, Boolean> checkAccessPermissionByIdentiferForAllLogids(String identifier, String privilegeName, HttpServletRequest request); @SuppressWarnings("unchecked") static Map<String, Boolean> checkContentFileAccessPermission(String identifier, HttpServletRequest request, List<Path> files); static boolean checkAccessPermissionByImageUrn(String imageUrn, String privilegeName, HttpServletRequest request); static boolean checkAccessPermission(Set<String> requiredAccessConditions, String privilegeName, String query, HttpServletRequest request); static boolean checkAccessPermissionForImage(HttpServletRequest request, String pi, String contentFileName); static boolean checkAccessPermissionForThumbnail(HttpServletRequest request, String pi, String contentFileName); static boolean checkAccessPermissionForPagePdf(HttpServletRequest request, PhysicalElement page); static boolean checkAccessPermissionByIdentifierAndFilePathWithSessionMap(HttpServletRequest request, String filePath, String privilegeType); @SuppressWarnings("unchecked") static boolean checkAccessPermissionByIdentifierAndFileNameWithSessionMap(HttpServletRequest request, String pi, String contentFileName, String privilegeType); static boolean checkAccessPermission(List<LicenseType> allLicenseTypes, Set<String> requiredAccessConditions, String privilegeName, User user, String remoteAddress, String query); static boolean isFreeOpenAccess(Set<String> requiredAccessConditions, Collection<LicenseType> allLicenseTypes); static int getPdfDownloadQuotaForRecord(String pi); static boolean isConcurrentViewsLimitEnabledForAnyAccessCondition(List<String> accessConditions); }
AccessConditionUtils { static Map<String, List<LicenseType>> getRelevantLicenseTypesOnly(List<LicenseType> allLicenseTypes, Set<String> requiredAccessConditions, String query, Map<String, Boolean> accessMap) throws IndexUnreachableException, PresentationException { if (requiredAccessConditions == null || requiredAccessConditions.isEmpty()) { return accessMap.keySet().stream().collect(Collectors.toMap(Function.identity(), key -> Collections.emptyList())); } Map<String, List<LicenseType>> ret = new HashMap<>(accessMap.size()); for (LicenseType licenseType : allLicenseTypes) { if (!requiredAccessConditions.contains(licenseType.getName())) { continue; } if (StringUtils.isNotEmpty(licenseType.getProcessedConditions()) && StringUtils.isNotEmpty(query)) { String conditions = licenseType.getProcessedConditions(); StringBuilder sbQuery = new StringBuilder().append("+(").append(query).append(')'); if (conditions.charAt(0) == '-' || conditions.charAt(0) == '+') { sbQuery.append(' ').append(conditions); } else { sbQuery.append(" +(").append(conditions).append(')'); } logger.trace("License relevance query: {}", sbQuery.toString()); if (DataManager.getInstance().getSearchIndex().getHitCount(sbQuery.toString()) == 0) { if (licenseType.isMovingWall()) { logger.trace( "License type '{}' is a moving wall type and its condition query doesn't match the record query '{}'. All restrictions lifted.", licenseType.getName(), query); licenseType.getRestrictionsExpired().put(query, true); } else { continue; } } logger.trace("LicenseType '{}' applies to resource described by '{}' due to configured license subquery.", licenseType.getName(), query); } String filenameConditions = licenseType.getFilenameConditions(); if (StringUtils.isNotBlank(filenameConditions)) { for (String path : accessMap.keySet()) { if (StringUtils.isNotBlank(path)) { List<LicenseType> types = ret.get(path); if (types == null) { types = new ArrayList<>(); ret.put(path, types); } if (Pattern.matches(licenseType.getFilenameConditions(), Paths.get(path).getFileName().toString())) { types.add(licenseType); } } } } else { for (String key : accessMap.keySet()) { List<LicenseType> types = ret.get(key); if (types == null) { types = new ArrayList<>(); ret.put(key, types); } types.add(licenseType); } } } return ret; } static boolean checkAccess(HttpServletRequest request, String action, String pi, String contentFileName, boolean isThumbnail); static boolean checkAccessPermissionByIdentifierAndLogId(String identifier, String logId, String privilegeName, HttpServletRequest request); @SuppressWarnings("unchecked") static Map<String, Boolean> checkAccessPermissionByIdentiferForAllLogids(String identifier, String privilegeName, HttpServletRequest request); @SuppressWarnings("unchecked") static Map<String, Boolean> checkContentFileAccessPermission(String identifier, HttpServletRequest request, List<Path> files); static boolean checkAccessPermissionByImageUrn(String imageUrn, String privilegeName, HttpServletRequest request); static boolean checkAccessPermission(Set<String> requiredAccessConditions, String privilegeName, String query, HttpServletRequest request); static boolean checkAccessPermissionForImage(HttpServletRequest request, String pi, String contentFileName); static boolean checkAccessPermissionForThumbnail(HttpServletRequest request, String pi, String contentFileName); static boolean checkAccessPermissionForPagePdf(HttpServletRequest request, PhysicalElement page); static boolean checkAccessPermissionByIdentifierAndFilePathWithSessionMap(HttpServletRequest request, String filePath, String privilegeType); @SuppressWarnings("unchecked") static boolean checkAccessPermissionByIdentifierAndFileNameWithSessionMap(HttpServletRequest request, String pi, String contentFileName, String privilegeType); static boolean checkAccessPermission(List<LicenseType> allLicenseTypes, Set<String> requiredAccessConditions, String privilegeName, User user, String remoteAddress, String query); static boolean isFreeOpenAccess(Set<String> requiredAccessConditions, Collection<LicenseType> allLicenseTypes); static int getPdfDownloadQuotaForRecord(String pi); static boolean isConcurrentViewsLimitEnabledForAnyAccessCondition(List<String> accessConditions); }
@Test public void getRulesetFilePath_shouldReturnCorrectValue() throws Exception { Assert.assertEquals("ruleset_value", DataManager.getInstance().getConfiguration().getRulesetFilePath()); }
public String getRulesetFilePath() { return getLocalString("content.ruleset"); }
Configuration extends AbstractConfiguration { public String getRulesetFilePath() { return getLocalString("content.ruleset"); } }
Configuration extends AbstractConfiguration { public String getRulesetFilePath() { return getLocalString("content.ruleset"); } Configuration(String configFilePath); }
Configuration extends AbstractConfiguration { public String getRulesetFilePath() { return getLocalString("content.ruleset"); } Configuration(String configFilePath); Set<String> getStopwords(); boolean reloadingRequired(); String getConfigLocalPath(); String getLocalRessourceBundleFile(); int getViewerThumbnailsPerPage(); int getViewerMaxImageWidth(); int getViewerMaxImageHeight(); int getViewerMaxImageScale(); boolean isRememberImageZoom(); boolean isRememberImageRotation(); String getDfgViewerUrl(); String getConnectorVersionUrl(); List<Metadata> getTitleBarMetadata(); List<Metadata> getSearchHitMetadataForTemplate(String template); List<Metadata> getMainMetadataForTemplate(String template); List<Metadata> getSidebarMetadataForTemplate(String template); List<String> getNormdataFieldsForTemplate(String template); List<Metadata> getTocLabelConfiguration(String template); int getTocAnchorGroupElementsPerPage(); boolean isDisplaySidebarBrowsingTerms(); boolean isDisplaySidebarRssFeed(); boolean isDisplayWidgetUsage(); Metadata getWidgetUsageLicenceTextMetadata(); boolean isDisplaySidebarUsageWidgetLinkToJpegImage(); boolean isDisplaySidebarUsageWidgetLinkToMasterImage(); String getWidgetUsageMaxJpegSize(); String getWidgetUsageMaxMasterImageSize(); List<String> getCalendarDocStructTypes(); boolean isBrowsingMenuEnabled(); int getBrowsingMenuHitsPerPage(); List<BrowsingMenuFieldConfig> getBrowsingMenuFields(); String getBrowsingMenuSortingIgnoreLeadingChars(); String getDocstrctWhitelistFilterQuery(); String getCollectionSplittingChar(String field); List<DcSortingList> getCollectionSorting(String field); List<String> getCollectionBlacklist(String field); String getCollectionDefaultSortField(String field, String name); int getCollectionDisplayNumberOfVolumesLevel(String field); int getCollectionDisplayDepthForSearch(String field); String getCollectionHierarchyField(); boolean isAddCollectionHierarchyToBreadcrumbs(String field); String getSolrUrl(); String getContentServerWrapperUrl(); String getDownloadUrl(); String getRestApiUrl(); String getIIIFApiUrl(); boolean isUseIIIFApiUrlForCmsMediaUrls(); String getContentServerRealUrl(); String getMetsUrl(); String getMarcUrl(); String getDcUrl(); String getEseUrl(); List<Integer> getSearchHitsPerPageValues(); int getSearchHitsPerPageDefaultValue(); int getFulltextFragmentLength(); boolean isAdvancedSearchEnabled(); int getAdvancedSearchDefaultItemNumber(); List<AdvancedSearchFieldConfiguration> getAdvancedSearchFields(); boolean isAggregateHits(); boolean isDisplayAdditionalMetadataEnabled(); List<String> getDisplayAdditionalMetadataIgnoreFields(); List<String> getDisplayAdditionalMetadataTranslateFields(); boolean isAdvancedSearchFieldHierarchical(String field); boolean isAdvancedSearchFieldRange(String field); boolean isAdvancedSearchFieldUntokenizeForPhraseSearch(String field); String getAdvancedSearchFieldSeparatorLabel(String field); boolean isTimelineSearchEnabled(); boolean isCalendarSearchEnabled(); String getStaticQuerySuffix(); String getPreviousVersionIdentifierField(); String getNextVersionIdentifierField(); String getVersionLabelField(); String getIndexedMetsFolder(); String getIndexedLidoFolder(); String getIndexedDenkxwebFolder(); String getIndexedDublinCoreFolder(); String getPageSelectionFormat(); String getMediaFolder(); String getPdfFolder(); String getVocabulariesFolder(); String getOrigContentFolder(); String getCmsTextFolder(); String getAltoFolder(); String getAbbyyFolder(); String getFulltextFolder(); String getTeiFolder(); String getCmdiFolder(); String getWcFolder(); String getAnnotationFolder(); String getHotfolder(); @SuppressWarnings("static-method") String getTempFolder(); boolean isUrnDoRedirect(); boolean isUserRegistrationEnabled(); List<SecurityQuestion> getSecurityQuestions(); boolean isShowOpenIdConnect(); List<IAuthenticationProvider> getAuthenticationProviders(); String getSmtpServer(); String getSmtpUser(); String getSmtpPassword(); String getSmtpSenderAddress(); String getSmtpSenderName(); String getSmtpSecurity(); String getAnonymousUserEmailAddress(); boolean isDisplayCollectionBrowsing(); boolean isDisplayUserNavigation(); boolean isDisplayTagCloudNavigation(); boolean isDisplayStatistics(); boolean isDisplayTimeMatrix(); boolean isDisplayCrowdsourcingModuleLinks(); String getTheme(); String getThemeRootPath(); String getName(); String getDescription(); boolean isDisplayTagCloudStartpage(); boolean isDisplaySearchResultNavigation(); boolean isFoldout(String sidebarElement); boolean isSidebarPageViewLinkVisible(); boolean isSidebarCalendarViewLinkVisible(); boolean isSidebarTocViewLinkVisible(); boolean isSidebarThumbsViewLinkVisible(); boolean isSidebarMetadataViewLinkVisible(); boolean isShowSidebarEventMetadata(); boolean isShowRecordLabelIfNoOtherViews(); boolean isSidebarFulltextLinkVisible(); boolean isSidebarTocWidgetVisible(); boolean isSidebarTocWidgetVisibleInFullscreen(); boolean isSidebarOpacLinkVisible(); boolean getSidebarTocPageNumbersVisible(); int getSidebarTocLengthBeforeCut(); int getSidebarTocInitialCollapseLevel(); int getSidebarTocCollapseLengthThreshold(); int getSidebarTocLowestLevelToCollapseForLength(); boolean isSidebarTocTreeView(); boolean isTocTreeView(String docStructType); List<String> getAllDrillDownFields(); List<String> getDrillDownFields(); List<String> getHierarchicalDrillDownFields(); int getInitialDrillDownElementNumber(String field); String getSortOrder(String field); List<String> getPriorityValuesForDrillDownField(String field); String getLabelFieldForDrillDownField(String facetField); @SuppressWarnings("static-method") List<String> getRangeFacetFields(); boolean isSortingEnabled(); String getDefaultSortField(); List<String> getSortFields(); List<String> getStaticSortFields(); String getUrnResolverUrl(); int getUnconditionalImageAccessMaxWidth(); boolean isFullAccessForLocalhost(); boolean isGeneratePdfInTaskManager(); boolean isPdfApiDisabled(); boolean isTitlePdfEnabled(); boolean isTocPdfEnabled(); boolean isMetadataPdfEnabled(); boolean isPagePdfEnabled(); boolean isDocHierarchyPdfEnabled(); boolean isTitleEpubEnabled(); boolean isTocEpubEnabled(); boolean isMetadataEpubEnabled(); String getDownloadFolder(String type); int getRssFeedItems(); String getRssTitle(); String getRssDescription(); String getRssCopyrightText(); String getRulesetFilePath(); String getDefaultCollection(); int getThumbnailsWidth(); int getThumbnailsHeight(); int getThumbnailsCompression(); String getAnchorThumbnailMode(); int getMultivolumeThumbnailWidth(); int getMultivolumeThumbnailHeight(); boolean getDisplayBreadcrumbs(); boolean getDisplayMetadataPageLinkBlock(); boolean isAddDublinCoreMetaTags(); boolean isAddHighwirePressMetaTags(); int getMetadataParamNumber(); boolean useTiles(); boolean useTilesFullscreen(); boolean useTiles(PageType view, ImageType image); int getFooterHeight(); int getFullscreenFooterHeight(); int getFooterHeight(PageType view, ImageType image); String getImageViewType(); String getZoomFullscreenViewType(); String getZoomImageViewType(PageType view, ImageType image); boolean useOpenSeadragon(); List<String> getImageViewZoomScales(); List<String> getImageViewZoomScales(String view); List<String> getImageViewZoomScales(PageType view, ImageType image); Map<Integer, List<Integer>> getTileSizes(); Map<Integer, List<Integer>> getTileSizes(PageType view, ImageType image); SubnodeConfiguration getZoomImageViewConfig(PageType pageType, ImageType imageType); int getBreadcrumbsClipping(); boolean isDisplayTopstructLabel(); boolean getDisplayStructType(); int getSearchHitMetadataValueNumber(); int getSearchHitMetadataValueLength(); List<String> getWatermarkTextConfiguration(); String getWatermarkFormat(); boolean isOriginalContentDownload(); String getStopwordsFilePath(); String getPageType(PageType type); String getDocstructTargetPageType(String docstruct); String getPageTypeExitView(PageType type); int getFulltextPercentageWarningThreshold(); boolean isUseViewerLocaleAsRecordLanguage(); String getFeedbackEmailAddress(); boolean isBookmarksEnabled(); boolean isForceJpegConversion(); int getPageLoaderThreshold(); boolean isPreventProxyCaching(); boolean isSolrCompressionEnabled(); boolean isSolrBackwardsCompatible(); boolean isUserCommentsEnabled(); String getUserCommentsConditionalQuery(); List<String> getUserCommentsNotificationEmailAddresses(); String getViewerHome(); List<String> getWatermarkIdField(); String getSubthemeMainTheme(); String getSubthemeDiscriminatorField(); int getTagCloudSampleSize(String fieldName); List<StringPair> getTocVolumeSortFieldsForTemplate(String template); String getTocVolumeGroupFieldForTemplate(String template); boolean getDisplayTitleBreadcrumbs(); boolean isDisplayTitlePURL(); int getTitleBreadcrumbsMaxTitleLength(); boolean getIncludeAnchorInTitleBreadcrumbs(); boolean isDisplaySearchRssLinks(); boolean showThumbnailsInToc(); String getStartYearForTimeline(); String getEndYearForTimeline(); String getTimelineHits(); boolean isPiwikTrackingEnabled(); String getPiwikBaseURL(); String getPiwikSiteID(); boolean isSearchSavingEnabled(); boolean isBoostTopLevelDocstructs(); boolean isGroupDuplicateHits(); List<String> getRecordGroupIdentifierFields(); List<String> getAncestorIdentifierFields(); boolean isTocListSiblingRecords(); List<SearchFilter> getSearchFilters(); List<Map<String, String>> getWebApiFields(); String getDbPersistenceUnit(); boolean useCustomNavBar(); String getCmsTemplateFolder(); String getCmsMediaFolder(); String getTempMediaFolder(); List<String> getCmsClassifications(); int getCmsMediaDisplayWidth(); int getCmsMediaDisplayHeight(); boolean isTranskribusEnabled(); String getTranskribusUserName(); String getTranskribusPassword(); String getTranskribusDefaultCollection(); String getTranskribusRestApiUrl(); List<String> getTranskribusAllowedDocumentTypes(); int getTocIndentation(); boolean isPageBrowseEnabled(); List<Integer> getPageBrowseSteps(); String getTaskManagerServiceUrl(); String getTaskManagerRestUrl(); String getReCaptchaSiteKey(); boolean isUseReCaptcha(); boolean isSearchInItemEnabled(); String getDefaultBrowseIcon(String field); boolean isSearchExcelExportEnabled(); List<String> getSearchExcelExportFields(); int getExcelDownloadTimeout(); boolean isDisplayEmptyTocInSidebar(); boolean isDoublePageModeEnabled(); List<String> getRestrictedImageUrls(); List<String> getIIIFLicenses(); List<String> getIIIFMetadataFields(); List<String> getIIIFEventFields(); String getIIIFMetadataLabel(String field); int getIIIFDiscoveryAvtivitiesPerPage(); List<String> getIIIFLogo(); String getIIIFNavDateField(); List<String> getIIIFAttribution(); List<String> getIIIFDescriptionFields(); String getSitelinksField(); String getSitelinksFilterQuery(); List<String> getConfiguredCollections(); String getWebApiToken(); boolean isAllowRedirectCollectionToWork(); String getTwitterUserName(); float getLimitImageHeightUpperRatioThreshold(); float getLimitImageHeightLowerRatioThreshold(); boolean isLimitImageHeight(); boolean isAddCORSHeader(); String getCORSHeaderValue(); boolean isDiscloseImageContentLocation(); String getAccessConditionDisplayField(); String getCopyrightDisplayField(); boolean isDisplayCopyrightInfo(); boolean isDisplaySocialMediaShareLinks(); boolean isDisplayAnchorLabelInTitleBar(String template); String getAnchorLabelInTitleBarPrefix(String template); String getAnchorLabelInTitleBarSuffix(String template); String getMapBoxToken(); GeoMapMarker getGeoMapMarker(String name); List<String> getGeoMapMarkerFields(); List<GeoMapMarker> getGeoMapMarkers(); static GeoMapMarker readGeoMapMarker(HierarchicalConfiguration config); List<LicenseDescription> getLicenseDescriptions(); }
Configuration extends AbstractConfiguration { public String getRulesetFilePath() { return getLocalString("content.ruleset"); } Configuration(String configFilePath); Set<String> getStopwords(); boolean reloadingRequired(); String getConfigLocalPath(); String getLocalRessourceBundleFile(); int getViewerThumbnailsPerPage(); int getViewerMaxImageWidth(); int getViewerMaxImageHeight(); int getViewerMaxImageScale(); boolean isRememberImageZoom(); boolean isRememberImageRotation(); String getDfgViewerUrl(); String getConnectorVersionUrl(); List<Metadata> getTitleBarMetadata(); List<Metadata> getSearchHitMetadataForTemplate(String template); List<Metadata> getMainMetadataForTemplate(String template); List<Metadata> getSidebarMetadataForTemplate(String template); List<String> getNormdataFieldsForTemplate(String template); List<Metadata> getTocLabelConfiguration(String template); int getTocAnchorGroupElementsPerPage(); boolean isDisplaySidebarBrowsingTerms(); boolean isDisplaySidebarRssFeed(); boolean isDisplayWidgetUsage(); Metadata getWidgetUsageLicenceTextMetadata(); boolean isDisplaySidebarUsageWidgetLinkToJpegImage(); boolean isDisplaySidebarUsageWidgetLinkToMasterImage(); String getWidgetUsageMaxJpegSize(); String getWidgetUsageMaxMasterImageSize(); List<String> getCalendarDocStructTypes(); boolean isBrowsingMenuEnabled(); int getBrowsingMenuHitsPerPage(); List<BrowsingMenuFieldConfig> getBrowsingMenuFields(); String getBrowsingMenuSortingIgnoreLeadingChars(); String getDocstrctWhitelistFilterQuery(); String getCollectionSplittingChar(String field); List<DcSortingList> getCollectionSorting(String field); List<String> getCollectionBlacklist(String field); String getCollectionDefaultSortField(String field, String name); int getCollectionDisplayNumberOfVolumesLevel(String field); int getCollectionDisplayDepthForSearch(String field); String getCollectionHierarchyField(); boolean isAddCollectionHierarchyToBreadcrumbs(String field); String getSolrUrl(); String getContentServerWrapperUrl(); String getDownloadUrl(); String getRestApiUrl(); String getIIIFApiUrl(); boolean isUseIIIFApiUrlForCmsMediaUrls(); String getContentServerRealUrl(); String getMetsUrl(); String getMarcUrl(); String getDcUrl(); String getEseUrl(); List<Integer> getSearchHitsPerPageValues(); int getSearchHitsPerPageDefaultValue(); int getFulltextFragmentLength(); boolean isAdvancedSearchEnabled(); int getAdvancedSearchDefaultItemNumber(); List<AdvancedSearchFieldConfiguration> getAdvancedSearchFields(); boolean isAggregateHits(); boolean isDisplayAdditionalMetadataEnabled(); List<String> getDisplayAdditionalMetadataIgnoreFields(); List<String> getDisplayAdditionalMetadataTranslateFields(); boolean isAdvancedSearchFieldHierarchical(String field); boolean isAdvancedSearchFieldRange(String field); boolean isAdvancedSearchFieldUntokenizeForPhraseSearch(String field); String getAdvancedSearchFieldSeparatorLabel(String field); boolean isTimelineSearchEnabled(); boolean isCalendarSearchEnabled(); String getStaticQuerySuffix(); String getPreviousVersionIdentifierField(); String getNextVersionIdentifierField(); String getVersionLabelField(); String getIndexedMetsFolder(); String getIndexedLidoFolder(); String getIndexedDenkxwebFolder(); String getIndexedDublinCoreFolder(); String getPageSelectionFormat(); String getMediaFolder(); String getPdfFolder(); String getVocabulariesFolder(); String getOrigContentFolder(); String getCmsTextFolder(); String getAltoFolder(); String getAbbyyFolder(); String getFulltextFolder(); String getTeiFolder(); String getCmdiFolder(); String getWcFolder(); String getAnnotationFolder(); String getHotfolder(); @SuppressWarnings("static-method") String getTempFolder(); boolean isUrnDoRedirect(); boolean isUserRegistrationEnabled(); List<SecurityQuestion> getSecurityQuestions(); boolean isShowOpenIdConnect(); List<IAuthenticationProvider> getAuthenticationProviders(); String getSmtpServer(); String getSmtpUser(); String getSmtpPassword(); String getSmtpSenderAddress(); String getSmtpSenderName(); String getSmtpSecurity(); String getAnonymousUserEmailAddress(); boolean isDisplayCollectionBrowsing(); boolean isDisplayUserNavigation(); boolean isDisplayTagCloudNavigation(); boolean isDisplayStatistics(); boolean isDisplayTimeMatrix(); boolean isDisplayCrowdsourcingModuleLinks(); String getTheme(); String getThemeRootPath(); String getName(); String getDescription(); boolean isDisplayTagCloudStartpage(); boolean isDisplaySearchResultNavigation(); boolean isFoldout(String sidebarElement); boolean isSidebarPageViewLinkVisible(); boolean isSidebarCalendarViewLinkVisible(); boolean isSidebarTocViewLinkVisible(); boolean isSidebarThumbsViewLinkVisible(); boolean isSidebarMetadataViewLinkVisible(); boolean isShowSidebarEventMetadata(); boolean isShowRecordLabelIfNoOtherViews(); boolean isSidebarFulltextLinkVisible(); boolean isSidebarTocWidgetVisible(); boolean isSidebarTocWidgetVisibleInFullscreen(); boolean isSidebarOpacLinkVisible(); boolean getSidebarTocPageNumbersVisible(); int getSidebarTocLengthBeforeCut(); int getSidebarTocInitialCollapseLevel(); int getSidebarTocCollapseLengthThreshold(); int getSidebarTocLowestLevelToCollapseForLength(); boolean isSidebarTocTreeView(); boolean isTocTreeView(String docStructType); List<String> getAllDrillDownFields(); List<String> getDrillDownFields(); List<String> getHierarchicalDrillDownFields(); int getInitialDrillDownElementNumber(String field); String getSortOrder(String field); List<String> getPriorityValuesForDrillDownField(String field); String getLabelFieldForDrillDownField(String facetField); @SuppressWarnings("static-method") List<String> getRangeFacetFields(); boolean isSortingEnabled(); String getDefaultSortField(); List<String> getSortFields(); List<String> getStaticSortFields(); String getUrnResolverUrl(); int getUnconditionalImageAccessMaxWidth(); boolean isFullAccessForLocalhost(); boolean isGeneratePdfInTaskManager(); boolean isPdfApiDisabled(); boolean isTitlePdfEnabled(); boolean isTocPdfEnabled(); boolean isMetadataPdfEnabled(); boolean isPagePdfEnabled(); boolean isDocHierarchyPdfEnabled(); boolean isTitleEpubEnabled(); boolean isTocEpubEnabled(); boolean isMetadataEpubEnabled(); String getDownloadFolder(String type); int getRssFeedItems(); String getRssTitle(); String getRssDescription(); String getRssCopyrightText(); String getRulesetFilePath(); String getDefaultCollection(); int getThumbnailsWidth(); int getThumbnailsHeight(); int getThumbnailsCompression(); String getAnchorThumbnailMode(); int getMultivolumeThumbnailWidth(); int getMultivolumeThumbnailHeight(); boolean getDisplayBreadcrumbs(); boolean getDisplayMetadataPageLinkBlock(); boolean isAddDublinCoreMetaTags(); boolean isAddHighwirePressMetaTags(); int getMetadataParamNumber(); boolean useTiles(); boolean useTilesFullscreen(); boolean useTiles(PageType view, ImageType image); int getFooterHeight(); int getFullscreenFooterHeight(); int getFooterHeight(PageType view, ImageType image); String getImageViewType(); String getZoomFullscreenViewType(); String getZoomImageViewType(PageType view, ImageType image); boolean useOpenSeadragon(); List<String> getImageViewZoomScales(); List<String> getImageViewZoomScales(String view); List<String> getImageViewZoomScales(PageType view, ImageType image); Map<Integer, List<Integer>> getTileSizes(); Map<Integer, List<Integer>> getTileSizes(PageType view, ImageType image); SubnodeConfiguration getZoomImageViewConfig(PageType pageType, ImageType imageType); int getBreadcrumbsClipping(); boolean isDisplayTopstructLabel(); boolean getDisplayStructType(); int getSearchHitMetadataValueNumber(); int getSearchHitMetadataValueLength(); List<String> getWatermarkTextConfiguration(); String getWatermarkFormat(); boolean isOriginalContentDownload(); String getStopwordsFilePath(); String getPageType(PageType type); String getDocstructTargetPageType(String docstruct); String getPageTypeExitView(PageType type); int getFulltextPercentageWarningThreshold(); boolean isUseViewerLocaleAsRecordLanguage(); String getFeedbackEmailAddress(); boolean isBookmarksEnabled(); boolean isForceJpegConversion(); int getPageLoaderThreshold(); boolean isPreventProxyCaching(); boolean isSolrCompressionEnabled(); boolean isSolrBackwardsCompatible(); boolean isUserCommentsEnabled(); String getUserCommentsConditionalQuery(); List<String> getUserCommentsNotificationEmailAddresses(); String getViewerHome(); List<String> getWatermarkIdField(); String getSubthemeMainTheme(); String getSubthemeDiscriminatorField(); int getTagCloudSampleSize(String fieldName); List<StringPair> getTocVolumeSortFieldsForTemplate(String template); String getTocVolumeGroupFieldForTemplate(String template); boolean getDisplayTitleBreadcrumbs(); boolean isDisplayTitlePURL(); int getTitleBreadcrumbsMaxTitleLength(); boolean getIncludeAnchorInTitleBreadcrumbs(); boolean isDisplaySearchRssLinks(); boolean showThumbnailsInToc(); String getStartYearForTimeline(); String getEndYearForTimeline(); String getTimelineHits(); boolean isPiwikTrackingEnabled(); String getPiwikBaseURL(); String getPiwikSiteID(); boolean isSearchSavingEnabled(); boolean isBoostTopLevelDocstructs(); boolean isGroupDuplicateHits(); List<String> getRecordGroupIdentifierFields(); List<String> getAncestorIdentifierFields(); boolean isTocListSiblingRecords(); List<SearchFilter> getSearchFilters(); List<Map<String, String>> getWebApiFields(); String getDbPersistenceUnit(); boolean useCustomNavBar(); String getCmsTemplateFolder(); String getCmsMediaFolder(); String getTempMediaFolder(); List<String> getCmsClassifications(); int getCmsMediaDisplayWidth(); int getCmsMediaDisplayHeight(); boolean isTranskribusEnabled(); String getTranskribusUserName(); String getTranskribusPassword(); String getTranskribusDefaultCollection(); String getTranskribusRestApiUrl(); List<String> getTranskribusAllowedDocumentTypes(); int getTocIndentation(); boolean isPageBrowseEnabled(); List<Integer> getPageBrowseSteps(); String getTaskManagerServiceUrl(); String getTaskManagerRestUrl(); String getReCaptchaSiteKey(); boolean isUseReCaptcha(); boolean isSearchInItemEnabled(); String getDefaultBrowseIcon(String field); boolean isSearchExcelExportEnabled(); List<String> getSearchExcelExportFields(); int getExcelDownloadTimeout(); boolean isDisplayEmptyTocInSidebar(); boolean isDoublePageModeEnabled(); List<String> getRestrictedImageUrls(); List<String> getIIIFLicenses(); List<String> getIIIFMetadataFields(); List<String> getIIIFEventFields(); String getIIIFMetadataLabel(String field); int getIIIFDiscoveryAvtivitiesPerPage(); List<String> getIIIFLogo(); String getIIIFNavDateField(); List<String> getIIIFAttribution(); List<String> getIIIFDescriptionFields(); String getSitelinksField(); String getSitelinksFilterQuery(); List<String> getConfiguredCollections(); String getWebApiToken(); boolean isAllowRedirectCollectionToWork(); String getTwitterUserName(); float getLimitImageHeightUpperRatioThreshold(); float getLimitImageHeightLowerRatioThreshold(); boolean isLimitImageHeight(); boolean isAddCORSHeader(); String getCORSHeaderValue(); boolean isDiscloseImageContentLocation(); String getAccessConditionDisplayField(); String getCopyrightDisplayField(); boolean isDisplayCopyrightInfo(); boolean isDisplaySocialMediaShareLinks(); boolean isDisplayAnchorLabelInTitleBar(String template); String getAnchorLabelInTitleBarPrefix(String template); String getAnchorLabelInTitleBarSuffix(String template); String getMapBoxToken(); GeoMapMarker getGeoMapMarker(String name); List<String> getGeoMapMarkerFields(); List<GeoMapMarker> getGeoMapMarkers(); static GeoMapMarker readGeoMapMarker(HierarchicalConfiguration config); List<LicenseDescription> getLicenseDescriptions(); }
@Test public void getSearchHitMetadataForTemplate_shouldReturnCorrectTemplateConfiguration() throws Exception { Assert.assertEquals(1, DataManager.getInstance().getConfiguration().getSearchHitMetadataForTemplate("Chapter").size()); }
public List<Metadata> getSearchHitMetadataForTemplate(String template) { List<HierarchicalConfiguration> templateList = getLocalConfigurationsAt("metadata.searchHitMetadataList.template"); if (templateList == null) { return Collections.emptyList(); } return getMetadataForTemplate(template, templateList, true, true); }
Configuration extends AbstractConfiguration { public List<Metadata> getSearchHitMetadataForTemplate(String template) { List<HierarchicalConfiguration> templateList = getLocalConfigurationsAt("metadata.searchHitMetadataList.template"); if (templateList == null) { return Collections.emptyList(); } return getMetadataForTemplate(template, templateList, true, true); } }
Configuration extends AbstractConfiguration { public List<Metadata> getSearchHitMetadataForTemplate(String template) { List<HierarchicalConfiguration> templateList = getLocalConfigurationsAt("metadata.searchHitMetadataList.template"); if (templateList == null) { return Collections.emptyList(); } return getMetadataForTemplate(template, templateList, true, true); } Configuration(String configFilePath); }
Configuration extends AbstractConfiguration { public List<Metadata> getSearchHitMetadataForTemplate(String template) { List<HierarchicalConfiguration> templateList = getLocalConfigurationsAt("metadata.searchHitMetadataList.template"); if (templateList == null) { return Collections.emptyList(); } return getMetadataForTemplate(template, templateList, true, true); } Configuration(String configFilePath); Set<String> getStopwords(); boolean reloadingRequired(); String getConfigLocalPath(); String getLocalRessourceBundleFile(); int getViewerThumbnailsPerPage(); int getViewerMaxImageWidth(); int getViewerMaxImageHeight(); int getViewerMaxImageScale(); boolean isRememberImageZoom(); boolean isRememberImageRotation(); String getDfgViewerUrl(); String getConnectorVersionUrl(); List<Metadata> getTitleBarMetadata(); List<Metadata> getSearchHitMetadataForTemplate(String template); List<Metadata> getMainMetadataForTemplate(String template); List<Metadata> getSidebarMetadataForTemplate(String template); List<String> getNormdataFieldsForTemplate(String template); List<Metadata> getTocLabelConfiguration(String template); int getTocAnchorGroupElementsPerPage(); boolean isDisplaySidebarBrowsingTerms(); boolean isDisplaySidebarRssFeed(); boolean isDisplayWidgetUsage(); Metadata getWidgetUsageLicenceTextMetadata(); boolean isDisplaySidebarUsageWidgetLinkToJpegImage(); boolean isDisplaySidebarUsageWidgetLinkToMasterImage(); String getWidgetUsageMaxJpegSize(); String getWidgetUsageMaxMasterImageSize(); List<String> getCalendarDocStructTypes(); boolean isBrowsingMenuEnabled(); int getBrowsingMenuHitsPerPage(); List<BrowsingMenuFieldConfig> getBrowsingMenuFields(); String getBrowsingMenuSortingIgnoreLeadingChars(); String getDocstrctWhitelistFilterQuery(); String getCollectionSplittingChar(String field); List<DcSortingList> getCollectionSorting(String field); List<String> getCollectionBlacklist(String field); String getCollectionDefaultSortField(String field, String name); int getCollectionDisplayNumberOfVolumesLevel(String field); int getCollectionDisplayDepthForSearch(String field); String getCollectionHierarchyField(); boolean isAddCollectionHierarchyToBreadcrumbs(String field); String getSolrUrl(); String getContentServerWrapperUrl(); String getDownloadUrl(); String getRestApiUrl(); String getIIIFApiUrl(); boolean isUseIIIFApiUrlForCmsMediaUrls(); String getContentServerRealUrl(); String getMetsUrl(); String getMarcUrl(); String getDcUrl(); String getEseUrl(); List<Integer> getSearchHitsPerPageValues(); int getSearchHitsPerPageDefaultValue(); int getFulltextFragmentLength(); boolean isAdvancedSearchEnabled(); int getAdvancedSearchDefaultItemNumber(); List<AdvancedSearchFieldConfiguration> getAdvancedSearchFields(); boolean isAggregateHits(); boolean isDisplayAdditionalMetadataEnabled(); List<String> getDisplayAdditionalMetadataIgnoreFields(); List<String> getDisplayAdditionalMetadataTranslateFields(); boolean isAdvancedSearchFieldHierarchical(String field); boolean isAdvancedSearchFieldRange(String field); boolean isAdvancedSearchFieldUntokenizeForPhraseSearch(String field); String getAdvancedSearchFieldSeparatorLabel(String field); boolean isTimelineSearchEnabled(); boolean isCalendarSearchEnabled(); String getStaticQuerySuffix(); String getPreviousVersionIdentifierField(); String getNextVersionIdentifierField(); String getVersionLabelField(); String getIndexedMetsFolder(); String getIndexedLidoFolder(); String getIndexedDenkxwebFolder(); String getIndexedDublinCoreFolder(); String getPageSelectionFormat(); String getMediaFolder(); String getPdfFolder(); String getVocabulariesFolder(); String getOrigContentFolder(); String getCmsTextFolder(); String getAltoFolder(); String getAbbyyFolder(); String getFulltextFolder(); String getTeiFolder(); String getCmdiFolder(); String getWcFolder(); String getAnnotationFolder(); String getHotfolder(); @SuppressWarnings("static-method") String getTempFolder(); boolean isUrnDoRedirect(); boolean isUserRegistrationEnabled(); List<SecurityQuestion> getSecurityQuestions(); boolean isShowOpenIdConnect(); List<IAuthenticationProvider> getAuthenticationProviders(); String getSmtpServer(); String getSmtpUser(); String getSmtpPassword(); String getSmtpSenderAddress(); String getSmtpSenderName(); String getSmtpSecurity(); String getAnonymousUserEmailAddress(); boolean isDisplayCollectionBrowsing(); boolean isDisplayUserNavigation(); boolean isDisplayTagCloudNavigation(); boolean isDisplayStatistics(); boolean isDisplayTimeMatrix(); boolean isDisplayCrowdsourcingModuleLinks(); String getTheme(); String getThemeRootPath(); String getName(); String getDescription(); boolean isDisplayTagCloudStartpage(); boolean isDisplaySearchResultNavigation(); boolean isFoldout(String sidebarElement); boolean isSidebarPageViewLinkVisible(); boolean isSidebarCalendarViewLinkVisible(); boolean isSidebarTocViewLinkVisible(); boolean isSidebarThumbsViewLinkVisible(); boolean isSidebarMetadataViewLinkVisible(); boolean isShowSidebarEventMetadata(); boolean isShowRecordLabelIfNoOtherViews(); boolean isSidebarFulltextLinkVisible(); boolean isSidebarTocWidgetVisible(); boolean isSidebarTocWidgetVisibleInFullscreen(); boolean isSidebarOpacLinkVisible(); boolean getSidebarTocPageNumbersVisible(); int getSidebarTocLengthBeforeCut(); int getSidebarTocInitialCollapseLevel(); int getSidebarTocCollapseLengthThreshold(); int getSidebarTocLowestLevelToCollapseForLength(); boolean isSidebarTocTreeView(); boolean isTocTreeView(String docStructType); List<String> getAllDrillDownFields(); List<String> getDrillDownFields(); List<String> getHierarchicalDrillDownFields(); int getInitialDrillDownElementNumber(String field); String getSortOrder(String field); List<String> getPriorityValuesForDrillDownField(String field); String getLabelFieldForDrillDownField(String facetField); @SuppressWarnings("static-method") List<String> getRangeFacetFields(); boolean isSortingEnabled(); String getDefaultSortField(); List<String> getSortFields(); List<String> getStaticSortFields(); String getUrnResolverUrl(); int getUnconditionalImageAccessMaxWidth(); boolean isFullAccessForLocalhost(); boolean isGeneratePdfInTaskManager(); boolean isPdfApiDisabled(); boolean isTitlePdfEnabled(); boolean isTocPdfEnabled(); boolean isMetadataPdfEnabled(); boolean isPagePdfEnabled(); boolean isDocHierarchyPdfEnabled(); boolean isTitleEpubEnabled(); boolean isTocEpubEnabled(); boolean isMetadataEpubEnabled(); String getDownloadFolder(String type); int getRssFeedItems(); String getRssTitle(); String getRssDescription(); String getRssCopyrightText(); String getRulesetFilePath(); String getDefaultCollection(); int getThumbnailsWidth(); int getThumbnailsHeight(); int getThumbnailsCompression(); String getAnchorThumbnailMode(); int getMultivolumeThumbnailWidth(); int getMultivolumeThumbnailHeight(); boolean getDisplayBreadcrumbs(); boolean getDisplayMetadataPageLinkBlock(); boolean isAddDublinCoreMetaTags(); boolean isAddHighwirePressMetaTags(); int getMetadataParamNumber(); boolean useTiles(); boolean useTilesFullscreen(); boolean useTiles(PageType view, ImageType image); int getFooterHeight(); int getFullscreenFooterHeight(); int getFooterHeight(PageType view, ImageType image); String getImageViewType(); String getZoomFullscreenViewType(); String getZoomImageViewType(PageType view, ImageType image); boolean useOpenSeadragon(); List<String> getImageViewZoomScales(); List<String> getImageViewZoomScales(String view); List<String> getImageViewZoomScales(PageType view, ImageType image); Map<Integer, List<Integer>> getTileSizes(); Map<Integer, List<Integer>> getTileSizes(PageType view, ImageType image); SubnodeConfiguration getZoomImageViewConfig(PageType pageType, ImageType imageType); int getBreadcrumbsClipping(); boolean isDisplayTopstructLabel(); boolean getDisplayStructType(); int getSearchHitMetadataValueNumber(); int getSearchHitMetadataValueLength(); List<String> getWatermarkTextConfiguration(); String getWatermarkFormat(); boolean isOriginalContentDownload(); String getStopwordsFilePath(); String getPageType(PageType type); String getDocstructTargetPageType(String docstruct); String getPageTypeExitView(PageType type); int getFulltextPercentageWarningThreshold(); boolean isUseViewerLocaleAsRecordLanguage(); String getFeedbackEmailAddress(); boolean isBookmarksEnabled(); boolean isForceJpegConversion(); int getPageLoaderThreshold(); boolean isPreventProxyCaching(); boolean isSolrCompressionEnabled(); boolean isSolrBackwardsCompatible(); boolean isUserCommentsEnabled(); String getUserCommentsConditionalQuery(); List<String> getUserCommentsNotificationEmailAddresses(); String getViewerHome(); List<String> getWatermarkIdField(); String getSubthemeMainTheme(); String getSubthemeDiscriminatorField(); int getTagCloudSampleSize(String fieldName); List<StringPair> getTocVolumeSortFieldsForTemplate(String template); String getTocVolumeGroupFieldForTemplate(String template); boolean getDisplayTitleBreadcrumbs(); boolean isDisplayTitlePURL(); int getTitleBreadcrumbsMaxTitleLength(); boolean getIncludeAnchorInTitleBreadcrumbs(); boolean isDisplaySearchRssLinks(); boolean showThumbnailsInToc(); String getStartYearForTimeline(); String getEndYearForTimeline(); String getTimelineHits(); boolean isPiwikTrackingEnabled(); String getPiwikBaseURL(); String getPiwikSiteID(); boolean isSearchSavingEnabled(); boolean isBoostTopLevelDocstructs(); boolean isGroupDuplicateHits(); List<String> getRecordGroupIdentifierFields(); List<String> getAncestorIdentifierFields(); boolean isTocListSiblingRecords(); List<SearchFilter> getSearchFilters(); List<Map<String, String>> getWebApiFields(); String getDbPersistenceUnit(); boolean useCustomNavBar(); String getCmsTemplateFolder(); String getCmsMediaFolder(); String getTempMediaFolder(); List<String> getCmsClassifications(); int getCmsMediaDisplayWidth(); int getCmsMediaDisplayHeight(); boolean isTranskribusEnabled(); String getTranskribusUserName(); String getTranskribusPassword(); String getTranskribusDefaultCollection(); String getTranskribusRestApiUrl(); List<String> getTranskribusAllowedDocumentTypes(); int getTocIndentation(); boolean isPageBrowseEnabled(); List<Integer> getPageBrowseSteps(); String getTaskManagerServiceUrl(); String getTaskManagerRestUrl(); String getReCaptchaSiteKey(); boolean isUseReCaptcha(); boolean isSearchInItemEnabled(); String getDefaultBrowseIcon(String field); boolean isSearchExcelExportEnabled(); List<String> getSearchExcelExportFields(); int getExcelDownloadTimeout(); boolean isDisplayEmptyTocInSidebar(); boolean isDoublePageModeEnabled(); List<String> getRestrictedImageUrls(); List<String> getIIIFLicenses(); List<String> getIIIFMetadataFields(); List<String> getIIIFEventFields(); String getIIIFMetadataLabel(String field); int getIIIFDiscoveryAvtivitiesPerPage(); List<String> getIIIFLogo(); String getIIIFNavDateField(); List<String> getIIIFAttribution(); List<String> getIIIFDescriptionFields(); String getSitelinksField(); String getSitelinksFilterQuery(); List<String> getConfiguredCollections(); String getWebApiToken(); boolean isAllowRedirectCollectionToWork(); String getTwitterUserName(); float getLimitImageHeightUpperRatioThreshold(); float getLimitImageHeightLowerRatioThreshold(); boolean isLimitImageHeight(); boolean isAddCORSHeader(); String getCORSHeaderValue(); boolean isDiscloseImageContentLocation(); String getAccessConditionDisplayField(); String getCopyrightDisplayField(); boolean isDisplayCopyrightInfo(); boolean isDisplaySocialMediaShareLinks(); boolean isDisplayAnchorLabelInTitleBar(String template); String getAnchorLabelInTitleBarPrefix(String template); String getAnchorLabelInTitleBarSuffix(String template); String getMapBoxToken(); GeoMapMarker getGeoMapMarker(String name); List<String> getGeoMapMarkerFields(); List<GeoMapMarker> getGeoMapMarkers(); static GeoMapMarker readGeoMapMarker(HierarchicalConfiguration config); List<LicenseDescription> getLicenseDescriptions(); }
Configuration extends AbstractConfiguration { public List<Metadata> getSearchHitMetadataForTemplate(String template) { List<HierarchicalConfiguration> templateList = getLocalConfigurationsAt("metadata.searchHitMetadataList.template"); if (templateList == null) { return Collections.emptyList(); } return getMetadataForTemplate(template, templateList, true, true); } Configuration(String configFilePath); Set<String> getStopwords(); boolean reloadingRequired(); String getConfigLocalPath(); String getLocalRessourceBundleFile(); int getViewerThumbnailsPerPage(); int getViewerMaxImageWidth(); int getViewerMaxImageHeight(); int getViewerMaxImageScale(); boolean isRememberImageZoom(); boolean isRememberImageRotation(); String getDfgViewerUrl(); String getConnectorVersionUrl(); List<Metadata> getTitleBarMetadata(); List<Metadata> getSearchHitMetadataForTemplate(String template); List<Metadata> getMainMetadataForTemplate(String template); List<Metadata> getSidebarMetadataForTemplate(String template); List<String> getNormdataFieldsForTemplate(String template); List<Metadata> getTocLabelConfiguration(String template); int getTocAnchorGroupElementsPerPage(); boolean isDisplaySidebarBrowsingTerms(); boolean isDisplaySidebarRssFeed(); boolean isDisplayWidgetUsage(); Metadata getWidgetUsageLicenceTextMetadata(); boolean isDisplaySidebarUsageWidgetLinkToJpegImage(); boolean isDisplaySidebarUsageWidgetLinkToMasterImage(); String getWidgetUsageMaxJpegSize(); String getWidgetUsageMaxMasterImageSize(); List<String> getCalendarDocStructTypes(); boolean isBrowsingMenuEnabled(); int getBrowsingMenuHitsPerPage(); List<BrowsingMenuFieldConfig> getBrowsingMenuFields(); String getBrowsingMenuSortingIgnoreLeadingChars(); String getDocstrctWhitelistFilterQuery(); String getCollectionSplittingChar(String field); List<DcSortingList> getCollectionSorting(String field); List<String> getCollectionBlacklist(String field); String getCollectionDefaultSortField(String field, String name); int getCollectionDisplayNumberOfVolumesLevel(String field); int getCollectionDisplayDepthForSearch(String field); String getCollectionHierarchyField(); boolean isAddCollectionHierarchyToBreadcrumbs(String field); String getSolrUrl(); String getContentServerWrapperUrl(); String getDownloadUrl(); String getRestApiUrl(); String getIIIFApiUrl(); boolean isUseIIIFApiUrlForCmsMediaUrls(); String getContentServerRealUrl(); String getMetsUrl(); String getMarcUrl(); String getDcUrl(); String getEseUrl(); List<Integer> getSearchHitsPerPageValues(); int getSearchHitsPerPageDefaultValue(); int getFulltextFragmentLength(); boolean isAdvancedSearchEnabled(); int getAdvancedSearchDefaultItemNumber(); List<AdvancedSearchFieldConfiguration> getAdvancedSearchFields(); boolean isAggregateHits(); boolean isDisplayAdditionalMetadataEnabled(); List<String> getDisplayAdditionalMetadataIgnoreFields(); List<String> getDisplayAdditionalMetadataTranslateFields(); boolean isAdvancedSearchFieldHierarchical(String field); boolean isAdvancedSearchFieldRange(String field); boolean isAdvancedSearchFieldUntokenizeForPhraseSearch(String field); String getAdvancedSearchFieldSeparatorLabel(String field); boolean isTimelineSearchEnabled(); boolean isCalendarSearchEnabled(); String getStaticQuerySuffix(); String getPreviousVersionIdentifierField(); String getNextVersionIdentifierField(); String getVersionLabelField(); String getIndexedMetsFolder(); String getIndexedLidoFolder(); String getIndexedDenkxwebFolder(); String getIndexedDublinCoreFolder(); String getPageSelectionFormat(); String getMediaFolder(); String getPdfFolder(); String getVocabulariesFolder(); String getOrigContentFolder(); String getCmsTextFolder(); String getAltoFolder(); String getAbbyyFolder(); String getFulltextFolder(); String getTeiFolder(); String getCmdiFolder(); String getWcFolder(); String getAnnotationFolder(); String getHotfolder(); @SuppressWarnings("static-method") String getTempFolder(); boolean isUrnDoRedirect(); boolean isUserRegistrationEnabled(); List<SecurityQuestion> getSecurityQuestions(); boolean isShowOpenIdConnect(); List<IAuthenticationProvider> getAuthenticationProviders(); String getSmtpServer(); String getSmtpUser(); String getSmtpPassword(); String getSmtpSenderAddress(); String getSmtpSenderName(); String getSmtpSecurity(); String getAnonymousUserEmailAddress(); boolean isDisplayCollectionBrowsing(); boolean isDisplayUserNavigation(); boolean isDisplayTagCloudNavigation(); boolean isDisplayStatistics(); boolean isDisplayTimeMatrix(); boolean isDisplayCrowdsourcingModuleLinks(); String getTheme(); String getThemeRootPath(); String getName(); String getDescription(); boolean isDisplayTagCloudStartpage(); boolean isDisplaySearchResultNavigation(); boolean isFoldout(String sidebarElement); boolean isSidebarPageViewLinkVisible(); boolean isSidebarCalendarViewLinkVisible(); boolean isSidebarTocViewLinkVisible(); boolean isSidebarThumbsViewLinkVisible(); boolean isSidebarMetadataViewLinkVisible(); boolean isShowSidebarEventMetadata(); boolean isShowRecordLabelIfNoOtherViews(); boolean isSidebarFulltextLinkVisible(); boolean isSidebarTocWidgetVisible(); boolean isSidebarTocWidgetVisibleInFullscreen(); boolean isSidebarOpacLinkVisible(); boolean getSidebarTocPageNumbersVisible(); int getSidebarTocLengthBeforeCut(); int getSidebarTocInitialCollapseLevel(); int getSidebarTocCollapseLengthThreshold(); int getSidebarTocLowestLevelToCollapseForLength(); boolean isSidebarTocTreeView(); boolean isTocTreeView(String docStructType); List<String> getAllDrillDownFields(); List<String> getDrillDownFields(); List<String> getHierarchicalDrillDownFields(); int getInitialDrillDownElementNumber(String field); String getSortOrder(String field); List<String> getPriorityValuesForDrillDownField(String field); String getLabelFieldForDrillDownField(String facetField); @SuppressWarnings("static-method") List<String> getRangeFacetFields(); boolean isSortingEnabled(); String getDefaultSortField(); List<String> getSortFields(); List<String> getStaticSortFields(); String getUrnResolverUrl(); int getUnconditionalImageAccessMaxWidth(); boolean isFullAccessForLocalhost(); boolean isGeneratePdfInTaskManager(); boolean isPdfApiDisabled(); boolean isTitlePdfEnabled(); boolean isTocPdfEnabled(); boolean isMetadataPdfEnabled(); boolean isPagePdfEnabled(); boolean isDocHierarchyPdfEnabled(); boolean isTitleEpubEnabled(); boolean isTocEpubEnabled(); boolean isMetadataEpubEnabled(); String getDownloadFolder(String type); int getRssFeedItems(); String getRssTitle(); String getRssDescription(); String getRssCopyrightText(); String getRulesetFilePath(); String getDefaultCollection(); int getThumbnailsWidth(); int getThumbnailsHeight(); int getThumbnailsCompression(); String getAnchorThumbnailMode(); int getMultivolumeThumbnailWidth(); int getMultivolumeThumbnailHeight(); boolean getDisplayBreadcrumbs(); boolean getDisplayMetadataPageLinkBlock(); boolean isAddDublinCoreMetaTags(); boolean isAddHighwirePressMetaTags(); int getMetadataParamNumber(); boolean useTiles(); boolean useTilesFullscreen(); boolean useTiles(PageType view, ImageType image); int getFooterHeight(); int getFullscreenFooterHeight(); int getFooterHeight(PageType view, ImageType image); String getImageViewType(); String getZoomFullscreenViewType(); String getZoomImageViewType(PageType view, ImageType image); boolean useOpenSeadragon(); List<String> getImageViewZoomScales(); List<String> getImageViewZoomScales(String view); List<String> getImageViewZoomScales(PageType view, ImageType image); Map<Integer, List<Integer>> getTileSizes(); Map<Integer, List<Integer>> getTileSizes(PageType view, ImageType image); SubnodeConfiguration getZoomImageViewConfig(PageType pageType, ImageType imageType); int getBreadcrumbsClipping(); boolean isDisplayTopstructLabel(); boolean getDisplayStructType(); int getSearchHitMetadataValueNumber(); int getSearchHitMetadataValueLength(); List<String> getWatermarkTextConfiguration(); String getWatermarkFormat(); boolean isOriginalContentDownload(); String getStopwordsFilePath(); String getPageType(PageType type); String getDocstructTargetPageType(String docstruct); String getPageTypeExitView(PageType type); int getFulltextPercentageWarningThreshold(); boolean isUseViewerLocaleAsRecordLanguage(); String getFeedbackEmailAddress(); boolean isBookmarksEnabled(); boolean isForceJpegConversion(); int getPageLoaderThreshold(); boolean isPreventProxyCaching(); boolean isSolrCompressionEnabled(); boolean isSolrBackwardsCompatible(); boolean isUserCommentsEnabled(); String getUserCommentsConditionalQuery(); List<String> getUserCommentsNotificationEmailAddresses(); String getViewerHome(); List<String> getWatermarkIdField(); String getSubthemeMainTheme(); String getSubthemeDiscriminatorField(); int getTagCloudSampleSize(String fieldName); List<StringPair> getTocVolumeSortFieldsForTemplate(String template); String getTocVolumeGroupFieldForTemplate(String template); boolean getDisplayTitleBreadcrumbs(); boolean isDisplayTitlePURL(); int getTitleBreadcrumbsMaxTitleLength(); boolean getIncludeAnchorInTitleBreadcrumbs(); boolean isDisplaySearchRssLinks(); boolean showThumbnailsInToc(); String getStartYearForTimeline(); String getEndYearForTimeline(); String getTimelineHits(); boolean isPiwikTrackingEnabled(); String getPiwikBaseURL(); String getPiwikSiteID(); boolean isSearchSavingEnabled(); boolean isBoostTopLevelDocstructs(); boolean isGroupDuplicateHits(); List<String> getRecordGroupIdentifierFields(); List<String> getAncestorIdentifierFields(); boolean isTocListSiblingRecords(); List<SearchFilter> getSearchFilters(); List<Map<String, String>> getWebApiFields(); String getDbPersistenceUnit(); boolean useCustomNavBar(); String getCmsTemplateFolder(); String getCmsMediaFolder(); String getTempMediaFolder(); List<String> getCmsClassifications(); int getCmsMediaDisplayWidth(); int getCmsMediaDisplayHeight(); boolean isTranskribusEnabled(); String getTranskribusUserName(); String getTranskribusPassword(); String getTranskribusDefaultCollection(); String getTranskribusRestApiUrl(); List<String> getTranskribusAllowedDocumentTypes(); int getTocIndentation(); boolean isPageBrowseEnabled(); List<Integer> getPageBrowseSteps(); String getTaskManagerServiceUrl(); String getTaskManagerRestUrl(); String getReCaptchaSiteKey(); boolean isUseReCaptcha(); boolean isSearchInItemEnabled(); String getDefaultBrowseIcon(String field); boolean isSearchExcelExportEnabled(); List<String> getSearchExcelExportFields(); int getExcelDownloadTimeout(); boolean isDisplayEmptyTocInSidebar(); boolean isDoublePageModeEnabled(); List<String> getRestrictedImageUrls(); List<String> getIIIFLicenses(); List<String> getIIIFMetadataFields(); List<String> getIIIFEventFields(); String getIIIFMetadataLabel(String field); int getIIIFDiscoveryAvtivitiesPerPage(); List<String> getIIIFLogo(); String getIIIFNavDateField(); List<String> getIIIFAttribution(); List<String> getIIIFDescriptionFields(); String getSitelinksField(); String getSitelinksFilterQuery(); List<String> getConfiguredCollections(); String getWebApiToken(); boolean isAllowRedirectCollectionToWork(); String getTwitterUserName(); float getLimitImageHeightUpperRatioThreshold(); float getLimitImageHeightLowerRatioThreshold(); boolean isLimitImageHeight(); boolean isAddCORSHeader(); String getCORSHeaderValue(); boolean isDiscloseImageContentLocation(); String getAccessConditionDisplayField(); String getCopyrightDisplayField(); boolean isDisplayCopyrightInfo(); boolean isDisplaySocialMediaShareLinks(); boolean isDisplayAnchorLabelInTitleBar(String template); String getAnchorLabelInTitleBarPrefix(String template); String getAnchorLabelInTitleBarSuffix(String template); String getMapBoxToken(); GeoMapMarker getGeoMapMarker(String name); List<String> getGeoMapMarkerFields(); List<GeoMapMarker> getGeoMapMarkers(); static GeoMapMarker readGeoMapMarker(HierarchicalConfiguration config); List<LicenseDescription> getLicenseDescriptions(); }
@Test public void getSearchHitMetadataForTemplate_shouldReturnDefaultTemplateConfigurationIfRequestedNotFound() throws Exception { Assert.assertEquals(5, DataManager.getInstance().getConfiguration().getSearchHitMetadataForTemplate("nonexisting").size()); }
public List<Metadata> getSearchHitMetadataForTemplate(String template) { List<HierarchicalConfiguration> templateList = getLocalConfigurationsAt("metadata.searchHitMetadataList.template"); if (templateList == null) { return Collections.emptyList(); } return getMetadataForTemplate(template, templateList, true, true); }
Configuration extends AbstractConfiguration { public List<Metadata> getSearchHitMetadataForTemplate(String template) { List<HierarchicalConfiguration> templateList = getLocalConfigurationsAt("metadata.searchHitMetadataList.template"); if (templateList == null) { return Collections.emptyList(); } return getMetadataForTemplate(template, templateList, true, true); } }
Configuration extends AbstractConfiguration { public List<Metadata> getSearchHitMetadataForTemplate(String template) { List<HierarchicalConfiguration> templateList = getLocalConfigurationsAt("metadata.searchHitMetadataList.template"); if (templateList == null) { return Collections.emptyList(); } return getMetadataForTemplate(template, templateList, true, true); } Configuration(String configFilePath); }
Configuration extends AbstractConfiguration { public List<Metadata> getSearchHitMetadataForTemplate(String template) { List<HierarchicalConfiguration> templateList = getLocalConfigurationsAt("metadata.searchHitMetadataList.template"); if (templateList == null) { return Collections.emptyList(); } return getMetadataForTemplate(template, templateList, true, true); } Configuration(String configFilePath); Set<String> getStopwords(); boolean reloadingRequired(); String getConfigLocalPath(); String getLocalRessourceBundleFile(); int getViewerThumbnailsPerPage(); int getViewerMaxImageWidth(); int getViewerMaxImageHeight(); int getViewerMaxImageScale(); boolean isRememberImageZoom(); boolean isRememberImageRotation(); String getDfgViewerUrl(); String getConnectorVersionUrl(); List<Metadata> getTitleBarMetadata(); List<Metadata> getSearchHitMetadataForTemplate(String template); List<Metadata> getMainMetadataForTemplate(String template); List<Metadata> getSidebarMetadataForTemplate(String template); List<String> getNormdataFieldsForTemplate(String template); List<Metadata> getTocLabelConfiguration(String template); int getTocAnchorGroupElementsPerPage(); boolean isDisplaySidebarBrowsingTerms(); boolean isDisplaySidebarRssFeed(); boolean isDisplayWidgetUsage(); Metadata getWidgetUsageLicenceTextMetadata(); boolean isDisplaySidebarUsageWidgetLinkToJpegImage(); boolean isDisplaySidebarUsageWidgetLinkToMasterImage(); String getWidgetUsageMaxJpegSize(); String getWidgetUsageMaxMasterImageSize(); List<String> getCalendarDocStructTypes(); boolean isBrowsingMenuEnabled(); int getBrowsingMenuHitsPerPage(); List<BrowsingMenuFieldConfig> getBrowsingMenuFields(); String getBrowsingMenuSortingIgnoreLeadingChars(); String getDocstrctWhitelistFilterQuery(); String getCollectionSplittingChar(String field); List<DcSortingList> getCollectionSorting(String field); List<String> getCollectionBlacklist(String field); String getCollectionDefaultSortField(String field, String name); int getCollectionDisplayNumberOfVolumesLevel(String field); int getCollectionDisplayDepthForSearch(String field); String getCollectionHierarchyField(); boolean isAddCollectionHierarchyToBreadcrumbs(String field); String getSolrUrl(); String getContentServerWrapperUrl(); String getDownloadUrl(); String getRestApiUrl(); String getIIIFApiUrl(); boolean isUseIIIFApiUrlForCmsMediaUrls(); String getContentServerRealUrl(); String getMetsUrl(); String getMarcUrl(); String getDcUrl(); String getEseUrl(); List<Integer> getSearchHitsPerPageValues(); int getSearchHitsPerPageDefaultValue(); int getFulltextFragmentLength(); boolean isAdvancedSearchEnabled(); int getAdvancedSearchDefaultItemNumber(); List<AdvancedSearchFieldConfiguration> getAdvancedSearchFields(); boolean isAggregateHits(); boolean isDisplayAdditionalMetadataEnabled(); List<String> getDisplayAdditionalMetadataIgnoreFields(); List<String> getDisplayAdditionalMetadataTranslateFields(); boolean isAdvancedSearchFieldHierarchical(String field); boolean isAdvancedSearchFieldRange(String field); boolean isAdvancedSearchFieldUntokenizeForPhraseSearch(String field); String getAdvancedSearchFieldSeparatorLabel(String field); boolean isTimelineSearchEnabled(); boolean isCalendarSearchEnabled(); String getStaticQuerySuffix(); String getPreviousVersionIdentifierField(); String getNextVersionIdentifierField(); String getVersionLabelField(); String getIndexedMetsFolder(); String getIndexedLidoFolder(); String getIndexedDenkxwebFolder(); String getIndexedDublinCoreFolder(); String getPageSelectionFormat(); String getMediaFolder(); String getPdfFolder(); String getVocabulariesFolder(); String getOrigContentFolder(); String getCmsTextFolder(); String getAltoFolder(); String getAbbyyFolder(); String getFulltextFolder(); String getTeiFolder(); String getCmdiFolder(); String getWcFolder(); String getAnnotationFolder(); String getHotfolder(); @SuppressWarnings("static-method") String getTempFolder(); boolean isUrnDoRedirect(); boolean isUserRegistrationEnabled(); List<SecurityQuestion> getSecurityQuestions(); boolean isShowOpenIdConnect(); List<IAuthenticationProvider> getAuthenticationProviders(); String getSmtpServer(); String getSmtpUser(); String getSmtpPassword(); String getSmtpSenderAddress(); String getSmtpSenderName(); String getSmtpSecurity(); String getAnonymousUserEmailAddress(); boolean isDisplayCollectionBrowsing(); boolean isDisplayUserNavigation(); boolean isDisplayTagCloudNavigation(); boolean isDisplayStatistics(); boolean isDisplayTimeMatrix(); boolean isDisplayCrowdsourcingModuleLinks(); String getTheme(); String getThemeRootPath(); String getName(); String getDescription(); boolean isDisplayTagCloudStartpage(); boolean isDisplaySearchResultNavigation(); boolean isFoldout(String sidebarElement); boolean isSidebarPageViewLinkVisible(); boolean isSidebarCalendarViewLinkVisible(); boolean isSidebarTocViewLinkVisible(); boolean isSidebarThumbsViewLinkVisible(); boolean isSidebarMetadataViewLinkVisible(); boolean isShowSidebarEventMetadata(); boolean isShowRecordLabelIfNoOtherViews(); boolean isSidebarFulltextLinkVisible(); boolean isSidebarTocWidgetVisible(); boolean isSidebarTocWidgetVisibleInFullscreen(); boolean isSidebarOpacLinkVisible(); boolean getSidebarTocPageNumbersVisible(); int getSidebarTocLengthBeforeCut(); int getSidebarTocInitialCollapseLevel(); int getSidebarTocCollapseLengthThreshold(); int getSidebarTocLowestLevelToCollapseForLength(); boolean isSidebarTocTreeView(); boolean isTocTreeView(String docStructType); List<String> getAllDrillDownFields(); List<String> getDrillDownFields(); List<String> getHierarchicalDrillDownFields(); int getInitialDrillDownElementNumber(String field); String getSortOrder(String field); List<String> getPriorityValuesForDrillDownField(String field); String getLabelFieldForDrillDownField(String facetField); @SuppressWarnings("static-method") List<String> getRangeFacetFields(); boolean isSortingEnabled(); String getDefaultSortField(); List<String> getSortFields(); List<String> getStaticSortFields(); String getUrnResolverUrl(); int getUnconditionalImageAccessMaxWidth(); boolean isFullAccessForLocalhost(); boolean isGeneratePdfInTaskManager(); boolean isPdfApiDisabled(); boolean isTitlePdfEnabled(); boolean isTocPdfEnabled(); boolean isMetadataPdfEnabled(); boolean isPagePdfEnabled(); boolean isDocHierarchyPdfEnabled(); boolean isTitleEpubEnabled(); boolean isTocEpubEnabled(); boolean isMetadataEpubEnabled(); String getDownloadFolder(String type); int getRssFeedItems(); String getRssTitle(); String getRssDescription(); String getRssCopyrightText(); String getRulesetFilePath(); String getDefaultCollection(); int getThumbnailsWidth(); int getThumbnailsHeight(); int getThumbnailsCompression(); String getAnchorThumbnailMode(); int getMultivolumeThumbnailWidth(); int getMultivolumeThumbnailHeight(); boolean getDisplayBreadcrumbs(); boolean getDisplayMetadataPageLinkBlock(); boolean isAddDublinCoreMetaTags(); boolean isAddHighwirePressMetaTags(); int getMetadataParamNumber(); boolean useTiles(); boolean useTilesFullscreen(); boolean useTiles(PageType view, ImageType image); int getFooterHeight(); int getFullscreenFooterHeight(); int getFooterHeight(PageType view, ImageType image); String getImageViewType(); String getZoomFullscreenViewType(); String getZoomImageViewType(PageType view, ImageType image); boolean useOpenSeadragon(); List<String> getImageViewZoomScales(); List<String> getImageViewZoomScales(String view); List<String> getImageViewZoomScales(PageType view, ImageType image); Map<Integer, List<Integer>> getTileSizes(); Map<Integer, List<Integer>> getTileSizes(PageType view, ImageType image); SubnodeConfiguration getZoomImageViewConfig(PageType pageType, ImageType imageType); int getBreadcrumbsClipping(); boolean isDisplayTopstructLabel(); boolean getDisplayStructType(); int getSearchHitMetadataValueNumber(); int getSearchHitMetadataValueLength(); List<String> getWatermarkTextConfiguration(); String getWatermarkFormat(); boolean isOriginalContentDownload(); String getStopwordsFilePath(); String getPageType(PageType type); String getDocstructTargetPageType(String docstruct); String getPageTypeExitView(PageType type); int getFulltextPercentageWarningThreshold(); boolean isUseViewerLocaleAsRecordLanguage(); String getFeedbackEmailAddress(); boolean isBookmarksEnabled(); boolean isForceJpegConversion(); int getPageLoaderThreshold(); boolean isPreventProxyCaching(); boolean isSolrCompressionEnabled(); boolean isSolrBackwardsCompatible(); boolean isUserCommentsEnabled(); String getUserCommentsConditionalQuery(); List<String> getUserCommentsNotificationEmailAddresses(); String getViewerHome(); List<String> getWatermarkIdField(); String getSubthemeMainTheme(); String getSubthemeDiscriminatorField(); int getTagCloudSampleSize(String fieldName); List<StringPair> getTocVolumeSortFieldsForTemplate(String template); String getTocVolumeGroupFieldForTemplate(String template); boolean getDisplayTitleBreadcrumbs(); boolean isDisplayTitlePURL(); int getTitleBreadcrumbsMaxTitleLength(); boolean getIncludeAnchorInTitleBreadcrumbs(); boolean isDisplaySearchRssLinks(); boolean showThumbnailsInToc(); String getStartYearForTimeline(); String getEndYearForTimeline(); String getTimelineHits(); boolean isPiwikTrackingEnabled(); String getPiwikBaseURL(); String getPiwikSiteID(); boolean isSearchSavingEnabled(); boolean isBoostTopLevelDocstructs(); boolean isGroupDuplicateHits(); List<String> getRecordGroupIdentifierFields(); List<String> getAncestorIdentifierFields(); boolean isTocListSiblingRecords(); List<SearchFilter> getSearchFilters(); List<Map<String, String>> getWebApiFields(); String getDbPersistenceUnit(); boolean useCustomNavBar(); String getCmsTemplateFolder(); String getCmsMediaFolder(); String getTempMediaFolder(); List<String> getCmsClassifications(); int getCmsMediaDisplayWidth(); int getCmsMediaDisplayHeight(); boolean isTranskribusEnabled(); String getTranskribusUserName(); String getTranskribusPassword(); String getTranskribusDefaultCollection(); String getTranskribusRestApiUrl(); List<String> getTranskribusAllowedDocumentTypes(); int getTocIndentation(); boolean isPageBrowseEnabled(); List<Integer> getPageBrowseSteps(); String getTaskManagerServiceUrl(); String getTaskManagerRestUrl(); String getReCaptchaSiteKey(); boolean isUseReCaptcha(); boolean isSearchInItemEnabled(); String getDefaultBrowseIcon(String field); boolean isSearchExcelExportEnabled(); List<String> getSearchExcelExportFields(); int getExcelDownloadTimeout(); boolean isDisplayEmptyTocInSidebar(); boolean isDoublePageModeEnabled(); List<String> getRestrictedImageUrls(); List<String> getIIIFLicenses(); List<String> getIIIFMetadataFields(); List<String> getIIIFEventFields(); String getIIIFMetadataLabel(String field); int getIIIFDiscoveryAvtivitiesPerPage(); List<String> getIIIFLogo(); String getIIIFNavDateField(); List<String> getIIIFAttribution(); List<String> getIIIFDescriptionFields(); String getSitelinksField(); String getSitelinksFilterQuery(); List<String> getConfiguredCollections(); String getWebApiToken(); boolean isAllowRedirectCollectionToWork(); String getTwitterUserName(); float getLimitImageHeightUpperRatioThreshold(); float getLimitImageHeightLowerRatioThreshold(); boolean isLimitImageHeight(); boolean isAddCORSHeader(); String getCORSHeaderValue(); boolean isDiscloseImageContentLocation(); String getAccessConditionDisplayField(); String getCopyrightDisplayField(); boolean isDisplayCopyrightInfo(); boolean isDisplaySocialMediaShareLinks(); boolean isDisplayAnchorLabelInTitleBar(String template); String getAnchorLabelInTitleBarPrefix(String template); String getAnchorLabelInTitleBarSuffix(String template); String getMapBoxToken(); GeoMapMarker getGeoMapMarker(String name); List<String> getGeoMapMarkerFields(); List<GeoMapMarker> getGeoMapMarkers(); static GeoMapMarker readGeoMapMarker(HierarchicalConfiguration config); List<LicenseDescription> getLicenseDescriptions(); }
Configuration extends AbstractConfiguration { public List<Metadata> getSearchHitMetadataForTemplate(String template) { List<HierarchicalConfiguration> templateList = getLocalConfigurationsAt("metadata.searchHitMetadataList.template"); if (templateList == null) { return Collections.emptyList(); } return getMetadataForTemplate(template, templateList, true, true); } Configuration(String configFilePath); Set<String> getStopwords(); boolean reloadingRequired(); String getConfigLocalPath(); String getLocalRessourceBundleFile(); int getViewerThumbnailsPerPage(); int getViewerMaxImageWidth(); int getViewerMaxImageHeight(); int getViewerMaxImageScale(); boolean isRememberImageZoom(); boolean isRememberImageRotation(); String getDfgViewerUrl(); String getConnectorVersionUrl(); List<Metadata> getTitleBarMetadata(); List<Metadata> getSearchHitMetadataForTemplate(String template); List<Metadata> getMainMetadataForTemplate(String template); List<Metadata> getSidebarMetadataForTemplate(String template); List<String> getNormdataFieldsForTemplate(String template); List<Metadata> getTocLabelConfiguration(String template); int getTocAnchorGroupElementsPerPage(); boolean isDisplaySidebarBrowsingTerms(); boolean isDisplaySidebarRssFeed(); boolean isDisplayWidgetUsage(); Metadata getWidgetUsageLicenceTextMetadata(); boolean isDisplaySidebarUsageWidgetLinkToJpegImage(); boolean isDisplaySidebarUsageWidgetLinkToMasterImage(); String getWidgetUsageMaxJpegSize(); String getWidgetUsageMaxMasterImageSize(); List<String> getCalendarDocStructTypes(); boolean isBrowsingMenuEnabled(); int getBrowsingMenuHitsPerPage(); List<BrowsingMenuFieldConfig> getBrowsingMenuFields(); String getBrowsingMenuSortingIgnoreLeadingChars(); String getDocstrctWhitelistFilterQuery(); String getCollectionSplittingChar(String field); List<DcSortingList> getCollectionSorting(String field); List<String> getCollectionBlacklist(String field); String getCollectionDefaultSortField(String field, String name); int getCollectionDisplayNumberOfVolumesLevel(String field); int getCollectionDisplayDepthForSearch(String field); String getCollectionHierarchyField(); boolean isAddCollectionHierarchyToBreadcrumbs(String field); String getSolrUrl(); String getContentServerWrapperUrl(); String getDownloadUrl(); String getRestApiUrl(); String getIIIFApiUrl(); boolean isUseIIIFApiUrlForCmsMediaUrls(); String getContentServerRealUrl(); String getMetsUrl(); String getMarcUrl(); String getDcUrl(); String getEseUrl(); List<Integer> getSearchHitsPerPageValues(); int getSearchHitsPerPageDefaultValue(); int getFulltextFragmentLength(); boolean isAdvancedSearchEnabled(); int getAdvancedSearchDefaultItemNumber(); List<AdvancedSearchFieldConfiguration> getAdvancedSearchFields(); boolean isAggregateHits(); boolean isDisplayAdditionalMetadataEnabled(); List<String> getDisplayAdditionalMetadataIgnoreFields(); List<String> getDisplayAdditionalMetadataTranslateFields(); boolean isAdvancedSearchFieldHierarchical(String field); boolean isAdvancedSearchFieldRange(String field); boolean isAdvancedSearchFieldUntokenizeForPhraseSearch(String field); String getAdvancedSearchFieldSeparatorLabel(String field); boolean isTimelineSearchEnabled(); boolean isCalendarSearchEnabled(); String getStaticQuerySuffix(); String getPreviousVersionIdentifierField(); String getNextVersionIdentifierField(); String getVersionLabelField(); String getIndexedMetsFolder(); String getIndexedLidoFolder(); String getIndexedDenkxwebFolder(); String getIndexedDublinCoreFolder(); String getPageSelectionFormat(); String getMediaFolder(); String getPdfFolder(); String getVocabulariesFolder(); String getOrigContentFolder(); String getCmsTextFolder(); String getAltoFolder(); String getAbbyyFolder(); String getFulltextFolder(); String getTeiFolder(); String getCmdiFolder(); String getWcFolder(); String getAnnotationFolder(); String getHotfolder(); @SuppressWarnings("static-method") String getTempFolder(); boolean isUrnDoRedirect(); boolean isUserRegistrationEnabled(); List<SecurityQuestion> getSecurityQuestions(); boolean isShowOpenIdConnect(); List<IAuthenticationProvider> getAuthenticationProviders(); String getSmtpServer(); String getSmtpUser(); String getSmtpPassword(); String getSmtpSenderAddress(); String getSmtpSenderName(); String getSmtpSecurity(); String getAnonymousUserEmailAddress(); boolean isDisplayCollectionBrowsing(); boolean isDisplayUserNavigation(); boolean isDisplayTagCloudNavigation(); boolean isDisplayStatistics(); boolean isDisplayTimeMatrix(); boolean isDisplayCrowdsourcingModuleLinks(); String getTheme(); String getThemeRootPath(); String getName(); String getDescription(); boolean isDisplayTagCloudStartpage(); boolean isDisplaySearchResultNavigation(); boolean isFoldout(String sidebarElement); boolean isSidebarPageViewLinkVisible(); boolean isSidebarCalendarViewLinkVisible(); boolean isSidebarTocViewLinkVisible(); boolean isSidebarThumbsViewLinkVisible(); boolean isSidebarMetadataViewLinkVisible(); boolean isShowSidebarEventMetadata(); boolean isShowRecordLabelIfNoOtherViews(); boolean isSidebarFulltextLinkVisible(); boolean isSidebarTocWidgetVisible(); boolean isSidebarTocWidgetVisibleInFullscreen(); boolean isSidebarOpacLinkVisible(); boolean getSidebarTocPageNumbersVisible(); int getSidebarTocLengthBeforeCut(); int getSidebarTocInitialCollapseLevel(); int getSidebarTocCollapseLengthThreshold(); int getSidebarTocLowestLevelToCollapseForLength(); boolean isSidebarTocTreeView(); boolean isTocTreeView(String docStructType); List<String> getAllDrillDownFields(); List<String> getDrillDownFields(); List<String> getHierarchicalDrillDownFields(); int getInitialDrillDownElementNumber(String field); String getSortOrder(String field); List<String> getPriorityValuesForDrillDownField(String field); String getLabelFieldForDrillDownField(String facetField); @SuppressWarnings("static-method") List<String> getRangeFacetFields(); boolean isSortingEnabled(); String getDefaultSortField(); List<String> getSortFields(); List<String> getStaticSortFields(); String getUrnResolverUrl(); int getUnconditionalImageAccessMaxWidth(); boolean isFullAccessForLocalhost(); boolean isGeneratePdfInTaskManager(); boolean isPdfApiDisabled(); boolean isTitlePdfEnabled(); boolean isTocPdfEnabled(); boolean isMetadataPdfEnabled(); boolean isPagePdfEnabled(); boolean isDocHierarchyPdfEnabled(); boolean isTitleEpubEnabled(); boolean isTocEpubEnabled(); boolean isMetadataEpubEnabled(); String getDownloadFolder(String type); int getRssFeedItems(); String getRssTitle(); String getRssDescription(); String getRssCopyrightText(); String getRulesetFilePath(); String getDefaultCollection(); int getThumbnailsWidth(); int getThumbnailsHeight(); int getThumbnailsCompression(); String getAnchorThumbnailMode(); int getMultivolumeThumbnailWidth(); int getMultivolumeThumbnailHeight(); boolean getDisplayBreadcrumbs(); boolean getDisplayMetadataPageLinkBlock(); boolean isAddDublinCoreMetaTags(); boolean isAddHighwirePressMetaTags(); int getMetadataParamNumber(); boolean useTiles(); boolean useTilesFullscreen(); boolean useTiles(PageType view, ImageType image); int getFooterHeight(); int getFullscreenFooterHeight(); int getFooterHeight(PageType view, ImageType image); String getImageViewType(); String getZoomFullscreenViewType(); String getZoomImageViewType(PageType view, ImageType image); boolean useOpenSeadragon(); List<String> getImageViewZoomScales(); List<String> getImageViewZoomScales(String view); List<String> getImageViewZoomScales(PageType view, ImageType image); Map<Integer, List<Integer>> getTileSizes(); Map<Integer, List<Integer>> getTileSizes(PageType view, ImageType image); SubnodeConfiguration getZoomImageViewConfig(PageType pageType, ImageType imageType); int getBreadcrumbsClipping(); boolean isDisplayTopstructLabel(); boolean getDisplayStructType(); int getSearchHitMetadataValueNumber(); int getSearchHitMetadataValueLength(); List<String> getWatermarkTextConfiguration(); String getWatermarkFormat(); boolean isOriginalContentDownload(); String getStopwordsFilePath(); String getPageType(PageType type); String getDocstructTargetPageType(String docstruct); String getPageTypeExitView(PageType type); int getFulltextPercentageWarningThreshold(); boolean isUseViewerLocaleAsRecordLanguage(); String getFeedbackEmailAddress(); boolean isBookmarksEnabled(); boolean isForceJpegConversion(); int getPageLoaderThreshold(); boolean isPreventProxyCaching(); boolean isSolrCompressionEnabled(); boolean isSolrBackwardsCompatible(); boolean isUserCommentsEnabled(); String getUserCommentsConditionalQuery(); List<String> getUserCommentsNotificationEmailAddresses(); String getViewerHome(); List<String> getWatermarkIdField(); String getSubthemeMainTheme(); String getSubthemeDiscriminatorField(); int getTagCloudSampleSize(String fieldName); List<StringPair> getTocVolumeSortFieldsForTemplate(String template); String getTocVolumeGroupFieldForTemplate(String template); boolean getDisplayTitleBreadcrumbs(); boolean isDisplayTitlePURL(); int getTitleBreadcrumbsMaxTitleLength(); boolean getIncludeAnchorInTitleBreadcrumbs(); boolean isDisplaySearchRssLinks(); boolean showThumbnailsInToc(); String getStartYearForTimeline(); String getEndYearForTimeline(); String getTimelineHits(); boolean isPiwikTrackingEnabled(); String getPiwikBaseURL(); String getPiwikSiteID(); boolean isSearchSavingEnabled(); boolean isBoostTopLevelDocstructs(); boolean isGroupDuplicateHits(); List<String> getRecordGroupIdentifierFields(); List<String> getAncestorIdentifierFields(); boolean isTocListSiblingRecords(); List<SearchFilter> getSearchFilters(); List<Map<String, String>> getWebApiFields(); String getDbPersistenceUnit(); boolean useCustomNavBar(); String getCmsTemplateFolder(); String getCmsMediaFolder(); String getTempMediaFolder(); List<String> getCmsClassifications(); int getCmsMediaDisplayWidth(); int getCmsMediaDisplayHeight(); boolean isTranskribusEnabled(); String getTranskribusUserName(); String getTranskribusPassword(); String getTranskribusDefaultCollection(); String getTranskribusRestApiUrl(); List<String> getTranskribusAllowedDocumentTypes(); int getTocIndentation(); boolean isPageBrowseEnabled(); List<Integer> getPageBrowseSteps(); String getTaskManagerServiceUrl(); String getTaskManagerRestUrl(); String getReCaptchaSiteKey(); boolean isUseReCaptcha(); boolean isSearchInItemEnabled(); String getDefaultBrowseIcon(String field); boolean isSearchExcelExportEnabled(); List<String> getSearchExcelExportFields(); int getExcelDownloadTimeout(); boolean isDisplayEmptyTocInSidebar(); boolean isDoublePageModeEnabled(); List<String> getRestrictedImageUrls(); List<String> getIIIFLicenses(); List<String> getIIIFMetadataFields(); List<String> getIIIFEventFields(); String getIIIFMetadataLabel(String field); int getIIIFDiscoveryAvtivitiesPerPage(); List<String> getIIIFLogo(); String getIIIFNavDateField(); List<String> getIIIFAttribution(); List<String> getIIIFDescriptionFields(); String getSitelinksField(); String getSitelinksFilterQuery(); List<String> getConfiguredCollections(); String getWebApiToken(); boolean isAllowRedirectCollectionToWork(); String getTwitterUserName(); float getLimitImageHeightUpperRatioThreshold(); float getLimitImageHeightLowerRatioThreshold(); boolean isLimitImageHeight(); boolean isAddCORSHeader(); String getCORSHeaderValue(); boolean isDiscloseImageContentLocation(); String getAccessConditionDisplayField(); String getCopyrightDisplayField(); boolean isDisplayCopyrightInfo(); boolean isDisplaySocialMediaShareLinks(); boolean isDisplayAnchorLabelInTitleBar(String template); String getAnchorLabelInTitleBarPrefix(String template); String getAnchorLabelInTitleBarSuffix(String template); String getMapBoxToken(); GeoMapMarker getGeoMapMarker(String name); List<String> getGeoMapMarkerFields(); List<GeoMapMarker> getGeoMapMarkers(); static GeoMapMarker readGeoMapMarker(HierarchicalConfiguration config); List<LicenseDescription> getLicenseDescriptions(); }
@Test public void getSearchHitMetadataForTemplate_shouldReturnDefaultTemplateIfTemplateIsNull() throws Exception { Assert.assertEquals(5, DataManager.getInstance().getConfiguration().getSearchHitMetadataForTemplate(null).size()); }
public List<Metadata> getSearchHitMetadataForTemplate(String template) { List<HierarchicalConfiguration> templateList = getLocalConfigurationsAt("metadata.searchHitMetadataList.template"); if (templateList == null) { return Collections.emptyList(); } return getMetadataForTemplate(template, templateList, true, true); }
Configuration extends AbstractConfiguration { public List<Metadata> getSearchHitMetadataForTemplate(String template) { List<HierarchicalConfiguration> templateList = getLocalConfigurationsAt("metadata.searchHitMetadataList.template"); if (templateList == null) { return Collections.emptyList(); } return getMetadataForTemplate(template, templateList, true, true); } }
Configuration extends AbstractConfiguration { public List<Metadata> getSearchHitMetadataForTemplate(String template) { List<HierarchicalConfiguration> templateList = getLocalConfigurationsAt("metadata.searchHitMetadataList.template"); if (templateList == null) { return Collections.emptyList(); } return getMetadataForTemplate(template, templateList, true, true); } Configuration(String configFilePath); }
Configuration extends AbstractConfiguration { public List<Metadata> getSearchHitMetadataForTemplate(String template) { List<HierarchicalConfiguration> templateList = getLocalConfigurationsAt("metadata.searchHitMetadataList.template"); if (templateList == null) { return Collections.emptyList(); } return getMetadataForTemplate(template, templateList, true, true); } Configuration(String configFilePath); Set<String> getStopwords(); boolean reloadingRequired(); String getConfigLocalPath(); String getLocalRessourceBundleFile(); int getViewerThumbnailsPerPage(); int getViewerMaxImageWidth(); int getViewerMaxImageHeight(); int getViewerMaxImageScale(); boolean isRememberImageZoom(); boolean isRememberImageRotation(); String getDfgViewerUrl(); String getConnectorVersionUrl(); List<Metadata> getTitleBarMetadata(); List<Metadata> getSearchHitMetadataForTemplate(String template); List<Metadata> getMainMetadataForTemplate(String template); List<Metadata> getSidebarMetadataForTemplate(String template); List<String> getNormdataFieldsForTemplate(String template); List<Metadata> getTocLabelConfiguration(String template); int getTocAnchorGroupElementsPerPage(); boolean isDisplaySidebarBrowsingTerms(); boolean isDisplaySidebarRssFeed(); boolean isDisplayWidgetUsage(); Metadata getWidgetUsageLicenceTextMetadata(); boolean isDisplaySidebarUsageWidgetLinkToJpegImage(); boolean isDisplaySidebarUsageWidgetLinkToMasterImage(); String getWidgetUsageMaxJpegSize(); String getWidgetUsageMaxMasterImageSize(); List<String> getCalendarDocStructTypes(); boolean isBrowsingMenuEnabled(); int getBrowsingMenuHitsPerPage(); List<BrowsingMenuFieldConfig> getBrowsingMenuFields(); String getBrowsingMenuSortingIgnoreLeadingChars(); String getDocstrctWhitelistFilterQuery(); String getCollectionSplittingChar(String field); List<DcSortingList> getCollectionSorting(String field); List<String> getCollectionBlacklist(String field); String getCollectionDefaultSortField(String field, String name); int getCollectionDisplayNumberOfVolumesLevel(String field); int getCollectionDisplayDepthForSearch(String field); String getCollectionHierarchyField(); boolean isAddCollectionHierarchyToBreadcrumbs(String field); String getSolrUrl(); String getContentServerWrapperUrl(); String getDownloadUrl(); String getRestApiUrl(); String getIIIFApiUrl(); boolean isUseIIIFApiUrlForCmsMediaUrls(); String getContentServerRealUrl(); String getMetsUrl(); String getMarcUrl(); String getDcUrl(); String getEseUrl(); List<Integer> getSearchHitsPerPageValues(); int getSearchHitsPerPageDefaultValue(); int getFulltextFragmentLength(); boolean isAdvancedSearchEnabled(); int getAdvancedSearchDefaultItemNumber(); List<AdvancedSearchFieldConfiguration> getAdvancedSearchFields(); boolean isAggregateHits(); boolean isDisplayAdditionalMetadataEnabled(); List<String> getDisplayAdditionalMetadataIgnoreFields(); List<String> getDisplayAdditionalMetadataTranslateFields(); boolean isAdvancedSearchFieldHierarchical(String field); boolean isAdvancedSearchFieldRange(String field); boolean isAdvancedSearchFieldUntokenizeForPhraseSearch(String field); String getAdvancedSearchFieldSeparatorLabel(String field); boolean isTimelineSearchEnabled(); boolean isCalendarSearchEnabled(); String getStaticQuerySuffix(); String getPreviousVersionIdentifierField(); String getNextVersionIdentifierField(); String getVersionLabelField(); String getIndexedMetsFolder(); String getIndexedLidoFolder(); String getIndexedDenkxwebFolder(); String getIndexedDublinCoreFolder(); String getPageSelectionFormat(); String getMediaFolder(); String getPdfFolder(); String getVocabulariesFolder(); String getOrigContentFolder(); String getCmsTextFolder(); String getAltoFolder(); String getAbbyyFolder(); String getFulltextFolder(); String getTeiFolder(); String getCmdiFolder(); String getWcFolder(); String getAnnotationFolder(); String getHotfolder(); @SuppressWarnings("static-method") String getTempFolder(); boolean isUrnDoRedirect(); boolean isUserRegistrationEnabled(); List<SecurityQuestion> getSecurityQuestions(); boolean isShowOpenIdConnect(); List<IAuthenticationProvider> getAuthenticationProviders(); String getSmtpServer(); String getSmtpUser(); String getSmtpPassword(); String getSmtpSenderAddress(); String getSmtpSenderName(); String getSmtpSecurity(); String getAnonymousUserEmailAddress(); boolean isDisplayCollectionBrowsing(); boolean isDisplayUserNavigation(); boolean isDisplayTagCloudNavigation(); boolean isDisplayStatistics(); boolean isDisplayTimeMatrix(); boolean isDisplayCrowdsourcingModuleLinks(); String getTheme(); String getThemeRootPath(); String getName(); String getDescription(); boolean isDisplayTagCloudStartpage(); boolean isDisplaySearchResultNavigation(); boolean isFoldout(String sidebarElement); boolean isSidebarPageViewLinkVisible(); boolean isSidebarCalendarViewLinkVisible(); boolean isSidebarTocViewLinkVisible(); boolean isSidebarThumbsViewLinkVisible(); boolean isSidebarMetadataViewLinkVisible(); boolean isShowSidebarEventMetadata(); boolean isShowRecordLabelIfNoOtherViews(); boolean isSidebarFulltextLinkVisible(); boolean isSidebarTocWidgetVisible(); boolean isSidebarTocWidgetVisibleInFullscreen(); boolean isSidebarOpacLinkVisible(); boolean getSidebarTocPageNumbersVisible(); int getSidebarTocLengthBeforeCut(); int getSidebarTocInitialCollapseLevel(); int getSidebarTocCollapseLengthThreshold(); int getSidebarTocLowestLevelToCollapseForLength(); boolean isSidebarTocTreeView(); boolean isTocTreeView(String docStructType); List<String> getAllDrillDownFields(); List<String> getDrillDownFields(); List<String> getHierarchicalDrillDownFields(); int getInitialDrillDownElementNumber(String field); String getSortOrder(String field); List<String> getPriorityValuesForDrillDownField(String field); String getLabelFieldForDrillDownField(String facetField); @SuppressWarnings("static-method") List<String> getRangeFacetFields(); boolean isSortingEnabled(); String getDefaultSortField(); List<String> getSortFields(); List<String> getStaticSortFields(); String getUrnResolverUrl(); int getUnconditionalImageAccessMaxWidth(); boolean isFullAccessForLocalhost(); boolean isGeneratePdfInTaskManager(); boolean isPdfApiDisabled(); boolean isTitlePdfEnabled(); boolean isTocPdfEnabled(); boolean isMetadataPdfEnabled(); boolean isPagePdfEnabled(); boolean isDocHierarchyPdfEnabled(); boolean isTitleEpubEnabled(); boolean isTocEpubEnabled(); boolean isMetadataEpubEnabled(); String getDownloadFolder(String type); int getRssFeedItems(); String getRssTitle(); String getRssDescription(); String getRssCopyrightText(); String getRulesetFilePath(); String getDefaultCollection(); int getThumbnailsWidth(); int getThumbnailsHeight(); int getThumbnailsCompression(); String getAnchorThumbnailMode(); int getMultivolumeThumbnailWidth(); int getMultivolumeThumbnailHeight(); boolean getDisplayBreadcrumbs(); boolean getDisplayMetadataPageLinkBlock(); boolean isAddDublinCoreMetaTags(); boolean isAddHighwirePressMetaTags(); int getMetadataParamNumber(); boolean useTiles(); boolean useTilesFullscreen(); boolean useTiles(PageType view, ImageType image); int getFooterHeight(); int getFullscreenFooterHeight(); int getFooterHeight(PageType view, ImageType image); String getImageViewType(); String getZoomFullscreenViewType(); String getZoomImageViewType(PageType view, ImageType image); boolean useOpenSeadragon(); List<String> getImageViewZoomScales(); List<String> getImageViewZoomScales(String view); List<String> getImageViewZoomScales(PageType view, ImageType image); Map<Integer, List<Integer>> getTileSizes(); Map<Integer, List<Integer>> getTileSizes(PageType view, ImageType image); SubnodeConfiguration getZoomImageViewConfig(PageType pageType, ImageType imageType); int getBreadcrumbsClipping(); boolean isDisplayTopstructLabel(); boolean getDisplayStructType(); int getSearchHitMetadataValueNumber(); int getSearchHitMetadataValueLength(); List<String> getWatermarkTextConfiguration(); String getWatermarkFormat(); boolean isOriginalContentDownload(); String getStopwordsFilePath(); String getPageType(PageType type); String getDocstructTargetPageType(String docstruct); String getPageTypeExitView(PageType type); int getFulltextPercentageWarningThreshold(); boolean isUseViewerLocaleAsRecordLanguage(); String getFeedbackEmailAddress(); boolean isBookmarksEnabled(); boolean isForceJpegConversion(); int getPageLoaderThreshold(); boolean isPreventProxyCaching(); boolean isSolrCompressionEnabled(); boolean isSolrBackwardsCompatible(); boolean isUserCommentsEnabled(); String getUserCommentsConditionalQuery(); List<String> getUserCommentsNotificationEmailAddresses(); String getViewerHome(); List<String> getWatermarkIdField(); String getSubthemeMainTheme(); String getSubthemeDiscriminatorField(); int getTagCloudSampleSize(String fieldName); List<StringPair> getTocVolumeSortFieldsForTemplate(String template); String getTocVolumeGroupFieldForTemplate(String template); boolean getDisplayTitleBreadcrumbs(); boolean isDisplayTitlePURL(); int getTitleBreadcrumbsMaxTitleLength(); boolean getIncludeAnchorInTitleBreadcrumbs(); boolean isDisplaySearchRssLinks(); boolean showThumbnailsInToc(); String getStartYearForTimeline(); String getEndYearForTimeline(); String getTimelineHits(); boolean isPiwikTrackingEnabled(); String getPiwikBaseURL(); String getPiwikSiteID(); boolean isSearchSavingEnabled(); boolean isBoostTopLevelDocstructs(); boolean isGroupDuplicateHits(); List<String> getRecordGroupIdentifierFields(); List<String> getAncestorIdentifierFields(); boolean isTocListSiblingRecords(); List<SearchFilter> getSearchFilters(); List<Map<String, String>> getWebApiFields(); String getDbPersistenceUnit(); boolean useCustomNavBar(); String getCmsTemplateFolder(); String getCmsMediaFolder(); String getTempMediaFolder(); List<String> getCmsClassifications(); int getCmsMediaDisplayWidth(); int getCmsMediaDisplayHeight(); boolean isTranskribusEnabled(); String getTranskribusUserName(); String getTranskribusPassword(); String getTranskribusDefaultCollection(); String getTranskribusRestApiUrl(); List<String> getTranskribusAllowedDocumentTypes(); int getTocIndentation(); boolean isPageBrowseEnabled(); List<Integer> getPageBrowseSteps(); String getTaskManagerServiceUrl(); String getTaskManagerRestUrl(); String getReCaptchaSiteKey(); boolean isUseReCaptcha(); boolean isSearchInItemEnabled(); String getDefaultBrowseIcon(String field); boolean isSearchExcelExportEnabled(); List<String> getSearchExcelExportFields(); int getExcelDownloadTimeout(); boolean isDisplayEmptyTocInSidebar(); boolean isDoublePageModeEnabled(); List<String> getRestrictedImageUrls(); List<String> getIIIFLicenses(); List<String> getIIIFMetadataFields(); List<String> getIIIFEventFields(); String getIIIFMetadataLabel(String field); int getIIIFDiscoveryAvtivitiesPerPage(); List<String> getIIIFLogo(); String getIIIFNavDateField(); List<String> getIIIFAttribution(); List<String> getIIIFDescriptionFields(); String getSitelinksField(); String getSitelinksFilterQuery(); List<String> getConfiguredCollections(); String getWebApiToken(); boolean isAllowRedirectCollectionToWork(); String getTwitterUserName(); float getLimitImageHeightUpperRatioThreshold(); float getLimitImageHeightLowerRatioThreshold(); boolean isLimitImageHeight(); boolean isAddCORSHeader(); String getCORSHeaderValue(); boolean isDiscloseImageContentLocation(); String getAccessConditionDisplayField(); String getCopyrightDisplayField(); boolean isDisplayCopyrightInfo(); boolean isDisplaySocialMediaShareLinks(); boolean isDisplayAnchorLabelInTitleBar(String template); String getAnchorLabelInTitleBarPrefix(String template); String getAnchorLabelInTitleBarSuffix(String template); String getMapBoxToken(); GeoMapMarker getGeoMapMarker(String name); List<String> getGeoMapMarkerFields(); List<GeoMapMarker> getGeoMapMarkers(); static GeoMapMarker readGeoMapMarker(HierarchicalConfiguration config); List<LicenseDescription> getLicenseDescriptions(); }
Configuration extends AbstractConfiguration { public List<Metadata> getSearchHitMetadataForTemplate(String template) { List<HierarchicalConfiguration> templateList = getLocalConfigurationsAt("metadata.searchHitMetadataList.template"); if (templateList == null) { return Collections.emptyList(); } return getMetadataForTemplate(template, templateList, true, true); } Configuration(String configFilePath); Set<String> getStopwords(); boolean reloadingRequired(); String getConfigLocalPath(); String getLocalRessourceBundleFile(); int getViewerThumbnailsPerPage(); int getViewerMaxImageWidth(); int getViewerMaxImageHeight(); int getViewerMaxImageScale(); boolean isRememberImageZoom(); boolean isRememberImageRotation(); String getDfgViewerUrl(); String getConnectorVersionUrl(); List<Metadata> getTitleBarMetadata(); List<Metadata> getSearchHitMetadataForTemplate(String template); List<Metadata> getMainMetadataForTemplate(String template); List<Metadata> getSidebarMetadataForTemplate(String template); List<String> getNormdataFieldsForTemplate(String template); List<Metadata> getTocLabelConfiguration(String template); int getTocAnchorGroupElementsPerPage(); boolean isDisplaySidebarBrowsingTerms(); boolean isDisplaySidebarRssFeed(); boolean isDisplayWidgetUsage(); Metadata getWidgetUsageLicenceTextMetadata(); boolean isDisplaySidebarUsageWidgetLinkToJpegImage(); boolean isDisplaySidebarUsageWidgetLinkToMasterImage(); String getWidgetUsageMaxJpegSize(); String getWidgetUsageMaxMasterImageSize(); List<String> getCalendarDocStructTypes(); boolean isBrowsingMenuEnabled(); int getBrowsingMenuHitsPerPage(); List<BrowsingMenuFieldConfig> getBrowsingMenuFields(); String getBrowsingMenuSortingIgnoreLeadingChars(); String getDocstrctWhitelistFilterQuery(); String getCollectionSplittingChar(String field); List<DcSortingList> getCollectionSorting(String field); List<String> getCollectionBlacklist(String field); String getCollectionDefaultSortField(String field, String name); int getCollectionDisplayNumberOfVolumesLevel(String field); int getCollectionDisplayDepthForSearch(String field); String getCollectionHierarchyField(); boolean isAddCollectionHierarchyToBreadcrumbs(String field); String getSolrUrl(); String getContentServerWrapperUrl(); String getDownloadUrl(); String getRestApiUrl(); String getIIIFApiUrl(); boolean isUseIIIFApiUrlForCmsMediaUrls(); String getContentServerRealUrl(); String getMetsUrl(); String getMarcUrl(); String getDcUrl(); String getEseUrl(); List<Integer> getSearchHitsPerPageValues(); int getSearchHitsPerPageDefaultValue(); int getFulltextFragmentLength(); boolean isAdvancedSearchEnabled(); int getAdvancedSearchDefaultItemNumber(); List<AdvancedSearchFieldConfiguration> getAdvancedSearchFields(); boolean isAggregateHits(); boolean isDisplayAdditionalMetadataEnabled(); List<String> getDisplayAdditionalMetadataIgnoreFields(); List<String> getDisplayAdditionalMetadataTranslateFields(); boolean isAdvancedSearchFieldHierarchical(String field); boolean isAdvancedSearchFieldRange(String field); boolean isAdvancedSearchFieldUntokenizeForPhraseSearch(String field); String getAdvancedSearchFieldSeparatorLabel(String field); boolean isTimelineSearchEnabled(); boolean isCalendarSearchEnabled(); String getStaticQuerySuffix(); String getPreviousVersionIdentifierField(); String getNextVersionIdentifierField(); String getVersionLabelField(); String getIndexedMetsFolder(); String getIndexedLidoFolder(); String getIndexedDenkxwebFolder(); String getIndexedDublinCoreFolder(); String getPageSelectionFormat(); String getMediaFolder(); String getPdfFolder(); String getVocabulariesFolder(); String getOrigContentFolder(); String getCmsTextFolder(); String getAltoFolder(); String getAbbyyFolder(); String getFulltextFolder(); String getTeiFolder(); String getCmdiFolder(); String getWcFolder(); String getAnnotationFolder(); String getHotfolder(); @SuppressWarnings("static-method") String getTempFolder(); boolean isUrnDoRedirect(); boolean isUserRegistrationEnabled(); List<SecurityQuestion> getSecurityQuestions(); boolean isShowOpenIdConnect(); List<IAuthenticationProvider> getAuthenticationProviders(); String getSmtpServer(); String getSmtpUser(); String getSmtpPassword(); String getSmtpSenderAddress(); String getSmtpSenderName(); String getSmtpSecurity(); String getAnonymousUserEmailAddress(); boolean isDisplayCollectionBrowsing(); boolean isDisplayUserNavigation(); boolean isDisplayTagCloudNavigation(); boolean isDisplayStatistics(); boolean isDisplayTimeMatrix(); boolean isDisplayCrowdsourcingModuleLinks(); String getTheme(); String getThemeRootPath(); String getName(); String getDescription(); boolean isDisplayTagCloudStartpage(); boolean isDisplaySearchResultNavigation(); boolean isFoldout(String sidebarElement); boolean isSidebarPageViewLinkVisible(); boolean isSidebarCalendarViewLinkVisible(); boolean isSidebarTocViewLinkVisible(); boolean isSidebarThumbsViewLinkVisible(); boolean isSidebarMetadataViewLinkVisible(); boolean isShowSidebarEventMetadata(); boolean isShowRecordLabelIfNoOtherViews(); boolean isSidebarFulltextLinkVisible(); boolean isSidebarTocWidgetVisible(); boolean isSidebarTocWidgetVisibleInFullscreen(); boolean isSidebarOpacLinkVisible(); boolean getSidebarTocPageNumbersVisible(); int getSidebarTocLengthBeforeCut(); int getSidebarTocInitialCollapseLevel(); int getSidebarTocCollapseLengthThreshold(); int getSidebarTocLowestLevelToCollapseForLength(); boolean isSidebarTocTreeView(); boolean isTocTreeView(String docStructType); List<String> getAllDrillDownFields(); List<String> getDrillDownFields(); List<String> getHierarchicalDrillDownFields(); int getInitialDrillDownElementNumber(String field); String getSortOrder(String field); List<String> getPriorityValuesForDrillDownField(String field); String getLabelFieldForDrillDownField(String facetField); @SuppressWarnings("static-method") List<String> getRangeFacetFields(); boolean isSortingEnabled(); String getDefaultSortField(); List<String> getSortFields(); List<String> getStaticSortFields(); String getUrnResolverUrl(); int getUnconditionalImageAccessMaxWidth(); boolean isFullAccessForLocalhost(); boolean isGeneratePdfInTaskManager(); boolean isPdfApiDisabled(); boolean isTitlePdfEnabled(); boolean isTocPdfEnabled(); boolean isMetadataPdfEnabled(); boolean isPagePdfEnabled(); boolean isDocHierarchyPdfEnabled(); boolean isTitleEpubEnabled(); boolean isTocEpubEnabled(); boolean isMetadataEpubEnabled(); String getDownloadFolder(String type); int getRssFeedItems(); String getRssTitle(); String getRssDescription(); String getRssCopyrightText(); String getRulesetFilePath(); String getDefaultCollection(); int getThumbnailsWidth(); int getThumbnailsHeight(); int getThumbnailsCompression(); String getAnchorThumbnailMode(); int getMultivolumeThumbnailWidth(); int getMultivolumeThumbnailHeight(); boolean getDisplayBreadcrumbs(); boolean getDisplayMetadataPageLinkBlock(); boolean isAddDublinCoreMetaTags(); boolean isAddHighwirePressMetaTags(); int getMetadataParamNumber(); boolean useTiles(); boolean useTilesFullscreen(); boolean useTiles(PageType view, ImageType image); int getFooterHeight(); int getFullscreenFooterHeight(); int getFooterHeight(PageType view, ImageType image); String getImageViewType(); String getZoomFullscreenViewType(); String getZoomImageViewType(PageType view, ImageType image); boolean useOpenSeadragon(); List<String> getImageViewZoomScales(); List<String> getImageViewZoomScales(String view); List<String> getImageViewZoomScales(PageType view, ImageType image); Map<Integer, List<Integer>> getTileSizes(); Map<Integer, List<Integer>> getTileSizes(PageType view, ImageType image); SubnodeConfiguration getZoomImageViewConfig(PageType pageType, ImageType imageType); int getBreadcrumbsClipping(); boolean isDisplayTopstructLabel(); boolean getDisplayStructType(); int getSearchHitMetadataValueNumber(); int getSearchHitMetadataValueLength(); List<String> getWatermarkTextConfiguration(); String getWatermarkFormat(); boolean isOriginalContentDownload(); String getStopwordsFilePath(); String getPageType(PageType type); String getDocstructTargetPageType(String docstruct); String getPageTypeExitView(PageType type); int getFulltextPercentageWarningThreshold(); boolean isUseViewerLocaleAsRecordLanguage(); String getFeedbackEmailAddress(); boolean isBookmarksEnabled(); boolean isForceJpegConversion(); int getPageLoaderThreshold(); boolean isPreventProxyCaching(); boolean isSolrCompressionEnabled(); boolean isSolrBackwardsCompatible(); boolean isUserCommentsEnabled(); String getUserCommentsConditionalQuery(); List<String> getUserCommentsNotificationEmailAddresses(); String getViewerHome(); List<String> getWatermarkIdField(); String getSubthemeMainTheme(); String getSubthemeDiscriminatorField(); int getTagCloudSampleSize(String fieldName); List<StringPair> getTocVolumeSortFieldsForTemplate(String template); String getTocVolumeGroupFieldForTemplate(String template); boolean getDisplayTitleBreadcrumbs(); boolean isDisplayTitlePURL(); int getTitleBreadcrumbsMaxTitleLength(); boolean getIncludeAnchorInTitleBreadcrumbs(); boolean isDisplaySearchRssLinks(); boolean showThumbnailsInToc(); String getStartYearForTimeline(); String getEndYearForTimeline(); String getTimelineHits(); boolean isPiwikTrackingEnabled(); String getPiwikBaseURL(); String getPiwikSiteID(); boolean isSearchSavingEnabled(); boolean isBoostTopLevelDocstructs(); boolean isGroupDuplicateHits(); List<String> getRecordGroupIdentifierFields(); List<String> getAncestorIdentifierFields(); boolean isTocListSiblingRecords(); List<SearchFilter> getSearchFilters(); List<Map<String, String>> getWebApiFields(); String getDbPersistenceUnit(); boolean useCustomNavBar(); String getCmsTemplateFolder(); String getCmsMediaFolder(); String getTempMediaFolder(); List<String> getCmsClassifications(); int getCmsMediaDisplayWidth(); int getCmsMediaDisplayHeight(); boolean isTranskribusEnabled(); String getTranskribusUserName(); String getTranskribusPassword(); String getTranskribusDefaultCollection(); String getTranskribusRestApiUrl(); List<String> getTranskribusAllowedDocumentTypes(); int getTocIndentation(); boolean isPageBrowseEnabled(); List<Integer> getPageBrowseSteps(); String getTaskManagerServiceUrl(); String getTaskManagerRestUrl(); String getReCaptchaSiteKey(); boolean isUseReCaptcha(); boolean isSearchInItemEnabled(); String getDefaultBrowseIcon(String field); boolean isSearchExcelExportEnabled(); List<String> getSearchExcelExportFields(); int getExcelDownloadTimeout(); boolean isDisplayEmptyTocInSidebar(); boolean isDoublePageModeEnabled(); List<String> getRestrictedImageUrls(); List<String> getIIIFLicenses(); List<String> getIIIFMetadataFields(); List<String> getIIIFEventFields(); String getIIIFMetadataLabel(String field); int getIIIFDiscoveryAvtivitiesPerPage(); List<String> getIIIFLogo(); String getIIIFNavDateField(); List<String> getIIIFAttribution(); List<String> getIIIFDescriptionFields(); String getSitelinksField(); String getSitelinksFilterQuery(); List<String> getConfiguredCollections(); String getWebApiToken(); boolean isAllowRedirectCollectionToWork(); String getTwitterUserName(); float getLimitImageHeightUpperRatioThreshold(); float getLimitImageHeightLowerRatioThreshold(); boolean isLimitImageHeight(); boolean isAddCORSHeader(); String getCORSHeaderValue(); boolean isDiscloseImageContentLocation(); String getAccessConditionDisplayField(); String getCopyrightDisplayField(); boolean isDisplayCopyrightInfo(); boolean isDisplaySocialMediaShareLinks(); boolean isDisplayAnchorLabelInTitleBar(String template); String getAnchorLabelInTitleBarPrefix(String template); String getAnchorLabelInTitleBarSuffix(String template); String getMapBoxToken(); GeoMapMarker getGeoMapMarker(String name); List<String> getGeoMapMarkerFields(); List<GeoMapMarker> getGeoMapMarkers(); static GeoMapMarker readGeoMapMarker(HierarchicalConfiguration config); List<LicenseDescription> getLicenseDescriptions(); }
@Test public void getSearchHitMetadataValueLength_shouldReturnCorrectValue() throws Exception { Assert.assertEquals(18, DataManager.getInstance().getConfiguration().getSearchHitMetadataValueLength()); }
public int getSearchHitMetadataValueLength() { return getLocalInt("metadata.searchHitMetadataList.valueLength", 0); }
Configuration extends AbstractConfiguration { public int getSearchHitMetadataValueLength() { return getLocalInt("metadata.searchHitMetadataList.valueLength", 0); } }
Configuration extends AbstractConfiguration { public int getSearchHitMetadataValueLength() { return getLocalInt("metadata.searchHitMetadataList.valueLength", 0); } Configuration(String configFilePath); }
Configuration extends AbstractConfiguration { public int getSearchHitMetadataValueLength() { return getLocalInt("metadata.searchHitMetadataList.valueLength", 0); } Configuration(String configFilePath); Set<String> getStopwords(); boolean reloadingRequired(); String getConfigLocalPath(); String getLocalRessourceBundleFile(); int getViewerThumbnailsPerPage(); int getViewerMaxImageWidth(); int getViewerMaxImageHeight(); int getViewerMaxImageScale(); boolean isRememberImageZoom(); boolean isRememberImageRotation(); String getDfgViewerUrl(); String getConnectorVersionUrl(); List<Metadata> getTitleBarMetadata(); List<Metadata> getSearchHitMetadataForTemplate(String template); List<Metadata> getMainMetadataForTemplate(String template); List<Metadata> getSidebarMetadataForTemplate(String template); List<String> getNormdataFieldsForTemplate(String template); List<Metadata> getTocLabelConfiguration(String template); int getTocAnchorGroupElementsPerPage(); boolean isDisplaySidebarBrowsingTerms(); boolean isDisplaySidebarRssFeed(); boolean isDisplayWidgetUsage(); Metadata getWidgetUsageLicenceTextMetadata(); boolean isDisplaySidebarUsageWidgetLinkToJpegImage(); boolean isDisplaySidebarUsageWidgetLinkToMasterImage(); String getWidgetUsageMaxJpegSize(); String getWidgetUsageMaxMasterImageSize(); List<String> getCalendarDocStructTypes(); boolean isBrowsingMenuEnabled(); int getBrowsingMenuHitsPerPage(); List<BrowsingMenuFieldConfig> getBrowsingMenuFields(); String getBrowsingMenuSortingIgnoreLeadingChars(); String getDocstrctWhitelistFilterQuery(); String getCollectionSplittingChar(String field); List<DcSortingList> getCollectionSorting(String field); List<String> getCollectionBlacklist(String field); String getCollectionDefaultSortField(String field, String name); int getCollectionDisplayNumberOfVolumesLevel(String field); int getCollectionDisplayDepthForSearch(String field); String getCollectionHierarchyField(); boolean isAddCollectionHierarchyToBreadcrumbs(String field); String getSolrUrl(); String getContentServerWrapperUrl(); String getDownloadUrl(); String getRestApiUrl(); String getIIIFApiUrl(); boolean isUseIIIFApiUrlForCmsMediaUrls(); String getContentServerRealUrl(); String getMetsUrl(); String getMarcUrl(); String getDcUrl(); String getEseUrl(); List<Integer> getSearchHitsPerPageValues(); int getSearchHitsPerPageDefaultValue(); int getFulltextFragmentLength(); boolean isAdvancedSearchEnabled(); int getAdvancedSearchDefaultItemNumber(); List<AdvancedSearchFieldConfiguration> getAdvancedSearchFields(); boolean isAggregateHits(); boolean isDisplayAdditionalMetadataEnabled(); List<String> getDisplayAdditionalMetadataIgnoreFields(); List<String> getDisplayAdditionalMetadataTranslateFields(); boolean isAdvancedSearchFieldHierarchical(String field); boolean isAdvancedSearchFieldRange(String field); boolean isAdvancedSearchFieldUntokenizeForPhraseSearch(String field); String getAdvancedSearchFieldSeparatorLabel(String field); boolean isTimelineSearchEnabled(); boolean isCalendarSearchEnabled(); String getStaticQuerySuffix(); String getPreviousVersionIdentifierField(); String getNextVersionIdentifierField(); String getVersionLabelField(); String getIndexedMetsFolder(); String getIndexedLidoFolder(); String getIndexedDenkxwebFolder(); String getIndexedDublinCoreFolder(); String getPageSelectionFormat(); String getMediaFolder(); String getPdfFolder(); String getVocabulariesFolder(); String getOrigContentFolder(); String getCmsTextFolder(); String getAltoFolder(); String getAbbyyFolder(); String getFulltextFolder(); String getTeiFolder(); String getCmdiFolder(); String getWcFolder(); String getAnnotationFolder(); String getHotfolder(); @SuppressWarnings("static-method") String getTempFolder(); boolean isUrnDoRedirect(); boolean isUserRegistrationEnabled(); List<SecurityQuestion> getSecurityQuestions(); boolean isShowOpenIdConnect(); List<IAuthenticationProvider> getAuthenticationProviders(); String getSmtpServer(); String getSmtpUser(); String getSmtpPassword(); String getSmtpSenderAddress(); String getSmtpSenderName(); String getSmtpSecurity(); String getAnonymousUserEmailAddress(); boolean isDisplayCollectionBrowsing(); boolean isDisplayUserNavigation(); boolean isDisplayTagCloudNavigation(); boolean isDisplayStatistics(); boolean isDisplayTimeMatrix(); boolean isDisplayCrowdsourcingModuleLinks(); String getTheme(); String getThemeRootPath(); String getName(); String getDescription(); boolean isDisplayTagCloudStartpage(); boolean isDisplaySearchResultNavigation(); boolean isFoldout(String sidebarElement); boolean isSidebarPageViewLinkVisible(); boolean isSidebarCalendarViewLinkVisible(); boolean isSidebarTocViewLinkVisible(); boolean isSidebarThumbsViewLinkVisible(); boolean isSidebarMetadataViewLinkVisible(); boolean isShowSidebarEventMetadata(); boolean isShowRecordLabelIfNoOtherViews(); boolean isSidebarFulltextLinkVisible(); boolean isSidebarTocWidgetVisible(); boolean isSidebarTocWidgetVisibleInFullscreen(); boolean isSidebarOpacLinkVisible(); boolean getSidebarTocPageNumbersVisible(); int getSidebarTocLengthBeforeCut(); int getSidebarTocInitialCollapseLevel(); int getSidebarTocCollapseLengthThreshold(); int getSidebarTocLowestLevelToCollapseForLength(); boolean isSidebarTocTreeView(); boolean isTocTreeView(String docStructType); List<String> getAllDrillDownFields(); List<String> getDrillDownFields(); List<String> getHierarchicalDrillDownFields(); int getInitialDrillDownElementNumber(String field); String getSortOrder(String field); List<String> getPriorityValuesForDrillDownField(String field); String getLabelFieldForDrillDownField(String facetField); @SuppressWarnings("static-method") List<String> getRangeFacetFields(); boolean isSortingEnabled(); String getDefaultSortField(); List<String> getSortFields(); List<String> getStaticSortFields(); String getUrnResolverUrl(); int getUnconditionalImageAccessMaxWidth(); boolean isFullAccessForLocalhost(); boolean isGeneratePdfInTaskManager(); boolean isPdfApiDisabled(); boolean isTitlePdfEnabled(); boolean isTocPdfEnabled(); boolean isMetadataPdfEnabled(); boolean isPagePdfEnabled(); boolean isDocHierarchyPdfEnabled(); boolean isTitleEpubEnabled(); boolean isTocEpubEnabled(); boolean isMetadataEpubEnabled(); String getDownloadFolder(String type); int getRssFeedItems(); String getRssTitle(); String getRssDescription(); String getRssCopyrightText(); String getRulesetFilePath(); String getDefaultCollection(); int getThumbnailsWidth(); int getThumbnailsHeight(); int getThumbnailsCompression(); String getAnchorThumbnailMode(); int getMultivolumeThumbnailWidth(); int getMultivolumeThumbnailHeight(); boolean getDisplayBreadcrumbs(); boolean getDisplayMetadataPageLinkBlock(); boolean isAddDublinCoreMetaTags(); boolean isAddHighwirePressMetaTags(); int getMetadataParamNumber(); boolean useTiles(); boolean useTilesFullscreen(); boolean useTiles(PageType view, ImageType image); int getFooterHeight(); int getFullscreenFooterHeight(); int getFooterHeight(PageType view, ImageType image); String getImageViewType(); String getZoomFullscreenViewType(); String getZoomImageViewType(PageType view, ImageType image); boolean useOpenSeadragon(); List<String> getImageViewZoomScales(); List<String> getImageViewZoomScales(String view); List<String> getImageViewZoomScales(PageType view, ImageType image); Map<Integer, List<Integer>> getTileSizes(); Map<Integer, List<Integer>> getTileSizes(PageType view, ImageType image); SubnodeConfiguration getZoomImageViewConfig(PageType pageType, ImageType imageType); int getBreadcrumbsClipping(); boolean isDisplayTopstructLabel(); boolean getDisplayStructType(); int getSearchHitMetadataValueNumber(); int getSearchHitMetadataValueLength(); List<String> getWatermarkTextConfiguration(); String getWatermarkFormat(); boolean isOriginalContentDownload(); String getStopwordsFilePath(); String getPageType(PageType type); String getDocstructTargetPageType(String docstruct); String getPageTypeExitView(PageType type); int getFulltextPercentageWarningThreshold(); boolean isUseViewerLocaleAsRecordLanguage(); String getFeedbackEmailAddress(); boolean isBookmarksEnabled(); boolean isForceJpegConversion(); int getPageLoaderThreshold(); boolean isPreventProxyCaching(); boolean isSolrCompressionEnabled(); boolean isSolrBackwardsCompatible(); boolean isUserCommentsEnabled(); String getUserCommentsConditionalQuery(); List<String> getUserCommentsNotificationEmailAddresses(); String getViewerHome(); List<String> getWatermarkIdField(); String getSubthemeMainTheme(); String getSubthemeDiscriminatorField(); int getTagCloudSampleSize(String fieldName); List<StringPair> getTocVolumeSortFieldsForTemplate(String template); String getTocVolumeGroupFieldForTemplate(String template); boolean getDisplayTitleBreadcrumbs(); boolean isDisplayTitlePURL(); int getTitleBreadcrumbsMaxTitleLength(); boolean getIncludeAnchorInTitleBreadcrumbs(); boolean isDisplaySearchRssLinks(); boolean showThumbnailsInToc(); String getStartYearForTimeline(); String getEndYearForTimeline(); String getTimelineHits(); boolean isPiwikTrackingEnabled(); String getPiwikBaseURL(); String getPiwikSiteID(); boolean isSearchSavingEnabled(); boolean isBoostTopLevelDocstructs(); boolean isGroupDuplicateHits(); List<String> getRecordGroupIdentifierFields(); List<String> getAncestorIdentifierFields(); boolean isTocListSiblingRecords(); List<SearchFilter> getSearchFilters(); List<Map<String, String>> getWebApiFields(); String getDbPersistenceUnit(); boolean useCustomNavBar(); String getCmsTemplateFolder(); String getCmsMediaFolder(); String getTempMediaFolder(); List<String> getCmsClassifications(); int getCmsMediaDisplayWidth(); int getCmsMediaDisplayHeight(); boolean isTranskribusEnabled(); String getTranskribusUserName(); String getTranskribusPassword(); String getTranskribusDefaultCollection(); String getTranskribusRestApiUrl(); List<String> getTranskribusAllowedDocumentTypes(); int getTocIndentation(); boolean isPageBrowseEnabled(); List<Integer> getPageBrowseSteps(); String getTaskManagerServiceUrl(); String getTaskManagerRestUrl(); String getReCaptchaSiteKey(); boolean isUseReCaptcha(); boolean isSearchInItemEnabled(); String getDefaultBrowseIcon(String field); boolean isSearchExcelExportEnabled(); List<String> getSearchExcelExportFields(); int getExcelDownloadTimeout(); boolean isDisplayEmptyTocInSidebar(); boolean isDoublePageModeEnabled(); List<String> getRestrictedImageUrls(); List<String> getIIIFLicenses(); List<String> getIIIFMetadataFields(); List<String> getIIIFEventFields(); String getIIIFMetadataLabel(String field); int getIIIFDiscoveryAvtivitiesPerPage(); List<String> getIIIFLogo(); String getIIIFNavDateField(); List<String> getIIIFAttribution(); List<String> getIIIFDescriptionFields(); String getSitelinksField(); String getSitelinksFilterQuery(); List<String> getConfiguredCollections(); String getWebApiToken(); boolean isAllowRedirectCollectionToWork(); String getTwitterUserName(); float getLimitImageHeightUpperRatioThreshold(); float getLimitImageHeightLowerRatioThreshold(); boolean isLimitImageHeight(); boolean isAddCORSHeader(); String getCORSHeaderValue(); boolean isDiscloseImageContentLocation(); String getAccessConditionDisplayField(); String getCopyrightDisplayField(); boolean isDisplayCopyrightInfo(); boolean isDisplaySocialMediaShareLinks(); boolean isDisplayAnchorLabelInTitleBar(String template); String getAnchorLabelInTitleBarPrefix(String template); String getAnchorLabelInTitleBarSuffix(String template); String getMapBoxToken(); GeoMapMarker getGeoMapMarker(String name); List<String> getGeoMapMarkerFields(); List<GeoMapMarker> getGeoMapMarkers(); static GeoMapMarker readGeoMapMarker(HierarchicalConfiguration config); List<LicenseDescription> getLicenseDescriptions(); }
Configuration extends AbstractConfiguration { public int getSearchHitMetadataValueLength() { return getLocalInt("metadata.searchHitMetadataList.valueLength", 0); } Configuration(String configFilePath); Set<String> getStopwords(); boolean reloadingRequired(); String getConfigLocalPath(); String getLocalRessourceBundleFile(); int getViewerThumbnailsPerPage(); int getViewerMaxImageWidth(); int getViewerMaxImageHeight(); int getViewerMaxImageScale(); boolean isRememberImageZoom(); boolean isRememberImageRotation(); String getDfgViewerUrl(); String getConnectorVersionUrl(); List<Metadata> getTitleBarMetadata(); List<Metadata> getSearchHitMetadataForTemplate(String template); List<Metadata> getMainMetadataForTemplate(String template); List<Metadata> getSidebarMetadataForTemplate(String template); List<String> getNormdataFieldsForTemplate(String template); List<Metadata> getTocLabelConfiguration(String template); int getTocAnchorGroupElementsPerPage(); boolean isDisplaySidebarBrowsingTerms(); boolean isDisplaySidebarRssFeed(); boolean isDisplayWidgetUsage(); Metadata getWidgetUsageLicenceTextMetadata(); boolean isDisplaySidebarUsageWidgetLinkToJpegImage(); boolean isDisplaySidebarUsageWidgetLinkToMasterImage(); String getWidgetUsageMaxJpegSize(); String getWidgetUsageMaxMasterImageSize(); List<String> getCalendarDocStructTypes(); boolean isBrowsingMenuEnabled(); int getBrowsingMenuHitsPerPage(); List<BrowsingMenuFieldConfig> getBrowsingMenuFields(); String getBrowsingMenuSortingIgnoreLeadingChars(); String getDocstrctWhitelistFilterQuery(); String getCollectionSplittingChar(String field); List<DcSortingList> getCollectionSorting(String field); List<String> getCollectionBlacklist(String field); String getCollectionDefaultSortField(String field, String name); int getCollectionDisplayNumberOfVolumesLevel(String field); int getCollectionDisplayDepthForSearch(String field); String getCollectionHierarchyField(); boolean isAddCollectionHierarchyToBreadcrumbs(String field); String getSolrUrl(); String getContentServerWrapperUrl(); String getDownloadUrl(); String getRestApiUrl(); String getIIIFApiUrl(); boolean isUseIIIFApiUrlForCmsMediaUrls(); String getContentServerRealUrl(); String getMetsUrl(); String getMarcUrl(); String getDcUrl(); String getEseUrl(); List<Integer> getSearchHitsPerPageValues(); int getSearchHitsPerPageDefaultValue(); int getFulltextFragmentLength(); boolean isAdvancedSearchEnabled(); int getAdvancedSearchDefaultItemNumber(); List<AdvancedSearchFieldConfiguration> getAdvancedSearchFields(); boolean isAggregateHits(); boolean isDisplayAdditionalMetadataEnabled(); List<String> getDisplayAdditionalMetadataIgnoreFields(); List<String> getDisplayAdditionalMetadataTranslateFields(); boolean isAdvancedSearchFieldHierarchical(String field); boolean isAdvancedSearchFieldRange(String field); boolean isAdvancedSearchFieldUntokenizeForPhraseSearch(String field); String getAdvancedSearchFieldSeparatorLabel(String field); boolean isTimelineSearchEnabled(); boolean isCalendarSearchEnabled(); String getStaticQuerySuffix(); String getPreviousVersionIdentifierField(); String getNextVersionIdentifierField(); String getVersionLabelField(); String getIndexedMetsFolder(); String getIndexedLidoFolder(); String getIndexedDenkxwebFolder(); String getIndexedDublinCoreFolder(); String getPageSelectionFormat(); String getMediaFolder(); String getPdfFolder(); String getVocabulariesFolder(); String getOrigContentFolder(); String getCmsTextFolder(); String getAltoFolder(); String getAbbyyFolder(); String getFulltextFolder(); String getTeiFolder(); String getCmdiFolder(); String getWcFolder(); String getAnnotationFolder(); String getHotfolder(); @SuppressWarnings("static-method") String getTempFolder(); boolean isUrnDoRedirect(); boolean isUserRegistrationEnabled(); List<SecurityQuestion> getSecurityQuestions(); boolean isShowOpenIdConnect(); List<IAuthenticationProvider> getAuthenticationProviders(); String getSmtpServer(); String getSmtpUser(); String getSmtpPassword(); String getSmtpSenderAddress(); String getSmtpSenderName(); String getSmtpSecurity(); String getAnonymousUserEmailAddress(); boolean isDisplayCollectionBrowsing(); boolean isDisplayUserNavigation(); boolean isDisplayTagCloudNavigation(); boolean isDisplayStatistics(); boolean isDisplayTimeMatrix(); boolean isDisplayCrowdsourcingModuleLinks(); String getTheme(); String getThemeRootPath(); String getName(); String getDescription(); boolean isDisplayTagCloudStartpage(); boolean isDisplaySearchResultNavigation(); boolean isFoldout(String sidebarElement); boolean isSidebarPageViewLinkVisible(); boolean isSidebarCalendarViewLinkVisible(); boolean isSidebarTocViewLinkVisible(); boolean isSidebarThumbsViewLinkVisible(); boolean isSidebarMetadataViewLinkVisible(); boolean isShowSidebarEventMetadata(); boolean isShowRecordLabelIfNoOtherViews(); boolean isSidebarFulltextLinkVisible(); boolean isSidebarTocWidgetVisible(); boolean isSidebarTocWidgetVisibleInFullscreen(); boolean isSidebarOpacLinkVisible(); boolean getSidebarTocPageNumbersVisible(); int getSidebarTocLengthBeforeCut(); int getSidebarTocInitialCollapseLevel(); int getSidebarTocCollapseLengthThreshold(); int getSidebarTocLowestLevelToCollapseForLength(); boolean isSidebarTocTreeView(); boolean isTocTreeView(String docStructType); List<String> getAllDrillDownFields(); List<String> getDrillDownFields(); List<String> getHierarchicalDrillDownFields(); int getInitialDrillDownElementNumber(String field); String getSortOrder(String field); List<String> getPriorityValuesForDrillDownField(String field); String getLabelFieldForDrillDownField(String facetField); @SuppressWarnings("static-method") List<String> getRangeFacetFields(); boolean isSortingEnabled(); String getDefaultSortField(); List<String> getSortFields(); List<String> getStaticSortFields(); String getUrnResolverUrl(); int getUnconditionalImageAccessMaxWidth(); boolean isFullAccessForLocalhost(); boolean isGeneratePdfInTaskManager(); boolean isPdfApiDisabled(); boolean isTitlePdfEnabled(); boolean isTocPdfEnabled(); boolean isMetadataPdfEnabled(); boolean isPagePdfEnabled(); boolean isDocHierarchyPdfEnabled(); boolean isTitleEpubEnabled(); boolean isTocEpubEnabled(); boolean isMetadataEpubEnabled(); String getDownloadFolder(String type); int getRssFeedItems(); String getRssTitle(); String getRssDescription(); String getRssCopyrightText(); String getRulesetFilePath(); String getDefaultCollection(); int getThumbnailsWidth(); int getThumbnailsHeight(); int getThumbnailsCompression(); String getAnchorThumbnailMode(); int getMultivolumeThumbnailWidth(); int getMultivolumeThumbnailHeight(); boolean getDisplayBreadcrumbs(); boolean getDisplayMetadataPageLinkBlock(); boolean isAddDublinCoreMetaTags(); boolean isAddHighwirePressMetaTags(); int getMetadataParamNumber(); boolean useTiles(); boolean useTilesFullscreen(); boolean useTiles(PageType view, ImageType image); int getFooterHeight(); int getFullscreenFooterHeight(); int getFooterHeight(PageType view, ImageType image); String getImageViewType(); String getZoomFullscreenViewType(); String getZoomImageViewType(PageType view, ImageType image); boolean useOpenSeadragon(); List<String> getImageViewZoomScales(); List<String> getImageViewZoomScales(String view); List<String> getImageViewZoomScales(PageType view, ImageType image); Map<Integer, List<Integer>> getTileSizes(); Map<Integer, List<Integer>> getTileSizes(PageType view, ImageType image); SubnodeConfiguration getZoomImageViewConfig(PageType pageType, ImageType imageType); int getBreadcrumbsClipping(); boolean isDisplayTopstructLabel(); boolean getDisplayStructType(); int getSearchHitMetadataValueNumber(); int getSearchHitMetadataValueLength(); List<String> getWatermarkTextConfiguration(); String getWatermarkFormat(); boolean isOriginalContentDownload(); String getStopwordsFilePath(); String getPageType(PageType type); String getDocstructTargetPageType(String docstruct); String getPageTypeExitView(PageType type); int getFulltextPercentageWarningThreshold(); boolean isUseViewerLocaleAsRecordLanguage(); String getFeedbackEmailAddress(); boolean isBookmarksEnabled(); boolean isForceJpegConversion(); int getPageLoaderThreshold(); boolean isPreventProxyCaching(); boolean isSolrCompressionEnabled(); boolean isSolrBackwardsCompatible(); boolean isUserCommentsEnabled(); String getUserCommentsConditionalQuery(); List<String> getUserCommentsNotificationEmailAddresses(); String getViewerHome(); List<String> getWatermarkIdField(); String getSubthemeMainTheme(); String getSubthemeDiscriminatorField(); int getTagCloudSampleSize(String fieldName); List<StringPair> getTocVolumeSortFieldsForTemplate(String template); String getTocVolumeGroupFieldForTemplate(String template); boolean getDisplayTitleBreadcrumbs(); boolean isDisplayTitlePURL(); int getTitleBreadcrumbsMaxTitleLength(); boolean getIncludeAnchorInTitleBreadcrumbs(); boolean isDisplaySearchRssLinks(); boolean showThumbnailsInToc(); String getStartYearForTimeline(); String getEndYearForTimeline(); String getTimelineHits(); boolean isPiwikTrackingEnabled(); String getPiwikBaseURL(); String getPiwikSiteID(); boolean isSearchSavingEnabled(); boolean isBoostTopLevelDocstructs(); boolean isGroupDuplicateHits(); List<String> getRecordGroupIdentifierFields(); List<String> getAncestorIdentifierFields(); boolean isTocListSiblingRecords(); List<SearchFilter> getSearchFilters(); List<Map<String, String>> getWebApiFields(); String getDbPersistenceUnit(); boolean useCustomNavBar(); String getCmsTemplateFolder(); String getCmsMediaFolder(); String getTempMediaFolder(); List<String> getCmsClassifications(); int getCmsMediaDisplayWidth(); int getCmsMediaDisplayHeight(); boolean isTranskribusEnabled(); String getTranskribusUserName(); String getTranskribusPassword(); String getTranskribusDefaultCollection(); String getTranskribusRestApiUrl(); List<String> getTranskribusAllowedDocumentTypes(); int getTocIndentation(); boolean isPageBrowseEnabled(); List<Integer> getPageBrowseSteps(); String getTaskManagerServiceUrl(); String getTaskManagerRestUrl(); String getReCaptchaSiteKey(); boolean isUseReCaptcha(); boolean isSearchInItemEnabled(); String getDefaultBrowseIcon(String field); boolean isSearchExcelExportEnabled(); List<String> getSearchExcelExportFields(); int getExcelDownloadTimeout(); boolean isDisplayEmptyTocInSidebar(); boolean isDoublePageModeEnabled(); List<String> getRestrictedImageUrls(); List<String> getIIIFLicenses(); List<String> getIIIFMetadataFields(); List<String> getIIIFEventFields(); String getIIIFMetadataLabel(String field); int getIIIFDiscoveryAvtivitiesPerPage(); List<String> getIIIFLogo(); String getIIIFNavDateField(); List<String> getIIIFAttribution(); List<String> getIIIFDescriptionFields(); String getSitelinksField(); String getSitelinksFilterQuery(); List<String> getConfiguredCollections(); String getWebApiToken(); boolean isAllowRedirectCollectionToWork(); String getTwitterUserName(); float getLimitImageHeightUpperRatioThreshold(); float getLimitImageHeightLowerRatioThreshold(); boolean isLimitImageHeight(); boolean isAddCORSHeader(); String getCORSHeaderValue(); boolean isDiscloseImageContentLocation(); String getAccessConditionDisplayField(); String getCopyrightDisplayField(); boolean isDisplayCopyrightInfo(); boolean isDisplaySocialMediaShareLinks(); boolean isDisplayAnchorLabelInTitleBar(String template); String getAnchorLabelInTitleBarPrefix(String template); String getAnchorLabelInTitleBarSuffix(String template); String getMapBoxToken(); GeoMapMarker getGeoMapMarker(String name); List<String> getGeoMapMarkerFields(); List<GeoMapMarker> getGeoMapMarkers(); static GeoMapMarker readGeoMapMarker(HierarchicalConfiguration config); List<LicenseDescription> getLicenseDescriptions(); }
@Test public void getSearchHitMetadataValueNumber_shouldReturnCorrectValue() throws Exception { Assert.assertEquals(17, DataManager.getInstance().getConfiguration().getSearchHitMetadataValueNumber()); }
public int getSearchHitMetadataValueNumber() { return getLocalInt("metadata.searchHitMetadataList.valueNumber", 1); }
Configuration extends AbstractConfiguration { public int getSearchHitMetadataValueNumber() { return getLocalInt("metadata.searchHitMetadataList.valueNumber", 1); } }
Configuration extends AbstractConfiguration { public int getSearchHitMetadataValueNumber() { return getLocalInt("metadata.searchHitMetadataList.valueNumber", 1); } Configuration(String configFilePath); }
Configuration extends AbstractConfiguration { public int getSearchHitMetadataValueNumber() { return getLocalInt("metadata.searchHitMetadataList.valueNumber", 1); } Configuration(String configFilePath); Set<String> getStopwords(); boolean reloadingRequired(); String getConfigLocalPath(); String getLocalRessourceBundleFile(); int getViewerThumbnailsPerPage(); int getViewerMaxImageWidth(); int getViewerMaxImageHeight(); int getViewerMaxImageScale(); boolean isRememberImageZoom(); boolean isRememberImageRotation(); String getDfgViewerUrl(); String getConnectorVersionUrl(); List<Metadata> getTitleBarMetadata(); List<Metadata> getSearchHitMetadataForTemplate(String template); List<Metadata> getMainMetadataForTemplate(String template); List<Metadata> getSidebarMetadataForTemplate(String template); List<String> getNormdataFieldsForTemplate(String template); List<Metadata> getTocLabelConfiguration(String template); int getTocAnchorGroupElementsPerPage(); boolean isDisplaySidebarBrowsingTerms(); boolean isDisplaySidebarRssFeed(); boolean isDisplayWidgetUsage(); Metadata getWidgetUsageLicenceTextMetadata(); boolean isDisplaySidebarUsageWidgetLinkToJpegImage(); boolean isDisplaySidebarUsageWidgetLinkToMasterImage(); String getWidgetUsageMaxJpegSize(); String getWidgetUsageMaxMasterImageSize(); List<String> getCalendarDocStructTypes(); boolean isBrowsingMenuEnabled(); int getBrowsingMenuHitsPerPage(); List<BrowsingMenuFieldConfig> getBrowsingMenuFields(); String getBrowsingMenuSortingIgnoreLeadingChars(); String getDocstrctWhitelistFilterQuery(); String getCollectionSplittingChar(String field); List<DcSortingList> getCollectionSorting(String field); List<String> getCollectionBlacklist(String field); String getCollectionDefaultSortField(String field, String name); int getCollectionDisplayNumberOfVolumesLevel(String field); int getCollectionDisplayDepthForSearch(String field); String getCollectionHierarchyField(); boolean isAddCollectionHierarchyToBreadcrumbs(String field); String getSolrUrl(); String getContentServerWrapperUrl(); String getDownloadUrl(); String getRestApiUrl(); String getIIIFApiUrl(); boolean isUseIIIFApiUrlForCmsMediaUrls(); String getContentServerRealUrl(); String getMetsUrl(); String getMarcUrl(); String getDcUrl(); String getEseUrl(); List<Integer> getSearchHitsPerPageValues(); int getSearchHitsPerPageDefaultValue(); int getFulltextFragmentLength(); boolean isAdvancedSearchEnabled(); int getAdvancedSearchDefaultItemNumber(); List<AdvancedSearchFieldConfiguration> getAdvancedSearchFields(); boolean isAggregateHits(); boolean isDisplayAdditionalMetadataEnabled(); List<String> getDisplayAdditionalMetadataIgnoreFields(); List<String> getDisplayAdditionalMetadataTranslateFields(); boolean isAdvancedSearchFieldHierarchical(String field); boolean isAdvancedSearchFieldRange(String field); boolean isAdvancedSearchFieldUntokenizeForPhraseSearch(String field); String getAdvancedSearchFieldSeparatorLabel(String field); boolean isTimelineSearchEnabled(); boolean isCalendarSearchEnabled(); String getStaticQuerySuffix(); String getPreviousVersionIdentifierField(); String getNextVersionIdentifierField(); String getVersionLabelField(); String getIndexedMetsFolder(); String getIndexedLidoFolder(); String getIndexedDenkxwebFolder(); String getIndexedDublinCoreFolder(); String getPageSelectionFormat(); String getMediaFolder(); String getPdfFolder(); String getVocabulariesFolder(); String getOrigContentFolder(); String getCmsTextFolder(); String getAltoFolder(); String getAbbyyFolder(); String getFulltextFolder(); String getTeiFolder(); String getCmdiFolder(); String getWcFolder(); String getAnnotationFolder(); String getHotfolder(); @SuppressWarnings("static-method") String getTempFolder(); boolean isUrnDoRedirect(); boolean isUserRegistrationEnabled(); List<SecurityQuestion> getSecurityQuestions(); boolean isShowOpenIdConnect(); List<IAuthenticationProvider> getAuthenticationProviders(); String getSmtpServer(); String getSmtpUser(); String getSmtpPassword(); String getSmtpSenderAddress(); String getSmtpSenderName(); String getSmtpSecurity(); String getAnonymousUserEmailAddress(); boolean isDisplayCollectionBrowsing(); boolean isDisplayUserNavigation(); boolean isDisplayTagCloudNavigation(); boolean isDisplayStatistics(); boolean isDisplayTimeMatrix(); boolean isDisplayCrowdsourcingModuleLinks(); String getTheme(); String getThemeRootPath(); String getName(); String getDescription(); boolean isDisplayTagCloudStartpage(); boolean isDisplaySearchResultNavigation(); boolean isFoldout(String sidebarElement); boolean isSidebarPageViewLinkVisible(); boolean isSidebarCalendarViewLinkVisible(); boolean isSidebarTocViewLinkVisible(); boolean isSidebarThumbsViewLinkVisible(); boolean isSidebarMetadataViewLinkVisible(); boolean isShowSidebarEventMetadata(); boolean isShowRecordLabelIfNoOtherViews(); boolean isSidebarFulltextLinkVisible(); boolean isSidebarTocWidgetVisible(); boolean isSidebarTocWidgetVisibleInFullscreen(); boolean isSidebarOpacLinkVisible(); boolean getSidebarTocPageNumbersVisible(); int getSidebarTocLengthBeforeCut(); int getSidebarTocInitialCollapseLevel(); int getSidebarTocCollapseLengthThreshold(); int getSidebarTocLowestLevelToCollapseForLength(); boolean isSidebarTocTreeView(); boolean isTocTreeView(String docStructType); List<String> getAllDrillDownFields(); List<String> getDrillDownFields(); List<String> getHierarchicalDrillDownFields(); int getInitialDrillDownElementNumber(String field); String getSortOrder(String field); List<String> getPriorityValuesForDrillDownField(String field); String getLabelFieldForDrillDownField(String facetField); @SuppressWarnings("static-method") List<String> getRangeFacetFields(); boolean isSortingEnabled(); String getDefaultSortField(); List<String> getSortFields(); List<String> getStaticSortFields(); String getUrnResolverUrl(); int getUnconditionalImageAccessMaxWidth(); boolean isFullAccessForLocalhost(); boolean isGeneratePdfInTaskManager(); boolean isPdfApiDisabled(); boolean isTitlePdfEnabled(); boolean isTocPdfEnabled(); boolean isMetadataPdfEnabled(); boolean isPagePdfEnabled(); boolean isDocHierarchyPdfEnabled(); boolean isTitleEpubEnabled(); boolean isTocEpubEnabled(); boolean isMetadataEpubEnabled(); String getDownloadFolder(String type); int getRssFeedItems(); String getRssTitle(); String getRssDescription(); String getRssCopyrightText(); String getRulesetFilePath(); String getDefaultCollection(); int getThumbnailsWidth(); int getThumbnailsHeight(); int getThumbnailsCompression(); String getAnchorThumbnailMode(); int getMultivolumeThumbnailWidth(); int getMultivolumeThumbnailHeight(); boolean getDisplayBreadcrumbs(); boolean getDisplayMetadataPageLinkBlock(); boolean isAddDublinCoreMetaTags(); boolean isAddHighwirePressMetaTags(); int getMetadataParamNumber(); boolean useTiles(); boolean useTilesFullscreen(); boolean useTiles(PageType view, ImageType image); int getFooterHeight(); int getFullscreenFooterHeight(); int getFooterHeight(PageType view, ImageType image); String getImageViewType(); String getZoomFullscreenViewType(); String getZoomImageViewType(PageType view, ImageType image); boolean useOpenSeadragon(); List<String> getImageViewZoomScales(); List<String> getImageViewZoomScales(String view); List<String> getImageViewZoomScales(PageType view, ImageType image); Map<Integer, List<Integer>> getTileSizes(); Map<Integer, List<Integer>> getTileSizes(PageType view, ImageType image); SubnodeConfiguration getZoomImageViewConfig(PageType pageType, ImageType imageType); int getBreadcrumbsClipping(); boolean isDisplayTopstructLabel(); boolean getDisplayStructType(); int getSearchHitMetadataValueNumber(); int getSearchHitMetadataValueLength(); List<String> getWatermarkTextConfiguration(); String getWatermarkFormat(); boolean isOriginalContentDownload(); String getStopwordsFilePath(); String getPageType(PageType type); String getDocstructTargetPageType(String docstruct); String getPageTypeExitView(PageType type); int getFulltextPercentageWarningThreshold(); boolean isUseViewerLocaleAsRecordLanguage(); String getFeedbackEmailAddress(); boolean isBookmarksEnabled(); boolean isForceJpegConversion(); int getPageLoaderThreshold(); boolean isPreventProxyCaching(); boolean isSolrCompressionEnabled(); boolean isSolrBackwardsCompatible(); boolean isUserCommentsEnabled(); String getUserCommentsConditionalQuery(); List<String> getUserCommentsNotificationEmailAddresses(); String getViewerHome(); List<String> getWatermarkIdField(); String getSubthemeMainTheme(); String getSubthemeDiscriminatorField(); int getTagCloudSampleSize(String fieldName); List<StringPair> getTocVolumeSortFieldsForTemplate(String template); String getTocVolumeGroupFieldForTemplate(String template); boolean getDisplayTitleBreadcrumbs(); boolean isDisplayTitlePURL(); int getTitleBreadcrumbsMaxTitleLength(); boolean getIncludeAnchorInTitleBreadcrumbs(); boolean isDisplaySearchRssLinks(); boolean showThumbnailsInToc(); String getStartYearForTimeline(); String getEndYearForTimeline(); String getTimelineHits(); boolean isPiwikTrackingEnabled(); String getPiwikBaseURL(); String getPiwikSiteID(); boolean isSearchSavingEnabled(); boolean isBoostTopLevelDocstructs(); boolean isGroupDuplicateHits(); List<String> getRecordGroupIdentifierFields(); List<String> getAncestorIdentifierFields(); boolean isTocListSiblingRecords(); List<SearchFilter> getSearchFilters(); List<Map<String, String>> getWebApiFields(); String getDbPersistenceUnit(); boolean useCustomNavBar(); String getCmsTemplateFolder(); String getCmsMediaFolder(); String getTempMediaFolder(); List<String> getCmsClassifications(); int getCmsMediaDisplayWidth(); int getCmsMediaDisplayHeight(); boolean isTranskribusEnabled(); String getTranskribusUserName(); String getTranskribusPassword(); String getTranskribusDefaultCollection(); String getTranskribusRestApiUrl(); List<String> getTranskribusAllowedDocumentTypes(); int getTocIndentation(); boolean isPageBrowseEnabled(); List<Integer> getPageBrowseSteps(); String getTaskManagerServiceUrl(); String getTaskManagerRestUrl(); String getReCaptchaSiteKey(); boolean isUseReCaptcha(); boolean isSearchInItemEnabled(); String getDefaultBrowseIcon(String field); boolean isSearchExcelExportEnabled(); List<String> getSearchExcelExportFields(); int getExcelDownloadTimeout(); boolean isDisplayEmptyTocInSidebar(); boolean isDoublePageModeEnabled(); List<String> getRestrictedImageUrls(); List<String> getIIIFLicenses(); List<String> getIIIFMetadataFields(); List<String> getIIIFEventFields(); String getIIIFMetadataLabel(String field); int getIIIFDiscoveryAvtivitiesPerPage(); List<String> getIIIFLogo(); String getIIIFNavDateField(); List<String> getIIIFAttribution(); List<String> getIIIFDescriptionFields(); String getSitelinksField(); String getSitelinksFilterQuery(); List<String> getConfiguredCollections(); String getWebApiToken(); boolean isAllowRedirectCollectionToWork(); String getTwitterUserName(); float getLimitImageHeightUpperRatioThreshold(); float getLimitImageHeightLowerRatioThreshold(); boolean isLimitImageHeight(); boolean isAddCORSHeader(); String getCORSHeaderValue(); boolean isDiscloseImageContentLocation(); String getAccessConditionDisplayField(); String getCopyrightDisplayField(); boolean isDisplayCopyrightInfo(); boolean isDisplaySocialMediaShareLinks(); boolean isDisplayAnchorLabelInTitleBar(String template); String getAnchorLabelInTitleBarPrefix(String template); String getAnchorLabelInTitleBarSuffix(String template); String getMapBoxToken(); GeoMapMarker getGeoMapMarker(String name); List<String> getGeoMapMarkerFields(); List<GeoMapMarker> getGeoMapMarkers(); static GeoMapMarker readGeoMapMarker(HierarchicalConfiguration config); List<LicenseDescription> getLicenseDescriptions(); }
Configuration extends AbstractConfiguration { public int getSearchHitMetadataValueNumber() { return getLocalInt("metadata.searchHitMetadataList.valueNumber", 1); } Configuration(String configFilePath); Set<String> getStopwords(); boolean reloadingRequired(); String getConfigLocalPath(); String getLocalRessourceBundleFile(); int getViewerThumbnailsPerPage(); int getViewerMaxImageWidth(); int getViewerMaxImageHeight(); int getViewerMaxImageScale(); boolean isRememberImageZoom(); boolean isRememberImageRotation(); String getDfgViewerUrl(); String getConnectorVersionUrl(); List<Metadata> getTitleBarMetadata(); List<Metadata> getSearchHitMetadataForTemplate(String template); List<Metadata> getMainMetadataForTemplate(String template); List<Metadata> getSidebarMetadataForTemplate(String template); List<String> getNormdataFieldsForTemplate(String template); List<Metadata> getTocLabelConfiguration(String template); int getTocAnchorGroupElementsPerPage(); boolean isDisplaySidebarBrowsingTerms(); boolean isDisplaySidebarRssFeed(); boolean isDisplayWidgetUsage(); Metadata getWidgetUsageLicenceTextMetadata(); boolean isDisplaySidebarUsageWidgetLinkToJpegImage(); boolean isDisplaySidebarUsageWidgetLinkToMasterImage(); String getWidgetUsageMaxJpegSize(); String getWidgetUsageMaxMasterImageSize(); List<String> getCalendarDocStructTypes(); boolean isBrowsingMenuEnabled(); int getBrowsingMenuHitsPerPage(); List<BrowsingMenuFieldConfig> getBrowsingMenuFields(); String getBrowsingMenuSortingIgnoreLeadingChars(); String getDocstrctWhitelistFilterQuery(); String getCollectionSplittingChar(String field); List<DcSortingList> getCollectionSorting(String field); List<String> getCollectionBlacklist(String field); String getCollectionDefaultSortField(String field, String name); int getCollectionDisplayNumberOfVolumesLevel(String field); int getCollectionDisplayDepthForSearch(String field); String getCollectionHierarchyField(); boolean isAddCollectionHierarchyToBreadcrumbs(String field); String getSolrUrl(); String getContentServerWrapperUrl(); String getDownloadUrl(); String getRestApiUrl(); String getIIIFApiUrl(); boolean isUseIIIFApiUrlForCmsMediaUrls(); String getContentServerRealUrl(); String getMetsUrl(); String getMarcUrl(); String getDcUrl(); String getEseUrl(); List<Integer> getSearchHitsPerPageValues(); int getSearchHitsPerPageDefaultValue(); int getFulltextFragmentLength(); boolean isAdvancedSearchEnabled(); int getAdvancedSearchDefaultItemNumber(); List<AdvancedSearchFieldConfiguration> getAdvancedSearchFields(); boolean isAggregateHits(); boolean isDisplayAdditionalMetadataEnabled(); List<String> getDisplayAdditionalMetadataIgnoreFields(); List<String> getDisplayAdditionalMetadataTranslateFields(); boolean isAdvancedSearchFieldHierarchical(String field); boolean isAdvancedSearchFieldRange(String field); boolean isAdvancedSearchFieldUntokenizeForPhraseSearch(String field); String getAdvancedSearchFieldSeparatorLabel(String field); boolean isTimelineSearchEnabled(); boolean isCalendarSearchEnabled(); String getStaticQuerySuffix(); String getPreviousVersionIdentifierField(); String getNextVersionIdentifierField(); String getVersionLabelField(); String getIndexedMetsFolder(); String getIndexedLidoFolder(); String getIndexedDenkxwebFolder(); String getIndexedDublinCoreFolder(); String getPageSelectionFormat(); String getMediaFolder(); String getPdfFolder(); String getVocabulariesFolder(); String getOrigContentFolder(); String getCmsTextFolder(); String getAltoFolder(); String getAbbyyFolder(); String getFulltextFolder(); String getTeiFolder(); String getCmdiFolder(); String getWcFolder(); String getAnnotationFolder(); String getHotfolder(); @SuppressWarnings("static-method") String getTempFolder(); boolean isUrnDoRedirect(); boolean isUserRegistrationEnabled(); List<SecurityQuestion> getSecurityQuestions(); boolean isShowOpenIdConnect(); List<IAuthenticationProvider> getAuthenticationProviders(); String getSmtpServer(); String getSmtpUser(); String getSmtpPassword(); String getSmtpSenderAddress(); String getSmtpSenderName(); String getSmtpSecurity(); String getAnonymousUserEmailAddress(); boolean isDisplayCollectionBrowsing(); boolean isDisplayUserNavigation(); boolean isDisplayTagCloudNavigation(); boolean isDisplayStatistics(); boolean isDisplayTimeMatrix(); boolean isDisplayCrowdsourcingModuleLinks(); String getTheme(); String getThemeRootPath(); String getName(); String getDescription(); boolean isDisplayTagCloudStartpage(); boolean isDisplaySearchResultNavigation(); boolean isFoldout(String sidebarElement); boolean isSidebarPageViewLinkVisible(); boolean isSidebarCalendarViewLinkVisible(); boolean isSidebarTocViewLinkVisible(); boolean isSidebarThumbsViewLinkVisible(); boolean isSidebarMetadataViewLinkVisible(); boolean isShowSidebarEventMetadata(); boolean isShowRecordLabelIfNoOtherViews(); boolean isSidebarFulltextLinkVisible(); boolean isSidebarTocWidgetVisible(); boolean isSidebarTocWidgetVisibleInFullscreen(); boolean isSidebarOpacLinkVisible(); boolean getSidebarTocPageNumbersVisible(); int getSidebarTocLengthBeforeCut(); int getSidebarTocInitialCollapseLevel(); int getSidebarTocCollapseLengthThreshold(); int getSidebarTocLowestLevelToCollapseForLength(); boolean isSidebarTocTreeView(); boolean isTocTreeView(String docStructType); List<String> getAllDrillDownFields(); List<String> getDrillDownFields(); List<String> getHierarchicalDrillDownFields(); int getInitialDrillDownElementNumber(String field); String getSortOrder(String field); List<String> getPriorityValuesForDrillDownField(String field); String getLabelFieldForDrillDownField(String facetField); @SuppressWarnings("static-method") List<String> getRangeFacetFields(); boolean isSortingEnabled(); String getDefaultSortField(); List<String> getSortFields(); List<String> getStaticSortFields(); String getUrnResolverUrl(); int getUnconditionalImageAccessMaxWidth(); boolean isFullAccessForLocalhost(); boolean isGeneratePdfInTaskManager(); boolean isPdfApiDisabled(); boolean isTitlePdfEnabled(); boolean isTocPdfEnabled(); boolean isMetadataPdfEnabled(); boolean isPagePdfEnabled(); boolean isDocHierarchyPdfEnabled(); boolean isTitleEpubEnabled(); boolean isTocEpubEnabled(); boolean isMetadataEpubEnabled(); String getDownloadFolder(String type); int getRssFeedItems(); String getRssTitle(); String getRssDescription(); String getRssCopyrightText(); String getRulesetFilePath(); String getDefaultCollection(); int getThumbnailsWidth(); int getThumbnailsHeight(); int getThumbnailsCompression(); String getAnchorThumbnailMode(); int getMultivolumeThumbnailWidth(); int getMultivolumeThumbnailHeight(); boolean getDisplayBreadcrumbs(); boolean getDisplayMetadataPageLinkBlock(); boolean isAddDublinCoreMetaTags(); boolean isAddHighwirePressMetaTags(); int getMetadataParamNumber(); boolean useTiles(); boolean useTilesFullscreen(); boolean useTiles(PageType view, ImageType image); int getFooterHeight(); int getFullscreenFooterHeight(); int getFooterHeight(PageType view, ImageType image); String getImageViewType(); String getZoomFullscreenViewType(); String getZoomImageViewType(PageType view, ImageType image); boolean useOpenSeadragon(); List<String> getImageViewZoomScales(); List<String> getImageViewZoomScales(String view); List<String> getImageViewZoomScales(PageType view, ImageType image); Map<Integer, List<Integer>> getTileSizes(); Map<Integer, List<Integer>> getTileSizes(PageType view, ImageType image); SubnodeConfiguration getZoomImageViewConfig(PageType pageType, ImageType imageType); int getBreadcrumbsClipping(); boolean isDisplayTopstructLabel(); boolean getDisplayStructType(); int getSearchHitMetadataValueNumber(); int getSearchHitMetadataValueLength(); List<String> getWatermarkTextConfiguration(); String getWatermarkFormat(); boolean isOriginalContentDownload(); String getStopwordsFilePath(); String getPageType(PageType type); String getDocstructTargetPageType(String docstruct); String getPageTypeExitView(PageType type); int getFulltextPercentageWarningThreshold(); boolean isUseViewerLocaleAsRecordLanguage(); String getFeedbackEmailAddress(); boolean isBookmarksEnabled(); boolean isForceJpegConversion(); int getPageLoaderThreshold(); boolean isPreventProxyCaching(); boolean isSolrCompressionEnabled(); boolean isSolrBackwardsCompatible(); boolean isUserCommentsEnabled(); String getUserCommentsConditionalQuery(); List<String> getUserCommentsNotificationEmailAddresses(); String getViewerHome(); List<String> getWatermarkIdField(); String getSubthemeMainTheme(); String getSubthemeDiscriminatorField(); int getTagCloudSampleSize(String fieldName); List<StringPair> getTocVolumeSortFieldsForTemplate(String template); String getTocVolumeGroupFieldForTemplate(String template); boolean getDisplayTitleBreadcrumbs(); boolean isDisplayTitlePURL(); int getTitleBreadcrumbsMaxTitleLength(); boolean getIncludeAnchorInTitleBreadcrumbs(); boolean isDisplaySearchRssLinks(); boolean showThumbnailsInToc(); String getStartYearForTimeline(); String getEndYearForTimeline(); String getTimelineHits(); boolean isPiwikTrackingEnabled(); String getPiwikBaseURL(); String getPiwikSiteID(); boolean isSearchSavingEnabled(); boolean isBoostTopLevelDocstructs(); boolean isGroupDuplicateHits(); List<String> getRecordGroupIdentifierFields(); List<String> getAncestorIdentifierFields(); boolean isTocListSiblingRecords(); List<SearchFilter> getSearchFilters(); List<Map<String, String>> getWebApiFields(); String getDbPersistenceUnit(); boolean useCustomNavBar(); String getCmsTemplateFolder(); String getCmsMediaFolder(); String getTempMediaFolder(); List<String> getCmsClassifications(); int getCmsMediaDisplayWidth(); int getCmsMediaDisplayHeight(); boolean isTranskribusEnabled(); String getTranskribusUserName(); String getTranskribusPassword(); String getTranskribusDefaultCollection(); String getTranskribusRestApiUrl(); List<String> getTranskribusAllowedDocumentTypes(); int getTocIndentation(); boolean isPageBrowseEnabled(); List<Integer> getPageBrowseSteps(); String getTaskManagerServiceUrl(); String getTaskManagerRestUrl(); String getReCaptchaSiteKey(); boolean isUseReCaptcha(); boolean isSearchInItemEnabled(); String getDefaultBrowseIcon(String field); boolean isSearchExcelExportEnabled(); List<String> getSearchExcelExportFields(); int getExcelDownloadTimeout(); boolean isDisplayEmptyTocInSidebar(); boolean isDoublePageModeEnabled(); List<String> getRestrictedImageUrls(); List<String> getIIIFLicenses(); List<String> getIIIFMetadataFields(); List<String> getIIIFEventFields(); String getIIIFMetadataLabel(String field); int getIIIFDiscoveryAvtivitiesPerPage(); List<String> getIIIFLogo(); String getIIIFNavDateField(); List<String> getIIIFAttribution(); List<String> getIIIFDescriptionFields(); String getSitelinksField(); String getSitelinksFilterQuery(); List<String> getConfiguredCollections(); String getWebApiToken(); boolean isAllowRedirectCollectionToWork(); String getTwitterUserName(); float getLimitImageHeightUpperRatioThreshold(); float getLimitImageHeightLowerRatioThreshold(); boolean isLimitImageHeight(); boolean isAddCORSHeader(); String getCORSHeaderValue(); boolean isDiscloseImageContentLocation(); String getAccessConditionDisplayField(); String getCopyrightDisplayField(); boolean isDisplayCopyrightInfo(); boolean isDisplaySocialMediaShareLinks(); boolean isDisplayAnchorLabelInTitleBar(String template); String getAnchorLabelInTitleBarPrefix(String template); String getAnchorLabelInTitleBarSuffix(String template); String getMapBoxToken(); GeoMapMarker getGeoMapMarker(String name); List<String> getGeoMapMarkerFields(); List<GeoMapMarker> getGeoMapMarkers(); static GeoMapMarker readGeoMapMarker(HierarchicalConfiguration config); List<LicenseDescription> getLicenseDescriptions(); }
@Test public void getSidebarTocInitialCollapseLevel_shouldReturnCorrectValue() throws Exception { Assert.assertEquals(22, DataManager.getInstance().getConfiguration().getSidebarTocInitialCollapseLevel()); }
public int getSidebarTocInitialCollapseLevel() { return this.getLocalInt("sidebar.sidebarToc.initialCollapseLevel", 2); }
Configuration extends AbstractConfiguration { public int getSidebarTocInitialCollapseLevel() { return this.getLocalInt("sidebar.sidebarToc.initialCollapseLevel", 2); } }
Configuration extends AbstractConfiguration { public int getSidebarTocInitialCollapseLevel() { return this.getLocalInt("sidebar.sidebarToc.initialCollapseLevel", 2); } Configuration(String configFilePath); }
Configuration extends AbstractConfiguration { public int getSidebarTocInitialCollapseLevel() { return this.getLocalInt("sidebar.sidebarToc.initialCollapseLevel", 2); } Configuration(String configFilePath); Set<String> getStopwords(); boolean reloadingRequired(); String getConfigLocalPath(); String getLocalRessourceBundleFile(); int getViewerThumbnailsPerPage(); int getViewerMaxImageWidth(); int getViewerMaxImageHeight(); int getViewerMaxImageScale(); boolean isRememberImageZoom(); boolean isRememberImageRotation(); String getDfgViewerUrl(); String getConnectorVersionUrl(); List<Metadata> getTitleBarMetadata(); List<Metadata> getSearchHitMetadataForTemplate(String template); List<Metadata> getMainMetadataForTemplate(String template); List<Metadata> getSidebarMetadataForTemplate(String template); List<String> getNormdataFieldsForTemplate(String template); List<Metadata> getTocLabelConfiguration(String template); int getTocAnchorGroupElementsPerPage(); boolean isDisplaySidebarBrowsingTerms(); boolean isDisplaySidebarRssFeed(); boolean isDisplayWidgetUsage(); Metadata getWidgetUsageLicenceTextMetadata(); boolean isDisplaySidebarUsageWidgetLinkToJpegImage(); boolean isDisplaySidebarUsageWidgetLinkToMasterImage(); String getWidgetUsageMaxJpegSize(); String getWidgetUsageMaxMasterImageSize(); List<String> getCalendarDocStructTypes(); boolean isBrowsingMenuEnabled(); int getBrowsingMenuHitsPerPage(); List<BrowsingMenuFieldConfig> getBrowsingMenuFields(); String getBrowsingMenuSortingIgnoreLeadingChars(); String getDocstrctWhitelistFilterQuery(); String getCollectionSplittingChar(String field); List<DcSortingList> getCollectionSorting(String field); List<String> getCollectionBlacklist(String field); String getCollectionDefaultSortField(String field, String name); int getCollectionDisplayNumberOfVolumesLevel(String field); int getCollectionDisplayDepthForSearch(String field); String getCollectionHierarchyField(); boolean isAddCollectionHierarchyToBreadcrumbs(String field); String getSolrUrl(); String getContentServerWrapperUrl(); String getDownloadUrl(); String getRestApiUrl(); String getIIIFApiUrl(); boolean isUseIIIFApiUrlForCmsMediaUrls(); String getContentServerRealUrl(); String getMetsUrl(); String getMarcUrl(); String getDcUrl(); String getEseUrl(); List<Integer> getSearchHitsPerPageValues(); int getSearchHitsPerPageDefaultValue(); int getFulltextFragmentLength(); boolean isAdvancedSearchEnabled(); int getAdvancedSearchDefaultItemNumber(); List<AdvancedSearchFieldConfiguration> getAdvancedSearchFields(); boolean isAggregateHits(); boolean isDisplayAdditionalMetadataEnabled(); List<String> getDisplayAdditionalMetadataIgnoreFields(); List<String> getDisplayAdditionalMetadataTranslateFields(); boolean isAdvancedSearchFieldHierarchical(String field); boolean isAdvancedSearchFieldRange(String field); boolean isAdvancedSearchFieldUntokenizeForPhraseSearch(String field); String getAdvancedSearchFieldSeparatorLabel(String field); boolean isTimelineSearchEnabled(); boolean isCalendarSearchEnabled(); String getStaticQuerySuffix(); String getPreviousVersionIdentifierField(); String getNextVersionIdentifierField(); String getVersionLabelField(); String getIndexedMetsFolder(); String getIndexedLidoFolder(); String getIndexedDenkxwebFolder(); String getIndexedDublinCoreFolder(); String getPageSelectionFormat(); String getMediaFolder(); String getPdfFolder(); String getVocabulariesFolder(); String getOrigContentFolder(); String getCmsTextFolder(); String getAltoFolder(); String getAbbyyFolder(); String getFulltextFolder(); String getTeiFolder(); String getCmdiFolder(); String getWcFolder(); String getAnnotationFolder(); String getHotfolder(); @SuppressWarnings("static-method") String getTempFolder(); boolean isUrnDoRedirect(); boolean isUserRegistrationEnabled(); List<SecurityQuestion> getSecurityQuestions(); boolean isShowOpenIdConnect(); List<IAuthenticationProvider> getAuthenticationProviders(); String getSmtpServer(); String getSmtpUser(); String getSmtpPassword(); String getSmtpSenderAddress(); String getSmtpSenderName(); String getSmtpSecurity(); String getAnonymousUserEmailAddress(); boolean isDisplayCollectionBrowsing(); boolean isDisplayUserNavigation(); boolean isDisplayTagCloudNavigation(); boolean isDisplayStatistics(); boolean isDisplayTimeMatrix(); boolean isDisplayCrowdsourcingModuleLinks(); String getTheme(); String getThemeRootPath(); String getName(); String getDescription(); boolean isDisplayTagCloudStartpage(); boolean isDisplaySearchResultNavigation(); boolean isFoldout(String sidebarElement); boolean isSidebarPageViewLinkVisible(); boolean isSidebarCalendarViewLinkVisible(); boolean isSidebarTocViewLinkVisible(); boolean isSidebarThumbsViewLinkVisible(); boolean isSidebarMetadataViewLinkVisible(); boolean isShowSidebarEventMetadata(); boolean isShowRecordLabelIfNoOtherViews(); boolean isSidebarFulltextLinkVisible(); boolean isSidebarTocWidgetVisible(); boolean isSidebarTocWidgetVisibleInFullscreen(); boolean isSidebarOpacLinkVisible(); boolean getSidebarTocPageNumbersVisible(); int getSidebarTocLengthBeforeCut(); int getSidebarTocInitialCollapseLevel(); int getSidebarTocCollapseLengthThreshold(); int getSidebarTocLowestLevelToCollapseForLength(); boolean isSidebarTocTreeView(); boolean isTocTreeView(String docStructType); List<String> getAllDrillDownFields(); List<String> getDrillDownFields(); List<String> getHierarchicalDrillDownFields(); int getInitialDrillDownElementNumber(String field); String getSortOrder(String field); List<String> getPriorityValuesForDrillDownField(String field); String getLabelFieldForDrillDownField(String facetField); @SuppressWarnings("static-method") List<String> getRangeFacetFields(); boolean isSortingEnabled(); String getDefaultSortField(); List<String> getSortFields(); List<String> getStaticSortFields(); String getUrnResolverUrl(); int getUnconditionalImageAccessMaxWidth(); boolean isFullAccessForLocalhost(); boolean isGeneratePdfInTaskManager(); boolean isPdfApiDisabled(); boolean isTitlePdfEnabled(); boolean isTocPdfEnabled(); boolean isMetadataPdfEnabled(); boolean isPagePdfEnabled(); boolean isDocHierarchyPdfEnabled(); boolean isTitleEpubEnabled(); boolean isTocEpubEnabled(); boolean isMetadataEpubEnabled(); String getDownloadFolder(String type); int getRssFeedItems(); String getRssTitle(); String getRssDescription(); String getRssCopyrightText(); String getRulesetFilePath(); String getDefaultCollection(); int getThumbnailsWidth(); int getThumbnailsHeight(); int getThumbnailsCompression(); String getAnchorThumbnailMode(); int getMultivolumeThumbnailWidth(); int getMultivolumeThumbnailHeight(); boolean getDisplayBreadcrumbs(); boolean getDisplayMetadataPageLinkBlock(); boolean isAddDublinCoreMetaTags(); boolean isAddHighwirePressMetaTags(); int getMetadataParamNumber(); boolean useTiles(); boolean useTilesFullscreen(); boolean useTiles(PageType view, ImageType image); int getFooterHeight(); int getFullscreenFooterHeight(); int getFooterHeight(PageType view, ImageType image); String getImageViewType(); String getZoomFullscreenViewType(); String getZoomImageViewType(PageType view, ImageType image); boolean useOpenSeadragon(); List<String> getImageViewZoomScales(); List<String> getImageViewZoomScales(String view); List<String> getImageViewZoomScales(PageType view, ImageType image); Map<Integer, List<Integer>> getTileSizes(); Map<Integer, List<Integer>> getTileSizes(PageType view, ImageType image); SubnodeConfiguration getZoomImageViewConfig(PageType pageType, ImageType imageType); int getBreadcrumbsClipping(); boolean isDisplayTopstructLabel(); boolean getDisplayStructType(); int getSearchHitMetadataValueNumber(); int getSearchHitMetadataValueLength(); List<String> getWatermarkTextConfiguration(); String getWatermarkFormat(); boolean isOriginalContentDownload(); String getStopwordsFilePath(); String getPageType(PageType type); String getDocstructTargetPageType(String docstruct); String getPageTypeExitView(PageType type); int getFulltextPercentageWarningThreshold(); boolean isUseViewerLocaleAsRecordLanguage(); String getFeedbackEmailAddress(); boolean isBookmarksEnabled(); boolean isForceJpegConversion(); int getPageLoaderThreshold(); boolean isPreventProxyCaching(); boolean isSolrCompressionEnabled(); boolean isSolrBackwardsCompatible(); boolean isUserCommentsEnabled(); String getUserCommentsConditionalQuery(); List<String> getUserCommentsNotificationEmailAddresses(); String getViewerHome(); List<String> getWatermarkIdField(); String getSubthemeMainTheme(); String getSubthemeDiscriminatorField(); int getTagCloudSampleSize(String fieldName); List<StringPair> getTocVolumeSortFieldsForTemplate(String template); String getTocVolumeGroupFieldForTemplate(String template); boolean getDisplayTitleBreadcrumbs(); boolean isDisplayTitlePURL(); int getTitleBreadcrumbsMaxTitleLength(); boolean getIncludeAnchorInTitleBreadcrumbs(); boolean isDisplaySearchRssLinks(); boolean showThumbnailsInToc(); String getStartYearForTimeline(); String getEndYearForTimeline(); String getTimelineHits(); boolean isPiwikTrackingEnabled(); String getPiwikBaseURL(); String getPiwikSiteID(); boolean isSearchSavingEnabled(); boolean isBoostTopLevelDocstructs(); boolean isGroupDuplicateHits(); List<String> getRecordGroupIdentifierFields(); List<String> getAncestorIdentifierFields(); boolean isTocListSiblingRecords(); List<SearchFilter> getSearchFilters(); List<Map<String, String>> getWebApiFields(); String getDbPersistenceUnit(); boolean useCustomNavBar(); String getCmsTemplateFolder(); String getCmsMediaFolder(); String getTempMediaFolder(); List<String> getCmsClassifications(); int getCmsMediaDisplayWidth(); int getCmsMediaDisplayHeight(); boolean isTranskribusEnabled(); String getTranskribusUserName(); String getTranskribusPassword(); String getTranskribusDefaultCollection(); String getTranskribusRestApiUrl(); List<String> getTranskribusAllowedDocumentTypes(); int getTocIndentation(); boolean isPageBrowseEnabled(); List<Integer> getPageBrowseSteps(); String getTaskManagerServiceUrl(); String getTaskManagerRestUrl(); String getReCaptchaSiteKey(); boolean isUseReCaptcha(); boolean isSearchInItemEnabled(); String getDefaultBrowseIcon(String field); boolean isSearchExcelExportEnabled(); List<String> getSearchExcelExportFields(); int getExcelDownloadTimeout(); boolean isDisplayEmptyTocInSidebar(); boolean isDoublePageModeEnabled(); List<String> getRestrictedImageUrls(); List<String> getIIIFLicenses(); List<String> getIIIFMetadataFields(); List<String> getIIIFEventFields(); String getIIIFMetadataLabel(String field); int getIIIFDiscoveryAvtivitiesPerPage(); List<String> getIIIFLogo(); String getIIIFNavDateField(); List<String> getIIIFAttribution(); List<String> getIIIFDescriptionFields(); String getSitelinksField(); String getSitelinksFilterQuery(); List<String> getConfiguredCollections(); String getWebApiToken(); boolean isAllowRedirectCollectionToWork(); String getTwitterUserName(); float getLimitImageHeightUpperRatioThreshold(); float getLimitImageHeightLowerRatioThreshold(); boolean isLimitImageHeight(); boolean isAddCORSHeader(); String getCORSHeaderValue(); boolean isDiscloseImageContentLocation(); String getAccessConditionDisplayField(); String getCopyrightDisplayField(); boolean isDisplayCopyrightInfo(); boolean isDisplaySocialMediaShareLinks(); boolean isDisplayAnchorLabelInTitleBar(String template); String getAnchorLabelInTitleBarPrefix(String template); String getAnchorLabelInTitleBarSuffix(String template); String getMapBoxToken(); GeoMapMarker getGeoMapMarker(String name); List<String> getGeoMapMarkerFields(); List<GeoMapMarker> getGeoMapMarkers(); static GeoMapMarker readGeoMapMarker(HierarchicalConfiguration config); List<LicenseDescription> getLicenseDescriptions(); }
Configuration extends AbstractConfiguration { public int getSidebarTocInitialCollapseLevel() { return this.getLocalInt("sidebar.sidebarToc.initialCollapseLevel", 2); } Configuration(String configFilePath); Set<String> getStopwords(); boolean reloadingRequired(); String getConfigLocalPath(); String getLocalRessourceBundleFile(); int getViewerThumbnailsPerPage(); int getViewerMaxImageWidth(); int getViewerMaxImageHeight(); int getViewerMaxImageScale(); boolean isRememberImageZoom(); boolean isRememberImageRotation(); String getDfgViewerUrl(); String getConnectorVersionUrl(); List<Metadata> getTitleBarMetadata(); List<Metadata> getSearchHitMetadataForTemplate(String template); List<Metadata> getMainMetadataForTemplate(String template); List<Metadata> getSidebarMetadataForTemplate(String template); List<String> getNormdataFieldsForTemplate(String template); List<Metadata> getTocLabelConfiguration(String template); int getTocAnchorGroupElementsPerPage(); boolean isDisplaySidebarBrowsingTerms(); boolean isDisplaySidebarRssFeed(); boolean isDisplayWidgetUsage(); Metadata getWidgetUsageLicenceTextMetadata(); boolean isDisplaySidebarUsageWidgetLinkToJpegImage(); boolean isDisplaySidebarUsageWidgetLinkToMasterImage(); String getWidgetUsageMaxJpegSize(); String getWidgetUsageMaxMasterImageSize(); List<String> getCalendarDocStructTypes(); boolean isBrowsingMenuEnabled(); int getBrowsingMenuHitsPerPage(); List<BrowsingMenuFieldConfig> getBrowsingMenuFields(); String getBrowsingMenuSortingIgnoreLeadingChars(); String getDocstrctWhitelistFilterQuery(); String getCollectionSplittingChar(String field); List<DcSortingList> getCollectionSorting(String field); List<String> getCollectionBlacklist(String field); String getCollectionDefaultSortField(String field, String name); int getCollectionDisplayNumberOfVolumesLevel(String field); int getCollectionDisplayDepthForSearch(String field); String getCollectionHierarchyField(); boolean isAddCollectionHierarchyToBreadcrumbs(String field); String getSolrUrl(); String getContentServerWrapperUrl(); String getDownloadUrl(); String getRestApiUrl(); String getIIIFApiUrl(); boolean isUseIIIFApiUrlForCmsMediaUrls(); String getContentServerRealUrl(); String getMetsUrl(); String getMarcUrl(); String getDcUrl(); String getEseUrl(); List<Integer> getSearchHitsPerPageValues(); int getSearchHitsPerPageDefaultValue(); int getFulltextFragmentLength(); boolean isAdvancedSearchEnabled(); int getAdvancedSearchDefaultItemNumber(); List<AdvancedSearchFieldConfiguration> getAdvancedSearchFields(); boolean isAggregateHits(); boolean isDisplayAdditionalMetadataEnabled(); List<String> getDisplayAdditionalMetadataIgnoreFields(); List<String> getDisplayAdditionalMetadataTranslateFields(); boolean isAdvancedSearchFieldHierarchical(String field); boolean isAdvancedSearchFieldRange(String field); boolean isAdvancedSearchFieldUntokenizeForPhraseSearch(String field); String getAdvancedSearchFieldSeparatorLabel(String field); boolean isTimelineSearchEnabled(); boolean isCalendarSearchEnabled(); String getStaticQuerySuffix(); String getPreviousVersionIdentifierField(); String getNextVersionIdentifierField(); String getVersionLabelField(); String getIndexedMetsFolder(); String getIndexedLidoFolder(); String getIndexedDenkxwebFolder(); String getIndexedDublinCoreFolder(); String getPageSelectionFormat(); String getMediaFolder(); String getPdfFolder(); String getVocabulariesFolder(); String getOrigContentFolder(); String getCmsTextFolder(); String getAltoFolder(); String getAbbyyFolder(); String getFulltextFolder(); String getTeiFolder(); String getCmdiFolder(); String getWcFolder(); String getAnnotationFolder(); String getHotfolder(); @SuppressWarnings("static-method") String getTempFolder(); boolean isUrnDoRedirect(); boolean isUserRegistrationEnabled(); List<SecurityQuestion> getSecurityQuestions(); boolean isShowOpenIdConnect(); List<IAuthenticationProvider> getAuthenticationProviders(); String getSmtpServer(); String getSmtpUser(); String getSmtpPassword(); String getSmtpSenderAddress(); String getSmtpSenderName(); String getSmtpSecurity(); String getAnonymousUserEmailAddress(); boolean isDisplayCollectionBrowsing(); boolean isDisplayUserNavigation(); boolean isDisplayTagCloudNavigation(); boolean isDisplayStatistics(); boolean isDisplayTimeMatrix(); boolean isDisplayCrowdsourcingModuleLinks(); String getTheme(); String getThemeRootPath(); String getName(); String getDescription(); boolean isDisplayTagCloudStartpage(); boolean isDisplaySearchResultNavigation(); boolean isFoldout(String sidebarElement); boolean isSidebarPageViewLinkVisible(); boolean isSidebarCalendarViewLinkVisible(); boolean isSidebarTocViewLinkVisible(); boolean isSidebarThumbsViewLinkVisible(); boolean isSidebarMetadataViewLinkVisible(); boolean isShowSidebarEventMetadata(); boolean isShowRecordLabelIfNoOtherViews(); boolean isSidebarFulltextLinkVisible(); boolean isSidebarTocWidgetVisible(); boolean isSidebarTocWidgetVisibleInFullscreen(); boolean isSidebarOpacLinkVisible(); boolean getSidebarTocPageNumbersVisible(); int getSidebarTocLengthBeforeCut(); int getSidebarTocInitialCollapseLevel(); int getSidebarTocCollapseLengthThreshold(); int getSidebarTocLowestLevelToCollapseForLength(); boolean isSidebarTocTreeView(); boolean isTocTreeView(String docStructType); List<String> getAllDrillDownFields(); List<String> getDrillDownFields(); List<String> getHierarchicalDrillDownFields(); int getInitialDrillDownElementNumber(String field); String getSortOrder(String field); List<String> getPriorityValuesForDrillDownField(String field); String getLabelFieldForDrillDownField(String facetField); @SuppressWarnings("static-method") List<String> getRangeFacetFields(); boolean isSortingEnabled(); String getDefaultSortField(); List<String> getSortFields(); List<String> getStaticSortFields(); String getUrnResolverUrl(); int getUnconditionalImageAccessMaxWidth(); boolean isFullAccessForLocalhost(); boolean isGeneratePdfInTaskManager(); boolean isPdfApiDisabled(); boolean isTitlePdfEnabled(); boolean isTocPdfEnabled(); boolean isMetadataPdfEnabled(); boolean isPagePdfEnabled(); boolean isDocHierarchyPdfEnabled(); boolean isTitleEpubEnabled(); boolean isTocEpubEnabled(); boolean isMetadataEpubEnabled(); String getDownloadFolder(String type); int getRssFeedItems(); String getRssTitle(); String getRssDescription(); String getRssCopyrightText(); String getRulesetFilePath(); String getDefaultCollection(); int getThumbnailsWidth(); int getThumbnailsHeight(); int getThumbnailsCompression(); String getAnchorThumbnailMode(); int getMultivolumeThumbnailWidth(); int getMultivolumeThumbnailHeight(); boolean getDisplayBreadcrumbs(); boolean getDisplayMetadataPageLinkBlock(); boolean isAddDublinCoreMetaTags(); boolean isAddHighwirePressMetaTags(); int getMetadataParamNumber(); boolean useTiles(); boolean useTilesFullscreen(); boolean useTiles(PageType view, ImageType image); int getFooterHeight(); int getFullscreenFooterHeight(); int getFooterHeight(PageType view, ImageType image); String getImageViewType(); String getZoomFullscreenViewType(); String getZoomImageViewType(PageType view, ImageType image); boolean useOpenSeadragon(); List<String> getImageViewZoomScales(); List<String> getImageViewZoomScales(String view); List<String> getImageViewZoomScales(PageType view, ImageType image); Map<Integer, List<Integer>> getTileSizes(); Map<Integer, List<Integer>> getTileSizes(PageType view, ImageType image); SubnodeConfiguration getZoomImageViewConfig(PageType pageType, ImageType imageType); int getBreadcrumbsClipping(); boolean isDisplayTopstructLabel(); boolean getDisplayStructType(); int getSearchHitMetadataValueNumber(); int getSearchHitMetadataValueLength(); List<String> getWatermarkTextConfiguration(); String getWatermarkFormat(); boolean isOriginalContentDownload(); String getStopwordsFilePath(); String getPageType(PageType type); String getDocstructTargetPageType(String docstruct); String getPageTypeExitView(PageType type); int getFulltextPercentageWarningThreshold(); boolean isUseViewerLocaleAsRecordLanguage(); String getFeedbackEmailAddress(); boolean isBookmarksEnabled(); boolean isForceJpegConversion(); int getPageLoaderThreshold(); boolean isPreventProxyCaching(); boolean isSolrCompressionEnabled(); boolean isSolrBackwardsCompatible(); boolean isUserCommentsEnabled(); String getUserCommentsConditionalQuery(); List<String> getUserCommentsNotificationEmailAddresses(); String getViewerHome(); List<String> getWatermarkIdField(); String getSubthemeMainTheme(); String getSubthemeDiscriminatorField(); int getTagCloudSampleSize(String fieldName); List<StringPair> getTocVolumeSortFieldsForTemplate(String template); String getTocVolumeGroupFieldForTemplate(String template); boolean getDisplayTitleBreadcrumbs(); boolean isDisplayTitlePURL(); int getTitleBreadcrumbsMaxTitleLength(); boolean getIncludeAnchorInTitleBreadcrumbs(); boolean isDisplaySearchRssLinks(); boolean showThumbnailsInToc(); String getStartYearForTimeline(); String getEndYearForTimeline(); String getTimelineHits(); boolean isPiwikTrackingEnabled(); String getPiwikBaseURL(); String getPiwikSiteID(); boolean isSearchSavingEnabled(); boolean isBoostTopLevelDocstructs(); boolean isGroupDuplicateHits(); List<String> getRecordGroupIdentifierFields(); List<String> getAncestorIdentifierFields(); boolean isTocListSiblingRecords(); List<SearchFilter> getSearchFilters(); List<Map<String, String>> getWebApiFields(); String getDbPersistenceUnit(); boolean useCustomNavBar(); String getCmsTemplateFolder(); String getCmsMediaFolder(); String getTempMediaFolder(); List<String> getCmsClassifications(); int getCmsMediaDisplayWidth(); int getCmsMediaDisplayHeight(); boolean isTranskribusEnabled(); String getTranskribusUserName(); String getTranskribusPassword(); String getTranskribusDefaultCollection(); String getTranskribusRestApiUrl(); List<String> getTranskribusAllowedDocumentTypes(); int getTocIndentation(); boolean isPageBrowseEnabled(); List<Integer> getPageBrowseSteps(); String getTaskManagerServiceUrl(); String getTaskManagerRestUrl(); String getReCaptchaSiteKey(); boolean isUseReCaptcha(); boolean isSearchInItemEnabled(); String getDefaultBrowseIcon(String field); boolean isSearchExcelExportEnabled(); List<String> getSearchExcelExportFields(); int getExcelDownloadTimeout(); boolean isDisplayEmptyTocInSidebar(); boolean isDoublePageModeEnabled(); List<String> getRestrictedImageUrls(); List<String> getIIIFLicenses(); List<String> getIIIFMetadataFields(); List<String> getIIIFEventFields(); String getIIIFMetadataLabel(String field); int getIIIFDiscoveryAvtivitiesPerPage(); List<String> getIIIFLogo(); String getIIIFNavDateField(); List<String> getIIIFAttribution(); List<String> getIIIFDescriptionFields(); String getSitelinksField(); String getSitelinksFilterQuery(); List<String> getConfiguredCollections(); String getWebApiToken(); boolean isAllowRedirectCollectionToWork(); String getTwitterUserName(); float getLimitImageHeightUpperRatioThreshold(); float getLimitImageHeightLowerRatioThreshold(); boolean isLimitImageHeight(); boolean isAddCORSHeader(); String getCORSHeaderValue(); boolean isDiscloseImageContentLocation(); String getAccessConditionDisplayField(); String getCopyrightDisplayField(); boolean isDisplayCopyrightInfo(); boolean isDisplaySocialMediaShareLinks(); boolean isDisplayAnchorLabelInTitleBar(String template); String getAnchorLabelInTitleBarPrefix(String template); String getAnchorLabelInTitleBarSuffix(String template); String getMapBoxToken(); GeoMapMarker getGeoMapMarker(String name); List<String> getGeoMapMarkerFields(); List<GeoMapMarker> getGeoMapMarkers(); static GeoMapMarker readGeoMapMarker(HierarchicalConfiguration config); List<LicenseDescription> getLicenseDescriptions(); }
@Test public void getSidebarTocLengthBeforeCut_shouldReturnCorrectValue() throws Exception { Assert.assertEquals(21, DataManager.getInstance().getConfiguration().getSidebarTocLengthBeforeCut()); }
public int getSidebarTocLengthBeforeCut() { return this.getLocalInt("sidebar.sidebarToc.lengthBeforeCut", 10); }
Configuration extends AbstractConfiguration { public int getSidebarTocLengthBeforeCut() { return this.getLocalInt("sidebar.sidebarToc.lengthBeforeCut", 10); } }
Configuration extends AbstractConfiguration { public int getSidebarTocLengthBeforeCut() { return this.getLocalInt("sidebar.sidebarToc.lengthBeforeCut", 10); } Configuration(String configFilePath); }
Configuration extends AbstractConfiguration { public int getSidebarTocLengthBeforeCut() { return this.getLocalInt("sidebar.sidebarToc.lengthBeforeCut", 10); } Configuration(String configFilePath); Set<String> getStopwords(); boolean reloadingRequired(); String getConfigLocalPath(); String getLocalRessourceBundleFile(); int getViewerThumbnailsPerPage(); int getViewerMaxImageWidth(); int getViewerMaxImageHeight(); int getViewerMaxImageScale(); boolean isRememberImageZoom(); boolean isRememberImageRotation(); String getDfgViewerUrl(); String getConnectorVersionUrl(); List<Metadata> getTitleBarMetadata(); List<Metadata> getSearchHitMetadataForTemplate(String template); List<Metadata> getMainMetadataForTemplate(String template); List<Metadata> getSidebarMetadataForTemplate(String template); List<String> getNormdataFieldsForTemplate(String template); List<Metadata> getTocLabelConfiguration(String template); int getTocAnchorGroupElementsPerPage(); boolean isDisplaySidebarBrowsingTerms(); boolean isDisplaySidebarRssFeed(); boolean isDisplayWidgetUsage(); Metadata getWidgetUsageLicenceTextMetadata(); boolean isDisplaySidebarUsageWidgetLinkToJpegImage(); boolean isDisplaySidebarUsageWidgetLinkToMasterImage(); String getWidgetUsageMaxJpegSize(); String getWidgetUsageMaxMasterImageSize(); List<String> getCalendarDocStructTypes(); boolean isBrowsingMenuEnabled(); int getBrowsingMenuHitsPerPage(); List<BrowsingMenuFieldConfig> getBrowsingMenuFields(); String getBrowsingMenuSortingIgnoreLeadingChars(); String getDocstrctWhitelistFilterQuery(); String getCollectionSplittingChar(String field); List<DcSortingList> getCollectionSorting(String field); List<String> getCollectionBlacklist(String field); String getCollectionDefaultSortField(String field, String name); int getCollectionDisplayNumberOfVolumesLevel(String field); int getCollectionDisplayDepthForSearch(String field); String getCollectionHierarchyField(); boolean isAddCollectionHierarchyToBreadcrumbs(String field); String getSolrUrl(); String getContentServerWrapperUrl(); String getDownloadUrl(); String getRestApiUrl(); String getIIIFApiUrl(); boolean isUseIIIFApiUrlForCmsMediaUrls(); String getContentServerRealUrl(); String getMetsUrl(); String getMarcUrl(); String getDcUrl(); String getEseUrl(); List<Integer> getSearchHitsPerPageValues(); int getSearchHitsPerPageDefaultValue(); int getFulltextFragmentLength(); boolean isAdvancedSearchEnabled(); int getAdvancedSearchDefaultItemNumber(); List<AdvancedSearchFieldConfiguration> getAdvancedSearchFields(); boolean isAggregateHits(); boolean isDisplayAdditionalMetadataEnabled(); List<String> getDisplayAdditionalMetadataIgnoreFields(); List<String> getDisplayAdditionalMetadataTranslateFields(); boolean isAdvancedSearchFieldHierarchical(String field); boolean isAdvancedSearchFieldRange(String field); boolean isAdvancedSearchFieldUntokenizeForPhraseSearch(String field); String getAdvancedSearchFieldSeparatorLabel(String field); boolean isTimelineSearchEnabled(); boolean isCalendarSearchEnabled(); String getStaticQuerySuffix(); String getPreviousVersionIdentifierField(); String getNextVersionIdentifierField(); String getVersionLabelField(); String getIndexedMetsFolder(); String getIndexedLidoFolder(); String getIndexedDenkxwebFolder(); String getIndexedDublinCoreFolder(); String getPageSelectionFormat(); String getMediaFolder(); String getPdfFolder(); String getVocabulariesFolder(); String getOrigContentFolder(); String getCmsTextFolder(); String getAltoFolder(); String getAbbyyFolder(); String getFulltextFolder(); String getTeiFolder(); String getCmdiFolder(); String getWcFolder(); String getAnnotationFolder(); String getHotfolder(); @SuppressWarnings("static-method") String getTempFolder(); boolean isUrnDoRedirect(); boolean isUserRegistrationEnabled(); List<SecurityQuestion> getSecurityQuestions(); boolean isShowOpenIdConnect(); List<IAuthenticationProvider> getAuthenticationProviders(); String getSmtpServer(); String getSmtpUser(); String getSmtpPassword(); String getSmtpSenderAddress(); String getSmtpSenderName(); String getSmtpSecurity(); String getAnonymousUserEmailAddress(); boolean isDisplayCollectionBrowsing(); boolean isDisplayUserNavigation(); boolean isDisplayTagCloudNavigation(); boolean isDisplayStatistics(); boolean isDisplayTimeMatrix(); boolean isDisplayCrowdsourcingModuleLinks(); String getTheme(); String getThemeRootPath(); String getName(); String getDescription(); boolean isDisplayTagCloudStartpage(); boolean isDisplaySearchResultNavigation(); boolean isFoldout(String sidebarElement); boolean isSidebarPageViewLinkVisible(); boolean isSidebarCalendarViewLinkVisible(); boolean isSidebarTocViewLinkVisible(); boolean isSidebarThumbsViewLinkVisible(); boolean isSidebarMetadataViewLinkVisible(); boolean isShowSidebarEventMetadata(); boolean isShowRecordLabelIfNoOtherViews(); boolean isSidebarFulltextLinkVisible(); boolean isSidebarTocWidgetVisible(); boolean isSidebarTocWidgetVisibleInFullscreen(); boolean isSidebarOpacLinkVisible(); boolean getSidebarTocPageNumbersVisible(); int getSidebarTocLengthBeforeCut(); int getSidebarTocInitialCollapseLevel(); int getSidebarTocCollapseLengthThreshold(); int getSidebarTocLowestLevelToCollapseForLength(); boolean isSidebarTocTreeView(); boolean isTocTreeView(String docStructType); List<String> getAllDrillDownFields(); List<String> getDrillDownFields(); List<String> getHierarchicalDrillDownFields(); int getInitialDrillDownElementNumber(String field); String getSortOrder(String field); List<String> getPriorityValuesForDrillDownField(String field); String getLabelFieldForDrillDownField(String facetField); @SuppressWarnings("static-method") List<String> getRangeFacetFields(); boolean isSortingEnabled(); String getDefaultSortField(); List<String> getSortFields(); List<String> getStaticSortFields(); String getUrnResolverUrl(); int getUnconditionalImageAccessMaxWidth(); boolean isFullAccessForLocalhost(); boolean isGeneratePdfInTaskManager(); boolean isPdfApiDisabled(); boolean isTitlePdfEnabled(); boolean isTocPdfEnabled(); boolean isMetadataPdfEnabled(); boolean isPagePdfEnabled(); boolean isDocHierarchyPdfEnabled(); boolean isTitleEpubEnabled(); boolean isTocEpubEnabled(); boolean isMetadataEpubEnabled(); String getDownloadFolder(String type); int getRssFeedItems(); String getRssTitle(); String getRssDescription(); String getRssCopyrightText(); String getRulesetFilePath(); String getDefaultCollection(); int getThumbnailsWidth(); int getThumbnailsHeight(); int getThumbnailsCompression(); String getAnchorThumbnailMode(); int getMultivolumeThumbnailWidth(); int getMultivolumeThumbnailHeight(); boolean getDisplayBreadcrumbs(); boolean getDisplayMetadataPageLinkBlock(); boolean isAddDublinCoreMetaTags(); boolean isAddHighwirePressMetaTags(); int getMetadataParamNumber(); boolean useTiles(); boolean useTilesFullscreen(); boolean useTiles(PageType view, ImageType image); int getFooterHeight(); int getFullscreenFooterHeight(); int getFooterHeight(PageType view, ImageType image); String getImageViewType(); String getZoomFullscreenViewType(); String getZoomImageViewType(PageType view, ImageType image); boolean useOpenSeadragon(); List<String> getImageViewZoomScales(); List<String> getImageViewZoomScales(String view); List<String> getImageViewZoomScales(PageType view, ImageType image); Map<Integer, List<Integer>> getTileSizes(); Map<Integer, List<Integer>> getTileSizes(PageType view, ImageType image); SubnodeConfiguration getZoomImageViewConfig(PageType pageType, ImageType imageType); int getBreadcrumbsClipping(); boolean isDisplayTopstructLabel(); boolean getDisplayStructType(); int getSearchHitMetadataValueNumber(); int getSearchHitMetadataValueLength(); List<String> getWatermarkTextConfiguration(); String getWatermarkFormat(); boolean isOriginalContentDownload(); String getStopwordsFilePath(); String getPageType(PageType type); String getDocstructTargetPageType(String docstruct); String getPageTypeExitView(PageType type); int getFulltextPercentageWarningThreshold(); boolean isUseViewerLocaleAsRecordLanguage(); String getFeedbackEmailAddress(); boolean isBookmarksEnabled(); boolean isForceJpegConversion(); int getPageLoaderThreshold(); boolean isPreventProxyCaching(); boolean isSolrCompressionEnabled(); boolean isSolrBackwardsCompatible(); boolean isUserCommentsEnabled(); String getUserCommentsConditionalQuery(); List<String> getUserCommentsNotificationEmailAddresses(); String getViewerHome(); List<String> getWatermarkIdField(); String getSubthemeMainTheme(); String getSubthemeDiscriminatorField(); int getTagCloudSampleSize(String fieldName); List<StringPair> getTocVolumeSortFieldsForTemplate(String template); String getTocVolumeGroupFieldForTemplate(String template); boolean getDisplayTitleBreadcrumbs(); boolean isDisplayTitlePURL(); int getTitleBreadcrumbsMaxTitleLength(); boolean getIncludeAnchorInTitleBreadcrumbs(); boolean isDisplaySearchRssLinks(); boolean showThumbnailsInToc(); String getStartYearForTimeline(); String getEndYearForTimeline(); String getTimelineHits(); boolean isPiwikTrackingEnabled(); String getPiwikBaseURL(); String getPiwikSiteID(); boolean isSearchSavingEnabled(); boolean isBoostTopLevelDocstructs(); boolean isGroupDuplicateHits(); List<String> getRecordGroupIdentifierFields(); List<String> getAncestorIdentifierFields(); boolean isTocListSiblingRecords(); List<SearchFilter> getSearchFilters(); List<Map<String, String>> getWebApiFields(); String getDbPersistenceUnit(); boolean useCustomNavBar(); String getCmsTemplateFolder(); String getCmsMediaFolder(); String getTempMediaFolder(); List<String> getCmsClassifications(); int getCmsMediaDisplayWidth(); int getCmsMediaDisplayHeight(); boolean isTranskribusEnabled(); String getTranskribusUserName(); String getTranskribusPassword(); String getTranskribusDefaultCollection(); String getTranskribusRestApiUrl(); List<String> getTranskribusAllowedDocumentTypes(); int getTocIndentation(); boolean isPageBrowseEnabled(); List<Integer> getPageBrowseSteps(); String getTaskManagerServiceUrl(); String getTaskManagerRestUrl(); String getReCaptchaSiteKey(); boolean isUseReCaptcha(); boolean isSearchInItemEnabled(); String getDefaultBrowseIcon(String field); boolean isSearchExcelExportEnabled(); List<String> getSearchExcelExportFields(); int getExcelDownloadTimeout(); boolean isDisplayEmptyTocInSidebar(); boolean isDoublePageModeEnabled(); List<String> getRestrictedImageUrls(); List<String> getIIIFLicenses(); List<String> getIIIFMetadataFields(); List<String> getIIIFEventFields(); String getIIIFMetadataLabel(String field); int getIIIFDiscoveryAvtivitiesPerPage(); List<String> getIIIFLogo(); String getIIIFNavDateField(); List<String> getIIIFAttribution(); List<String> getIIIFDescriptionFields(); String getSitelinksField(); String getSitelinksFilterQuery(); List<String> getConfiguredCollections(); String getWebApiToken(); boolean isAllowRedirectCollectionToWork(); String getTwitterUserName(); float getLimitImageHeightUpperRatioThreshold(); float getLimitImageHeightLowerRatioThreshold(); boolean isLimitImageHeight(); boolean isAddCORSHeader(); String getCORSHeaderValue(); boolean isDiscloseImageContentLocation(); String getAccessConditionDisplayField(); String getCopyrightDisplayField(); boolean isDisplayCopyrightInfo(); boolean isDisplaySocialMediaShareLinks(); boolean isDisplayAnchorLabelInTitleBar(String template); String getAnchorLabelInTitleBarPrefix(String template); String getAnchorLabelInTitleBarSuffix(String template); String getMapBoxToken(); GeoMapMarker getGeoMapMarker(String name); List<String> getGeoMapMarkerFields(); List<GeoMapMarker> getGeoMapMarkers(); static GeoMapMarker readGeoMapMarker(HierarchicalConfiguration config); List<LicenseDescription> getLicenseDescriptions(); }
Configuration extends AbstractConfiguration { public int getSidebarTocLengthBeforeCut() { return this.getLocalInt("sidebar.sidebarToc.lengthBeforeCut", 10); } Configuration(String configFilePath); Set<String> getStopwords(); boolean reloadingRequired(); String getConfigLocalPath(); String getLocalRessourceBundleFile(); int getViewerThumbnailsPerPage(); int getViewerMaxImageWidth(); int getViewerMaxImageHeight(); int getViewerMaxImageScale(); boolean isRememberImageZoom(); boolean isRememberImageRotation(); String getDfgViewerUrl(); String getConnectorVersionUrl(); List<Metadata> getTitleBarMetadata(); List<Metadata> getSearchHitMetadataForTemplate(String template); List<Metadata> getMainMetadataForTemplate(String template); List<Metadata> getSidebarMetadataForTemplate(String template); List<String> getNormdataFieldsForTemplate(String template); List<Metadata> getTocLabelConfiguration(String template); int getTocAnchorGroupElementsPerPage(); boolean isDisplaySidebarBrowsingTerms(); boolean isDisplaySidebarRssFeed(); boolean isDisplayWidgetUsage(); Metadata getWidgetUsageLicenceTextMetadata(); boolean isDisplaySidebarUsageWidgetLinkToJpegImage(); boolean isDisplaySidebarUsageWidgetLinkToMasterImage(); String getWidgetUsageMaxJpegSize(); String getWidgetUsageMaxMasterImageSize(); List<String> getCalendarDocStructTypes(); boolean isBrowsingMenuEnabled(); int getBrowsingMenuHitsPerPage(); List<BrowsingMenuFieldConfig> getBrowsingMenuFields(); String getBrowsingMenuSortingIgnoreLeadingChars(); String getDocstrctWhitelistFilterQuery(); String getCollectionSplittingChar(String field); List<DcSortingList> getCollectionSorting(String field); List<String> getCollectionBlacklist(String field); String getCollectionDefaultSortField(String field, String name); int getCollectionDisplayNumberOfVolumesLevel(String field); int getCollectionDisplayDepthForSearch(String field); String getCollectionHierarchyField(); boolean isAddCollectionHierarchyToBreadcrumbs(String field); String getSolrUrl(); String getContentServerWrapperUrl(); String getDownloadUrl(); String getRestApiUrl(); String getIIIFApiUrl(); boolean isUseIIIFApiUrlForCmsMediaUrls(); String getContentServerRealUrl(); String getMetsUrl(); String getMarcUrl(); String getDcUrl(); String getEseUrl(); List<Integer> getSearchHitsPerPageValues(); int getSearchHitsPerPageDefaultValue(); int getFulltextFragmentLength(); boolean isAdvancedSearchEnabled(); int getAdvancedSearchDefaultItemNumber(); List<AdvancedSearchFieldConfiguration> getAdvancedSearchFields(); boolean isAggregateHits(); boolean isDisplayAdditionalMetadataEnabled(); List<String> getDisplayAdditionalMetadataIgnoreFields(); List<String> getDisplayAdditionalMetadataTranslateFields(); boolean isAdvancedSearchFieldHierarchical(String field); boolean isAdvancedSearchFieldRange(String field); boolean isAdvancedSearchFieldUntokenizeForPhraseSearch(String field); String getAdvancedSearchFieldSeparatorLabel(String field); boolean isTimelineSearchEnabled(); boolean isCalendarSearchEnabled(); String getStaticQuerySuffix(); String getPreviousVersionIdentifierField(); String getNextVersionIdentifierField(); String getVersionLabelField(); String getIndexedMetsFolder(); String getIndexedLidoFolder(); String getIndexedDenkxwebFolder(); String getIndexedDublinCoreFolder(); String getPageSelectionFormat(); String getMediaFolder(); String getPdfFolder(); String getVocabulariesFolder(); String getOrigContentFolder(); String getCmsTextFolder(); String getAltoFolder(); String getAbbyyFolder(); String getFulltextFolder(); String getTeiFolder(); String getCmdiFolder(); String getWcFolder(); String getAnnotationFolder(); String getHotfolder(); @SuppressWarnings("static-method") String getTempFolder(); boolean isUrnDoRedirect(); boolean isUserRegistrationEnabled(); List<SecurityQuestion> getSecurityQuestions(); boolean isShowOpenIdConnect(); List<IAuthenticationProvider> getAuthenticationProviders(); String getSmtpServer(); String getSmtpUser(); String getSmtpPassword(); String getSmtpSenderAddress(); String getSmtpSenderName(); String getSmtpSecurity(); String getAnonymousUserEmailAddress(); boolean isDisplayCollectionBrowsing(); boolean isDisplayUserNavigation(); boolean isDisplayTagCloudNavigation(); boolean isDisplayStatistics(); boolean isDisplayTimeMatrix(); boolean isDisplayCrowdsourcingModuleLinks(); String getTheme(); String getThemeRootPath(); String getName(); String getDescription(); boolean isDisplayTagCloudStartpage(); boolean isDisplaySearchResultNavigation(); boolean isFoldout(String sidebarElement); boolean isSidebarPageViewLinkVisible(); boolean isSidebarCalendarViewLinkVisible(); boolean isSidebarTocViewLinkVisible(); boolean isSidebarThumbsViewLinkVisible(); boolean isSidebarMetadataViewLinkVisible(); boolean isShowSidebarEventMetadata(); boolean isShowRecordLabelIfNoOtherViews(); boolean isSidebarFulltextLinkVisible(); boolean isSidebarTocWidgetVisible(); boolean isSidebarTocWidgetVisibleInFullscreen(); boolean isSidebarOpacLinkVisible(); boolean getSidebarTocPageNumbersVisible(); int getSidebarTocLengthBeforeCut(); int getSidebarTocInitialCollapseLevel(); int getSidebarTocCollapseLengthThreshold(); int getSidebarTocLowestLevelToCollapseForLength(); boolean isSidebarTocTreeView(); boolean isTocTreeView(String docStructType); List<String> getAllDrillDownFields(); List<String> getDrillDownFields(); List<String> getHierarchicalDrillDownFields(); int getInitialDrillDownElementNumber(String field); String getSortOrder(String field); List<String> getPriorityValuesForDrillDownField(String field); String getLabelFieldForDrillDownField(String facetField); @SuppressWarnings("static-method") List<String> getRangeFacetFields(); boolean isSortingEnabled(); String getDefaultSortField(); List<String> getSortFields(); List<String> getStaticSortFields(); String getUrnResolverUrl(); int getUnconditionalImageAccessMaxWidth(); boolean isFullAccessForLocalhost(); boolean isGeneratePdfInTaskManager(); boolean isPdfApiDisabled(); boolean isTitlePdfEnabled(); boolean isTocPdfEnabled(); boolean isMetadataPdfEnabled(); boolean isPagePdfEnabled(); boolean isDocHierarchyPdfEnabled(); boolean isTitleEpubEnabled(); boolean isTocEpubEnabled(); boolean isMetadataEpubEnabled(); String getDownloadFolder(String type); int getRssFeedItems(); String getRssTitle(); String getRssDescription(); String getRssCopyrightText(); String getRulesetFilePath(); String getDefaultCollection(); int getThumbnailsWidth(); int getThumbnailsHeight(); int getThumbnailsCompression(); String getAnchorThumbnailMode(); int getMultivolumeThumbnailWidth(); int getMultivolumeThumbnailHeight(); boolean getDisplayBreadcrumbs(); boolean getDisplayMetadataPageLinkBlock(); boolean isAddDublinCoreMetaTags(); boolean isAddHighwirePressMetaTags(); int getMetadataParamNumber(); boolean useTiles(); boolean useTilesFullscreen(); boolean useTiles(PageType view, ImageType image); int getFooterHeight(); int getFullscreenFooterHeight(); int getFooterHeight(PageType view, ImageType image); String getImageViewType(); String getZoomFullscreenViewType(); String getZoomImageViewType(PageType view, ImageType image); boolean useOpenSeadragon(); List<String> getImageViewZoomScales(); List<String> getImageViewZoomScales(String view); List<String> getImageViewZoomScales(PageType view, ImageType image); Map<Integer, List<Integer>> getTileSizes(); Map<Integer, List<Integer>> getTileSizes(PageType view, ImageType image); SubnodeConfiguration getZoomImageViewConfig(PageType pageType, ImageType imageType); int getBreadcrumbsClipping(); boolean isDisplayTopstructLabel(); boolean getDisplayStructType(); int getSearchHitMetadataValueNumber(); int getSearchHitMetadataValueLength(); List<String> getWatermarkTextConfiguration(); String getWatermarkFormat(); boolean isOriginalContentDownload(); String getStopwordsFilePath(); String getPageType(PageType type); String getDocstructTargetPageType(String docstruct); String getPageTypeExitView(PageType type); int getFulltextPercentageWarningThreshold(); boolean isUseViewerLocaleAsRecordLanguage(); String getFeedbackEmailAddress(); boolean isBookmarksEnabled(); boolean isForceJpegConversion(); int getPageLoaderThreshold(); boolean isPreventProxyCaching(); boolean isSolrCompressionEnabled(); boolean isSolrBackwardsCompatible(); boolean isUserCommentsEnabled(); String getUserCommentsConditionalQuery(); List<String> getUserCommentsNotificationEmailAddresses(); String getViewerHome(); List<String> getWatermarkIdField(); String getSubthemeMainTheme(); String getSubthemeDiscriminatorField(); int getTagCloudSampleSize(String fieldName); List<StringPair> getTocVolumeSortFieldsForTemplate(String template); String getTocVolumeGroupFieldForTemplate(String template); boolean getDisplayTitleBreadcrumbs(); boolean isDisplayTitlePURL(); int getTitleBreadcrumbsMaxTitleLength(); boolean getIncludeAnchorInTitleBreadcrumbs(); boolean isDisplaySearchRssLinks(); boolean showThumbnailsInToc(); String getStartYearForTimeline(); String getEndYearForTimeline(); String getTimelineHits(); boolean isPiwikTrackingEnabled(); String getPiwikBaseURL(); String getPiwikSiteID(); boolean isSearchSavingEnabled(); boolean isBoostTopLevelDocstructs(); boolean isGroupDuplicateHits(); List<String> getRecordGroupIdentifierFields(); List<String> getAncestorIdentifierFields(); boolean isTocListSiblingRecords(); List<SearchFilter> getSearchFilters(); List<Map<String, String>> getWebApiFields(); String getDbPersistenceUnit(); boolean useCustomNavBar(); String getCmsTemplateFolder(); String getCmsMediaFolder(); String getTempMediaFolder(); List<String> getCmsClassifications(); int getCmsMediaDisplayWidth(); int getCmsMediaDisplayHeight(); boolean isTranskribusEnabled(); String getTranskribusUserName(); String getTranskribusPassword(); String getTranskribusDefaultCollection(); String getTranskribusRestApiUrl(); List<String> getTranskribusAllowedDocumentTypes(); int getTocIndentation(); boolean isPageBrowseEnabled(); List<Integer> getPageBrowseSteps(); String getTaskManagerServiceUrl(); String getTaskManagerRestUrl(); String getReCaptchaSiteKey(); boolean isUseReCaptcha(); boolean isSearchInItemEnabled(); String getDefaultBrowseIcon(String field); boolean isSearchExcelExportEnabled(); List<String> getSearchExcelExportFields(); int getExcelDownloadTimeout(); boolean isDisplayEmptyTocInSidebar(); boolean isDoublePageModeEnabled(); List<String> getRestrictedImageUrls(); List<String> getIIIFLicenses(); List<String> getIIIFMetadataFields(); List<String> getIIIFEventFields(); String getIIIFMetadataLabel(String field); int getIIIFDiscoveryAvtivitiesPerPage(); List<String> getIIIFLogo(); String getIIIFNavDateField(); List<String> getIIIFAttribution(); List<String> getIIIFDescriptionFields(); String getSitelinksField(); String getSitelinksFilterQuery(); List<String> getConfiguredCollections(); String getWebApiToken(); boolean isAllowRedirectCollectionToWork(); String getTwitterUserName(); float getLimitImageHeightUpperRatioThreshold(); float getLimitImageHeightLowerRatioThreshold(); boolean isLimitImageHeight(); boolean isAddCORSHeader(); String getCORSHeaderValue(); boolean isDiscloseImageContentLocation(); String getAccessConditionDisplayField(); String getCopyrightDisplayField(); boolean isDisplayCopyrightInfo(); boolean isDisplaySocialMediaShareLinks(); boolean isDisplayAnchorLabelInTitleBar(String template); String getAnchorLabelInTitleBarPrefix(String template); String getAnchorLabelInTitleBarSuffix(String template); String getMapBoxToken(); GeoMapMarker getGeoMapMarker(String name); List<String> getGeoMapMarkerFields(); List<GeoMapMarker> getGeoMapMarkers(); static GeoMapMarker readGeoMapMarker(HierarchicalConfiguration config); List<LicenseDescription> getLicenseDescriptions(); }
@Test public void getSidebarTocPageNumbersVisible_shouldReturnCorrectValue() throws Exception { Assert.assertEquals(true, DataManager.getInstance().getConfiguration().getSidebarTocPageNumbersVisible()); }
public boolean getSidebarTocPageNumbersVisible() { return this.getLocalBoolean("sidebar.sidebarToc.pageNumbersVisible", false); }
Configuration extends AbstractConfiguration { public boolean getSidebarTocPageNumbersVisible() { return this.getLocalBoolean("sidebar.sidebarToc.pageNumbersVisible", false); } }
Configuration extends AbstractConfiguration { public boolean getSidebarTocPageNumbersVisible() { return this.getLocalBoolean("sidebar.sidebarToc.pageNumbersVisible", false); } Configuration(String configFilePath); }
Configuration extends AbstractConfiguration { public boolean getSidebarTocPageNumbersVisible() { return this.getLocalBoolean("sidebar.sidebarToc.pageNumbersVisible", false); } Configuration(String configFilePath); Set<String> getStopwords(); boolean reloadingRequired(); String getConfigLocalPath(); String getLocalRessourceBundleFile(); int getViewerThumbnailsPerPage(); int getViewerMaxImageWidth(); int getViewerMaxImageHeight(); int getViewerMaxImageScale(); boolean isRememberImageZoom(); boolean isRememberImageRotation(); String getDfgViewerUrl(); String getConnectorVersionUrl(); List<Metadata> getTitleBarMetadata(); List<Metadata> getSearchHitMetadataForTemplate(String template); List<Metadata> getMainMetadataForTemplate(String template); List<Metadata> getSidebarMetadataForTemplate(String template); List<String> getNormdataFieldsForTemplate(String template); List<Metadata> getTocLabelConfiguration(String template); int getTocAnchorGroupElementsPerPage(); boolean isDisplaySidebarBrowsingTerms(); boolean isDisplaySidebarRssFeed(); boolean isDisplayWidgetUsage(); Metadata getWidgetUsageLicenceTextMetadata(); boolean isDisplaySidebarUsageWidgetLinkToJpegImage(); boolean isDisplaySidebarUsageWidgetLinkToMasterImage(); String getWidgetUsageMaxJpegSize(); String getWidgetUsageMaxMasterImageSize(); List<String> getCalendarDocStructTypes(); boolean isBrowsingMenuEnabled(); int getBrowsingMenuHitsPerPage(); List<BrowsingMenuFieldConfig> getBrowsingMenuFields(); String getBrowsingMenuSortingIgnoreLeadingChars(); String getDocstrctWhitelistFilterQuery(); String getCollectionSplittingChar(String field); List<DcSortingList> getCollectionSorting(String field); List<String> getCollectionBlacklist(String field); String getCollectionDefaultSortField(String field, String name); int getCollectionDisplayNumberOfVolumesLevel(String field); int getCollectionDisplayDepthForSearch(String field); String getCollectionHierarchyField(); boolean isAddCollectionHierarchyToBreadcrumbs(String field); String getSolrUrl(); String getContentServerWrapperUrl(); String getDownloadUrl(); String getRestApiUrl(); String getIIIFApiUrl(); boolean isUseIIIFApiUrlForCmsMediaUrls(); String getContentServerRealUrl(); String getMetsUrl(); String getMarcUrl(); String getDcUrl(); String getEseUrl(); List<Integer> getSearchHitsPerPageValues(); int getSearchHitsPerPageDefaultValue(); int getFulltextFragmentLength(); boolean isAdvancedSearchEnabled(); int getAdvancedSearchDefaultItemNumber(); List<AdvancedSearchFieldConfiguration> getAdvancedSearchFields(); boolean isAggregateHits(); boolean isDisplayAdditionalMetadataEnabled(); List<String> getDisplayAdditionalMetadataIgnoreFields(); List<String> getDisplayAdditionalMetadataTranslateFields(); boolean isAdvancedSearchFieldHierarchical(String field); boolean isAdvancedSearchFieldRange(String field); boolean isAdvancedSearchFieldUntokenizeForPhraseSearch(String field); String getAdvancedSearchFieldSeparatorLabel(String field); boolean isTimelineSearchEnabled(); boolean isCalendarSearchEnabled(); String getStaticQuerySuffix(); String getPreviousVersionIdentifierField(); String getNextVersionIdentifierField(); String getVersionLabelField(); String getIndexedMetsFolder(); String getIndexedLidoFolder(); String getIndexedDenkxwebFolder(); String getIndexedDublinCoreFolder(); String getPageSelectionFormat(); String getMediaFolder(); String getPdfFolder(); String getVocabulariesFolder(); String getOrigContentFolder(); String getCmsTextFolder(); String getAltoFolder(); String getAbbyyFolder(); String getFulltextFolder(); String getTeiFolder(); String getCmdiFolder(); String getWcFolder(); String getAnnotationFolder(); String getHotfolder(); @SuppressWarnings("static-method") String getTempFolder(); boolean isUrnDoRedirect(); boolean isUserRegistrationEnabled(); List<SecurityQuestion> getSecurityQuestions(); boolean isShowOpenIdConnect(); List<IAuthenticationProvider> getAuthenticationProviders(); String getSmtpServer(); String getSmtpUser(); String getSmtpPassword(); String getSmtpSenderAddress(); String getSmtpSenderName(); String getSmtpSecurity(); String getAnonymousUserEmailAddress(); boolean isDisplayCollectionBrowsing(); boolean isDisplayUserNavigation(); boolean isDisplayTagCloudNavigation(); boolean isDisplayStatistics(); boolean isDisplayTimeMatrix(); boolean isDisplayCrowdsourcingModuleLinks(); String getTheme(); String getThemeRootPath(); String getName(); String getDescription(); boolean isDisplayTagCloudStartpage(); boolean isDisplaySearchResultNavigation(); boolean isFoldout(String sidebarElement); boolean isSidebarPageViewLinkVisible(); boolean isSidebarCalendarViewLinkVisible(); boolean isSidebarTocViewLinkVisible(); boolean isSidebarThumbsViewLinkVisible(); boolean isSidebarMetadataViewLinkVisible(); boolean isShowSidebarEventMetadata(); boolean isShowRecordLabelIfNoOtherViews(); boolean isSidebarFulltextLinkVisible(); boolean isSidebarTocWidgetVisible(); boolean isSidebarTocWidgetVisibleInFullscreen(); boolean isSidebarOpacLinkVisible(); boolean getSidebarTocPageNumbersVisible(); int getSidebarTocLengthBeforeCut(); int getSidebarTocInitialCollapseLevel(); int getSidebarTocCollapseLengthThreshold(); int getSidebarTocLowestLevelToCollapseForLength(); boolean isSidebarTocTreeView(); boolean isTocTreeView(String docStructType); List<String> getAllDrillDownFields(); List<String> getDrillDownFields(); List<String> getHierarchicalDrillDownFields(); int getInitialDrillDownElementNumber(String field); String getSortOrder(String field); List<String> getPriorityValuesForDrillDownField(String field); String getLabelFieldForDrillDownField(String facetField); @SuppressWarnings("static-method") List<String> getRangeFacetFields(); boolean isSortingEnabled(); String getDefaultSortField(); List<String> getSortFields(); List<String> getStaticSortFields(); String getUrnResolverUrl(); int getUnconditionalImageAccessMaxWidth(); boolean isFullAccessForLocalhost(); boolean isGeneratePdfInTaskManager(); boolean isPdfApiDisabled(); boolean isTitlePdfEnabled(); boolean isTocPdfEnabled(); boolean isMetadataPdfEnabled(); boolean isPagePdfEnabled(); boolean isDocHierarchyPdfEnabled(); boolean isTitleEpubEnabled(); boolean isTocEpubEnabled(); boolean isMetadataEpubEnabled(); String getDownloadFolder(String type); int getRssFeedItems(); String getRssTitle(); String getRssDescription(); String getRssCopyrightText(); String getRulesetFilePath(); String getDefaultCollection(); int getThumbnailsWidth(); int getThumbnailsHeight(); int getThumbnailsCompression(); String getAnchorThumbnailMode(); int getMultivolumeThumbnailWidth(); int getMultivolumeThumbnailHeight(); boolean getDisplayBreadcrumbs(); boolean getDisplayMetadataPageLinkBlock(); boolean isAddDublinCoreMetaTags(); boolean isAddHighwirePressMetaTags(); int getMetadataParamNumber(); boolean useTiles(); boolean useTilesFullscreen(); boolean useTiles(PageType view, ImageType image); int getFooterHeight(); int getFullscreenFooterHeight(); int getFooterHeight(PageType view, ImageType image); String getImageViewType(); String getZoomFullscreenViewType(); String getZoomImageViewType(PageType view, ImageType image); boolean useOpenSeadragon(); List<String> getImageViewZoomScales(); List<String> getImageViewZoomScales(String view); List<String> getImageViewZoomScales(PageType view, ImageType image); Map<Integer, List<Integer>> getTileSizes(); Map<Integer, List<Integer>> getTileSizes(PageType view, ImageType image); SubnodeConfiguration getZoomImageViewConfig(PageType pageType, ImageType imageType); int getBreadcrumbsClipping(); boolean isDisplayTopstructLabel(); boolean getDisplayStructType(); int getSearchHitMetadataValueNumber(); int getSearchHitMetadataValueLength(); List<String> getWatermarkTextConfiguration(); String getWatermarkFormat(); boolean isOriginalContentDownload(); String getStopwordsFilePath(); String getPageType(PageType type); String getDocstructTargetPageType(String docstruct); String getPageTypeExitView(PageType type); int getFulltextPercentageWarningThreshold(); boolean isUseViewerLocaleAsRecordLanguage(); String getFeedbackEmailAddress(); boolean isBookmarksEnabled(); boolean isForceJpegConversion(); int getPageLoaderThreshold(); boolean isPreventProxyCaching(); boolean isSolrCompressionEnabled(); boolean isSolrBackwardsCompatible(); boolean isUserCommentsEnabled(); String getUserCommentsConditionalQuery(); List<String> getUserCommentsNotificationEmailAddresses(); String getViewerHome(); List<String> getWatermarkIdField(); String getSubthemeMainTheme(); String getSubthemeDiscriminatorField(); int getTagCloudSampleSize(String fieldName); List<StringPair> getTocVolumeSortFieldsForTemplate(String template); String getTocVolumeGroupFieldForTemplate(String template); boolean getDisplayTitleBreadcrumbs(); boolean isDisplayTitlePURL(); int getTitleBreadcrumbsMaxTitleLength(); boolean getIncludeAnchorInTitleBreadcrumbs(); boolean isDisplaySearchRssLinks(); boolean showThumbnailsInToc(); String getStartYearForTimeline(); String getEndYearForTimeline(); String getTimelineHits(); boolean isPiwikTrackingEnabled(); String getPiwikBaseURL(); String getPiwikSiteID(); boolean isSearchSavingEnabled(); boolean isBoostTopLevelDocstructs(); boolean isGroupDuplicateHits(); List<String> getRecordGroupIdentifierFields(); List<String> getAncestorIdentifierFields(); boolean isTocListSiblingRecords(); List<SearchFilter> getSearchFilters(); List<Map<String, String>> getWebApiFields(); String getDbPersistenceUnit(); boolean useCustomNavBar(); String getCmsTemplateFolder(); String getCmsMediaFolder(); String getTempMediaFolder(); List<String> getCmsClassifications(); int getCmsMediaDisplayWidth(); int getCmsMediaDisplayHeight(); boolean isTranskribusEnabled(); String getTranskribusUserName(); String getTranskribusPassword(); String getTranskribusDefaultCollection(); String getTranskribusRestApiUrl(); List<String> getTranskribusAllowedDocumentTypes(); int getTocIndentation(); boolean isPageBrowseEnabled(); List<Integer> getPageBrowseSteps(); String getTaskManagerServiceUrl(); String getTaskManagerRestUrl(); String getReCaptchaSiteKey(); boolean isUseReCaptcha(); boolean isSearchInItemEnabled(); String getDefaultBrowseIcon(String field); boolean isSearchExcelExportEnabled(); List<String> getSearchExcelExportFields(); int getExcelDownloadTimeout(); boolean isDisplayEmptyTocInSidebar(); boolean isDoublePageModeEnabled(); List<String> getRestrictedImageUrls(); List<String> getIIIFLicenses(); List<String> getIIIFMetadataFields(); List<String> getIIIFEventFields(); String getIIIFMetadataLabel(String field); int getIIIFDiscoveryAvtivitiesPerPage(); List<String> getIIIFLogo(); String getIIIFNavDateField(); List<String> getIIIFAttribution(); List<String> getIIIFDescriptionFields(); String getSitelinksField(); String getSitelinksFilterQuery(); List<String> getConfiguredCollections(); String getWebApiToken(); boolean isAllowRedirectCollectionToWork(); String getTwitterUserName(); float getLimitImageHeightUpperRatioThreshold(); float getLimitImageHeightLowerRatioThreshold(); boolean isLimitImageHeight(); boolean isAddCORSHeader(); String getCORSHeaderValue(); boolean isDiscloseImageContentLocation(); String getAccessConditionDisplayField(); String getCopyrightDisplayField(); boolean isDisplayCopyrightInfo(); boolean isDisplaySocialMediaShareLinks(); boolean isDisplayAnchorLabelInTitleBar(String template); String getAnchorLabelInTitleBarPrefix(String template); String getAnchorLabelInTitleBarSuffix(String template); String getMapBoxToken(); GeoMapMarker getGeoMapMarker(String name); List<String> getGeoMapMarkerFields(); List<GeoMapMarker> getGeoMapMarkers(); static GeoMapMarker readGeoMapMarker(HierarchicalConfiguration config); List<LicenseDescription> getLicenseDescriptions(); }
Configuration extends AbstractConfiguration { public boolean getSidebarTocPageNumbersVisible() { return this.getLocalBoolean("sidebar.sidebarToc.pageNumbersVisible", false); } Configuration(String configFilePath); Set<String> getStopwords(); boolean reloadingRequired(); String getConfigLocalPath(); String getLocalRessourceBundleFile(); int getViewerThumbnailsPerPage(); int getViewerMaxImageWidth(); int getViewerMaxImageHeight(); int getViewerMaxImageScale(); boolean isRememberImageZoom(); boolean isRememberImageRotation(); String getDfgViewerUrl(); String getConnectorVersionUrl(); List<Metadata> getTitleBarMetadata(); List<Metadata> getSearchHitMetadataForTemplate(String template); List<Metadata> getMainMetadataForTemplate(String template); List<Metadata> getSidebarMetadataForTemplate(String template); List<String> getNormdataFieldsForTemplate(String template); List<Metadata> getTocLabelConfiguration(String template); int getTocAnchorGroupElementsPerPage(); boolean isDisplaySidebarBrowsingTerms(); boolean isDisplaySidebarRssFeed(); boolean isDisplayWidgetUsage(); Metadata getWidgetUsageLicenceTextMetadata(); boolean isDisplaySidebarUsageWidgetLinkToJpegImage(); boolean isDisplaySidebarUsageWidgetLinkToMasterImage(); String getWidgetUsageMaxJpegSize(); String getWidgetUsageMaxMasterImageSize(); List<String> getCalendarDocStructTypes(); boolean isBrowsingMenuEnabled(); int getBrowsingMenuHitsPerPage(); List<BrowsingMenuFieldConfig> getBrowsingMenuFields(); String getBrowsingMenuSortingIgnoreLeadingChars(); String getDocstrctWhitelistFilterQuery(); String getCollectionSplittingChar(String field); List<DcSortingList> getCollectionSorting(String field); List<String> getCollectionBlacklist(String field); String getCollectionDefaultSortField(String field, String name); int getCollectionDisplayNumberOfVolumesLevel(String field); int getCollectionDisplayDepthForSearch(String field); String getCollectionHierarchyField(); boolean isAddCollectionHierarchyToBreadcrumbs(String field); String getSolrUrl(); String getContentServerWrapperUrl(); String getDownloadUrl(); String getRestApiUrl(); String getIIIFApiUrl(); boolean isUseIIIFApiUrlForCmsMediaUrls(); String getContentServerRealUrl(); String getMetsUrl(); String getMarcUrl(); String getDcUrl(); String getEseUrl(); List<Integer> getSearchHitsPerPageValues(); int getSearchHitsPerPageDefaultValue(); int getFulltextFragmentLength(); boolean isAdvancedSearchEnabled(); int getAdvancedSearchDefaultItemNumber(); List<AdvancedSearchFieldConfiguration> getAdvancedSearchFields(); boolean isAggregateHits(); boolean isDisplayAdditionalMetadataEnabled(); List<String> getDisplayAdditionalMetadataIgnoreFields(); List<String> getDisplayAdditionalMetadataTranslateFields(); boolean isAdvancedSearchFieldHierarchical(String field); boolean isAdvancedSearchFieldRange(String field); boolean isAdvancedSearchFieldUntokenizeForPhraseSearch(String field); String getAdvancedSearchFieldSeparatorLabel(String field); boolean isTimelineSearchEnabled(); boolean isCalendarSearchEnabled(); String getStaticQuerySuffix(); String getPreviousVersionIdentifierField(); String getNextVersionIdentifierField(); String getVersionLabelField(); String getIndexedMetsFolder(); String getIndexedLidoFolder(); String getIndexedDenkxwebFolder(); String getIndexedDublinCoreFolder(); String getPageSelectionFormat(); String getMediaFolder(); String getPdfFolder(); String getVocabulariesFolder(); String getOrigContentFolder(); String getCmsTextFolder(); String getAltoFolder(); String getAbbyyFolder(); String getFulltextFolder(); String getTeiFolder(); String getCmdiFolder(); String getWcFolder(); String getAnnotationFolder(); String getHotfolder(); @SuppressWarnings("static-method") String getTempFolder(); boolean isUrnDoRedirect(); boolean isUserRegistrationEnabled(); List<SecurityQuestion> getSecurityQuestions(); boolean isShowOpenIdConnect(); List<IAuthenticationProvider> getAuthenticationProviders(); String getSmtpServer(); String getSmtpUser(); String getSmtpPassword(); String getSmtpSenderAddress(); String getSmtpSenderName(); String getSmtpSecurity(); String getAnonymousUserEmailAddress(); boolean isDisplayCollectionBrowsing(); boolean isDisplayUserNavigation(); boolean isDisplayTagCloudNavigation(); boolean isDisplayStatistics(); boolean isDisplayTimeMatrix(); boolean isDisplayCrowdsourcingModuleLinks(); String getTheme(); String getThemeRootPath(); String getName(); String getDescription(); boolean isDisplayTagCloudStartpage(); boolean isDisplaySearchResultNavigation(); boolean isFoldout(String sidebarElement); boolean isSidebarPageViewLinkVisible(); boolean isSidebarCalendarViewLinkVisible(); boolean isSidebarTocViewLinkVisible(); boolean isSidebarThumbsViewLinkVisible(); boolean isSidebarMetadataViewLinkVisible(); boolean isShowSidebarEventMetadata(); boolean isShowRecordLabelIfNoOtherViews(); boolean isSidebarFulltextLinkVisible(); boolean isSidebarTocWidgetVisible(); boolean isSidebarTocWidgetVisibleInFullscreen(); boolean isSidebarOpacLinkVisible(); boolean getSidebarTocPageNumbersVisible(); int getSidebarTocLengthBeforeCut(); int getSidebarTocInitialCollapseLevel(); int getSidebarTocCollapseLengthThreshold(); int getSidebarTocLowestLevelToCollapseForLength(); boolean isSidebarTocTreeView(); boolean isTocTreeView(String docStructType); List<String> getAllDrillDownFields(); List<String> getDrillDownFields(); List<String> getHierarchicalDrillDownFields(); int getInitialDrillDownElementNumber(String field); String getSortOrder(String field); List<String> getPriorityValuesForDrillDownField(String field); String getLabelFieldForDrillDownField(String facetField); @SuppressWarnings("static-method") List<String> getRangeFacetFields(); boolean isSortingEnabled(); String getDefaultSortField(); List<String> getSortFields(); List<String> getStaticSortFields(); String getUrnResolverUrl(); int getUnconditionalImageAccessMaxWidth(); boolean isFullAccessForLocalhost(); boolean isGeneratePdfInTaskManager(); boolean isPdfApiDisabled(); boolean isTitlePdfEnabled(); boolean isTocPdfEnabled(); boolean isMetadataPdfEnabled(); boolean isPagePdfEnabled(); boolean isDocHierarchyPdfEnabled(); boolean isTitleEpubEnabled(); boolean isTocEpubEnabled(); boolean isMetadataEpubEnabled(); String getDownloadFolder(String type); int getRssFeedItems(); String getRssTitle(); String getRssDescription(); String getRssCopyrightText(); String getRulesetFilePath(); String getDefaultCollection(); int getThumbnailsWidth(); int getThumbnailsHeight(); int getThumbnailsCompression(); String getAnchorThumbnailMode(); int getMultivolumeThumbnailWidth(); int getMultivolumeThumbnailHeight(); boolean getDisplayBreadcrumbs(); boolean getDisplayMetadataPageLinkBlock(); boolean isAddDublinCoreMetaTags(); boolean isAddHighwirePressMetaTags(); int getMetadataParamNumber(); boolean useTiles(); boolean useTilesFullscreen(); boolean useTiles(PageType view, ImageType image); int getFooterHeight(); int getFullscreenFooterHeight(); int getFooterHeight(PageType view, ImageType image); String getImageViewType(); String getZoomFullscreenViewType(); String getZoomImageViewType(PageType view, ImageType image); boolean useOpenSeadragon(); List<String> getImageViewZoomScales(); List<String> getImageViewZoomScales(String view); List<String> getImageViewZoomScales(PageType view, ImageType image); Map<Integer, List<Integer>> getTileSizes(); Map<Integer, List<Integer>> getTileSizes(PageType view, ImageType image); SubnodeConfiguration getZoomImageViewConfig(PageType pageType, ImageType imageType); int getBreadcrumbsClipping(); boolean isDisplayTopstructLabel(); boolean getDisplayStructType(); int getSearchHitMetadataValueNumber(); int getSearchHitMetadataValueLength(); List<String> getWatermarkTextConfiguration(); String getWatermarkFormat(); boolean isOriginalContentDownload(); String getStopwordsFilePath(); String getPageType(PageType type); String getDocstructTargetPageType(String docstruct); String getPageTypeExitView(PageType type); int getFulltextPercentageWarningThreshold(); boolean isUseViewerLocaleAsRecordLanguage(); String getFeedbackEmailAddress(); boolean isBookmarksEnabled(); boolean isForceJpegConversion(); int getPageLoaderThreshold(); boolean isPreventProxyCaching(); boolean isSolrCompressionEnabled(); boolean isSolrBackwardsCompatible(); boolean isUserCommentsEnabled(); String getUserCommentsConditionalQuery(); List<String> getUserCommentsNotificationEmailAddresses(); String getViewerHome(); List<String> getWatermarkIdField(); String getSubthemeMainTheme(); String getSubthemeDiscriminatorField(); int getTagCloudSampleSize(String fieldName); List<StringPair> getTocVolumeSortFieldsForTemplate(String template); String getTocVolumeGroupFieldForTemplate(String template); boolean getDisplayTitleBreadcrumbs(); boolean isDisplayTitlePURL(); int getTitleBreadcrumbsMaxTitleLength(); boolean getIncludeAnchorInTitleBreadcrumbs(); boolean isDisplaySearchRssLinks(); boolean showThumbnailsInToc(); String getStartYearForTimeline(); String getEndYearForTimeline(); String getTimelineHits(); boolean isPiwikTrackingEnabled(); String getPiwikBaseURL(); String getPiwikSiteID(); boolean isSearchSavingEnabled(); boolean isBoostTopLevelDocstructs(); boolean isGroupDuplicateHits(); List<String> getRecordGroupIdentifierFields(); List<String> getAncestorIdentifierFields(); boolean isTocListSiblingRecords(); List<SearchFilter> getSearchFilters(); List<Map<String, String>> getWebApiFields(); String getDbPersistenceUnit(); boolean useCustomNavBar(); String getCmsTemplateFolder(); String getCmsMediaFolder(); String getTempMediaFolder(); List<String> getCmsClassifications(); int getCmsMediaDisplayWidth(); int getCmsMediaDisplayHeight(); boolean isTranskribusEnabled(); String getTranskribusUserName(); String getTranskribusPassword(); String getTranskribusDefaultCollection(); String getTranskribusRestApiUrl(); List<String> getTranskribusAllowedDocumentTypes(); int getTocIndentation(); boolean isPageBrowseEnabled(); List<Integer> getPageBrowseSteps(); String getTaskManagerServiceUrl(); String getTaskManagerRestUrl(); String getReCaptchaSiteKey(); boolean isUseReCaptcha(); boolean isSearchInItemEnabled(); String getDefaultBrowseIcon(String field); boolean isSearchExcelExportEnabled(); List<String> getSearchExcelExportFields(); int getExcelDownloadTimeout(); boolean isDisplayEmptyTocInSidebar(); boolean isDoublePageModeEnabled(); List<String> getRestrictedImageUrls(); List<String> getIIIFLicenses(); List<String> getIIIFMetadataFields(); List<String> getIIIFEventFields(); String getIIIFMetadataLabel(String field); int getIIIFDiscoveryAvtivitiesPerPage(); List<String> getIIIFLogo(); String getIIIFNavDateField(); List<String> getIIIFAttribution(); List<String> getIIIFDescriptionFields(); String getSitelinksField(); String getSitelinksFilterQuery(); List<String> getConfiguredCollections(); String getWebApiToken(); boolean isAllowRedirectCollectionToWork(); String getTwitterUserName(); float getLimitImageHeightUpperRatioThreshold(); float getLimitImageHeightLowerRatioThreshold(); boolean isLimitImageHeight(); boolean isAddCORSHeader(); String getCORSHeaderValue(); boolean isDiscloseImageContentLocation(); String getAccessConditionDisplayField(); String getCopyrightDisplayField(); boolean isDisplayCopyrightInfo(); boolean isDisplaySocialMediaShareLinks(); boolean isDisplayAnchorLabelInTitleBar(String template); String getAnchorLabelInTitleBarPrefix(String template); String getAnchorLabelInTitleBarSuffix(String template); String getMapBoxToken(); GeoMapMarker getGeoMapMarker(String name); List<String> getGeoMapMarkerFields(); List<GeoMapMarker> getGeoMapMarkers(); static GeoMapMarker readGeoMapMarker(HierarchicalConfiguration config); List<LicenseDescription> getLicenseDescriptions(); }
@Test public void isSidebarTocTreeView_shouldReturnCorrectValue() throws Exception { Assert.assertFalse(DataManager.getInstance().getConfiguration().isSidebarTocTreeView()); }
public boolean isSidebarTocTreeView() { return getLocalBoolean("sidebar.sidebarToc.useTreeView", true); }
Configuration extends AbstractConfiguration { public boolean isSidebarTocTreeView() { return getLocalBoolean("sidebar.sidebarToc.useTreeView", true); } }
Configuration extends AbstractConfiguration { public boolean isSidebarTocTreeView() { return getLocalBoolean("sidebar.sidebarToc.useTreeView", true); } Configuration(String configFilePath); }
Configuration extends AbstractConfiguration { public boolean isSidebarTocTreeView() { return getLocalBoolean("sidebar.sidebarToc.useTreeView", true); } Configuration(String configFilePath); Set<String> getStopwords(); boolean reloadingRequired(); String getConfigLocalPath(); String getLocalRessourceBundleFile(); int getViewerThumbnailsPerPage(); int getViewerMaxImageWidth(); int getViewerMaxImageHeight(); int getViewerMaxImageScale(); boolean isRememberImageZoom(); boolean isRememberImageRotation(); String getDfgViewerUrl(); String getConnectorVersionUrl(); List<Metadata> getTitleBarMetadata(); List<Metadata> getSearchHitMetadataForTemplate(String template); List<Metadata> getMainMetadataForTemplate(String template); List<Metadata> getSidebarMetadataForTemplate(String template); List<String> getNormdataFieldsForTemplate(String template); List<Metadata> getTocLabelConfiguration(String template); int getTocAnchorGroupElementsPerPage(); boolean isDisplaySidebarBrowsingTerms(); boolean isDisplaySidebarRssFeed(); boolean isDisplayWidgetUsage(); Metadata getWidgetUsageLicenceTextMetadata(); boolean isDisplaySidebarUsageWidgetLinkToJpegImage(); boolean isDisplaySidebarUsageWidgetLinkToMasterImage(); String getWidgetUsageMaxJpegSize(); String getWidgetUsageMaxMasterImageSize(); List<String> getCalendarDocStructTypes(); boolean isBrowsingMenuEnabled(); int getBrowsingMenuHitsPerPage(); List<BrowsingMenuFieldConfig> getBrowsingMenuFields(); String getBrowsingMenuSortingIgnoreLeadingChars(); String getDocstrctWhitelistFilterQuery(); String getCollectionSplittingChar(String field); List<DcSortingList> getCollectionSorting(String field); List<String> getCollectionBlacklist(String field); String getCollectionDefaultSortField(String field, String name); int getCollectionDisplayNumberOfVolumesLevel(String field); int getCollectionDisplayDepthForSearch(String field); String getCollectionHierarchyField(); boolean isAddCollectionHierarchyToBreadcrumbs(String field); String getSolrUrl(); String getContentServerWrapperUrl(); String getDownloadUrl(); String getRestApiUrl(); String getIIIFApiUrl(); boolean isUseIIIFApiUrlForCmsMediaUrls(); String getContentServerRealUrl(); String getMetsUrl(); String getMarcUrl(); String getDcUrl(); String getEseUrl(); List<Integer> getSearchHitsPerPageValues(); int getSearchHitsPerPageDefaultValue(); int getFulltextFragmentLength(); boolean isAdvancedSearchEnabled(); int getAdvancedSearchDefaultItemNumber(); List<AdvancedSearchFieldConfiguration> getAdvancedSearchFields(); boolean isAggregateHits(); boolean isDisplayAdditionalMetadataEnabled(); List<String> getDisplayAdditionalMetadataIgnoreFields(); List<String> getDisplayAdditionalMetadataTranslateFields(); boolean isAdvancedSearchFieldHierarchical(String field); boolean isAdvancedSearchFieldRange(String field); boolean isAdvancedSearchFieldUntokenizeForPhraseSearch(String field); String getAdvancedSearchFieldSeparatorLabel(String field); boolean isTimelineSearchEnabled(); boolean isCalendarSearchEnabled(); String getStaticQuerySuffix(); String getPreviousVersionIdentifierField(); String getNextVersionIdentifierField(); String getVersionLabelField(); String getIndexedMetsFolder(); String getIndexedLidoFolder(); String getIndexedDenkxwebFolder(); String getIndexedDublinCoreFolder(); String getPageSelectionFormat(); String getMediaFolder(); String getPdfFolder(); String getVocabulariesFolder(); String getOrigContentFolder(); String getCmsTextFolder(); String getAltoFolder(); String getAbbyyFolder(); String getFulltextFolder(); String getTeiFolder(); String getCmdiFolder(); String getWcFolder(); String getAnnotationFolder(); String getHotfolder(); @SuppressWarnings("static-method") String getTempFolder(); boolean isUrnDoRedirect(); boolean isUserRegistrationEnabled(); List<SecurityQuestion> getSecurityQuestions(); boolean isShowOpenIdConnect(); List<IAuthenticationProvider> getAuthenticationProviders(); String getSmtpServer(); String getSmtpUser(); String getSmtpPassword(); String getSmtpSenderAddress(); String getSmtpSenderName(); String getSmtpSecurity(); String getAnonymousUserEmailAddress(); boolean isDisplayCollectionBrowsing(); boolean isDisplayUserNavigation(); boolean isDisplayTagCloudNavigation(); boolean isDisplayStatistics(); boolean isDisplayTimeMatrix(); boolean isDisplayCrowdsourcingModuleLinks(); String getTheme(); String getThemeRootPath(); String getName(); String getDescription(); boolean isDisplayTagCloudStartpage(); boolean isDisplaySearchResultNavigation(); boolean isFoldout(String sidebarElement); boolean isSidebarPageViewLinkVisible(); boolean isSidebarCalendarViewLinkVisible(); boolean isSidebarTocViewLinkVisible(); boolean isSidebarThumbsViewLinkVisible(); boolean isSidebarMetadataViewLinkVisible(); boolean isShowSidebarEventMetadata(); boolean isShowRecordLabelIfNoOtherViews(); boolean isSidebarFulltextLinkVisible(); boolean isSidebarTocWidgetVisible(); boolean isSidebarTocWidgetVisibleInFullscreen(); boolean isSidebarOpacLinkVisible(); boolean getSidebarTocPageNumbersVisible(); int getSidebarTocLengthBeforeCut(); int getSidebarTocInitialCollapseLevel(); int getSidebarTocCollapseLengthThreshold(); int getSidebarTocLowestLevelToCollapseForLength(); boolean isSidebarTocTreeView(); boolean isTocTreeView(String docStructType); List<String> getAllDrillDownFields(); List<String> getDrillDownFields(); List<String> getHierarchicalDrillDownFields(); int getInitialDrillDownElementNumber(String field); String getSortOrder(String field); List<String> getPriorityValuesForDrillDownField(String field); String getLabelFieldForDrillDownField(String facetField); @SuppressWarnings("static-method") List<String> getRangeFacetFields(); boolean isSortingEnabled(); String getDefaultSortField(); List<String> getSortFields(); List<String> getStaticSortFields(); String getUrnResolverUrl(); int getUnconditionalImageAccessMaxWidth(); boolean isFullAccessForLocalhost(); boolean isGeneratePdfInTaskManager(); boolean isPdfApiDisabled(); boolean isTitlePdfEnabled(); boolean isTocPdfEnabled(); boolean isMetadataPdfEnabled(); boolean isPagePdfEnabled(); boolean isDocHierarchyPdfEnabled(); boolean isTitleEpubEnabled(); boolean isTocEpubEnabled(); boolean isMetadataEpubEnabled(); String getDownloadFolder(String type); int getRssFeedItems(); String getRssTitle(); String getRssDescription(); String getRssCopyrightText(); String getRulesetFilePath(); String getDefaultCollection(); int getThumbnailsWidth(); int getThumbnailsHeight(); int getThumbnailsCompression(); String getAnchorThumbnailMode(); int getMultivolumeThumbnailWidth(); int getMultivolumeThumbnailHeight(); boolean getDisplayBreadcrumbs(); boolean getDisplayMetadataPageLinkBlock(); boolean isAddDublinCoreMetaTags(); boolean isAddHighwirePressMetaTags(); int getMetadataParamNumber(); boolean useTiles(); boolean useTilesFullscreen(); boolean useTiles(PageType view, ImageType image); int getFooterHeight(); int getFullscreenFooterHeight(); int getFooterHeight(PageType view, ImageType image); String getImageViewType(); String getZoomFullscreenViewType(); String getZoomImageViewType(PageType view, ImageType image); boolean useOpenSeadragon(); List<String> getImageViewZoomScales(); List<String> getImageViewZoomScales(String view); List<String> getImageViewZoomScales(PageType view, ImageType image); Map<Integer, List<Integer>> getTileSizes(); Map<Integer, List<Integer>> getTileSizes(PageType view, ImageType image); SubnodeConfiguration getZoomImageViewConfig(PageType pageType, ImageType imageType); int getBreadcrumbsClipping(); boolean isDisplayTopstructLabel(); boolean getDisplayStructType(); int getSearchHitMetadataValueNumber(); int getSearchHitMetadataValueLength(); List<String> getWatermarkTextConfiguration(); String getWatermarkFormat(); boolean isOriginalContentDownload(); String getStopwordsFilePath(); String getPageType(PageType type); String getDocstructTargetPageType(String docstruct); String getPageTypeExitView(PageType type); int getFulltextPercentageWarningThreshold(); boolean isUseViewerLocaleAsRecordLanguage(); String getFeedbackEmailAddress(); boolean isBookmarksEnabled(); boolean isForceJpegConversion(); int getPageLoaderThreshold(); boolean isPreventProxyCaching(); boolean isSolrCompressionEnabled(); boolean isSolrBackwardsCompatible(); boolean isUserCommentsEnabled(); String getUserCommentsConditionalQuery(); List<String> getUserCommentsNotificationEmailAddresses(); String getViewerHome(); List<String> getWatermarkIdField(); String getSubthemeMainTheme(); String getSubthemeDiscriminatorField(); int getTagCloudSampleSize(String fieldName); List<StringPair> getTocVolumeSortFieldsForTemplate(String template); String getTocVolumeGroupFieldForTemplate(String template); boolean getDisplayTitleBreadcrumbs(); boolean isDisplayTitlePURL(); int getTitleBreadcrumbsMaxTitleLength(); boolean getIncludeAnchorInTitleBreadcrumbs(); boolean isDisplaySearchRssLinks(); boolean showThumbnailsInToc(); String getStartYearForTimeline(); String getEndYearForTimeline(); String getTimelineHits(); boolean isPiwikTrackingEnabled(); String getPiwikBaseURL(); String getPiwikSiteID(); boolean isSearchSavingEnabled(); boolean isBoostTopLevelDocstructs(); boolean isGroupDuplicateHits(); List<String> getRecordGroupIdentifierFields(); List<String> getAncestorIdentifierFields(); boolean isTocListSiblingRecords(); List<SearchFilter> getSearchFilters(); List<Map<String, String>> getWebApiFields(); String getDbPersistenceUnit(); boolean useCustomNavBar(); String getCmsTemplateFolder(); String getCmsMediaFolder(); String getTempMediaFolder(); List<String> getCmsClassifications(); int getCmsMediaDisplayWidth(); int getCmsMediaDisplayHeight(); boolean isTranskribusEnabled(); String getTranskribusUserName(); String getTranskribusPassword(); String getTranskribusDefaultCollection(); String getTranskribusRestApiUrl(); List<String> getTranskribusAllowedDocumentTypes(); int getTocIndentation(); boolean isPageBrowseEnabled(); List<Integer> getPageBrowseSteps(); String getTaskManagerServiceUrl(); String getTaskManagerRestUrl(); String getReCaptchaSiteKey(); boolean isUseReCaptcha(); boolean isSearchInItemEnabled(); String getDefaultBrowseIcon(String field); boolean isSearchExcelExportEnabled(); List<String> getSearchExcelExportFields(); int getExcelDownloadTimeout(); boolean isDisplayEmptyTocInSidebar(); boolean isDoublePageModeEnabled(); List<String> getRestrictedImageUrls(); List<String> getIIIFLicenses(); List<String> getIIIFMetadataFields(); List<String> getIIIFEventFields(); String getIIIFMetadataLabel(String field); int getIIIFDiscoveryAvtivitiesPerPage(); List<String> getIIIFLogo(); String getIIIFNavDateField(); List<String> getIIIFAttribution(); List<String> getIIIFDescriptionFields(); String getSitelinksField(); String getSitelinksFilterQuery(); List<String> getConfiguredCollections(); String getWebApiToken(); boolean isAllowRedirectCollectionToWork(); String getTwitterUserName(); float getLimitImageHeightUpperRatioThreshold(); float getLimitImageHeightLowerRatioThreshold(); boolean isLimitImageHeight(); boolean isAddCORSHeader(); String getCORSHeaderValue(); boolean isDiscloseImageContentLocation(); String getAccessConditionDisplayField(); String getCopyrightDisplayField(); boolean isDisplayCopyrightInfo(); boolean isDisplaySocialMediaShareLinks(); boolean isDisplayAnchorLabelInTitleBar(String template); String getAnchorLabelInTitleBarPrefix(String template); String getAnchorLabelInTitleBarSuffix(String template); String getMapBoxToken(); GeoMapMarker getGeoMapMarker(String name); List<String> getGeoMapMarkerFields(); List<GeoMapMarker> getGeoMapMarkers(); static GeoMapMarker readGeoMapMarker(HierarchicalConfiguration config); List<LicenseDescription> getLicenseDescriptions(); }
Configuration extends AbstractConfiguration { public boolean isSidebarTocTreeView() { return getLocalBoolean("sidebar.sidebarToc.useTreeView", true); } Configuration(String configFilePath); Set<String> getStopwords(); boolean reloadingRequired(); String getConfigLocalPath(); String getLocalRessourceBundleFile(); int getViewerThumbnailsPerPage(); int getViewerMaxImageWidth(); int getViewerMaxImageHeight(); int getViewerMaxImageScale(); boolean isRememberImageZoom(); boolean isRememberImageRotation(); String getDfgViewerUrl(); String getConnectorVersionUrl(); List<Metadata> getTitleBarMetadata(); List<Metadata> getSearchHitMetadataForTemplate(String template); List<Metadata> getMainMetadataForTemplate(String template); List<Metadata> getSidebarMetadataForTemplate(String template); List<String> getNormdataFieldsForTemplate(String template); List<Metadata> getTocLabelConfiguration(String template); int getTocAnchorGroupElementsPerPage(); boolean isDisplaySidebarBrowsingTerms(); boolean isDisplaySidebarRssFeed(); boolean isDisplayWidgetUsage(); Metadata getWidgetUsageLicenceTextMetadata(); boolean isDisplaySidebarUsageWidgetLinkToJpegImage(); boolean isDisplaySidebarUsageWidgetLinkToMasterImage(); String getWidgetUsageMaxJpegSize(); String getWidgetUsageMaxMasterImageSize(); List<String> getCalendarDocStructTypes(); boolean isBrowsingMenuEnabled(); int getBrowsingMenuHitsPerPage(); List<BrowsingMenuFieldConfig> getBrowsingMenuFields(); String getBrowsingMenuSortingIgnoreLeadingChars(); String getDocstrctWhitelistFilterQuery(); String getCollectionSplittingChar(String field); List<DcSortingList> getCollectionSorting(String field); List<String> getCollectionBlacklist(String field); String getCollectionDefaultSortField(String field, String name); int getCollectionDisplayNumberOfVolumesLevel(String field); int getCollectionDisplayDepthForSearch(String field); String getCollectionHierarchyField(); boolean isAddCollectionHierarchyToBreadcrumbs(String field); String getSolrUrl(); String getContentServerWrapperUrl(); String getDownloadUrl(); String getRestApiUrl(); String getIIIFApiUrl(); boolean isUseIIIFApiUrlForCmsMediaUrls(); String getContentServerRealUrl(); String getMetsUrl(); String getMarcUrl(); String getDcUrl(); String getEseUrl(); List<Integer> getSearchHitsPerPageValues(); int getSearchHitsPerPageDefaultValue(); int getFulltextFragmentLength(); boolean isAdvancedSearchEnabled(); int getAdvancedSearchDefaultItemNumber(); List<AdvancedSearchFieldConfiguration> getAdvancedSearchFields(); boolean isAggregateHits(); boolean isDisplayAdditionalMetadataEnabled(); List<String> getDisplayAdditionalMetadataIgnoreFields(); List<String> getDisplayAdditionalMetadataTranslateFields(); boolean isAdvancedSearchFieldHierarchical(String field); boolean isAdvancedSearchFieldRange(String field); boolean isAdvancedSearchFieldUntokenizeForPhraseSearch(String field); String getAdvancedSearchFieldSeparatorLabel(String field); boolean isTimelineSearchEnabled(); boolean isCalendarSearchEnabled(); String getStaticQuerySuffix(); String getPreviousVersionIdentifierField(); String getNextVersionIdentifierField(); String getVersionLabelField(); String getIndexedMetsFolder(); String getIndexedLidoFolder(); String getIndexedDenkxwebFolder(); String getIndexedDublinCoreFolder(); String getPageSelectionFormat(); String getMediaFolder(); String getPdfFolder(); String getVocabulariesFolder(); String getOrigContentFolder(); String getCmsTextFolder(); String getAltoFolder(); String getAbbyyFolder(); String getFulltextFolder(); String getTeiFolder(); String getCmdiFolder(); String getWcFolder(); String getAnnotationFolder(); String getHotfolder(); @SuppressWarnings("static-method") String getTempFolder(); boolean isUrnDoRedirect(); boolean isUserRegistrationEnabled(); List<SecurityQuestion> getSecurityQuestions(); boolean isShowOpenIdConnect(); List<IAuthenticationProvider> getAuthenticationProviders(); String getSmtpServer(); String getSmtpUser(); String getSmtpPassword(); String getSmtpSenderAddress(); String getSmtpSenderName(); String getSmtpSecurity(); String getAnonymousUserEmailAddress(); boolean isDisplayCollectionBrowsing(); boolean isDisplayUserNavigation(); boolean isDisplayTagCloudNavigation(); boolean isDisplayStatistics(); boolean isDisplayTimeMatrix(); boolean isDisplayCrowdsourcingModuleLinks(); String getTheme(); String getThemeRootPath(); String getName(); String getDescription(); boolean isDisplayTagCloudStartpage(); boolean isDisplaySearchResultNavigation(); boolean isFoldout(String sidebarElement); boolean isSidebarPageViewLinkVisible(); boolean isSidebarCalendarViewLinkVisible(); boolean isSidebarTocViewLinkVisible(); boolean isSidebarThumbsViewLinkVisible(); boolean isSidebarMetadataViewLinkVisible(); boolean isShowSidebarEventMetadata(); boolean isShowRecordLabelIfNoOtherViews(); boolean isSidebarFulltextLinkVisible(); boolean isSidebarTocWidgetVisible(); boolean isSidebarTocWidgetVisibleInFullscreen(); boolean isSidebarOpacLinkVisible(); boolean getSidebarTocPageNumbersVisible(); int getSidebarTocLengthBeforeCut(); int getSidebarTocInitialCollapseLevel(); int getSidebarTocCollapseLengthThreshold(); int getSidebarTocLowestLevelToCollapseForLength(); boolean isSidebarTocTreeView(); boolean isTocTreeView(String docStructType); List<String> getAllDrillDownFields(); List<String> getDrillDownFields(); List<String> getHierarchicalDrillDownFields(); int getInitialDrillDownElementNumber(String field); String getSortOrder(String field); List<String> getPriorityValuesForDrillDownField(String field); String getLabelFieldForDrillDownField(String facetField); @SuppressWarnings("static-method") List<String> getRangeFacetFields(); boolean isSortingEnabled(); String getDefaultSortField(); List<String> getSortFields(); List<String> getStaticSortFields(); String getUrnResolverUrl(); int getUnconditionalImageAccessMaxWidth(); boolean isFullAccessForLocalhost(); boolean isGeneratePdfInTaskManager(); boolean isPdfApiDisabled(); boolean isTitlePdfEnabled(); boolean isTocPdfEnabled(); boolean isMetadataPdfEnabled(); boolean isPagePdfEnabled(); boolean isDocHierarchyPdfEnabled(); boolean isTitleEpubEnabled(); boolean isTocEpubEnabled(); boolean isMetadataEpubEnabled(); String getDownloadFolder(String type); int getRssFeedItems(); String getRssTitle(); String getRssDescription(); String getRssCopyrightText(); String getRulesetFilePath(); String getDefaultCollection(); int getThumbnailsWidth(); int getThumbnailsHeight(); int getThumbnailsCompression(); String getAnchorThumbnailMode(); int getMultivolumeThumbnailWidth(); int getMultivolumeThumbnailHeight(); boolean getDisplayBreadcrumbs(); boolean getDisplayMetadataPageLinkBlock(); boolean isAddDublinCoreMetaTags(); boolean isAddHighwirePressMetaTags(); int getMetadataParamNumber(); boolean useTiles(); boolean useTilesFullscreen(); boolean useTiles(PageType view, ImageType image); int getFooterHeight(); int getFullscreenFooterHeight(); int getFooterHeight(PageType view, ImageType image); String getImageViewType(); String getZoomFullscreenViewType(); String getZoomImageViewType(PageType view, ImageType image); boolean useOpenSeadragon(); List<String> getImageViewZoomScales(); List<String> getImageViewZoomScales(String view); List<String> getImageViewZoomScales(PageType view, ImageType image); Map<Integer, List<Integer>> getTileSizes(); Map<Integer, List<Integer>> getTileSizes(PageType view, ImageType image); SubnodeConfiguration getZoomImageViewConfig(PageType pageType, ImageType imageType); int getBreadcrumbsClipping(); boolean isDisplayTopstructLabel(); boolean getDisplayStructType(); int getSearchHitMetadataValueNumber(); int getSearchHitMetadataValueLength(); List<String> getWatermarkTextConfiguration(); String getWatermarkFormat(); boolean isOriginalContentDownload(); String getStopwordsFilePath(); String getPageType(PageType type); String getDocstructTargetPageType(String docstruct); String getPageTypeExitView(PageType type); int getFulltextPercentageWarningThreshold(); boolean isUseViewerLocaleAsRecordLanguage(); String getFeedbackEmailAddress(); boolean isBookmarksEnabled(); boolean isForceJpegConversion(); int getPageLoaderThreshold(); boolean isPreventProxyCaching(); boolean isSolrCompressionEnabled(); boolean isSolrBackwardsCompatible(); boolean isUserCommentsEnabled(); String getUserCommentsConditionalQuery(); List<String> getUserCommentsNotificationEmailAddresses(); String getViewerHome(); List<String> getWatermarkIdField(); String getSubthemeMainTheme(); String getSubthemeDiscriminatorField(); int getTagCloudSampleSize(String fieldName); List<StringPair> getTocVolumeSortFieldsForTemplate(String template); String getTocVolumeGroupFieldForTemplate(String template); boolean getDisplayTitleBreadcrumbs(); boolean isDisplayTitlePURL(); int getTitleBreadcrumbsMaxTitleLength(); boolean getIncludeAnchorInTitleBreadcrumbs(); boolean isDisplaySearchRssLinks(); boolean showThumbnailsInToc(); String getStartYearForTimeline(); String getEndYearForTimeline(); String getTimelineHits(); boolean isPiwikTrackingEnabled(); String getPiwikBaseURL(); String getPiwikSiteID(); boolean isSearchSavingEnabled(); boolean isBoostTopLevelDocstructs(); boolean isGroupDuplicateHits(); List<String> getRecordGroupIdentifierFields(); List<String> getAncestorIdentifierFields(); boolean isTocListSiblingRecords(); List<SearchFilter> getSearchFilters(); List<Map<String, String>> getWebApiFields(); String getDbPersistenceUnit(); boolean useCustomNavBar(); String getCmsTemplateFolder(); String getCmsMediaFolder(); String getTempMediaFolder(); List<String> getCmsClassifications(); int getCmsMediaDisplayWidth(); int getCmsMediaDisplayHeight(); boolean isTranskribusEnabled(); String getTranskribusUserName(); String getTranskribusPassword(); String getTranskribusDefaultCollection(); String getTranskribusRestApiUrl(); List<String> getTranskribusAllowedDocumentTypes(); int getTocIndentation(); boolean isPageBrowseEnabled(); List<Integer> getPageBrowseSteps(); String getTaskManagerServiceUrl(); String getTaskManagerRestUrl(); String getReCaptchaSiteKey(); boolean isUseReCaptcha(); boolean isSearchInItemEnabled(); String getDefaultBrowseIcon(String field); boolean isSearchExcelExportEnabled(); List<String> getSearchExcelExportFields(); int getExcelDownloadTimeout(); boolean isDisplayEmptyTocInSidebar(); boolean isDoublePageModeEnabled(); List<String> getRestrictedImageUrls(); List<String> getIIIFLicenses(); List<String> getIIIFMetadataFields(); List<String> getIIIFEventFields(); String getIIIFMetadataLabel(String field); int getIIIFDiscoveryAvtivitiesPerPage(); List<String> getIIIFLogo(); String getIIIFNavDateField(); List<String> getIIIFAttribution(); List<String> getIIIFDescriptionFields(); String getSitelinksField(); String getSitelinksFilterQuery(); List<String> getConfiguredCollections(); String getWebApiToken(); boolean isAllowRedirectCollectionToWork(); String getTwitterUserName(); float getLimitImageHeightUpperRatioThreshold(); float getLimitImageHeightLowerRatioThreshold(); boolean isLimitImageHeight(); boolean isAddCORSHeader(); String getCORSHeaderValue(); boolean isDiscloseImageContentLocation(); String getAccessConditionDisplayField(); String getCopyrightDisplayField(); boolean isDisplayCopyrightInfo(); boolean isDisplaySocialMediaShareLinks(); boolean isDisplayAnchorLabelInTitleBar(String template); String getAnchorLabelInTitleBarPrefix(String template); String getAnchorLabelInTitleBarSuffix(String template); String getMapBoxToken(); GeoMapMarker getGeoMapMarker(String name); List<String> getGeoMapMarkerFields(); List<GeoMapMarker> getGeoMapMarkers(); static GeoMapMarker readGeoMapMarker(HierarchicalConfiguration config); List<LicenseDescription> getLicenseDescriptions(); }
@Test public void getRelevantLicenseTypesOnly_shouldRemoveLicenseTypesWhoseConditionQueryExcludesTheGivenPi() throws Exception { List<LicenseType> allLicenseTypes = new ArrayList<>(); LicenseType lt = new LicenseType(); allLicenseTypes.add(lt); lt.setName("type1"); lt.setConditions("+" + SolrConstants.PI_TOPSTRUCT + ":unknownidentifier"); lt = new LicenseType(); allLicenseTypes.add(lt); lt.setName("type2"); lt.setConditions("+" + SolrConstants.PI_TOPSTRUCT + ":PPN517154005"); lt = new LicenseType(); allLicenseTypes.add(lt); lt.setName("type3"); Set<String> recordAccessConditions = new HashSet<>(); recordAccessConditions.add("type1"); recordAccessConditions.add("type2"); recordAccessConditions.add("type3"); Map<String, List<LicenseType>> ret = AccessConditionUtils.getRelevantLicenseTypesOnly(allLicenseTypes, recordAccessConditions, "+" + SolrConstants.PI_TOPSTRUCT + ":PPN517154005", Collections.singletonMap("", Boolean.FALSE)); Assert.assertNotNull(ret); Assert.assertNotNull(ret.get("")); Assert.assertEquals(2, ret.get("").size()); Assert.assertEquals("type2", ret.get("").get(0).getName()); Assert.assertEquals("type3", ret.get("").get(1).getName()); }
static Map<String, List<LicenseType>> getRelevantLicenseTypesOnly(List<LicenseType> allLicenseTypes, Set<String> requiredAccessConditions, String query, Map<String, Boolean> accessMap) throws IndexUnreachableException, PresentationException { if (requiredAccessConditions == null || requiredAccessConditions.isEmpty()) { return accessMap.keySet().stream().collect(Collectors.toMap(Function.identity(), key -> Collections.emptyList())); } Map<String, List<LicenseType>> ret = new HashMap<>(accessMap.size()); for (LicenseType licenseType : allLicenseTypes) { if (!requiredAccessConditions.contains(licenseType.getName())) { continue; } if (StringUtils.isNotEmpty(licenseType.getProcessedConditions()) && StringUtils.isNotEmpty(query)) { String conditions = licenseType.getProcessedConditions(); StringBuilder sbQuery = new StringBuilder().append("+(").append(query).append(')'); if (conditions.charAt(0) == '-' || conditions.charAt(0) == '+') { sbQuery.append(' ').append(conditions); } else { sbQuery.append(" +(").append(conditions).append(')'); } logger.trace("License relevance query: {}", sbQuery.toString()); if (DataManager.getInstance().getSearchIndex().getHitCount(sbQuery.toString()) == 0) { if (licenseType.isMovingWall()) { logger.trace( "License type '{}' is a moving wall type and its condition query doesn't match the record query '{}'. All restrictions lifted.", licenseType.getName(), query); licenseType.getRestrictionsExpired().put(query, true); } else { continue; } } logger.trace("LicenseType '{}' applies to resource described by '{}' due to configured license subquery.", licenseType.getName(), query); } String filenameConditions = licenseType.getFilenameConditions(); if (StringUtils.isNotBlank(filenameConditions)) { for (String path : accessMap.keySet()) { if (StringUtils.isNotBlank(path)) { List<LicenseType> types = ret.get(path); if (types == null) { types = new ArrayList<>(); ret.put(path, types); } if (Pattern.matches(licenseType.getFilenameConditions(), Paths.get(path).getFileName().toString())) { types.add(licenseType); } } } } else { for (String key : accessMap.keySet()) { List<LicenseType> types = ret.get(key); if (types == null) { types = new ArrayList<>(); ret.put(key, types); } types.add(licenseType); } } } return ret; }
AccessConditionUtils { static Map<String, List<LicenseType>> getRelevantLicenseTypesOnly(List<LicenseType> allLicenseTypes, Set<String> requiredAccessConditions, String query, Map<String, Boolean> accessMap) throws IndexUnreachableException, PresentationException { if (requiredAccessConditions == null || requiredAccessConditions.isEmpty()) { return accessMap.keySet().stream().collect(Collectors.toMap(Function.identity(), key -> Collections.emptyList())); } Map<String, List<LicenseType>> ret = new HashMap<>(accessMap.size()); for (LicenseType licenseType : allLicenseTypes) { if (!requiredAccessConditions.contains(licenseType.getName())) { continue; } if (StringUtils.isNotEmpty(licenseType.getProcessedConditions()) && StringUtils.isNotEmpty(query)) { String conditions = licenseType.getProcessedConditions(); StringBuilder sbQuery = new StringBuilder().append("+(").append(query).append(')'); if (conditions.charAt(0) == '-' || conditions.charAt(0) == '+') { sbQuery.append(' ').append(conditions); } else { sbQuery.append(" +(").append(conditions).append(')'); } logger.trace("License relevance query: {}", sbQuery.toString()); if (DataManager.getInstance().getSearchIndex().getHitCount(sbQuery.toString()) == 0) { if (licenseType.isMovingWall()) { logger.trace( "License type '{}' is a moving wall type and its condition query doesn't match the record query '{}'. All restrictions lifted.", licenseType.getName(), query); licenseType.getRestrictionsExpired().put(query, true); } else { continue; } } logger.trace("LicenseType '{}' applies to resource described by '{}' due to configured license subquery.", licenseType.getName(), query); } String filenameConditions = licenseType.getFilenameConditions(); if (StringUtils.isNotBlank(filenameConditions)) { for (String path : accessMap.keySet()) { if (StringUtils.isNotBlank(path)) { List<LicenseType> types = ret.get(path); if (types == null) { types = new ArrayList<>(); ret.put(path, types); } if (Pattern.matches(licenseType.getFilenameConditions(), Paths.get(path).getFileName().toString())) { types.add(licenseType); } } } } else { for (String key : accessMap.keySet()) { List<LicenseType> types = ret.get(key); if (types == null) { types = new ArrayList<>(); ret.put(key, types); } types.add(licenseType); } } } return ret; } }
AccessConditionUtils { static Map<String, List<LicenseType>> getRelevantLicenseTypesOnly(List<LicenseType> allLicenseTypes, Set<String> requiredAccessConditions, String query, Map<String, Boolean> accessMap) throws IndexUnreachableException, PresentationException { if (requiredAccessConditions == null || requiredAccessConditions.isEmpty()) { return accessMap.keySet().stream().collect(Collectors.toMap(Function.identity(), key -> Collections.emptyList())); } Map<String, List<LicenseType>> ret = new HashMap<>(accessMap.size()); for (LicenseType licenseType : allLicenseTypes) { if (!requiredAccessConditions.contains(licenseType.getName())) { continue; } if (StringUtils.isNotEmpty(licenseType.getProcessedConditions()) && StringUtils.isNotEmpty(query)) { String conditions = licenseType.getProcessedConditions(); StringBuilder sbQuery = new StringBuilder().append("+(").append(query).append(')'); if (conditions.charAt(0) == '-' || conditions.charAt(0) == '+') { sbQuery.append(' ').append(conditions); } else { sbQuery.append(" +(").append(conditions).append(')'); } logger.trace("License relevance query: {}", sbQuery.toString()); if (DataManager.getInstance().getSearchIndex().getHitCount(sbQuery.toString()) == 0) { if (licenseType.isMovingWall()) { logger.trace( "License type '{}' is a moving wall type and its condition query doesn't match the record query '{}'. All restrictions lifted.", licenseType.getName(), query); licenseType.getRestrictionsExpired().put(query, true); } else { continue; } } logger.trace("LicenseType '{}' applies to resource described by '{}' due to configured license subquery.", licenseType.getName(), query); } String filenameConditions = licenseType.getFilenameConditions(); if (StringUtils.isNotBlank(filenameConditions)) { for (String path : accessMap.keySet()) { if (StringUtils.isNotBlank(path)) { List<LicenseType> types = ret.get(path); if (types == null) { types = new ArrayList<>(); ret.put(path, types); } if (Pattern.matches(licenseType.getFilenameConditions(), Paths.get(path).getFileName().toString())) { types.add(licenseType); } } } } else { for (String key : accessMap.keySet()) { List<LicenseType> types = ret.get(key); if (types == null) { types = new ArrayList<>(); ret.put(key, types); } types.add(licenseType); } } } return ret; } }
AccessConditionUtils { static Map<String, List<LicenseType>> getRelevantLicenseTypesOnly(List<LicenseType> allLicenseTypes, Set<String> requiredAccessConditions, String query, Map<String, Boolean> accessMap) throws IndexUnreachableException, PresentationException { if (requiredAccessConditions == null || requiredAccessConditions.isEmpty()) { return accessMap.keySet().stream().collect(Collectors.toMap(Function.identity(), key -> Collections.emptyList())); } Map<String, List<LicenseType>> ret = new HashMap<>(accessMap.size()); for (LicenseType licenseType : allLicenseTypes) { if (!requiredAccessConditions.contains(licenseType.getName())) { continue; } if (StringUtils.isNotEmpty(licenseType.getProcessedConditions()) && StringUtils.isNotEmpty(query)) { String conditions = licenseType.getProcessedConditions(); StringBuilder sbQuery = new StringBuilder().append("+(").append(query).append(')'); if (conditions.charAt(0) == '-' || conditions.charAt(0) == '+') { sbQuery.append(' ').append(conditions); } else { sbQuery.append(" +(").append(conditions).append(')'); } logger.trace("License relevance query: {}", sbQuery.toString()); if (DataManager.getInstance().getSearchIndex().getHitCount(sbQuery.toString()) == 0) { if (licenseType.isMovingWall()) { logger.trace( "License type '{}' is a moving wall type and its condition query doesn't match the record query '{}'. All restrictions lifted.", licenseType.getName(), query); licenseType.getRestrictionsExpired().put(query, true); } else { continue; } } logger.trace("LicenseType '{}' applies to resource described by '{}' due to configured license subquery.", licenseType.getName(), query); } String filenameConditions = licenseType.getFilenameConditions(); if (StringUtils.isNotBlank(filenameConditions)) { for (String path : accessMap.keySet()) { if (StringUtils.isNotBlank(path)) { List<LicenseType> types = ret.get(path); if (types == null) { types = new ArrayList<>(); ret.put(path, types); } if (Pattern.matches(licenseType.getFilenameConditions(), Paths.get(path).getFileName().toString())) { types.add(licenseType); } } } } else { for (String key : accessMap.keySet()) { List<LicenseType> types = ret.get(key); if (types == null) { types = new ArrayList<>(); ret.put(key, types); } types.add(licenseType); } } } return ret; } static boolean checkAccess(HttpServletRequest request, String action, String pi, String contentFileName, boolean isThumbnail); static boolean checkAccessPermissionByIdentifierAndLogId(String identifier, String logId, String privilegeName, HttpServletRequest request); @SuppressWarnings("unchecked") static Map<String, Boolean> checkAccessPermissionByIdentiferForAllLogids(String identifier, String privilegeName, HttpServletRequest request); @SuppressWarnings("unchecked") static Map<String, Boolean> checkContentFileAccessPermission(String identifier, HttpServletRequest request, List<Path> files); static boolean checkAccessPermissionByImageUrn(String imageUrn, String privilegeName, HttpServletRequest request); static boolean checkAccessPermission(Set<String> requiredAccessConditions, String privilegeName, String query, HttpServletRequest request); static boolean checkAccessPermissionForImage(HttpServletRequest request, String pi, String contentFileName); static boolean checkAccessPermissionForThumbnail(HttpServletRequest request, String pi, String contentFileName); static boolean checkAccessPermissionForPagePdf(HttpServletRequest request, PhysicalElement page); static boolean checkAccessPermissionByIdentifierAndFilePathWithSessionMap(HttpServletRequest request, String filePath, String privilegeType); @SuppressWarnings("unchecked") static boolean checkAccessPermissionByIdentifierAndFileNameWithSessionMap(HttpServletRequest request, String pi, String contentFileName, String privilegeType); static boolean checkAccessPermission(List<LicenseType> allLicenseTypes, Set<String> requiredAccessConditions, String privilegeName, User user, String remoteAddress, String query); static boolean isFreeOpenAccess(Set<String> requiredAccessConditions, Collection<LicenseType> allLicenseTypes); static int getPdfDownloadQuotaForRecord(String pi); static boolean isConcurrentViewsLimitEnabledForAnyAccessCondition(List<String> accessConditions); }
AccessConditionUtils { static Map<String, List<LicenseType>> getRelevantLicenseTypesOnly(List<LicenseType> allLicenseTypes, Set<String> requiredAccessConditions, String query, Map<String, Boolean> accessMap) throws IndexUnreachableException, PresentationException { if (requiredAccessConditions == null || requiredAccessConditions.isEmpty()) { return accessMap.keySet().stream().collect(Collectors.toMap(Function.identity(), key -> Collections.emptyList())); } Map<String, List<LicenseType>> ret = new HashMap<>(accessMap.size()); for (LicenseType licenseType : allLicenseTypes) { if (!requiredAccessConditions.contains(licenseType.getName())) { continue; } if (StringUtils.isNotEmpty(licenseType.getProcessedConditions()) && StringUtils.isNotEmpty(query)) { String conditions = licenseType.getProcessedConditions(); StringBuilder sbQuery = new StringBuilder().append("+(").append(query).append(')'); if (conditions.charAt(0) == '-' || conditions.charAt(0) == '+') { sbQuery.append(' ').append(conditions); } else { sbQuery.append(" +(").append(conditions).append(')'); } logger.trace("License relevance query: {}", sbQuery.toString()); if (DataManager.getInstance().getSearchIndex().getHitCount(sbQuery.toString()) == 0) { if (licenseType.isMovingWall()) { logger.trace( "License type '{}' is a moving wall type and its condition query doesn't match the record query '{}'. All restrictions lifted.", licenseType.getName(), query); licenseType.getRestrictionsExpired().put(query, true); } else { continue; } } logger.trace("LicenseType '{}' applies to resource described by '{}' due to configured license subquery.", licenseType.getName(), query); } String filenameConditions = licenseType.getFilenameConditions(); if (StringUtils.isNotBlank(filenameConditions)) { for (String path : accessMap.keySet()) { if (StringUtils.isNotBlank(path)) { List<LicenseType> types = ret.get(path); if (types == null) { types = new ArrayList<>(); ret.put(path, types); } if (Pattern.matches(licenseType.getFilenameConditions(), Paths.get(path).getFileName().toString())) { types.add(licenseType); } } } } else { for (String key : accessMap.keySet()) { List<LicenseType> types = ret.get(key); if (types == null) { types = new ArrayList<>(); ret.put(key, types); } types.add(licenseType); } } } return ret; } static boolean checkAccess(HttpServletRequest request, String action, String pi, String contentFileName, boolean isThumbnail); static boolean checkAccessPermissionByIdentifierAndLogId(String identifier, String logId, String privilegeName, HttpServletRequest request); @SuppressWarnings("unchecked") static Map<String, Boolean> checkAccessPermissionByIdentiferForAllLogids(String identifier, String privilegeName, HttpServletRequest request); @SuppressWarnings("unchecked") static Map<String, Boolean> checkContentFileAccessPermission(String identifier, HttpServletRequest request, List<Path> files); static boolean checkAccessPermissionByImageUrn(String imageUrn, String privilegeName, HttpServletRequest request); static boolean checkAccessPermission(Set<String> requiredAccessConditions, String privilegeName, String query, HttpServletRequest request); static boolean checkAccessPermissionForImage(HttpServletRequest request, String pi, String contentFileName); static boolean checkAccessPermissionForThumbnail(HttpServletRequest request, String pi, String contentFileName); static boolean checkAccessPermissionForPagePdf(HttpServletRequest request, PhysicalElement page); static boolean checkAccessPermissionByIdentifierAndFilePathWithSessionMap(HttpServletRequest request, String filePath, String privilegeType); @SuppressWarnings("unchecked") static boolean checkAccessPermissionByIdentifierAndFileNameWithSessionMap(HttpServletRequest request, String pi, String contentFileName, String privilegeType); static boolean checkAccessPermission(List<LicenseType> allLicenseTypes, Set<String> requiredAccessConditions, String privilegeName, User user, String remoteAddress, String query); static boolean isFreeOpenAccess(Set<String> requiredAccessConditions, Collection<LicenseType> allLicenseTypes); static int getPdfDownloadQuotaForRecord(String pi); static boolean isConcurrentViewsLimitEnabledForAnyAccessCondition(List<String> accessConditions); }
@Test public void isTocTreeView_shouldReturnTrueForAllowedDocstructs() throws Exception { Assert.assertTrue(DataManager.getInstance().getConfiguration().isTocTreeView("Monograph")); Assert.assertTrue(DataManager.getInstance().getConfiguration().isTocTreeView("Manuscript")); Assert.assertTrue(DataManager.getInstance().getConfiguration().isTocTreeView("MusicSupplies")); }
public boolean isTocTreeView(String docStructType) { HierarchicalConfiguration hc = getLocalConfigurationAt("toc.useTreeView"); String docStructTypes = hc.getString("[@showDocStructs]"); boolean allowed = hc.getBoolean("."); if (!allowed) { logger.trace("Tree view disabled"); return false; } if (docStructTypes != null) { String[] docStructTypesSplit = docStructTypes.split(";"); for (String dst : docStructTypesSplit) { if (dst.equals("_ALL") || dst.equals(docStructType)) { logger.trace("Tree view for {} allowed", docStructType); return true; } } } return false; }
Configuration extends AbstractConfiguration { public boolean isTocTreeView(String docStructType) { HierarchicalConfiguration hc = getLocalConfigurationAt("toc.useTreeView"); String docStructTypes = hc.getString("[@showDocStructs]"); boolean allowed = hc.getBoolean("."); if (!allowed) { logger.trace("Tree view disabled"); return false; } if (docStructTypes != null) { String[] docStructTypesSplit = docStructTypes.split(";"); for (String dst : docStructTypesSplit) { if (dst.equals("_ALL") || dst.equals(docStructType)) { logger.trace("Tree view for {} allowed", docStructType); return true; } } } return false; } }
Configuration extends AbstractConfiguration { public boolean isTocTreeView(String docStructType) { HierarchicalConfiguration hc = getLocalConfigurationAt("toc.useTreeView"); String docStructTypes = hc.getString("[@showDocStructs]"); boolean allowed = hc.getBoolean("."); if (!allowed) { logger.trace("Tree view disabled"); return false; } if (docStructTypes != null) { String[] docStructTypesSplit = docStructTypes.split(";"); for (String dst : docStructTypesSplit) { if (dst.equals("_ALL") || dst.equals(docStructType)) { logger.trace("Tree view for {} allowed", docStructType); return true; } } } return false; } Configuration(String configFilePath); }
Configuration extends AbstractConfiguration { public boolean isTocTreeView(String docStructType) { HierarchicalConfiguration hc = getLocalConfigurationAt("toc.useTreeView"); String docStructTypes = hc.getString("[@showDocStructs]"); boolean allowed = hc.getBoolean("."); if (!allowed) { logger.trace("Tree view disabled"); return false; } if (docStructTypes != null) { String[] docStructTypesSplit = docStructTypes.split(";"); for (String dst : docStructTypesSplit) { if (dst.equals("_ALL") || dst.equals(docStructType)) { logger.trace("Tree view for {} allowed", docStructType); return true; } } } return false; } Configuration(String configFilePath); Set<String> getStopwords(); boolean reloadingRequired(); String getConfigLocalPath(); String getLocalRessourceBundleFile(); int getViewerThumbnailsPerPage(); int getViewerMaxImageWidth(); int getViewerMaxImageHeight(); int getViewerMaxImageScale(); boolean isRememberImageZoom(); boolean isRememberImageRotation(); String getDfgViewerUrl(); String getConnectorVersionUrl(); List<Metadata> getTitleBarMetadata(); List<Metadata> getSearchHitMetadataForTemplate(String template); List<Metadata> getMainMetadataForTemplate(String template); List<Metadata> getSidebarMetadataForTemplate(String template); List<String> getNormdataFieldsForTemplate(String template); List<Metadata> getTocLabelConfiguration(String template); int getTocAnchorGroupElementsPerPage(); boolean isDisplaySidebarBrowsingTerms(); boolean isDisplaySidebarRssFeed(); boolean isDisplayWidgetUsage(); Metadata getWidgetUsageLicenceTextMetadata(); boolean isDisplaySidebarUsageWidgetLinkToJpegImage(); boolean isDisplaySidebarUsageWidgetLinkToMasterImage(); String getWidgetUsageMaxJpegSize(); String getWidgetUsageMaxMasterImageSize(); List<String> getCalendarDocStructTypes(); boolean isBrowsingMenuEnabled(); int getBrowsingMenuHitsPerPage(); List<BrowsingMenuFieldConfig> getBrowsingMenuFields(); String getBrowsingMenuSortingIgnoreLeadingChars(); String getDocstrctWhitelistFilterQuery(); String getCollectionSplittingChar(String field); List<DcSortingList> getCollectionSorting(String field); List<String> getCollectionBlacklist(String field); String getCollectionDefaultSortField(String field, String name); int getCollectionDisplayNumberOfVolumesLevel(String field); int getCollectionDisplayDepthForSearch(String field); String getCollectionHierarchyField(); boolean isAddCollectionHierarchyToBreadcrumbs(String field); String getSolrUrl(); String getContentServerWrapperUrl(); String getDownloadUrl(); String getRestApiUrl(); String getIIIFApiUrl(); boolean isUseIIIFApiUrlForCmsMediaUrls(); String getContentServerRealUrl(); String getMetsUrl(); String getMarcUrl(); String getDcUrl(); String getEseUrl(); List<Integer> getSearchHitsPerPageValues(); int getSearchHitsPerPageDefaultValue(); int getFulltextFragmentLength(); boolean isAdvancedSearchEnabled(); int getAdvancedSearchDefaultItemNumber(); List<AdvancedSearchFieldConfiguration> getAdvancedSearchFields(); boolean isAggregateHits(); boolean isDisplayAdditionalMetadataEnabled(); List<String> getDisplayAdditionalMetadataIgnoreFields(); List<String> getDisplayAdditionalMetadataTranslateFields(); boolean isAdvancedSearchFieldHierarchical(String field); boolean isAdvancedSearchFieldRange(String field); boolean isAdvancedSearchFieldUntokenizeForPhraseSearch(String field); String getAdvancedSearchFieldSeparatorLabel(String field); boolean isTimelineSearchEnabled(); boolean isCalendarSearchEnabled(); String getStaticQuerySuffix(); String getPreviousVersionIdentifierField(); String getNextVersionIdentifierField(); String getVersionLabelField(); String getIndexedMetsFolder(); String getIndexedLidoFolder(); String getIndexedDenkxwebFolder(); String getIndexedDublinCoreFolder(); String getPageSelectionFormat(); String getMediaFolder(); String getPdfFolder(); String getVocabulariesFolder(); String getOrigContentFolder(); String getCmsTextFolder(); String getAltoFolder(); String getAbbyyFolder(); String getFulltextFolder(); String getTeiFolder(); String getCmdiFolder(); String getWcFolder(); String getAnnotationFolder(); String getHotfolder(); @SuppressWarnings("static-method") String getTempFolder(); boolean isUrnDoRedirect(); boolean isUserRegistrationEnabled(); List<SecurityQuestion> getSecurityQuestions(); boolean isShowOpenIdConnect(); List<IAuthenticationProvider> getAuthenticationProviders(); String getSmtpServer(); String getSmtpUser(); String getSmtpPassword(); String getSmtpSenderAddress(); String getSmtpSenderName(); String getSmtpSecurity(); String getAnonymousUserEmailAddress(); boolean isDisplayCollectionBrowsing(); boolean isDisplayUserNavigation(); boolean isDisplayTagCloudNavigation(); boolean isDisplayStatistics(); boolean isDisplayTimeMatrix(); boolean isDisplayCrowdsourcingModuleLinks(); String getTheme(); String getThemeRootPath(); String getName(); String getDescription(); boolean isDisplayTagCloudStartpage(); boolean isDisplaySearchResultNavigation(); boolean isFoldout(String sidebarElement); boolean isSidebarPageViewLinkVisible(); boolean isSidebarCalendarViewLinkVisible(); boolean isSidebarTocViewLinkVisible(); boolean isSidebarThumbsViewLinkVisible(); boolean isSidebarMetadataViewLinkVisible(); boolean isShowSidebarEventMetadata(); boolean isShowRecordLabelIfNoOtherViews(); boolean isSidebarFulltextLinkVisible(); boolean isSidebarTocWidgetVisible(); boolean isSidebarTocWidgetVisibleInFullscreen(); boolean isSidebarOpacLinkVisible(); boolean getSidebarTocPageNumbersVisible(); int getSidebarTocLengthBeforeCut(); int getSidebarTocInitialCollapseLevel(); int getSidebarTocCollapseLengthThreshold(); int getSidebarTocLowestLevelToCollapseForLength(); boolean isSidebarTocTreeView(); boolean isTocTreeView(String docStructType); List<String> getAllDrillDownFields(); List<String> getDrillDownFields(); List<String> getHierarchicalDrillDownFields(); int getInitialDrillDownElementNumber(String field); String getSortOrder(String field); List<String> getPriorityValuesForDrillDownField(String field); String getLabelFieldForDrillDownField(String facetField); @SuppressWarnings("static-method") List<String> getRangeFacetFields(); boolean isSortingEnabled(); String getDefaultSortField(); List<String> getSortFields(); List<String> getStaticSortFields(); String getUrnResolverUrl(); int getUnconditionalImageAccessMaxWidth(); boolean isFullAccessForLocalhost(); boolean isGeneratePdfInTaskManager(); boolean isPdfApiDisabled(); boolean isTitlePdfEnabled(); boolean isTocPdfEnabled(); boolean isMetadataPdfEnabled(); boolean isPagePdfEnabled(); boolean isDocHierarchyPdfEnabled(); boolean isTitleEpubEnabled(); boolean isTocEpubEnabled(); boolean isMetadataEpubEnabled(); String getDownloadFolder(String type); int getRssFeedItems(); String getRssTitle(); String getRssDescription(); String getRssCopyrightText(); String getRulesetFilePath(); String getDefaultCollection(); int getThumbnailsWidth(); int getThumbnailsHeight(); int getThumbnailsCompression(); String getAnchorThumbnailMode(); int getMultivolumeThumbnailWidth(); int getMultivolumeThumbnailHeight(); boolean getDisplayBreadcrumbs(); boolean getDisplayMetadataPageLinkBlock(); boolean isAddDublinCoreMetaTags(); boolean isAddHighwirePressMetaTags(); int getMetadataParamNumber(); boolean useTiles(); boolean useTilesFullscreen(); boolean useTiles(PageType view, ImageType image); int getFooterHeight(); int getFullscreenFooterHeight(); int getFooterHeight(PageType view, ImageType image); String getImageViewType(); String getZoomFullscreenViewType(); String getZoomImageViewType(PageType view, ImageType image); boolean useOpenSeadragon(); List<String> getImageViewZoomScales(); List<String> getImageViewZoomScales(String view); List<String> getImageViewZoomScales(PageType view, ImageType image); Map<Integer, List<Integer>> getTileSizes(); Map<Integer, List<Integer>> getTileSizes(PageType view, ImageType image); SubnodeConfiguration getZoomImageViewConfig(PageType pageType, ImageType imageType); int getBreadcrumbsClipping(); boolean isDisplayTopstructLabel(); boolean getDisplayStructType(); int getSearchHitMetadataValueNumber(); int getSearchHitMetadataValueLength(); List<String> getWatermarkTextConfiguration(); String getWatermarkFormat(); boolean isOriginalContentDownload(); String getStopwordsFilePath(); String getPageType(PageType type); String getDocstructTargetPageType(String docstruct); String getPageTypeExitView(PageType type); int getFulltextPercentageWarningThreshold(); boolean isUseViewerLocaleAsRecordLanguage(); String getFeedbackEmailAddress(); boolean isBookmarksEnabled(); boolean isForceJpegConversion(); int getPageLoaderThreshold(); boolean isPreventProxyCaching(); boolean isSolrCompressionEnabled(); boolean isSolrBackwardsCompatible(); boolean isUserCommentsEnabled(); String getUserCommentsConditionalQuery(); List<String> getUserCommentsNotificationEmailAddresses(); String getViewerHome(); List<String> getWatermarkIdField(); String getSubthemeMainTheme(); String getSubthemeDiscriminatorField(); int getTagCloudSampleSize(String fieldName); List<StringPair> getTocVolumeSortFieldsForTemplate(String template); String getTocVolumeGroupFieldForTemplate(String template); boolean getDisplayTitleBreadcrumbs(); boolean isDisplayTitlePURL(); int getTitleBreadcrumbsMaxTitleLength(); boolean getIncludeAnchorInTitleBreadcrumbs(); boolean isDisplaySearchRssLinks(); boolean showThumbnailsInToc(); String getStartYearForTimeline(); String getEndYearForTimeline(); String getTimelineHits(); boolean isPiwikTrackingEnabled(); String getPiwikBaseURL(); String getPiwikSiteID(); boolean isSearchSavingEnabled(); boolean isBoostTopLevelDocstructs(); boolean isGroupDuplicateHits(); List<String> getRecordGroupIdentifierFields(); List<String> getAncestorIdentifierFields(); boolean isTocListSiblingRecords(); List<SearchFilter> getSearchFilters(); List<Map<String, String>> getWebApiFields(); String getDbPersistenceUnit(); boolean useCustomNavBar(); String getCmsTemplateFolder(); String getCmsMediaFolder(); String getTempMediaFolder(); List<String> getCmsClassifications(); int getCmsMediaDisplayWidth(); int getCmsMediaDisplayHeight(); boolean isTranskribusEnabled(); String getTranskribusUserName(); String getTranskribusPassword(); String getTranskribusDefaultCollection(); String getTranskribusRestApiUrl(); List<String> getTranskribusAllowedDocumentTypes(); int getTocIndentation(); boolean isPageBrowseEnabled(); List<Integer> getPageBrowseSteps(); String getTaskManagerServiceUrl(); String getTaskManagerRestUrl(); String getReCaptchaSiteKey(); boolean isUseReCaptcha(); boolean isSearchInItemEnabled(); String getDefaultBrowseIcon(String field); boolean isSearchExcelExportEnabled(); List<String> getSearchExcelExportFields(); int getExcelDownloadTimeout(); boolean isDisplayEmptyTocInSidebar(); boolean isDoublePageModeEnabled(); List<String> getRestrictedImageUrls(); List<String> getIIIFLicenses(); List<String> getIIIFMetadataFields(); List<String> getIIIFEventFields(); String getIIIFMetadataLabel(String field); int getIIIFDiscoveryAvtivitiesPerPage(); List<String> getIIIFLogo(); String getIIIFNavDateField(); List<String> getIIIFAttribution(); List<String> getIIIFDescriptionFields(); String getSitelinksField(); String getSitelinksFilterQuery(); List<String> getConfiguredCollections(); String getWebApiToken(); boolean isAllowRedirectCollectionToWork(); String getTwitterUserName(); float getLimitImageHeightUpperRatioThreshold(); float getLimitImageHeightLowerRatioThreshold(); boolean isLimitImageHeight(); boolean isAddCORSHeader(); String getCORSHeaderValue(); boolean isDiscloseImageContentLocation(); String getAccessConditionDisplayField(); String getCopyrightDisplayField(); boolean isDisplayCopyrightInfo(); boolean isDisplaySocialMediaShareLinks(); boolean isDisplayAnchorLabelInTitleBar(String template); String getAnchorLabelInTitleBarPrefix(String template); String getAnchorLabelInTitleBarSuffix(String template); String getMapBoxToken(); GeoMapMarker getGeoMapMarker(String name); List<String> getGeoMapMarkerFields(); List<GeoMapMarker> getGeoMapMarkers(); static GeoMapMarker readGeoMapMarker(HierarchicalConfiguration config); List<LicenseDescription> getLicenseDescriptions(); }
Configuration extends AbstractConfiguration { public boolean isTocTreeView(String docStructType) { HierarchicalConfiguration hc = getLocalConfigurationAt("toc.useTreeView"); String docStructTypes = hc.getString("[@showDocStructs]"); boolean allowed = hc.getBoolean("."); if (!allowed) { logger.trace("Tree view disabled"); return false; } if (docStructTypes != null) { String[] docStructTypesSplit = docStructTypes.split(";"); for (String dst : docStructTypesSplit) { if (dst.equals("_ALL") || dst.equals(docStructType)) { logger.trace("Tree view for {} allowed", docStructType); return true; } } } return false; } Configuration(String configFilePath); Set<String> getStopwords(); boolean reloadingRequired(); String getConfigLocalPath(); String getLocalRessourceBundleFile(); int getViewerThumbnailsPerPage(); int getViewerMaxImageWidth(); int getViewerMaxImageHeight(); int getViewerMaxImageScale(); boolean isRememberImageZoom(); boolean isRememberImageRotation(); String getDfgViewerUrl(); String getConnectorVersionUrl(); List<Metadata> getTitleBarMetadata(); List<Metadata> getSearchHitMetadataForTemplate(String template); List<Metadata> getMainMetadataForTemplate(String template); List<Metadata> getSidebarMetadataForTemplate(String template); List<String> getNormdataFieldsForTemplate(String template); List<Metadata> getTocLabelConfiguration(String template); int getTocAnchorGroupElementsPerPage(); boolean isDisplaySidebarBrowsingTerms(); boolean isDisplaySidebarRssFeed(); boolean isDisplayWidgetUsage(); Metadata getWidgetUsageLicenceTextMetadata(); boolean isDisplaySidebarUsageWidgetLinkToJpegImage(); boolean isDisplaySidebarUsageWidgetLinkToMasterImage(); String getWidgetUsageMaxJpegSize(); String getWidgetUsageMaxMasterImageSize(); List<String> getCalendarDocStructTypes(); boolean isBrowsingMenuEnabled(); int getBrowsingMenuHitsPerPage(); List<BrowsingMenuFieldConfig> getBrowsingMenuFields(); String getBrowsingMenuSortingIgnoreLeadingChars(); String getDocstrctWhitelistFilterQuery(); String getCollectionSplittingChar(String field); List<DcSortingList> getCollectionSorting(String field); List<String> getCollectionBlacklist(String field); String getCollectionDefaultSortField(String field, String name); int getCollectionDisplayNumberOfVolumesLevel(String field); int getCollectionDisplayDepthForSearch(String field); String getCollectionHierarchyField(); boolean isAddCollectionHierarchyToBreadcrumbs(String field); String getSolrUrl(); String getContentServerWrapperUrl(); String getDownloadUrl(); String getRestApiUrl(); String getIIIFApiUrl(); boolean isUseIIIFApiUrlForCmsMediaUrls(); String getContentServerRealUrl(); String getMetsUrl(); String getMarcUrl(); String getDcUrl(); String getEseUrl(); List<Integer> getSearchHitsPerPageValues(); int getSearchHitsPerPageDefaultValue(); int getFulltextFragmentLength(); boolean isAdvancedSearchEnabled(); int getAdvancedSearchDefaultItemNumber(); List<AdvancedSearchFieldConfiguration> getAdvancedSearchFields(); boolean isAggregateHits(); boolean isDisplayAdditionalMetadataEnabled(); List<String> getDisplayAdditionalMetadataIgnoreFields(); List<String> getDisplayAdditionalMetadataTranslateFields(); boolean isAdvancedSearchFieldHierarchical(String field); boolean isAdvancedSearchFieldRange(String field); boolean isAdvancedSearchFieldUntokenizeForPhraseSearch(String field); String getAdvancedSearchFieldSeparatorLabel(String field); boolean isTimelineSearchEnabled(); boolean isCalendarSearchEnabled(); String getStaticQuerySuffix(); String getPreviousVersionIdentifierField(); String getNextVersionIdentifierField(); String getVersionLabelField(); String getIndexedMetsFolder(); String getIndexedLidoFolder(); String getIndexedDenkxwebFolder(); String getIndexedDublinCoreFolder(); String getPageSelectionFormat(); String getMediaFolder(); String getPdfFolder(); String getVocabulariesFolder(); String getOrigContentFolder(); String getCmsTextFolder(); String getAltoFolder(); String getAbbyyFolder(); String getFulltextFolder(); String getTeiFolder(); String getCmdiFolder(); String getWcFolder(); String getAnnotationFolder(); String getHotfolder(); @SuppressWarnings("static-method") String getTempFolder(); boolean isUrnDoRedirect(); boolean isUserRegistrationEnabled(); List<SecurityQuestion> getSecurityQuestions(); boolean isShowOpenIdConnect(); List<IAuthenticationProvider> getAuthenticationProviders(); String getSmtpServer(); String getSmtpUser(); String getSmtpPassword(); String getSmtpSenderAddress(); String getSmtpSenderName(); String getSmtpSecurity(); String getAnonymousUserEmailAddress(); boolean isDisplayCollectionBrowsing(); boolean isDisplayUserNavigation(); boolean isDisplayTagCloudNavigation(); boolean isDisplayStatistics(); boolean isDisplayTimeMatrix(); boolean isDisplayCrowdsourcingModuleLinks(); String getTheme(); String getThemeRootPath(); String getName(); String getDescription(); boolean isDisplayTagCloudStartpage(); boolean isDisplaySearchResultNavigation(); boolean isFoldout(String sidebarElement); boolean isSidebarPageViewLinkVisible(); boolean isSidebarCalendarViewLinkVisible(); boolean isSidebarTocViewLinkVisible(); boolean isSidebarThumbsViewLinkVisible(); boolean isSidebarMetadataViewLinkVisible(); boolean isShowSidebarEventMetadata(); boolean isShowRecordLabelIfNoOtherViews(); boolean isSidebarFulltextLinkVisible(); boolean isSidebarTocWidgetVisible(); boolean isSidebarTocWidgetVisibleInFullscreen(); boolean isSidebarOpacLinkVisible(); boolean getSidebarTocPageNumbersVisible(); int getSidebarTocLengthBeforeCut(); int getSidebarTocInitialCollapseLevel(); int getSidebarTocCollapseLengthThreshold(); int getSidebarTocLowestLevelToCollapseForLength(); boolean isSidebarTocTreeView(); boolean isTocTreeView(String docStructType); List<String> getAllDrillDownFields(); List<String> getDrillDownFields(); List<String> getHierarchicalDrillDownFields(); int getInitialDrillDownElementNumber(String field); String getSortOrder(String field); List<String> getPriorityValuesForDrillDownField(String field); String getLabelFieldForDrillDownField(String facetField); @SuppressWarnings("static-method") List<String> getRangeFacetFields(); boolean isSortingEnabled(); String getDefaultSortField(); List<String> getSortFields(); List<String> getStaticSortFields(); String getUrnResolverUrl(); int getUnconditionalImageAccessMaxWidth(); boolean isFullAccessForLocalhost(); boolean isGeneratePdfInTaskManager(); boolean isPdfApiDisabled(); boolean isTitlePdfEnabled(); boolean isTocPdfEnabled(); boolean isMetadataPdfEnabled(); boolean isPagePdfEnabled(); boolean isDocHierarchyPdfEnabled(); boolean isTitleEpubEnabled(); boolean isTocEpubEnabled(); boolean isMetadataEpubEnabled(); String getDownloadFolder(String type); int getRssFeedItems(); String getRssTitle(); String getRssDescription(); String getRssCopyrightText(); String getRulesetFilePath(); String getDefaultCollection(); int getThumbnailsWidth(); int getThumbnailsHeight(); int getThumbnailsCompression(); String getAnchorThumbnailMode(); int getMultivolumeThumbnailWidth(); int getMultivolumeThumbnailHeight(); boolean getDisplayBreadcrumbs(); boolean getDisplayMetadataPageLinkBlock(); boolean isAddDublinCoreMetaTags(); boolean isAddHighwirePressMetaTags(); int getMetadataParamNumber(); boolean useTiles(); boolean useTilesFullscreen(); boolean useTiles(PageType view, ImageType image); int getFooterHeight(); int getFullscreenFooterHeight(); int getFooterHeight(PageType view, ImageType image); String getImageViewType(); String getZoomFullscreenViewType(); String getZoomImageViewType(PageType view, ImageType image); boolean useOpenSeadragon(); List<String> getImageViewZoomScales(); List<String> getImageViewZoomScales(String view); List<String> getImageViewZoomScales(PageType view, ImageType image); Map<Integer, List<Integer>> getTileSizes(); Map<Integer, List<Integer>> getTileSizes(PageType view, ImageType image); SubnodeConfiguration getZoomImageViewConfig(PageType pageType, ImageType imageType); int getBreadcrumbsClipping(); boolean isDisplayTopstructLabel(); boolean getDisplayStructType(); int getSearchHitMetadataValueNumber(); int getSearchHitMetadataValueLength(); List<String> getWatermarkTextConfiguration(); String getWatermarkFormat(); boolean isOriginalContentDownload(); String getStopwordsFilePath(); String getPageType(PageType type); String getDocstructTargetPageType(String docstruct); String getPageTypeExitView(PageType type); int getFulltextPercentageWarningThreshold(); boolean isUseViewerLocaleAsRecordLanguage(); String getFeedbackEmailAddress(); boolean isBookmarksEnabled(); boolean isForceJpegConversion(); int getPageLoaderThreshold(); boolean isPreventProxyCaching(); boolean isSolrCompressionEnabled(); boolean isSolrBackwardsCompatible(); boolean isUserCommentsEnabled(); String getUserCommentsConditionalQuery(); List<String> getUserCommentsNotificationEmailAddresses(); String getViewerHome(); List<String> getWatermarkIdField(); String getSubthemeMainTheme(); String getSubthemeDiscriminatorField(); int getTagCloudSampleSize(String fieldName); List<StringPair> getTocVolumeSortFieldsForTemplate(String template); String getTocVolumeGroupFieldForTemplate(String template); boolean getDisplayTitleBreadcrumbs(); boolean isDisplayTitlePURL(); int getTitleBreadcrumbsMaxTitleLength(); boolean getIncludeAnchorInTitleBreadcrumbs(); boolean isDisplaySearchRssLinks(); boolean showThumbnailsInToc(); String getStartYearForTimeline(); String getEndYearForTimeline(); String getTimelineHits(); boolean isPiwikTrackingEnabled(); String getPiwikBaseURL(); String getPiwikSiteID(); boolean isSearchSavingEnabled(); boolean isBoostTopLevelDocstructs(); boolean isGroupDuplicateHits(); List<String> getRecordGroupIdentifierFields(); List<String> getAncestorIdentifierFields(); boolean isTocListSiblingRecords(); List<SearchFilter> getSearchFilters(); List<Map<String, String>> getWebApiFields(); String getDbPersistenceUnit(); boolean useCustomNavBar(); String getCmsTemplateFolder(); String getCmsMediaFolder(); String getTempMediaFolder(); List<String> getCmsClassifications(); int getCmsMediaDisplayWidth(); int getCmsMediaDisplayHeight(); boolean isTranskribusEnabled(); String getTranskribusUserName(); String getTranskribusPassword(); String getTranskribusDefaultCollection(); String getTranskribusRestApiUrl(); List<String> getTranskribusAllowedDocumentTypes(); int getTocIndentation(); boolean isPageBrowseEnabled(); List<Integer> getPageBrowseSteps(); String getTaskManagerServiceUrl(); String getTaskManagerRestUrl(); String getReCaptchaSiteKey(); boolean isUseReCaptcha(); boolean isSearchInItemEnabled(); String getDefaultBrowseIcon(String field); boolean isSearchExcelExportEnabled(); List<String> getSearchExcelExportFields(); int getExcelDownloadTimeout(); boolean isDisplayEmptyTocInSidebar(); boolean isDoublePageModeEnabled(); List<String> getRestrictedImageUrls(); List<String> getIIIFLicenses(); List<String> getIIIFMetadataFields(); List<String> getIIIFEventFields(); String getIIIFMetadataLabel(String field); int getIIIFDiscoveryAvtivitiesPerPage(); List<String> getIIIFLogo(); String getIIIFNavDateField(); List<String> getIIIFAttribution(); List<String> getIIIFDescriptionFields(); String getSitelinksField(); String getSitelinksFilterQuery(); List<String> getConfiguredCollections(); String getWebApiToken(); boolean isAllowRedirectCollectionToWork(); String getTwitterUserName(); float getLimitImageHeightUpperRatioThreshold(); float getLimitImageHeightLowerRatioThreshold(); boolean isLimitImageHeight(); boolean isAddCORSHeader(); String getCORSHeaderValue(); boolean isDiscloseImageContentLocation(); String getAccessConditionDisplayField(); String getCopyrightDisplayField(); boolean isDisplayCopyrightInfo(); boolean isDisplaySocialMediaShareLinks(); boolean isDisplayAnchorLabelInTitleBar(String template); String getAnchorLabelInTitleBarPrefix(String template); String getAnchorLabelInTitleBarSuffix(String template); String getMapBoxToken(); GeoMapMarker getGeoMapMarker(String name); List<String> getGeoMapMarkerFields(); List<GeoMapMarker> getGeoMapMarkers(); static GeoMapMarker readGeoMapMarker(HierarchicalConfiguration config); List<LicenseDescription> getLicenseDescriptions(); }
@Test public void isTocTreeView_shouldReturnFalseForOtherDocstructs() throws Exception { Assert.assertFalse(DataManager.getInstance().getConfiguration().isTocTreeView("Volume")); }
public boolean isTocTreeView(String docStructType) { HierarchicalConfiguration hc = getLocalConfigurationAt("toc.useTreeView"); String docStructTypes = hc.getString("[@showDocStructs]"); boolean allowed = hc.getBoolean("."); if (!allowed) { logger.trace("Tree view disabled"); return false; } if (docStructTypes != null) { String[] docStructTypesSplit = docStructTypes.split(";"); for (String dst : docStructTypesSplit) { if (dst.equals("_ALL") || dst.equals(docStructType)) { logger.trace("Tree view for {} allowed", docStructType); return true; } } } return false; }
Configuration extends AbstractConfiguration { public boolean isTocTreeView(String docStructType) { HierarchicalConfiguration hc = getLocalConfigurationAt("toc.useTreeView"); String docStructTypes = hc.getString("[@showDocStructs]"); boolean allowed = hc.getBoolean("."); if (!allowed) { logger.trace("Tree view disabled"); return false; } if (docStructTypes != null) { String[] docStructTypesSplit = docStructTypes.split(";"); for (String dst : docStructTypesSplit) { if (dst.equals("_ALL") || dst.equals(docStructType)) { logger.trace("Tree view for {} allowed", docStructType); return true; } } } return false; } }
Configuration extends AbstractConfiguration { public boolean isTocTreeView(String docStructType) { HierarchicalConfiguration hc = getLocalConfigurationAt("toc.useTreeView"); String docStructTypes = hc.getString("[@showDocStructs]"); boolean allowed = hc.getBoolean("."); if (!allowed) { logger.trace("Tree view disabled"); return false; } if (docStructTypes != null) { String[] docStructTypesSplit = docStructTypes.split(";"); for (String dst : docStructTypesSplit) { if (dst.equals("_ALL") || dst.equals(docStructType)) { logger.trace("Tree view for {} allowed", docStructType); return true; } } } return false; } Configuration(String configFilePath); }
Configuration extends AbstractConfiguration { public boolean isTocTreeView(String docStructType) { HierarchicalConfiguration hc = getLocalConfigurationAt("toc.useTreeView"); String docStructTypes = hc.getString("[@showDocStructs]"); boolean allowed = hc.getBoolean("."); if (!allowed) { logger.trace("Tree view disabled"); return false; } if (docStructTypes != null) { String[] docStructTypesSplit = docStructTypes.split(";"); for (String dst : docStructTypesSplit) { if (dst.equals("_ALL") || dst.equals(docStructType)) { logger.trace("Tree view for {} allowed", docStructType); return true; } } } return false; } Configuration(String configFilePath); Set<String> getStopwords(); boolean reloadingRequired(); String getConfigLocalPath(); String getLocalRessourceBundleFile(); int getViewerThumbnailsPerPage(); int getViewerMaxImageWidth(); int getViewerMaxImageHeight(); int getViewerMaxImageScale(); boolean isRememberImageZoom(); boolean isRememberImageRotation(); String getDfgViewerUrl(); String getConnectorVersionUrl(); List<Metadata> getTitleBarMetadata(); List<Metadata> getSearchHitMetadataForTemplate(String template); List<Metadata> getMainMetadataForTemplate(String template); List<Metadata> getSidebarMetadataForTemplate(String template); List<String> getNormdataFieldsForTemplate(String template); List<Metadata> getTocLabelConfiguration(String template); int getTocAnchorGroupElementsPerPage(); boolean isDisplaySidebarBrowsingTerms(); boolean isDisplaySidebarRssFeed(); boolean isDisplayWidgetUsage(); Metadata getWidgetUsageLicenceTextMetadata(); boolean isDisplaySidebarUsageWidgetLinkToJpegImage(); boolean isDisplaySidebarUsageWidgetLinkToMasterImage(); String getWidgetUsageMaxJpegSize(); String getWidgetUsageMaxMasterImageSize(); List<String> getCalendarDocStructTypes(); boolean isBrowsingMenuEnabled(); int getBrowsingMenuHitsPerPage(); List<BrowsingMenuFieldConfig> getBrowsingMenuFields(); String getBrowsingMenuSortingIgnoreLeadingChars(); String getDocstrctWhitelistFilterQuery(); String getCollectionSplittingChar(String field); List<DcSortingList> getCollectionSorting(String field); List<String> getCollectionBlacklist(String field); String getCollectionDefaultSortField(String field, String name); int getCollectionDisplayNumberOfVolumesLevel(String field); int getCollectionDisplayDepthForSearch(String field); String getCollectionHierarchyField(); boolean isAddCollectionHierarchyToBreadcrumbs(String field); String getSolrUrl(); String getContentServerWrapperUrl(); String getDownloadUrl(); String getRestApiUrl(); String getIIIFApiUrl(); boolean isUseIIIFApiUrlForCmsMediaUrls(); String getContentServerRealUrl(); String getMetsUrl(); String getMarcUrl(); String getDcUrl(); String getEseUrl(); List<Integer> getSearchHitsPerPageValues(); int getSearchHitsPerPageDefaultValue(); int getFulltextFragmentLength(); boolean isAdvancedSearchEnabled(); int getAdvancedSearchDefaultItemNumber(); List<AdvancedSearchFieldConfiguration> getAdvancedSearchFields(); boolean isAggregateHits(); boolean isDisplayAdditionalMetadataEnabled(); List<String> getDisplayAdditionalMetadataIgnoreFields(); List<String> getDisplayAdditionalMetadataTranslateFields(); boolean isAdvancedSearchFieldHierarchical(String field); boolean isAdvancedSearchFieldRange(String field); boolean isAdvancedSearchFieldUntokenizeForPhraseSearch(String field); String getAdvancedSearchFieldSeparatorLabel(String field); boolean isTimelineSearchEnabled(); boolean isCalendarSearchEnabled(); String getStaticQuerySuffix(); String getPreviousVersionIdentifierField(); String getNextVersionIdentifierField(); String getVersionLabelField(); String getIndexedMetsFolder(); String getIndexedLidoFolder(); String getIndexedDenkxwebFolder(); String getIndexedDublinCoreFolder(); String getPageSelectionFormat(); String getMediaFolder(); String getPdfFolder(); String getVocabulariesFolder(); String getOrigContentFolder(); String getCmsTextFolder(); String getAltoFolder(); String getAbbyyFolder(); String getFulltextFolder(); String getTeiFolder(); String getCmdiFolder(); String getWcFolder(); String getAnnotationFolder(); String getHotfolder(); @SuppressWarnings("static-method") String getTempFolder(); boolean isUrnDoRedirect(); boolean isUserRegistrationEnabled(); List<SecurityQuestion> getSecurityQuestions(); boolean isShowOpenIdConnect(); List<IAuthenticationProvider> getAuthenticationProviders(); String getSmtpServer(); String getSmtpUser(); String getSmtpPassword(); String getSmtpSenderAddress(); String getSmtpSenderName(); String getSmtpSecurity(); String getAnonymousUserEmailAddress(); boolean isDisplayCollectionBrowsing(); boolean isDisplayUserNavigation(); boolean isDisplayTagCloudNavigation(); boolean isDisplayStatistics(); boolean isDisplayTimeMatrix(); boolean isDisplayCrowdsourcingModuleLinks(); String getTheme(); String getThemeRootPath(); String getName(); String getDescription(); boolean isDisplayTagCloudStartpage(); boolean isDisplaySearchResultNavigation(); boolean isFoldout(String sidebarElement); boolean isSidebarPageViewLinkVisible(); boolean isSidebarCalendarViewLinkVisible(); boolean isSidebarTocViewLinkVisible(); boolean isSidebarThumbsViewLinkVisible(); boolean isSidebarMetadataViewLinkVisible(); boolean isShowSidebarEventMetadata(); boolean isShowRecordLabelIfNoOtherViews(); boolean isSidebarFulltextLinkVisible(); boolean isSidebarTocWidgetVisible(); boolean isSidebarTocWidgetVisibleInFullscreen(); boolean isSidebarOpacLinkVisible(); boolean getSidebarTocPageNumbersVisible(); int getSidebarTocLengthBeforeCut(); int getSidebarTocInitialCollapseLevel(); int getSidebarTocCollapseLengthThreshold(); int getSidebarTocLowestLevelToCollapseForLength(); boolean isSidebarTocTreeView(); boolean isTocTreeView(String docStructType); List<String> getAllDrillDownFields(); List<String> getDrillDownFields(); List<String> getHierarchicalDrillDownFields(); int getInitialDrillDownElementNumber(String field); String getSortOrder(String field); List<String> getPriorityValuesForDrillDownField(String field); String getLabelFieldForDrillDownField(String facetField); @SuppressWarnings("static-method") List<String> getRangeFacetFields(); boolean isSortingEnabled(); String getDefaultSortField(); List<String> getSortFields(); List<String> getStaticSortFields(); String getUrnResolverUrl(); int getUnconditionalImageAccessMaxWidth(); boolean isFullAccessForLocalhost(); boolean isGeneratePdfInTaskManager(); boolean isPdfApiDisabled(); boolean isTitlePdfEnabled(); boolean isTocPdfEnabled(); boolean isMetadataPdfEnabled(); boolean isPagePdfEnabled(); boolean isDocHierarchyPdfEnabled(); boolean isTitleEpubEnabled(); boolean isTocEpubEnabled(); boolean isMetadataEpubEnabled(); String getDownloadFolder(String type); int getRssFeedItems(); String getRssTitle(); String getRssDescription(); String getRssCopyrightText(); String getRulesetFilePath(); String getDefaultCollection(); int getThumbnailsWidth(); int getThumbnailsHeight(); int getThumbnailsCompression(); String getAnchorThumbnailMode(); int getMultivolumeThumbnailWidth(); int getMultivolumeThumbnailHeight(); boolean getDisplayBreadcrumbs(); boolean getDisplayMetadataPageLinkBlock(); boolean isAddDublinCoreMetaTags(); boolean isAddHighwirePressMetaTags(); int getMetadataParamNumber(); boolean useTiles(); boolean useTilesFullscreen(); boolean useTiles(PageType view, ImageType image); int getFooterHeight(); int getFullscreenFooterHeight(); int getFooterHeight(PageType view, ImageType image); String getImageViewType(); String getZoomFullscreenViewType(); String getZoomImageViewType(PageType view, ImageType image); boolean useOpenSeadragon(); List<String> getImageViewZoomScales(); List<String> getImageViewZoomScales(String view); List<String> getImageViewZoomScales(PageType view, ImageType image); Map<Integer, List<Integer>> getTileSizes(); Map<Integer, List<Integer>> getTileSizes(PageType view, ImageType image); SubnodeConfiguration getZoomImageViewConfig(PageType pageType, ImageType imageType); int getBreadcrumbsClipping(); boolean isDisplayTopstructLabel(); boolean getDisplayStructType(); int getSearchHitMetadataValueNumber(); int getSearchHitMetadataValueLength(); List<String> getWatermarkTextConfiguration(); String getWatermarkFormat(); boolean isOriginalContentDownload(); String getStopwordsFilePath(); String getPageType(PageType type); String getDocstructTargetPageType(String docstruct); String getPageTypeExitView(PageType type); int getFulltextPercentageWarningThreshold(); boolean isUseViewerLocaleAsRecordLanguage(); String getFeedbackEmailAddress(); boolean isBookmarksEnabled(); boolean isForceJpegConversion(); int getPageLoaderThreshold(); boolean isPreventProxyCaching(); boolean isSolrCompressionEnabled(); boolean isSolrBackwardsCompatible(); boolean isUserCommentsEnabled(); String getUserCommentsConditionalQuery(); List<String> getUserCommentsNotificationEmailAddresses(); String getViewerHome(); List<String> getWatermarkIdField(); String getSubthemeMainTheme(); String getSubthemeDiscriminatorField(); int getTagCloudSampleSize(String fieldName); List<StringPair> getTocVolumeSortFieldsForTemplate(String template); String getTocVolumeGroupFieldForTemplate(String template); boolean getDisplayTitleBreadcrumbs(); boolean isDisplayTitlePURL(); int getTitleBreadcrumbsMaxTitleLength(); boolean getIncludeAnchorInTitleBreadcrumbs(); boolean isDisplaySearchRssLinks(); boolean showThumbnailsInToc(); String getStartYearForTimeline(); String getEndYearForTimeline(); String getTimelineHits(); boolean isPiwikTrackingEnabled(); String getPiwikBaseURL(); String getPiwikSiteID(); boolean isSearchSavingEnabled(); boolean isBoostTopLevelDocstructs(); boolean isGroupDuplicateHits(); List<String> getRecordGroupIdentifierFields(); List<String> getAncestorIdentifierFields(); boolean isTocListSiblingRecords(); List<SearchFilter> getSearchFilters(); List<Map<String, String>> getWebApiFields(); String getDbPersistenceUnit(); boolean useCustomNavBar(); String getCmsTemplateFolder(); String getCmsMediaFolder(); String getTempMediaFolder(); List<String> getCmsClassifications(); int getCmsMediaDisplayWidth(); int getCmsMediaDisplayHeight(); boolean isTranskribusEnabled(); String getTranskribusUserName(); String getTranskribusPassword(); String getTranskribusDefaultCollection(); String getTranskribusRestApiUrl(); List<String> getTranskribusAllowedDocumentTypes(); int getTocIndentation(); boolean isPageBrowseEnabled(); List<Integer> getPageBrowseSteps(); String getTaskManagerServiceUrl(); String getTaskManagerRestUrl(); String getReCaptchaSiteKey(); boolean isUseReCaptcha(); boolean isSearchInItemEnabled(); String getDefaultBrowseIcon(String field); boolean isSearchExcelExportEnabled(); List<String> getSearchExcelExportFields(); int getExcelDownloadTimeout(); boolean isDisplayEmptyTocInSidebar(); boolean isDoublePageModeEnabled(); List<String> getRestrictedImageUrls(); List<String> getIIIFLicenses(); List<String> getIIIFMetadataFields(); List<String> getIIIFEventFields(); String getIIIFMetadataLabel(String field); int getIIIFDiscoveryAvtivitiesPerPage(); List<String> getIIIFLogo(); String getIIIFNavDateField(); List<String> getIIIFAttribution(); List<String> getIIIFDescriptionFields(); String getSitelinksField(); String getSitelinksFilterQuery(); List<String> getConfiguredCollections(); String getWebApiToken(); boolean isAllowRedirectCollectionToWork(); String getTwitterUserName(); float getLimitImageHeightUpperRatioThreshold(); float getLimitImageHeightLowerRatioThreshold(); boolean isLimitImageHeight(); boolean isAddCORSHeader(); String getCORSHeaderValue(); boolean isDiscloseImageContentLocation(); String getAccessConditionDisplayField(); String getCopyrightDisplayField(); boolean isDisplayCopyrightInfo(); boolean isDisplaySocialMediaShareLinks(); boolean isDisplayAnchorLabelInTitleBar(String template); String getAnchorLabelInTitleBarPrefix(String template); String getAnchorLabelInTitleBarSuffix(String template); String getMapBoxToken(); GeoMapMarker getGeoMapMarker(String name); List<String> getGeoMapMarkerFields(); List<GeoMapMarker> getGeoMapMarkers(); static GeoMapMarker readGeoMapMarker(HierarchicalConfiguration config); List<LicenseDescription> getLicenseDescriptions(); }
Configuration extends AbstractConfiguration { public boolean isTocTreeView(String docStructType) { HierarchicalConfiguration hc = getLocalConfigurationAt("toc.useTreeView"); String docStructTypes = hc.getString("[@showDocStructs]"); boolean allowed = hc.getBoolean("."); if (!allowed) { logger.trace("Tree view disabled"); return false; } if (docStructTypes != null) { String[] docStructTypesSplit = docStructTypes.split(";"); for (String dst : docStructTypesSplit) { if (dst.equals("_ALL") || dst.equals(docStructType)) { logger.trace("Tree view for {} allowed", docStructType); return true; } } } return false; } Configuration(String configFilePath); Set<String> getStopwords(); boolean reloadingRequired(); String getConfigLocalPath(); String getLocalRessourceBundleFile(); int getViewerThumbnailsPerPage(); int getViewerMaxImageWidth(); int getViewerMaxImageHeight(); int getViewerMaxImageScale(); boolean isRememberImageZoom(); boolean isRememberImageRotation(); String getDfgViewerUrl(); String getConnectorVersionUrl(); List<Metadata> getTitleBarMetadata(); List<Metadata> getSearchHitMetadataForTemplate(String template); List<Metadata> getMainMetadataForTemplate(String template); List<Metadata> getSidebarMetadataForTemplate(String template); List<String> getNormdataFieldsForTemplate(String template); List<Metadata> getTocLabelConfiguration(String template); int getTocAnchorGroupElementsPerPage(); boolean isDisplaySidebarBrowsingTerms(); boolean isDisplaySidebarRssFeed(); boolean isDisplayWidgetUsage(); Metadata getWidgetUsageLicenceTextMetadata(); boolean isDisplaySidebarUsageWidgetLinkToJpegImage(); boolean isDisplaySidebarUsageWidgetLinkToMasterImage(); String getWidgetUsageMaxJpegSize(); String getWidgetUsageMaxMasterImageSize(); List<String> getCalendarDocStructTypes(); boolean isBrowsingMenuEnabled(); int getBrowsingMenuHitsPerPage(); List<BrowsingMenuFieldConfig> getBrowsingMenuFields(); String getBrowsingMenuSortingIgnoreLeadingChars(); String getDocstrctWhitelistFilterQuery(); String getCollectionSplittingChar(String field); List<DcSortingList> getCollectionSorting(String field); List<String> getCollectionBlacklist(String field); String getCollectionDefaultSortField(String field, String name); int getCollectionDisplayNumberOfVolumesLevel(String field); int getCollectionDisplayDepthForSearch(String field); String getCollectionHierarchyField(); boolean isAddCollectionHierarchyToBreadcrumbs(String field); String getSolrUrl(); String getContentServerWrapperUrl(); String getDownloadUrl(); String getRestApiUrl(); String getIIIFApiUrl(); boolean isUseIIIFApiUrlForCmsMediaUrls(); String getContentServerRealUrl(); String getMetsUrl(); String getMarcUrl(); String getDcUrl(); String getEseUrl(); List<Integer> getSearchHitsPerPageValues(); int getSearchHitsPerPageDefaultValue(); int getFulltextFragmentLength(); boolean isAdvancedSearchEnabled(); int getAdvancedSearchDefaultItemNumber(); List<AdvancedSearchFieldConfiguration> getAdvancedSearchFields(); boolean isAggregateHits(); boolean isDisplayAdditionalMetadataEnabled(); List<String> getDisplayAdditionalMetadataIgnoreFields(); List<String> getDisplayAdditionalMetadataTranslateFields(); boolean isAdvancedSearchFieldHierarchical(String field); boolean isAdvancedSearchFieldRange(String field); boolean isAdvancedSearchFieldUntokenizeForPhraseSearch(String field); String getAdvancedSearchFieldSeparatorLabel(String field); boolean isTimelineSearchEnabled(); boolean isCalendarSearchEnabled(); String getStaticQuerySuffix(); String getPreviousVersionIdentifierField(); String getNextVersionIdentifierField(); String getVersionLabelField(); String getIndexedMetsFolder(); String getIndexedLidoFolder(); String getIndexedDenkxwebFolder(); String getIndexedDublinCoreFolder(); String getPageSelectionFormat(); String getMediaFolder(); String getPdfFolder(); String getVocabulariesFolder(); String getOrigContentFolder(); String getCmsTextFolder(); String getAltoFolder(); String getAbbyyFolder(); String getFulltextFolder(); String getTeiFolder(); String getCmdiFolder(); String getWcFolder(); String getAnnotationFolder(); String getHotfolder(); @SuppressWarnings("static-method") String getTempFolder(); boolean isUrnDoRedirect(); boolean isUserRegistrationEnabled(); List<SecurityQuestion> getSecurityQuestions(); boolean isShowOpenIdConnect(); List<IAuthenticationProvider> getAuthenticationProviders(); String getSmtpServer(); String getSmtpUser(); String getSmtpPassword(); String getSmtpSenderAddress(); String getSmtpSenderName(); String getSmtpSecurity(); String getAnonymousUserEmailAddress(); boolean isDisplayCollectionBrowsing(); boolean isDisplayUserNavigation(); boolean isDisplayTagCloudNavigation(); boolean isDisplayStatistics(); boolean isDisplayTimeMatrix(); boolean isDisplayCrowdsourcingModuleLinks(); String getTheme(); String getThemeRootPath(); String getName(); String getDescription(); boolean isDisplayTagCloudStartpage(); boolean isDisplaySearchResultNavigation(); boolean isFoldout(String sidebarElement); boolean isSidebarPageViewLinkVisible(); boolean isSidebarCalendarViewLinkVisible(); boolean isSidebarTocViewLinkVisible(); boolean isSidebarThumbsViewLinkVisible(); boolean isSidebarMetadataViewLinkVisible(); boolean isShowSidebarEventMetadata(); boolean isShowRecordLabelIfNoOtherViews(); boolean isSidebarFulltextLinkVisible(); boolean isSidebarTocWidgetVisible(); boolean isSidebarTocWidgetVisibleInFullscreen(); boolean isSidebarOpacLinkVisible(); boolean getSidebarTocPageNumbersVisible(); int getSidebarTocLengthBeforeCut(); int getSidebarTocInitialCollapseLevel(); int getSidebarTocCollapseLengthThreshold(); int getSidebarTocLowestLevelToCollapseForLength(); boolean isSidebarTocTreeView(); boolean isTocTreeView(String docStructType); List<String> getAllDrillDownFields(); List<String> getDrillDownFields(); List<String> getHierarchicalDrillDownFields(); int getInitialDrillDownElementNumber(String field); String getSortOrder(String field); List<String> getPriorityValuesForDrillDownField(String field); String getLabelFieldForDrillDownField(String facetField); @SuppressWarnings("static-method") List<String> getRangeFacetFields(); boolean isSortingEnabled(); String getDefaultSortField(); List<String> getSortFields(); List<String> getStaticSortFields(); String getUrnResolverUrl(); int getUnconditionalImageAccessMaxWidth(); boolean isFullAccessForLocalhost(); boolean isGeneratePdfInTaskManager(); boolean isPdfApiDisabled(); boolean isTitlePdfEnabled(); boolean isTocPdfEnabled(); boolean isMetadataPdfEnabled(); boolean isPagePdfEnabled(); boolean isDocHierarchyPdfEnabled(); boolean isTitleEpubEnabled(); boolean isTocEpubEnabled(); boolean isMetadataEpubEnabled(); String getDownloadFolder(String type); int getRssFeedItems(); String getRssTitle(); String getRssDescription(); String getRssCopyrightText(); String getRulesetFilePath(); String getDefaultCollection(); int getThumbnailsWidth(); int getThumbnailsHeight(); int getThumbnailsCompression(); String getAnchorThumbnailMode(); int getMultivolumeThumbnailWidth(); int getMultivolumeThumbnailHeight(); boolean getDisplayBreadcrumbs(); boolean getDisplayMetadataPageLinkBlock(); boolean isAddDublinCoreMetaTags(); boolean isAddHighwirePressMetaTags(); int getMetadataParamNumber(); boolean useTiles(); boolean useTilesFullscreen(); boolean useTiles(PageType view, ImageType image); int getFooterHeight(); int getFullscreenFooterHeight(); int getFooterHeight(PageType view, ImageType image); String getImageViewType(); String getZoomFullscreenViewType(); String getZoomImageViewType(PageType view, ImageType image); boolean useOpenSeadragon(); List<String> getImageViewZoomScales(); List<String> getImageViewZoomScales(String view); List<String> getImageViewZoomScales(PageType view, ImageType image); Map<Integer, List<Integer>> getTileSizes(); Map<Integer, List<Integer>> getTileSizes(PageType view, ImageType image); SubnodeConfiguration getZoomImageViewConfig(PageType pageType, ImageType imageType); int getBreadcrumbsClipping(); boolean isDisplayTopstructLabel(); boolean getDisplayStructType(); int getSearchHitMetadataValueNumber(); int getSearchHitMetadataValueLength(); List<String> getWatermarkTextConfiguration(); String getWatermarkFormat(); boolean isOriginalContentDownload(); String getStopwordsFilePath(); String getPageType(PageType type); String getDocstructTargetPageType(String docstruct); String getPageTypeExitView(PageType type); int getFulltextPercentageWarningThreshold(); boolean isUseViewerLocaleAsRecordLanguage(); String getFeedbackEmailAddress(); boolean isBookmarksEnabled(); boolean isForceJpegConversion(); int getPageLoaderThreshold(); boolean isPreventProxyCaching(); boolean isSolrCompressionEnabled(); boolean isSolrBackwardsCompatible(); boolean isUserCommentsEnabled(); String getUserCommentsConditionalQuery(); List<String> getUserCommentsNotificationEmailAddresses(); String getViewerHome(); List<String> getWatermarkIdField(); String getSubthemeMainTheme(); String getSubthemeDiscriminatorField(); int getTagCloudSampleSize(String fieldName); List<StringPair> getTocVolumeSortFieldsForTemplate(String template); String getTocVolumeGroupFieldForTemplate(String template); boolean getDisplayTitleBreadcrumbs(); boolean isDisplayTitlePURL(); int getTitleBreadcrumbsMaxTitleLength(); boolean getIncludeAnchorInTitleBreadcrumbs(); boolean isDisplaySearchRssLinks(); boolean showThumbnailsInToc(); String getStartYearForTimeline(); String getEndYearForTimeline(); String getTimelineHits(); boolean isPiwikTrackingEnabled(); String getPiwikBaseURL(); String getPiwikSiteID(); boolean isSearchSavingEnabled(); boolean isBoostTopLevelDocstructs(); boolean isGroupDuplicateHits(); List<String> getRecordGroupIdentifierFields(); List<String> getAncestorIdentifierFields(); boolean isTocListSiblingRecords(); List<SearchFilter> getSearchFilters(); List<Map<String, String>> getWebApiFields(); String getDbPersistenceUnit(); boolean useCustomNavBar(); String getCmsTemplateFolder(); String getCmsMediaFolder(); String getTempMediaFolder(); List<String> getCmsClassifications(); int getCmsMediaDisplayWidth(); int getCmsMediaDisplayHeight(); boolean isTranskribusEnabled(); String getTranskribusUserName(); String getTranskribusPassword(); String getTranskribusDefaultCollection(); String getTranskribusRestApiUrl(); List<String> getTranskribusAllowedDocumentTypes(); int getTocIndentation(); boolean isPageBrowseEnabled(); List<Integer> getPageBrowseSteps(); String getTaskManagerServiceUrl(); String getTaskManagerRestUrl(); String getReCaptchaSiteKey(); boolean isUseReCaptcha(); boolean isSearchInItemEnabled(); String getDefaultBrowseIcon(String field); boolean isSearchExcelExportEnabled(); List<String> getSearchExcelExportFields(); int getExcelDownloadTimeout(); boolean isDisplayEmptyTocInSidebar(); boolean isDoublePageModeEnabled(); List<String> getRestrictedImageUrls(); List<String> getIIIFLicenses(); List<String> getIIIFMetadataFields(); List<String> getIIIFEventFields(); String getIIIFMetadataLabel(String field); int getIIIFDiscoveryAvtivitiesPerPage(); List<String> getIIIFLogo(); String getIIIFNavDateField(); List<String> getIIIFAttribution(); List<String> getIIIFDescriptionFields(); String getSitelinksField(); String getSitelinksFilterQuery(); List<String> getConfiguredCollections(); String getWebApiToken(); boolean isAllowRedirectCollectionToWork(); String getTwitterUserName(); float getLimitImageHeightUpperRatioThreshold(); float getLimitImageHeightLowerRatioThreshold(); boolean isLimitImageHeight(); boolean isAddCORSHeader(); String getCORSHeaderValue(); boolean isDiscloseImageContentLocation(); String getAccessConditionDisplayField(); String getCopyrightDisplayField(); boolean isDisplayCopyrightInfo(); boolean isDisplaySocialMediaShareLinks(); boolean isDisplayAnchorLabelInTitleBar(String template); String getAnchorLabelInTitleBarPrefix(String template); String getAnchorLabelInTitleBarSuffix(String template); String getMapBoxToken(); GeoMapMarker getGeoMapMarker(String name); List<String> getGeoMapMarkerFields(); List<GeoMapMarker> getGeoMapMarkers(); static GeoMapMarker readGeoMapMarker(HierarchicalConfiguration config); List<LicenseDescription> getLicenseDescriptions(); }
@Test public void getSmtpPassword_shouldReturnCorrectValue() throws Exception { Assert.assertEquals("smtpPassword_value", DataManager.getInstance().getConfiguration().getSmtpPassword()); }
public String getSmtpPassword() { return getLocalString("user.smtpPassword"); }
Configuration extends AbstractConfiguration { public String getSmtpPassword() { return getLocalString("user.smtpPassword"); } }
Configuration extends AbstractConfiguration { public String getSmtpPassword() { return getLocalString("user.smtpPassword"); } Configuration(String configFilePath); }
Configuration extends AbstractConfiguration { public String getSmtpPassword() { return getLocalString("user.smtpPassword"); } Configuration(String configFilePath); Set<String> getStopwords(); boolean reloadingRequired(); String getConfigLocalPath(); String getLocalRessourceBundleFile(); int getViewerThumbnailsPerPage(); int getViewerMaxImageWidth(); int getViewerMaxImageHeight(); int getViewerMaxImageScale(); boolean isRememberImageZoom(); boolean isRememberImageRotation(); String getDfgViewerUrl(); String getConnectorVersionUrl(); List<Metadata> getTitleBarMetadata(); List<Metadata> getSearchHitMetadataForTemplate(String template); List<Metadata> getMainMetadataForTemplate(String template); List<Metadata> getSidebarMetadataForTemplate(String template); List<String> getNormdataFieldsForTemplate(String template); List<Metadata> getTocLabelConfiguration(String template); int getTocAnchorGroupElementsPerPage(); boolean isDisplaySidebarBrowsingTerms(); boolean isDisplaySidebarRssFeed(); boolean isDisplayWidgetUsage(); Metadata getWidgetUsageLicenceTextMetadata(); boolean isDisplaySidebarUsageWidgetLinkToJpegImage(); boolean isDisplaySidebarUsageWidgetLinkToMasterImage(); String getWidgetUsageMaxJpegSize(); String getWidgetUsageMaxMasterImageSize(); List<String> getCalendarDocStructTypes(); boolean isBrowsingMenuEnabled(); int getBrowsingMenuHitsPerPage(); List<BrowsingMenuFieldConfig> getBrowsingMenuFields(); String getBrowsingMenuSortingIgnoreLeadingChars(); String getDocstrctWhitelistFilterQuery(); String getCollectionSplittingChar(String field); List<DcSortingList> getCollectionSorting(String field); List<String> getCollectionBlacklist(String field); String getCollectionDefaultSortField(String field, String name); int getCollectionDisplayNumberOfVolumesLevel(String field); int getCollectionDisplayDepthForSearch(String field); String getCollectionHierarchyField(); boolean isAddCollectionHierarchyToBreadcrumbs(String field); String getSolrUrl(); String getContentServerWrapperUrl(); String getDownloadUrl(); String getRestApiUrl(); String getIIIFApiUrl(); boolean isUseIIIFApiUrlForCmsMediaUrls(); String getContentServerRealUrl(); String getMetsUrl(); String getMarcUrl(); String getDcUrl(); String getEseUrl(); List<Integer> getSearchHitsPerPageValues(); int getSearchHitsPerPageDefaultValue(); int getFulltextFragmentLength(); boolean isAdvancedSearchEnabled(); int getAdvancedSearchDefaultItemNumber(); List<AdvancedSearchFieldConfiguration> getAdvancedSearchFields(); boolean isAggregateHits(); boolean isDisplayAdditionalMetadataEnabled(); List<String> getDisplayAdditionalMetadataIgnoreFields(); List<String> getDisplayAdditionalMetadataTranslateFields(); boolean isAdvancedSearchFieldHierarchical(String field); boolean isAdvancedSearchFieldRange(String field); boolean isAdvancedSearchFieldUntokenizeForPhraseSearch(String field); String getAdvancedSearchFieldSeparatorLabel(String field); boolean isTimelineSearchEnabled(); boolean isCalendarSearchEnabled(); String getStaticQuerySuffix(); String getPreviousVersionIdentifierField(); String getNextVersionIdentifierField(); String getVersionLabelField(); String getIndexedMetsFolder(); String getIndexedLidoFolder(); String getIndexedDenkxwebFolder(); String getIndexedDublinCoreFolder(); String getPageSelectionFormat(); String getMediaFolder(); String getPdfFolder(); String getVocabulariesFolder(); String getOrigContentFolder(); String getCmsTextFolder(); String getAltoFolder(); String getAbbyyFolder(); String getFulltextFolder(); String getTeiFolder(); String getCmdiFolder(); String getWcFolder(); String getAnnotationFolder(); String getHotfolder(); @SuppressWarnings("static-method") String getTempFolder(); boolean isUrnDoRedirect(); boolean isUserRegistrationEnabled(); List<SecurityQuestion> getSecurityQuestions(); boolean isShowOpenIdConnect(); List<IAuthenticationProvider> getAuthenticationProviders(); String getSmtpServer(); String getSmtpUser(); String getSmtpPassword(); String getSmtpSenderAddress(); String getSmtpSenderName(); String getSmtpSecurity(); String getAnonymousUserEmailAddress(); boolean isDisplayCollectionBrowsing(); boolean isDisplayUserNavigation(); boolean isDisplayTagCloudNavigation(); boolean isDisplayStatistics(); boolean isDisplayTimeMatrix(); boolean isDisplayCrowdsourcingModuleLinks(); String getTheme(); String getThemeRootPath(); String getName(); String getDescription(); boolean isDisplayTagCloudStartpage(); boolean isDisplaySearchResultNavigation(); boolean isFoldout(String sidebarElement); boolean isSidebarPageViewLinkVisible(); boolean isSidebarCalendarViewLinkVisible(); boolean isSidebarTocViewLinkVisible(); boolean isSidebarThumbsViewLinkVisible(); boolean isSidebarMetadataViewLinkVisible(); boolean isShowSidebarEventMetadata(); boolean isShowRecordLabelIfNoOtherViews(); boolean isSidebarFulltextLinkVisible(); boolean isSidebarTocWidgetVisible(); boolean isSidebarTocWidgetVisibleInFullscreen(); boolean isSidebarOpacLinkVisible(); boolean getSidebarTocPageNumbersVisible(); int getSidebarTocLengthBeforeCut(); int getSidebarTocInitialCollapseLevel(); int getSidebarTocCollapseLengthThreshold(); int getSidebarTocLowestLevelToCollapseForLength(); boolean isSidebarTocTreeView(); boolean isTocTreeView(String docStructType); List<String> getAllDrillDownFields(); List<String> getDrillDownFields(); List<String> getHierarchicalDrillDownFields(); int getInitialDrillDownElementNumber(String field); String getSortOrder(String field); List<String> getPriorityValuesForDrillDownField(String field); String getLabelFieldForDrillDownField(String facetField); @SuppressWarnings("static-method") List<String> getRangeFacetFields(); boolean isSortingEnabled(); String getDefaultSortField(); List<String> getSortFields(); List<String> getStaticSortFields(); String getUrnResolverUrl(); int getUnconditionalImageAccessMaxWidth(); boolean isFullAccessForLocalhost(); boolean isGeneratePdfInTaskManager(); boolean isPdfApiDisabled(); boolean isTitlePdfEnabled(); boolean isTocPdfEnabled(); boolean isMetadataPdfEnabled(); boolean isPagePdfEnabled(); boolean isDocHierarchyPdfEnabled(); boolean isTitleEpubEnabled(); boolean isTocEpubEnabled(); boolean isMetadataEpubEnabled(); String getDownloadFolder(String type); int getRssFeedItems(); String getRssTitle(); String getRssDescription(); String getRssCopyrightText(); String getRulesetFilePath(); String getDefaultCollection(); int getThumbnailsWidth(); int getThumbnailsHeight(); int getThumbnailsCompression(); String getAnchorThumbnailMode(); int getMultivolumeThumbnailWidth(); int getMultivolumeThumbnailHeight(); boolean getDisplayBreadcrumbs(); boolean getDisplayMetadataPageLinkBlock(); boolean isAddDublinCoreMetaTags(); boolean isAddHighwirePressMetaTags(); int getMetadataParamNumber(); boolean useTiles(); boolean useTilesFullscreen(); boolean useTiles(PageType view, ImageType image); int getFooterHeight(); int getFullscreenFooterHeight(); int getFooterHeight(PageType view, ImageType image); String getImageViewType(); String getZoomFullscreenViewType(); String getZoomImageViewType(PageType view, ImageType image); boolean useOpenSeadragon(); List<String> getImageViewZoomScales(); List<String> getImageViewZoomScales(String view); List<String> getImageViewZoomScales(PageType view, ImageType image); Map<Integer, List<Integer>> getTileSizes(); Map<Integer, List<Integer>> getTileSizes(PageType view, ImageType image); SubnodeConfiguration getZoomImageViewConfig(PageType pageType, ImageType imageType); int getBreadcrumbsClipping(); boolean isDisplayTopstructLabel(); boolean getDisplayStructType(); int getSearchHitMetadataValueNumber(); int getSearchHitMetadataValueLength(); List<String> getWatermarkTextConfiguration(); String getWatermarkFormat(); boolean isOriginalContentDownload(); String getStopwordsFilePath(); String getPageType(PageType type); String getDocstructTargetPageType(String docstruct); String getPageTypeExitView(PageType type); int getFulltextPercentageWarningThreshold(); boolean isUseViewerLocaleAsRecordLanguage(); String getFeedbackEmailAddress(); boolean isBookmarksEnabled(); boolean isForceJpegConversion(); int getPageLoaderThreshold(); boolean isPreventProxyCaching(); boolean isSolrCompressionEnabled(); boolean isSolrBackwardsCompatible(); boolean isUserCommentsEnabled(); String getUserCommentsConditionalQuery(); List<String> getUserCommentsNotificationEmailAddresses(); String getViewerHome(); List<String> getWatermarkIdField(); String getSubthemeMainTheme(); String getSubthemeDiscriminatorField(); int getTagCloudSampleSize(String fieldName); List<StringPair> getTocVolumeSortFieldsForTemplate(String template); String getTocVolumeGroupFieldForTemplate(String template); boolean getDisplayTitleBreadcrumbs(); boolean isDisplayTitlePURL(); int getTitleBreadcrumbsMaxTitleLength(); boolean getIncludeAnchorInTitleBreadcrumbs(); boolean isDisplaySearchRssLinks(); boolean showThumbnailsInToc(); String getStartYearForTimeline(); String getEndYearForTimeline(); String getTimelineHits(); boolean isPiwikTrackingEnabled(); String getPiwikBaseURL(); String getPiwikSiteID(); boolean isSearchSavingEnabled(); boolean isBoostTopLevelDocstructs(); boolean isGroupDuplicateHits(); List<String> getRecordGroupIdentifierFields(); List<String> getAncestorIdentifierFields(); boolean isTocListSiblingRecords(); List<SearchFilter> getSearchFilters(); List<Map<String, String>> getWebApiFields(); String getDbPersistenceUnit(); boolean useCustomNavBar(); String getCmsTemplateFolder(); String getCmsMediaFolder(); String getTempMediaFolder(); List<String> getCmsClassifications(); int getCmsMediaDisplayWidth(); int getCmsMediaDisplayHeight(); boolean isTranskribusEnabled(); String getTranskribusUserName(); String getTranskribusPassword(); String getTranskribusDefaultCollection(); String getTranskribusRestApiUrl(); List<String> getTranskribusAllowedDocumentTypes(); int getTocIndentation(); boolean isPageBrowseEnabled(); List<Integer> getPageBrowseSteps(); String getTaskManagerServiceUrl(); String getTaskManagerRestUrl(); String getReCaptchaSiteKey(); boolean isUseReCaptcha(); boolean isSearchInItemEnabled(); String getDefaultBrowseIcon(String field); boolean isSearchExcelExportEnabled(); List<String> getSearchExcelExportFields(); int getExcelDownloadTimeout(); boolean isDisplayEmptyTocInSidebar(); boolean isDoublePageModeEnabled(); List<String> getRestrictedImageUrls(); List<String> getIIIFLicenses(); List<String> getIIIFMetadataFields(); List<String> getIIIFEventFields(); String getIIIFMetadataLabel(String field); int getIIIFDiscoveryAvtivitiesPerPage(); List<String> getIIIFLogo(); String getIIIFNavDateField(); List<String> getIIIFAttribution(); List<String> getIIIFDescriptionFields(); String getSitelinksField(); String getSitelinksFilterQuery(); List<String> getConfiguredCollections(); String getWebApiToken(); boolean isAllowRedirectCollectionToWork(); String getTwitterUserName(); float getLimitImageHeightUpperRatioThreshold(); float getLimitImageHeightLowerRatioThreshold(); boolean isLimitImageHeight(); boolean isAddCORSHeader(); String getCORSHeaderValue(); boolean isDiscloseImageContentLocation(); String getAccessConditionDisplayField(); String getCopyrightDisplayField(); boolean isDisplayCopyrightInfo(); boolean isDisplaySocialMediaShareLinks(); boolean isDisplayAnchorLabelInTitleBar(String template); String getAnchorLabelInTitleBarPrefix(String template); String getAnchorLabelInTitleBarSuffix(String template); String getMapBoxToken(); GeoMapMarker getGeoMapMarker(String name); List<String> getGeoMapMarkerFields(); List<GeoMapMarker> getGeoMapMarkers(); static GeoMapMarker readGeoMapMarker(HierarchicalConfiguration config); List<LicenseDescription> getLicenseDescriptions(); }
Configuration extends AbstractConfiguration { public String getSmtpPassword() { return getLocalString("user.smtpPassword"); } Configuration(String configFilePath); Set<String> getStopwords(); boolean reloadingRequired(); String getConfigLocalPath(); String getLocalRessourceBundleFile(); int getViewerThumbnailsPerPage(); int getViewerMaxImageWidth(); int getViewerMaxImageHeight(); int getViewerMaxImageScale(); boolean isRememberImageZoom(); boolean isRememberImageRotation(); String getDfgViewerUrl(); String getConnectorVersionUrl(); List<Metadata> getTitleBarMetadata(); List<Metadata> getSearchHitMetadataForTemplate(String template); List<Metadata> getMainMetadataForTemplate(String template); List<Metadata> getSidebarMetadataForTemplate(String template); List<String> getNormdataFieldsForTemplate(String template); List<Metadata> getTocLabelConfiguration(String template); int getTocAnchorGroupElementsPerPage(); boolean isDisplaySidebarBrowsingTerms(); boolean isDisplaySidebarRssFeed(); boolean isDisplayWidgetUsage(); Metadata getWidgetUsageLicenceTextMetadata(); boolean isDisplaySidebarUsageWidgetLinkToJpegImage(); boolean isDisplaySidebarUsageWidgetLinkToMasterImage(); String getWidgetUsageMaxJpegSize(); String getWidgetUsageMaxMasterImageSize(); List<String> getCalendarDocStructTypes(); boolean isBrowsingMenuEnabled(); int getBrowsingMenuHitsPerPage(); List<BrowsingMenuFieldConfig> getBrowsingMenuFields(); String getBrowsingMenuSortingIgnoreLeadingChars(); String getDocstrctWhitelistFilterQuery(); String getCollectionSplittingChar(String field); List<DcSortingList> getCollectionSorting(String field); List<String> getCollectionBlacklist(String field); String getCollectionDefaultSortField(String field, String name); int getCollectionDisplayNumberOfVolumesLevel(String field); int getCollectionDisplayDepthForSearch(String field); String getCollectionHierarchyField(); boolean isAddCollectionHierarchyToBreadcrumbs(String field); String getSolrUrl(); String getContentServerWrapperUrl(); String getDownloadUrl(); String getRestApiUrl(); String getIIIFApiUrl(); boolean isUseIIIFApiUrlForCmsMediaUrls(); String getContentServerRealUrl(); String getMetsUrl(); String getMarcUrl(); String getDcUrl(); String getEseUrl(); List<Integer> getSearchHitsPerPageValues(); int getSearchHitsPerPageDefaultValue(); int getFulltextFragmentLength(); boolean isAdvancedSearchEnabled(); int getAdvancedSearchDefaultItemNumber(); List<AdvancedSearchFieldConfiguration> getAdvancedSearchFields(); boolean isAggregateHits(); boolean isDisplayAdditionalMetadataEnabled(); List<String> getDisplayAdditionalMetadataIgnoreFields(); List<String> getDisplayAdditionalMetadataTranslateFields(); boolean isAdvancedSearchFieldHierarchical(String field); boolean isAdvancedSearchFieldRange(String field); boolean isAdvancedSearchFieldUntokenizeForPhraseSearch(String field); String getAdvancedSearchFieldSeparatorLabel(String field); boolean isTimelineSearchEnabled(); boolean isCalendarSearchEnabled(); String getStaticQuerySuffix(); String getPreviousVersionIdentifierField(); String getNextVersionIdentifierField(); String getVersionLabelField(); String getIndexedMetsFolder(); String getIndexedLidoFolder(); String getIndexedDenkxwebFolder(); String getIndexedDublinCoreFolder(); String getPageSelectionFormat(); String getMediaFolder(); String getPdfFolder(); String getVocabulariesFolder(); String getOrigContentFolder(); String getCmsTextFolder(); String getAltoFolder(); String getAbbyyFolder(); String getFulltextFolder(); String getTeiFolder(); String getCmdiFolder(); String getWcFolder(); String getAnnotationFolder(); String getHotfolder(); @SuppressWarnings("static-method") String getTempFolder(); boolean isUrnDoRedirect(); boolean isUserRegistrationEnabled(); List<SecurityQuestion> getSecurityQuestions(); boolean isShowOpenIdConnect(); List<IAuthenticationProvider> getAuthenticationProviders(); String getSmtpServer(); String getSmtpUser(); String getSmtpPassword(); String getSmtpSenderAddress(); String getSmtpSenderName(); String getSmtpSecurity(); String getAnonymousUserEmailAddress(); boolean isDisplayCollectionBrowsing(); boolean isDisplayUserNavigation(); boolean isDisplayTagCloudNavigation(); boolean isDisplayStatistics(); boolean isDisplayTimeMatrix(); boolean isDisplayCrowdsourcingModuleLinks(); String getTheme(); String getThemeRootPath(); String getName(); String getDescription(); boolean isDisplayTagCloudStartpage(); boolean isDisplaySearchResultNavigation(); boolean isFoldout(String sidebarElement); boolean isSidebarPageViewLinkVisible(); boolean isSidebarCalendarViewLinkVisible(); boolean isSidebarTocViewLinkVisible(); boolean isSidebarThumbsViewLinkVisible(); boolean isSidebarMetadataViewLinkVisible(); boolean isShowSidebarEventMetadata(); boolean isShowRecordLabelIfNoOtherViews(); boolean isSidebarFulltextLinkVisible(); boolean isSidebarTocWidgetVisible(); boolean isSidebarTocWidgetVisibleInFullscreen(); boolean isSidebarOpacLinkVisible(); boolean getSidebarTocPageNumbersVisible(); int getSidebarTocLengthBeforeCut(); int getSidebarTocInitialCollapseLevel(); int getSidebarTocCollapseLengthThreshold(); int getSidebarTocLowestLevelToCollapseForLength(); boolean isSidebarTocTreeView(); boolean isTocTreeView(String docStructType); List<String> getAllDrillDownFields(); List<String> getDrillDownFields(); List<String> getHierarchicalDrillDownFields(); int getInitialDrillDownElementNumber(String field); String getSortOrder(String field); List<String> getPriorityValuesForDrillDownField(String field); String getLabelFieldForDrillDownField(String facetField); @SuppressWarnings("static-method") List<String> getRangeFacetFields(); boolean isSortingEnabled(); String getDefaultSortField(); List<String> getSortFields(); List<String> getStaticSortFields(); String getUrnResolverUrl(); int getUnconditionalImageAccessMaxWidth(); boolean isFullAccessForLocalhost(); boolean isGeneratePdfInTaskManager(); boolean isPdfApiDisabled(); boolean isTitlePdfEnabled(); boolean isTocPdfEnabled(); boolean isMetadataPdfEnabled(); boolean isPagePdfEnabled(); boolean isDocHierarchyPdfEnabled(); boolean isTitleEpubEnabled(); boolean isTocEpubEnabled(); boolean isMetadataEpubEnabled(); String getDownloadFolder(String type); int getRssFeedItems(); String getRssTitle(); String getRssDescription(); String getRssCopyrightText(); String getRulesetFilePath(); String getDefaultCollection(); int getThumbnailsWidth(); int getThumbnailsHeight(); int getThumbnailsCompression(); String getAnchorThumbnailMode(); int getMultivolumeThumbnailWidth(); int getMultivolumeThumbnailHeight(); boolean getDisplayBreadcrumbs(); boolean getDisplayMetadataPageLinkBlock(); boolean isAddDublinCoreMetaTags(); boolean isAddHighwirePressMetaTags(); int getMetadataParamNumber(); boolean useTiles(); boolean useTilesFullscreen(); boolean useTiles(PageType view, ImageType image); int getFooterHeight(); int getFullscreenFooterHeight(); int getFooterHeight(PageType view, ImageType image); String getImageViewType(); String getZoomFullscreenViewType(); String getZoomImageViewType(PageType view, ImageType image); boolean useOpenSeadragon(); List<String> getImageViewZoomScales(); List<String> getImageViewZoomScales(String view); List<String> getImageViewZoomScales(PageType view, ImageType image); Map<Integer, List<Integer>> getTileSizes(); Map<Integer, List<Integer>> getTileSizes(PageType view, ImageType image); SubnodeConfiguration getZoomImageViewConfig(PageType pageType, ImageType imageType); int getBreadcrumbsClipping(); boolean isDisplayTopstructLabel(); boolean getDisplayStructType(); int getSearchHitMetadataValueNumber(); int getSearchHitMetadataValueLength(); List<String> getWatermarkTextConfiguration(); String getWatermarkFormat(); boolean isOriginalContentDownload(); String getStopwordsFilePath(); String getPageType(PageType type); String getDocstructTargetPageType(String docstruct); String getPageTypeExitView(PageType type); int getFulltextPercentageWarningThreshold(); boolean isUseViewerLocaleAsRecordLanguage(); String getFeedbackEmailAddress(); boolean isBookmarksEnabled(); boolean isForceJpegConversion(); int getPageLoaderThreshold(); boolean isPreventProxyCaching(); boolean isSolrCompressionEnabled(); boolean isSolrBackwardsCompatible(); boolean isUserCommentsEnabled(); String getUserCommentsConditionalQuery(); List<String> getUserCommentsNotificationEmailAddresses(); String getViewerHome(); List<String> getWatermarkIdField(); String getSubthemeMainTheme(); String getSubthemeDiscriminatorField(); int getTagCloudSampleSize(String fieldName); List<StringPair> getTocVolumeSortFieldsForTemplate(String template); String getTocVolumeGroupFieldForTemplate(String template); boolean getDisplayTitleBreadcrumbs(); boolean isDisplayTitlePURL(); int getTitleBreadcrumbsMaxTitleLength(); boolean getIncludeAnchorInTitleBreadcrumbs(); boolean isDisplaySearchRssLinks(); boolean showThumbnailsInToc(); String getStartYearForTimeline(); String getEndYearForTimeline(); String getTimelineHits(); boolean isPiwikTrackingEnabled(); String getPiwikBaseURL(); String getPiwikSiteID(); boolean isSearchSavingEnabled(); boolean isBoostTopLevelDocstructs(); boolean isGroupDuplicateHits(); List<String> getRecordGroupIdentifierFields(); List<String> getAncestorIdentifierFields(); boolean isTocListSiblingRecords(); List<SearchFilter> getSearchFilters(); List<Map<String, String>> getWebApiFields(); String getDbPersistenceUnit(); boolean useCustomNavBar(); String getCmsTemplateFolder(); String getCmsMediaFolder(); String getTempMediaFolder(); List<String> getCmsClassifications(); int getCmsMediaDisplayWidth(); int getCmsMediaDisplayHeight(); boolean isTranskribusEnabled(); String getTranskribusUserName(); String getTranskribusPassword(); String getTranskribusDefaultCollection(); String getTranskribusRestApiUrl(); List<String> getTranskribusAllowedDocumentTypes(); int getTocIndentation(); boolean isPageBrowseEnabled(); List<Integer> getPageBrowseSteps(); String getTaskManagerServiceUrl(); String getTaskManagerRestUrl(); String getReCaptchaSiteKey(); boolean isUseReCaptcha(); boolean isSearchInItemEnabled(); String getDefaultBrowseIcon(String field); boolean isSearchExcelExportEnabled(); List<String> getSearchExcelExportFields(); int getExcelDownloadTimeout(); boolean isDisplayEmptyTocInSidebar(); boolean isDoublePageModeEnabled(); List<String> getRestrictedImageUrls(); List<String> getIIIFLicenses(); List<String> getIIIFMetadataFields(); List<String> getIIIFEventFields(); String getIIIFMetadataLabel(String field); int getIIIFDiscoveryAvtivitiesPerPage(); List<String> getIIIFLogo(); String getIIIFNavDateField(); List<String> getIIIFAttribution(); List<String> getIIIFDescriptionFields(); String getSitelinksField(); String getSitelinksFilterQuery(); List<String> getConfiguredCollections(); String getWebApiToken(); boolean isAllowRedirectCollectionToWork(); String getTwitterUserName(); float getLimitImageHeightUpperRatioThreshold(); float getLimitImageHeightLowerRatioThreshold(); boolean isLimitImageHeight(); boolean isAddCORSHeader(); String getCORSHeaderValue(); boolean isDiscloseImageContentLocation(); String getAccessConditionDisplayField(); String getCopyrightDisplayField(); boolean isDisplayCopyrightInfo(); boolean isDisplaySocialMediaShareLinks(); boolean isDisplayAnchorLabelInTitleBar(String template); String getAnchorLabelInTitleBarPrefix(String template); String getAnchorLabelInTitleBarSuffix(String template); String getMapBoxToken(); GeoMapMarker getGeoMapMarker(String name); List<String> getGeoMapMarkerFields(); List<GeoMapMarker> getGeoMapMarkers(); static GeoMapMarker readGeoMapMarker(HierarchicalConfiguration config); List<LicenseDescription> getLicenseDescriptions(); }
@Test public void getSmtpSecurity_shouldReturnCorrectValue() throws Exception { Assert.assertEquals("smtpSecurity_value", DataManager.getInstance().getConfiguration().getSmtpSecurity()); }
public String getSmtpSecurity() { return getLocalString("user.smtpSecurity", "none"); }
Configuration extends AbstractConfiguration { public String getSmtpSecurity() { return getLocalString("user.smtpSecurity", "none"); } }
Configuration extends AbstractConfiguration { public String getSmtpSecurity() { return getLocalString("user.smtpSecurity", "none"); } Configuration(String configFilePath); }
Configuration extends AbstractConfiguration { public String getSmtpSecurity() { return getLocalString("user.smtpSecurity", "none"); } Configuration(String configFilePath); Set<String> getStopwords(); boolean reloadingRequired(); String getConfigLocalPath(); String getLocalRessourceBundleFile(); int getViewerThumbnailsPerPage(); int getViewerMaxImageWidth(); int getViewerMaxImageHeight(); int getViewerMaxImageScale(); boolean isRememberImageZoom(); boolean isRememberImageRotation(); String getDfgViewerUrl(); String getConnectorVersionUrl(); List<Metadata> getTitleBarMetadata(); List<Metadata> getSearchHitMetadataForTemplate(String template); List<Metadata> getMainMetadataForTemplate(String template); List<Metadata> getSidebarMetadataForTemplate(String template); List<String> getNormdataFieldsForTemplate(String template); List<Metadata> getTocLabelConfiguration(String template); int getTocAnchorGroupElementsPerPage(); boolean isDisplaySidebarBrowsingTerms(); boolean isDisplaySidebarRssFeed(); boolean isDisplayWidgetUsage(); Metadata getWidgetUsageLicenceTextMetadata(); boolean isDisplaySidebarUsageWidgetLinkToJpegImage(); boolean isDisplaySidebarUsageWidgetLinkToMasterImage(); String getWidgetUsageMaxJpegSize(); String getWidgetUsageMaxMasterImageSize(); List<String> getCalendarDocStructTypes(); boolean isBrowsingMenuEnabled(); int getBrowsingMenuHitsPerPage(); List<BrowsingMenuFieldConfig> getBrowsingMenuFields(); String getBrowsingMenuSortingIgnoreLeadingChars(); String getDocstrctWhitelistFilterQuery(); String getCollectionSplittingChar(String field); List<DcSortingList> getCollectionSorting(String field); List<String> getCollectionBlacklist(String field); String getCollectionDefaultSortField(String field, String name); int getCollectionDisplayNumberOfVolumesLevel(String field); int getCollectionDisplayDepthForSearch(String field); String getCollectionHierarchyField(); boolean isAddCollectionHierarchyToBreadcrumbs(String field); String getSolrUrl(); String getContentServerWrapperUrl(); String getDownloadUrl(); String getRestApiUrl(); String getIIIFApiUrl(); boolean isUseIIIFApiUrlForCmsMediaUrls(); String getContentServerRealUrl(); String getMetsUrl(); String getMarcUrl(); String getDcUrl(); String getEseUrl(); List<Integer> getSearchHitsPerPageValues(); int getSearchHitsPerPageDefaultValue(); int getFulltextFragmentLength(); boolean isAdvancedSearchEnabled(); int getAdvancedSearchDefaultItemNumber(); List<AdvancedSearchFieldConfiguration> getAdvancedSearchFields(); boolean isAggregateHits(); boolean isDisplayAdditionalMetadataEnabled(); List<String> getDisplayAdditionalMetadataIgnoreFields(); List<String> getDisplayAdditionalMetadataTranslateFields(); boolean isAdvancedSearchFieldHierarchical(String field); boolean isAdvancedSearchFieldRange(String field); boolean isAdvancedSearchFieldUntokenizeForPhraseSearch(String field); String getAdvancedSearchFieldSeparatorLabel(String field); boolean isTimelineSearchEnabled(); boolean isCalendarSearchEnabled(); String getStaticQuerySuffix(); String getPreviousVersionIdentifierField(); String getNextVersionIdentifierField(); String getVersionLabelField(); String getIndexedMetsFolder(); String getIndexedLidoFolder(); String getIndexedDenkxwebFolder(); String getIndexedDublinCoreFolder(); String getPageSelectionFormat(); String getMediaFolder(); String getPdfFolder(); String getVocabulariesFolder(); String getOrigContentFolder(); String getCmsTextFolder(); String getAltoFolder(); String getAbbyyFolder(); String getFulltextFolder(); String getTeiFolder(); String getCmdiFolder(); String getWcFolder(); String getAnnotationFolder(); String getHotfolder(); @SuppressWarnings("static-method") String getTempFolder(); boolean isUrnDoRedirect(); boolean isUserRegistrationEnabled(); List<SecurityQuestion> getSecurityQuestions(); boolean isShowOpenIdConnect(); List<IAuthenticationProvider> getAuthenticationProviders(); String getSmtpServer(); String getSmtpUser(); String getSmtpPassword(); String getSmtpSenderAddress(); String getSmtpSenderName(); String getSmtpSecurity(); String getAnonymousUserEmailAddress(); boolean isDisplayCollectionBrowsing(); boolean isDisplayUserNavigation(); boolean isDisplayTagCloudNavigation(); boolean isDisplayStatistics(); boolean isDisplayTimeMatrix(); boolean isDisplayCrowdsourcingModuleLinks(); String getTheme(); String getThemeRootPath(); String getName(); String getDescription(); boolean isDisplayTagCloudStartpage(); boolean isDisplaySearchResultNavigation(); boolean isFoldout(String sidebarElement); boolean isSidebarPageViewLinkVisible(); boolean isSidebarCalendarViewLinkVisible(); boolean isSidebarTocViewLinkVisible(); boolean isSidebarThumbsViewLinkVisible(); boolean isSidebarMetadataViewLinkVisible(); boolean isShowSidebarEventMetadata(); boolean isShowRecordLabelIfNoOtherViews(); boolean isSidebarFulltextLinkVisible(); boolean isSidebarTocWidgetVisible(); boolean isSidebarTocWidgetVisibleInFullscreen(); boolean isSidebarOpacLinkVisible(); boolean getSidebarTocPageNumbersVisible(); int getSidebarTocLengthBeforeCut(); int getSidebarTocInitialCollapseLevel(); int getSidebarTocCollapseLengthThreshold(); int getSidebarTocLowestLevelToCollapseForLength(); boolean isSidebarTocTreeView(); boolean isTocTreeView(String docStructType); List<String> getAllDrillDownFields(); List<String> getDrillDownFields(); List<String> getHierarchicalDrillDownFields(); int getInitialDrillDownElementNumber(String field); String getSortOrder(String field); List<String> getPriorityValuesForDrillDownField(String field); String getLabelFieldForDrillDownField(String facetField); @SuppressWarnings("static-method") List<String> getRangeFacetFields(); boolean isSortingEnabled(); String getDefaultSortField(); List<String> getSortFields(); List<String> getStaticSortFields(); String getUrnResolverUrl(); int getUnconditionalImageAccessMaxWidth(); boolean isFullAccessForLocalhost(); boolean isGeneratePdfInTaskManager(); boolean isPdfApiDisabled(); boolean isTitlePdfEnabled(); boolean isTocPdfEnabled(); boolean isMetadataPdfEnabled(); boolean isPagePdfEnabled(); boolean isDocHierarchyPdfEnabled(); boolean isTitleEpubEnabled(); boolean isTocEpubEnabled(); boolean isMetadataEpubEnabled(); String getDownloadFolder(String type); int getRssFeedItems(); String getRssTitle(); String getRssDescription(); String getRssCopyrightText(); String getRulesetFilePath(); String getDefaultCollection(); int getThumbnailsWidth(); int getThumbnailsHeight(); int getThumbnailsCompression(); String getAnchorThumbnailMode(); int getMultivolumeThumbnailWidth(); int getMultivolumeThumbnailHeight(); boolean getDisplayBreadcrumbs(); boolean getDisplayMetadataPageLinkBlock(); boolean isAddDublinCoreMetaTags(); boolean isAddHighwirePressMetaTags(); int getMetadataParamNumber(); boolean useTiles(); boolean useTilesFullscreen(); boolean useTiles(PageType view, ImageType image); int getFooterHeight(); int getFullscreenFooterHeight(); int getFooterHeight(PageType view, ImageType image); String getImageViewType(); String getZoomFullscreenViewType(); String getZoomImageViewType(PageType view, ImageType image); boolean useOpenSeadragon(); List<String> getImageViewZoomScales(); List<String> getImageViewZoomScales(String view); List<String> getImageViewZoomScales(PageType view, ImageType image); Map<Integer, List<Integer>> getTileSizes(); Map<Integer, List<Integer>> getTileSizes(PageType view, ImageType image); SubnodeConfiguration getZoomImageViewConfig(PageType pageType, ImageType imageType); int getBreadcrumbsClipping(); boolean isDisplayTopstructLabel(); boolean getDisplayStructType(); int getSearchHitMetadataValueNumber(); int getSearchHitMetadataValueLength(); List<String> getWatermarkTextConfiguration(); String getWatermarkFormat(); boolean isOriginalContentDownload(); String getStopwordsFilePath(); String getPageType(PageType type); String getDocstructTargetPageType(String docstruct); String getPageTypeExitView(PageType type); int getFulltextPercentageWarningThreshold(); boolean isUseViewerLocaleAsRecordLanguage(); String getFeedbackEmailAddress(); boolean isBookmarksEnabled(); boolean isForceJpegConversion(); int getPageLoaderThreshold(); boolean isPreventProxyCaching(); boolean isSolrCompressionEnabled(); boolean isSolrBackwardsCompatible(); boolean isUserCommentsEnabled(); String getUserCommentsConditionalQuery(); List<String> getUserCommentsNotificationEmailAddresses(); String getViewerHome(); List<String> getWatermarkIdField(); String getSubthemeMainTheme(); String getSubthemeDiscriminatorField(); int getTagCloudSampleSize(String fieldName); List<StringPair> getTocVolumeSortFieldsForTemplate(String template); String getTocVolumeGroupFieldForTemplate(String template); boolean getDisplayTitleBreadcrumbs(); boolean isDisplayTitlePURL(); int getTitleBreadcrumbsMaxTitleLength(); boolean getIncludeAnchorInTitleBreadcrumbs(); boolean isDisplaySearchRssLinks(); boolean showThumbnailsInToc(); String getStartYearForTimeline(); String getEndYearForTimeline(); String getTimelineHits(); boolean isPiwikTrackingEnabled(); String getPiwikBaseURL(); String getPiwikSiteID(); boolean isSearchSavingEnabled(); boolean isBoostTopLevelDocstructs(); boolean isGroupDuplicateHits(); List<String> getRecordGroupIdentifierFields(); List<String> getAncestorIdentifierFields(); boolean isTocListSiblingRecords(); List<SearchFilter> getSearchFilters(); List<Map<String, String>> getWebApiFields(); String getDbPersistenceUnit(); boolean useCustomNavBar(); String getCmsTemplateFolder(); String getCmsMediaFolder(); String getTempMediaFolder(); List<String> getCmsClassifications(); int getCmsMediaDisplayWidth(); int getCmsMediaDisplayHeight(); boolean isTranskribusEnabled(); String getTranskribusUserName(); String getTranskribusPassword(); String getTranskribusDefaultCollection(); String getTranskribusRestApiUrl(); List<String> getTranskribusAllowedDocumentTypes(); int getTocIndentation(); boolean isPageBrowseEnabled(); List<Integer> getPageBrowseSteps(); String getTaskManagerServiceUrl(); String getTaskManagerRestUrl(); String getReCaptchaSiteKey(); boolean isUseReCaptcha(); boolean isSearchInItemEnabled(); String getDefaultBrowseIcon(String field); boolean isSearchExcelExportEnabled(); List<String> getSearchExcelExportFields(); int getExcelDownloadTimeout(); boolean isDisplayEmptyTocInSidebar(); boolean isDoublePageModeEnabled(); List<String> getRestrictedImageUrls(); List<String> getIIIFLicenses(); List<String> getIIIFMetadataFields(); List<String> getIIIFEventFields(); String getIIIFMetadataLabel(String field); int getIIIFDiscoveryAvtivitiesPerPage(); List<String> getIIIFLogo(); String getIIIFNavDateField(); List<String> getIIIFAttribution(); List<String> getIIIFDescriptionFields(); String getSitelinksField(); String getSitelinksFilterQuery(); List<String> getConfiguredCollections(); String getWebApiToken(); boolean isAllowRedirectCollectionToWork(); String getTwitterUserName(); float getLimitImageHeightUpperRatioThreshold(); float getLimitImageHeightLowerRatioThreshold(); boolean isLimitImageHeight(); boolean isAddCORSHeader(); String getCORSHeaderValue(); boolean isDiscloseImageContentLocation(); String getAccessConditionDisplayField(); String getCopyrightDisplayField(); boolean isDisplayCopyrightInfo(); boolean isDisplaySocialMediaShareLinks(); boolean isDisplayAnchorLabelInTitleBar(String template); String getAnchorLabelInTitleBarPrefix(String template); String getAnchorLabelInTitleBarSuffix(String template); String getMapBoxToken(); GeoMapMarker getGeoMapMarker(String name); List<String> getGeoMapMarkerFields(); List<GeoMapMarker> getGeoMapMarkers(); static GeoMapMarker readGeoMapMarker(HierarchicalConfiguration config); List<LicenseDescription> getLicenseDescriptions(); }
Configuration extends AbstractConfiguration { public String getSmtpSecurity() { return getLocalString("user.smtpSecurity", "none"); } Configuration(String configFilePath); Set<String> getStopwords(); boolean reloadingRequired(); String getConfigLocalPath(); String getLocalRessourceBundleFile(); int getViewerThumbnailsPerPage(); int getViewerMaxImageWidth(); int getViewerMaxImageHeight(); int getViewerMaxImageScale(); boolean isRememberImageZoom(); boolean isRememberImageRotation(); String getDfgViewerUrl(); String getConnectorVersionUrl(); List<Metadata> getTitleBarMetadata(); List<Metadata> getSearchHitMetadataForTemplate(String template); List<Metadata> getMainMetadataForTemplate(String template); List<Metadata> getSidebarMetadataForTemplate(String template); List<String> getNormdataFieldsForTemplate(String template); List<Metadata> getTocLabelConfiguration(String template); int getTocAnchorGroupElementsPerPage(); boolean isDisplaySidebarBrowsingTerms(); boolean isDisplaySidebarRssFeed(); boolean isDisplayWidgetUsage(); Metadata getWidgetUsageLicenceTextMetadata(); boolean isDisplaySidebarUsageWidgetLinkToJpegImage(); boolean isDisplaySidebarUsageWidgetLinkToMasterImage(); String getWidgetUsageMaxJpegSize(); String getWidgetUsageMaxMasterImageSize(); List<String> getCalendarDocStructTypes(); boolean isBrowsingMenuEnabled(); int getBrowsingMenuHitsPerPage(); List<BrowsingMenuFieldConfig> getBrowsingMenuFields(); String getBrowsingMenuSortingIgnoreLeadingChars(); String getDocstrctWhitelistFilterQuery(); String getCollectionSplittingChar(String field); List<DcSortingList> getCollectionSorting(String field); List<String> getCollectionBlacklist(String field); String getCollectionDefaultSortField(String field, String name); int getCollectionDisplayNumberOfVolumesLevel(String field); int getCollectionDisplayDepthForSearch(String field); String getCollectionHierarchyField(); boolean isAddCollectionHierarchyToBreadcrumbs(String field); String getSolrUrl(); String getContentServerWrapperUrl(); String getDownloadUrl(); String getRestApiUrl(); String getIIIFApiUrl(); boolean isUseIIIFApiUrlForCmsMediaUrls(); String getContentServerRealUrl(); String getMetsUrl(); String getMarcUrl(); String getDcUrl(); String getEseUrl(); List<Integer> getSearchHitsPerPageValues(); int getSearchHitsPerPageDefaultValue(); int getFulltextFragmentLength(); boolean isAdvancedSearchEnabled(); int getAdvancedSearchDefaultItemNumber(); List<AdvancedSearchFieldConfiguration> getAdvancedSearchFields(); boolean isAggregateHits(); boolean isDisplayAdditionalMetadataEnabled(); List<String> getDisplayAdditionalMetadataIgnoreFields(); List<String> getDisplayAdditionalMetadataTranslateFields(); boolean isAdvancedSearchFieldHierarchical(String field); boolean isAdvancedSearchFieldRange(String field); boolean isAdvancedSearchFieldUntokenizeForPhraseSearch(String field); String getAdvancedSearchFieldSeparatorLabel(String field); boolean isTimelineSearchEnabled(); boolean isCalendarSearchEnabled(); String getStaticQuerySuffix(); String getPreviousVersionIdentifierField(); String getNextVersionIdentifierField(); String getVersionLabelField(); String getIndexedMetsFolder(); String getIndexedLidoFolder(); String getIndexedDenkxwebFolder(); String getIndexedDublinCoreFolder(); String getPageSelectionFormat(); String getMediaFolder(); String getPdfFolder(); String getVocabulariesFolder(); String getOrigContentFolder(); String getCmsTextFolder(); String getAltoFolder(); String getAbbyyFolder(); String getFulltextFolder(); String getTeiFolder(); String getCmdiFolder(); String getWcFolder(); String getAnnotationFolder(); String getHotfolder(); @SuppressWarnings("static-method") String getTempFolder(); boolean isUrnDoRedirect(); boolean isUserRegistrationEnabled(); List<SecurityQuestion> getSecurityQuestions(); boolean isShowOpenIdConnect(); List<IAuthenticationProvider> getAuthenticationProviders(); String getSmtpServer(); String getSmtpUser(); String getSmtpPassword(); String getSmtpSenderAddress(); String getSmtpSenderName(); String getSmtpSecurity(); String getAnonymousUserEmailAddress(); boolean isDisplayCollectionBrowsing(); boolean isDisplayUserNavigation(); boolean isDisplayTagCloudNavigation(); boolean isDisplayStatistics(); boolean isDisplayTimeMatrix(); boolean isDisplayCrowdsourcingModuleLinks(); String getTheme(); String getThemeRootPath(); String getName(); String getDescription(); boolean isDisplayTagCloudStartpage(); boolean isDisplaySearchResultNavigation(); boolean isFoldout(String sidebarElement); boolean isSidebarPageViewLinkVisible(); boolean isSidebarCalendarViewLinkVisible(); boolean isSidebarTocViewLinkVisible(); boolean isSidebarThumbsViewLinkVisible(); boolean isSidebarMetadataViewLinkVisible(); boolean isShowSidebarEventMetadata(); boolean isShowRecordLabelIfNoOtherViews(); boolean isSidebarFulltextLinkVisible(); boolean isSidebarTocWidgetVisible(); boolean isSidebarTocWidgetVisibleInFullscreen(); boolean isSidebarOpacLinkVisible(); boolean getSidebarTocPageNumbersVisible(); int getSidebarTocLengthBeforeCut(); int getSidebarTocInitialCollapseLevel(); int getSidebarTocCollapseLengthThreshold(); int getSidebarTocLowestLevelToCollapseForLength(); boolean isSidebarTocTreeView(); boolean isTocTreeView(String docStructType); List<String> getAllDrillDownFields(); List<String> getDrillDownFields(); List<String> getHierarchicalDrillDownFields(); int getInitialDrillDownElementNumber(String field); String getSortOrder(String field); List<String> getPriorityValuesForDrillDownField(String field); String getLabelFieldForDrillDownField(String facetField); @SuppressWarnings("static-method") List<String> getRangeFacetFields(); boolean isSortingEnabled(); String getDefaultSortField(); List<String> getSortFields(); List<String> getStaticSortFields(); String getUrnResolverUrl(); int getUnconditionalImageAccessMaxWidth(); boolean isFullAccessForLocalhost(); boolean isGeneratePdfInTaskManager(); boolean isPdfApiDisabled(); boolean isTitlePdfEnabled(); boolean isTocPdfEnabled(); boolean isMetadataPdfEnabled(); boolean isPagePdfEnabled(); boolean isDocHierarchyPdfEnabled(); boolean isTitleEpubEnabled(); boolean isTocEpubEnabled(); boolean isMetadataEpubEnabled(); String getDownloadFolder(String type); int getRssFeedItems(); String getRssTitle(); String getRssDescription(); String getRssCopyrightText(); String getRulesetFilePath(); String getDefaultCollection(); int getThumbnailsWidth(); int getThumbnailsHeight(); int getThumbnailsCompression(); String getAnchorThumbnailMode(); int getMultivolumeThumbnailWidth(); int getMultivolumeThumbnailHeight(); boolean getDisplayBreadcrumbs(); boolean getDisplayMetadataPageLinkBlock(); boolean isAddDublinCoreMetaTags(); boolean isAddHighwirePressMetaTags(); int getMetadataParamNumber(); boolean useTiles(); boolean useTilesFullscreen(); boolean useTiles(PageType view, ImageType image); int getFooterHeight(); int getFullscreenFooterHeight(); int getFooterHeight(PageType view, ImageType image); String getImageViewType(); String getZoomFullscreenViewType(); String getZoomImageViewType(PageType view, ImageType image); boolean useOpenSeadragon(); List<String> getImageViewZoomScales(); List<String> getImageViewZoomScales(String view); List<String> getImageViewZoomScales(PageType view, ImageType image); Map<Integer, List<Integer>> getTileSizes(); Map<Integer, List<Integer>> getTileSizes(PageType view, ImageType image); SubnodeConfiguration getZoomImageViewConfig(PageType pageType, ImageType imageType); int getBreadcrumbsClipping(); boolean isDisplayTopstructLabel(); boolean getDisplayStructType(); int getSearchHitMetadataValueNumber(); int getSearchHitMetadataValueLength(); List<String> getWatermarkTextConfiguration(); String getWatermarkFormat(); boolean isOriginalContentDownload(); String getStopwordsFilePath(); String getPageType(PageType type); String getDocstructTargetPageType(String docstruct); String getPageTypeExitView(PageType type); int getFulltextPercentageWarningThreshold(); boolean isUseViewerLocaleAsRecordLanguage(); String getFeedbackEmailAddress(); boolean isBookmarksEnabled(); boolean isForceJpegConversion(); int getPageLoaderThreshold(); boolean isPreventProxyCaching(); boolean isSolrCompressionEnabled(); boolean isSolrBackwardsCompatible(); boolean isUserCommentsEnabled(); String getUserCommentsConditionalQuery(); List<String> getUserCommentsNotificationEmailAddresses(); String getViewerHome(); List<String> getWatermarkIdField(); String getSubthemeMainTheme(); String getSubthemeDiscriminatorField(); int getTagCloudSampleSize(String fieldName); List<StringPair> getTocVolumeSortFieldsForTemplate(String template); String getTocVolumeGroupFieldForTemplate(String template); boolean getDisplayTitleBreadcrumbs(); boolean isDisplayTitlePURL(); int getTitleBreadcrumbsMaxTitleLength(); boolean getIncludeAnchorInTitleBreadcrumbs(); boolean isDisplaySearchRssLinks(); boolean showThumbnailsInToc(); String getStartYearForTimeline(); String getEndYearForTimeline(); String getTimelineHits(); boolean isPiwikTrackingEnabled(); String getPiwikBaseURL(); String getPiwikSiteID(); boolean isSearchSavingEnabled(); boolean isBoostTopLevelDocstructs(); boolean isGroupDuplicateHits(); List<String> getRecordGroupIdentifierFields(); List<String> getAncestorIdentifierFields(); boolean isTocListSiblingRecords(); List<SearchFilter> getSearchFilters(); List<Map<String, String>> getWebApiFields(); String getDbPersistenceUnit(); boolean useCustomNavBar(); String getCmsTemplateFolder(); String getCmsMediaFolder(); String getTempMediaFolder(); List<String> getCmsClassifications(); int getCmsMediaDisplayWidth(); int getCmsMediaDisplayHeight(); boolean isTranskribusEnabled(); String getTranskribusUserName(); String getTranskribusPassword(); String getTranskribusDefaultCollection(); String getTranskribusRestApiUrl(); List<String> getTranskribusAllowedDocumentTypes(); int getTocIndentation(); boolean isPageBrowseEnabled(); List<Integer> getPageBrowseSteps(); String getTaskManagerServiceUrl(); String getTaskManagerRestUrl(); String getReCaptchaSiteKey(); boolean isUseReCaptcha(); boolean isSearchInItemEnabled(); String getDefaultBrowseIcon(String field); boolean isSearchExcelExportEnabled(); List<String> getSearchExcelExportFields(); int getExcelDownloadTimeout(); boolean isDisplayEmptyTocInSidebar(); boolean isDoublePageModeEnabled(); List<String> getRestrictedImageUrls(); List<String> getIIIFLicenses(); List<String> getIIIFMetadataFields(); List<String> getIIIFEventFields(); String getIIIFMetadataLabel(String field); int getIIIFDiscoveryAvtivitiesPerPage(); List<String> getIIIFLogo(); String getIIIFNavDateField(); List<String> getIIIFAttribution(); List<String> getIIIFDescriptionFields(); String getSitelinksField(); String getSitelinksFilterQuery(); List<String> getConfiguredCollections(); String getWebApiToken(); boolean isAllowRedirectCollectionToWork(); String getTwitterUserName(); float getLimitImageHeightUpperRatioThreshold(); float getLimitImageHeightLowerRatioThreshold(); boolean isLimitImageHeight(); boolean isAddCORSHeader(); String getCORSHeaderValue(); boolean isDiscloseImageContentLocation(); String getAccessConditionDisplayField(); String getCopyrightDisplayField(); boolean isDisplayCopyrightInfo(); boolean isDisplaySocialMediaShareLinks(); boolean isDisplayAnchorLabelInTitleBar(String template); String getAnchorLabelInTitleBarPrefix(String template); String getAnchorLabelInTitleBarSuffix(String template); String getMapBoxToken(); GeoMapMarker getGeoMapMarker(String name); List<String> getGeoMapMarkerFields(); List<GeoMapMarker> getGeoMapMarkers(); static GeoMapMarker readGeoMapMarker(HierarchicalConfiguration config); List<LicenseDescription> getLicenseDescriptions(); }
@Test public void getSmtpSenderAddress_shouldReturnCorrectValue() throws Exception { Assert.assertEquals("smtpSenderAddress_value", DataManager.getInstance().getConfiguration().getSmtpSenderAddress()); }
public String getSmtpSenderAddress() { return getLocalString("user.smtpSenderAddress"); }
Configuration extends AbstractConfiguration { public String getSmtpSenderAddress() { return getLocalString("user.smtpSenderAddress"); } }
Configuration extends AbstractConfiguration { public String getSmtpSenderAddress() { return getLocalString("user.smtpSenderAddress"); } Configuration(String configFilePath); }
Configuration extends AbstractConfiguration { public String getSmtpSenderAddress() { return getLocalString("user.smtpSenderAddress"); } Configuration(String configFilePath); Set<String> getStopwords(); boolean reloadingRequired(); String getConfigLocalPath(); String getLocalRessourceBundleFile(); int getViewerThumbnailsPerPage(); int getViewerMaxImageWidth(); int getViewerMaxImageHeight(); int getViewerMaxImageScale(); boolean isRememberImageZoom(); boolean isRememberImageRotation(); String getDfgViewerUrl(); String getConnectorVersionUrl(); List<Metadata> getTitleBarMetadata(); List<Metadata> getSearchHitMetadataForTemplate(String template); List<Metadata> getMainMetadataForTemplate(String template); List<Metadata> getSidebarMetadataForTemplate(String template); List<String> getNormdataFieldsForTemplate(String template); List<Metadata> getTocLabelConfiguration(String template); int getTocAnchorGroupElementsPerPage(); boolean isDisplaySidebarBrowsingTerms(); boolean isDisplaySidebarRssFeed(); boolean isDisplayWidgetUsage(); Metadata getWidgetUsageLicenceTextMetadata(); boolean isDisplaySidebarUsageWidgetLinkToJpegImage(); boolean isDisplaySidebarUsageWidgetLinkToMasterImage(); String getWidgetUsageMaxJpegSize(); String getWidgetUsageMaxMasterImageSize(); List<String> getCalendarDocStructTypes(); boolean isBrowsingMenuEnabled(); int getBrowsingMenuHitsPerPage(); List<BrowsingMenuFieldConfig> getBrowsingMenuFields(); String getBrowsingMenuSortingIgnoreLeadingChars(); String getDocstrctWhitelistFilterQuery(); String getCollectionSplittingChar(String field); List<DcSortingList> getCollectionSorting(String field); List<String> getCollectionBlacklist(String field); String getCollectionDefaultSortField(String field, String name); int getCollectionDisplayNumberOfVolumesLevel(String field); int getCollectionDisplayDepthForSearch(String field); String getCollectionHierarchyField(); boolean isAddCollectionHierarchyToBreadcrumbs(String field); String getSolrUrl(); String getContentServerWrapperUrl(); String getDownloadUrl(); String getRestApiUrl(); String getIIIFApiUrl(); boolean isUseIIIFApiUrlForCmsMediaUrls(); String getContentServerRealUrl(); String getMetsUrl(); String getMarcUrl(); String getDcUrl(); String getEseUrl(); List<Integer> getSearchHitsPerPageValues(); int getSearchHitsPerPageDefaultValue(); int getFulltextFragmentLength(); boolean isAdvancedSearchEnabled(); int getAdvancedSearchDefaultItemNumber(); List<AdvancedSearchFieldConfiguration> getAdvancedSearchFields(); boolean isAggregateHits(); boolean isDisplayAdditionalMetadataEnabled(); List<String> getDisplayAdditionalMetadataIgnoreFields(); List<String> getDisplayAdditionalMetadataTranslateFields(); boolean isAdvancedSearchFieldHierarchical(String field); boolean isAdvancedSearchFieldRange(String field); boolean isAdvancedSearchFieldUntokenizeForPhraseSearch(String field); String getAdvancedSearchFieldSeparatorLabel(String field); boolean isTimelineSearchEnabled(); boolean isCalendarSearchEnabled(); String getStaticQuerySuffix(); String getPreviousVersionIdentifierField(); String getNextVersionIdentifierField(); String getVersionLabelField(); String getIndexedMetsFolder(); String getIndexedLidoFolder(); String getIndexedDenkxwebFolder(); String getIndexedDublinCoreFolder(); String getPageSelectionFormat(); String getMediaFolder(); String getPdfFolder(); String getVocabulariesFolder(); String getOrigContentFolder(); String getCmsTextFolder(); String getAltoFolder(); String getAbbyyFolder(); String getFulltextFolder(); String getTeiFolder(); String getCmdiFolder(); String getWcFolder(); String getAnnotationFolder(); String getHotfolder(); @SuppressWarnings("static-method") String getTempFolder(); boolean isUrnDoRedirect(); boolean isUserRegistrationEnabled(); List<SecurityQuestion> getSecurityQuestions(); boolean isShowOpenIdConnect(); List<IAuthenticationProvider> getAuthenticationProviders(); String getSmtpServer(); String getSmtpUser(); String getSmtpPassword(); String getSmtpSenderAddress(); String getSmtpSenderName(); String getSmtpSecurity(); String getAnonymousUserEmailAddress(); boolean isDisplayCollectionBrowsing(); boolean isDisplayUserNavigation(); boolean isDisplayTagCloudNavigation(); boolean isDisplayStatistics(); boolean isDisplayTimeMatrix(); boolean isDisplayCrowdsourcingModuleLinks(); String getTheme(); String getThemeRootPath(); String getName(); String getDescription(); boolean isDisplayTagCloudStartpage(); boolean isDisplaySearchResultNavigation(); boolean isFoldout(String sidebarElement); boolean isSidebarPageViewLinkVisible(); boolean isSidebarCalendarViewLinkVisible(); boolean isSidebarTocViewLinkVisible(); boolean isSidebarThumbsViewLinkVisible(); boolean isSidebarMetadataViewLinkVisible(); boolean isShowSidebarEventMetadata(); boolean isShowRecordLabelIfNoOtherViews(); boolean isSidebarFulltextLinkVisible(); boolean isSidebarTocWidgetVisible(); boolean isSidebarTocWidgetVisibleInFullscreen(); boolean isSidebarOpacLinkVisible(); boolean getSidebarTocPageNumbersVisible(); int getSidebarTocLengthBeforeCut(); int getSidebarTocInitialCollapseLevel(); int getSidebarTocCollapseLengthThreshold(); int getSidebarTocLowestLevelToCollapseForLength(); boolean isSidebarTocTreeView(); boolean isTocTreeView(String docStructType); List<String> getAllDrillDownFields(); List<String> getDrillDownFields(); List<String> getHierarchicalDrillDownFields(); int getInitialDrillDownElementNumber(String field); String getSortOrder(String field); List<String> getPriorityValuesForDrillDownField(String field); String getLabelFieldForDrillDownField(String facetField); @SuppressWarnings("static-method") List<String> getRangeFacetFields(); boolean isSortingEnabled(); String getDefaultSortField(); List<String> getSortFields(); List<String> getStaticSortFields(); String getUrnResolverUrl(); int getUnconditionalImageAccessMaxWidth(); boolean isFullAccessForLocalhost(); boolean isGeneratePdfInTaskManager(); boolean isPdfApiDisabled(); boolean isTitlePdfEnabled(); boolean isTocPdfEnabled(); boolean isMetadataPdfEnabled(); boolean isPagePdfEnabled(); boolean isDocHierarchyPdfEnabled(); boolean isTitleEpubEnabled(); boolean isTocEpubEnabled(); boolean isMetadataEpubEnabled(); String getDownloadFolder(String type); int getRssFeedItems(); String getRssTitle(); String getRssDescription(); String getRssCopyrightText(); String getRulesetFilePath(); String getDefaultCollection(); int getThumbnailsWidth(); int getThumbnailsHeight(); int getThumbnailsCompression(); String getAnchorThumbnailMode(); int getMultivolumeThumbnailWidth(); int getMultivolumeThumbnailHeight(); boolean getDisplayBreadcrumbs(); boolean getDisplayMetadataPageLinkBlock(); boolean isAddDublinCoreMetaTags(); boolean isAddHighwirePressMetaTags(); int getMetadataParamNumber(); boolean useTiles(); boolean useTilesFullscreen(); boolean useTiles(PageType view, ImageType image); int getFooterHeight(); int getFullscreenFooterHeight(); int getFooterHeight(PageType view, ImageType image); String getImageViewType(); String getZoomFullscreenViewType(); String getZoomImageViewType(PageType view, ImageType image); boolean useOpenSeadragon(); List<String> getImageViewZoomScales(); List<String> getImageViewZoomScales(String view); List<String> getImageViewZoomScales(PageType view, ImageType image); Map<Integer, List<Integer>> getTileSizes(); Map<Integer, List<Integer>> getTileSizes(PageType view, ImageType image); SubnodeConfiguration getZoomImageViewConfig(PageType pageType, ImageType imageType); int getBreadcrumbsClipping(); boolean isDisplayTopstructLabel(); boolean getDisplayStructType(); int getSearchHitMetadataValueNumber(); int getSearchHitMetadataValueLength(); List<String> getWatermarkTextConfiguration(); String getWatermarkFormat(); boolean isOriginalContentDownload(); String getStopwordsFilePath(); String getPageType(PageType type); String getDocstructTargetPageType(String docstruct); String getPageTypeExitView(PageType type); int getFulltextPercentageWarningThreshold(); boolean isUseViewerLocaleAsRecordLanguage(); String getFeedbackEmailAddress(); boolean isBookmarksEnabled(); boolean isForceJpegConversion(); int getPageLoaderThreshold(); boolean isPreventProxyCaching(); boolean isSolrCompressionEnabled(); boolean isSolrBackwardsCompatible(); boolean isUserCommentsEnabled(); String getUserCommentsConditionalQuery(); List<String> getUserCommentsNotificationEmailAddresses(); String getViewerHome(); List<String> getWatermarkIdField(); String getSubthemeMainTheme(); String getSubthemeDiscriminatorField(); int getTagCloudSampleSize(String fieldName); List<StringPair> getTocVolumeSortFieldsForTemplate(String template); String getTocVolumeGroupFieldForTemplate(String template); boolean getDisplayTitleBreadcrumbs(); boolean isDisplayTitlePURL(); int getTitleBreadcrumbsMaxTitleLength(); boolean getIncludeAnchorInTitleBreadcrumbs(); boolean isDisplaySearchRssLinks(); boolean showThumbnailsInToc(); String getStartYearForTimeline(); String getEndYearForTimeline(); String getTimelineHits(); boolean isPiwikTrackingEnabled(); String getPiwikBaseURL(); String getPiwikSiteID(); boolean isSearchSavingEnabled(); boolean isBoostTopLevelDocstructs(); boolean isGroupDuplicateHits(); List<String> getRecordGroupIdentifierFields(); List<String> getAncestorIdentifierFields(); boolean isTocListSiblingRecords(); List<SearchFilter> getSearchFilters(); List<Map<String, String>> getWebApiFields(); String getDbPersistenceUnit(); boolean useCustomNavBar(); String getCmsTemplateFolder(); String getCmsMediaFolder(); String getTempMediaFolder(); List<String> getCmsClassifications(); int getCmsMediaDisplayWidth(); int getCmsMediaDisplayHeight(); boolean isTranskribusEnabled(); String getTranskribusUserName(); String getTranskribusPassword(); String getTranskribusDefaultCollection(); String getTranskribusRestApiUrl(); List<String> getTranskribusAllowedDocumentTypes(); int getTocIndentation(); boolean isPageBrowseEnabled(); List<Integer> getPageBrowseSteps(); String getTaskManagerServiceUrl(); String getTaskManagerRestUrl(); String getReCaptchaSiteKey(); boolean isUseReCaptcha(); boolean isSearchInItemEnabled(); String getDefaultBrowseIcon(String field); boolean isSearchExcelExportEnabled(); List<String> getSearchExcelExportFields(); int getExcelDownloadTimeout(); boolean isDisplayEmptyTocInSidebar(); boolean isDoublePageModeEnabled(); List<String> getRestrictedImageUrls(); List<String> getIIIFLicenses(); List<String> getIIIFMetadataFields(); List<String> getIIIFEventFields(); String getIIIFMetadataLabel(String field); int getIIIFDiscoveryAvtivitiesPerPage(); List<String> getIIIFLogo(); String getIIIFNavDateField(); List<String> getIIIFAttribution(); List<String> getIIIFDescriptionFields(); String getSitelinksField(); String getSitelinksFilterQuery(); List<String> getConfiguredCollections(); String getWebApiToken(); boolean isAllowRedirectCollectionToWork(); String getTwitterUserName(); float getLimitImageHeightUpperRatioThreshold(); float getLimitImageHeightLowerRatioThreshold(); boolean isLimitImageHeight(); boolean isAddCORSHeader(); String getCORSHeaderValue(); boolean isDiscloseImageContentLocation(); String getAccessConditionDisplayField(); String getCopyrightDisplayField(); boolean isDisplayCopyrightInfo(); boolean isDisplaySocialMediaShareLinks(); boolean isDisplayAnchorLabelInTitleBar(String template); String getAnchorLabelInTitleBarPrefix(String template); String getAnchorLabelInTitleBarSuffix(String template); String getMapBoxToken(); GeoMapMarker getGeoMapMarker(String name); List<String> getGeoMapMarkerFields(); List<GeoMapMarker> getGeoMapMarkers(); static GeoMapMarker readGeoMapMarker(HierarchicalConfiguration config); List<LicenseDescription> getLicenseDescriptions(); }
Configuration extends AbstractConfiguration { public String getSmtpSenderAddress() { return getLocalString("user.smtpSenderAddress"); } Configuration(String configFilePath); Set<String> getStopwords(); boolean reloadingRequired(); String getConfigLocalPath(); String getLocalRessourceBundleFile(); int getViewerThumbnailsPerPage(); int getViewerMaxImageWidth(); int getViewerMaxImageHeight(); int getViewerMaxImageScale(); boolean isRememberImageZoom(); boolean isRememberImageRotation(); String getDfgViewerUrl(); String getConnectorVersionUrl(); List<Metadata> getTitleBarMetadata(); List<Metadata> getSearchHitMetadataForTemplate(String template); List<Metadata> getMainMetadataForTemplate(String template); List<Metadata> getSidebarMetadataForTemplate(String template); List<String> getNormdataFieldsForTemplate(String template); List<Metadata> getTocLabelConfiguration(String template); int getTocAnchorGroupElementsPerPage(); boolean isDisplaySidebarBrowsingTerms(); boolean isDisplaySidebarRssFeed(); boolean isDisplayWidgetUsage(); Metadata getWidgetUsageLicenceTextMetadata(); boolean isDisplaySidebarUsageWidgetLinkToJpegImage(); boolean isDisplaySidebarUsageWidgetLinkToMasterImage(); String getWidgetUsageMaxJpegSize(); String getWidgetUsageMaxMasterImageSize(); List<String> getCalendarDocStructTypes(); boolean isBrowsingMenuEnabled(); int getBrowsingMenuHitsPerPage(); List<BrowsingMenuFieldConfig> getBrowsingMenuFields(); String getBrowsingMenuSortingIgnoreLeadingChars(); String getDocstrctWhitelistFilterQuery(); String getCollectionSplittingChar(String field); List<DcSortingList> getCollectionSorting(String field); List<String> getCollectionBlacklist(String field); String getCollectionDefaultSortField(String field, String name); int getCollectionDisplayNumberOfVolumesLevel(String field); int getCollectionDisplayDepthForSearch(String field); String getCollectionHierarchyField(); boolean isAddCollectionHierarchyToBreadcrumbs(String field); String getSolrUrl(); String getContentServerWrapperUrl(); String getDownloadUrl(); String getRestApiUrl(); String getIIIFApiUrl(); boolean isUseIIIFApiUrlForCmsMediaUrls(); String getContentServerRealUrl(); String getMetsUrl(); String getMarcUrl(); String getDcUrl(); String getEseUrl(); List<Integer> getSearchHitsPerPageValues(); int getSearchHitsPerPageDefaultValue(); int getFulltextFragmentLength(); boolean isAdvancedSearchEnabled(); int getAdvancedSearchDefaultItemNumber(); List<AdvancedSearchFieldConfiguration> getAdvancedSearchFields(); boolean isAggregateHits(); boolean isDisplayAdditionalMetadataEnabled(); List<String> getDisplayAdditionalMetadataIgnoreFields(); List<String> getDisplayAdditionalMetadataTranslateFields(); boolean isAdvancedSearchFieldHierarchical(String field); boolean isAdvancedSearchFieldRange(String field); boolean isAdvancedSearchFieldUntokenizeForPhraseSearch(String field); String getAdvancedSearchFieldSeparatorLabel(String field); boolean isTimelineSearchEnabled(); boolean isCalendarSearchEnabled(); String getStaticQuerySuffix(); String getPreviousVersionIdentifierField(); String getNextVersionIdentifierField(); String getVersionLabelField(); String getIndexedMetsFolder(); String getIndexedLidoFolder(); String getIndexedDenkxwebFolder(); String getIndexedDublinCoreFolder(); String getPageSelectionFormat(); String getMediaFolder(); String getPdfFolder(); String getVocabulariesFolder(); String getOrigContentFolder(); String getCmsTextFolder(); String getAltoFolder(); String getAbbyyFolder(); String getFulltextFolder(); String getTeiFolder(); String getCmdiFolder(); String getWcFolder(); String getAnnotationFolder(); String getHotfolder(); @SuppressWarnings("static-method") String getTempFolder(); boolean isUrnDoRedirect(); boolean isUserRegistrationEnabled(); List<SecurityQuestion> getSecurityQuestions(); boolean isShowOpenIdConnect(); List<IAuthenticationProvider> getAuthenticationProviders(); String getSmtpServer(); String getSmtpUser(); String getSmtpPassword(); String getSmtpSenderAddress(); String getSmtpSenderName(); String getSmtpSecurity(); String getAnonymousUserEmailAddress(); boolean isDisplayCollectionBrowsing(); boolean isDisplayUserNavigation(); boolean isDisplayTagCloudNavigation(); boolean isDisplayStatistics(); boolean isDisplayTimeMatrix(); boolean isDisplayCrowdsourcingModuleLinks(); String getTheme(); String getThemeRootPath(); String getName(); String getDescription(); boolean isDisplayTagCloudStartpage(); boolean isDisplaySearchResultNavigation(); boolean isFoldout(String sidebarElement); boolean isSidebarPageViewLinkVisible(); boolean isSidebarCalendarViewLinkVisible(); boolean isSidebarTocViewLinkVisible(); boolean isSidebarThumbsViewLinkVisible(); boolean isSidebarMetadataViewLinkVisible(); boolean isShowSidebarEventMetadata(); boolean isShowRecordLabelIfNoOtherViews(); boolean isSidebarFulltextLinkVisible(); boolean isSidebarTocWidgetVisible(); boolean isSidebarTocWidgetVisibleInFullscreen(); boolean isSidebarOpacLinkVisible(); boolean getSidebarTocPageNumbersVisible(); int getSidebarTocLengthBeforeCut(); int getSidebarTocInitialCollapseLevel(); int getSidebarTocCollapseLengthThreshold(); int getSidebarTocLowestLevelToCollapseForLength(); boolean isSidebarTocTreeView(); boolean isTocTreeView(String docStructType); List<String> getAllDrillDownFields(); List<String> getDrillDownFields(); List<String> getHierarchicalDrillDownFields(); int getInitialDrillDownElementNumber(String field); String getSortOrder(String field); List<String> getPriorityValuesForDrillDownField(String field); String getLabelFieldForDrillDownField(String facetField); @SuppressWarnings("static-method") List<String> getRangeFacetFields(); boolean isSortingEnabled(); String getDefaultSortField(); List<String> getSortFields(); List<String> getStaticSortFields(); String getUrnResolverUrl(); int getUnconditionalImageAccessMaxWidth(); boolean isFullAccessForLocalhost(); boolean isGeneratePdfInTaskManager(); boolean isPdfApiDisabled(); boolean isTitlePdfEnabled(); boolean isTocPdfEnabled(); boolean isMetadataPdfEnabled(); boolean isPagePdfEnabled(); boolean isDocHierarchyPdfEnabled(); boolean isTitleEpubEnabled(); boolean isTocEpubEnabled(); boolean isMetadataEpubEnabled(); String getDownloadFolder(String type); int getRssFeedItems(); String getRssTitle(); String getRssDescription(); String getRssCopyrightText(); String getRulesetFilePath(); String getDefaultCollection(); int getThumbnailsWidth(); int getThumbnailsHeight(); int getThumbnailsCompression(); String getAnchorThumbnailMode(); int getMultivolumeThumbnailWidth(); int getMultivolumeThumbnailHeight(); boolean getDisplayBreadcrumbs(); boolean getDisplayMetadataPageLinkBlock(); boolean isAddDublinCoreMetaTags(); boolean isAddHighwirePressMetaTags(); int getMetadataParamNumber(); boolean useTiles(); boolean useTilesFullscreen(); boolean useTiles(PageType view, ImageType image); int getFooterHeight(); int getFullscreenFooterHeight(); int getFooterHeight(PageType view, ImageType image); String getImageViewType(); String getZoomFullscreenViewType(); String getZoomImageViewType(PageType view, ImageType image); boolean useOpenSeadragon(); List<String> getImageViewZoomScales(); List<String> getImageViewZoomScales(String view); List<String> getImageViewZoomScales(PageType view, ImageType image); Map<Integer, List<Integer>> getTileSizes(); Map<Integer, List<Integer>> getTileSizes(PageType view, ImageType image); SubnodeConfiguration getZoomImageViewConfig(PageType pageType, ImageType imageType); int getBreadcrumbsClipping(); boolean isDisplayTopstructLabel(); boolean getDisplayStructType(); int getSearchHitMetadataValueNumber(); int getSearchHitMetadataValueLength(); List<String> getWatermarkTextConfiguration(); String getWatermarkFormat(); boolean isOriginalContentDownload(); String getStopwordsFilePath(); String getPageType(PageType type); String getDocstructTargetPageType(String docstruct); String getPageTypeExitView(PageType type); int getFulltextPercentageWarningThreshold(); boolean isUseViewerLocaleAsRecordLanguage(); String getFeedbackEmailAddress(); boolean isBookmarksEnabled(); boolean isForceJpegConversion(); int getPageLoaderThreshold(); boolean isPreventProxyCaching(); boolean isSolrCompressionEnabled(); boolean isSolrBackwardsCompatible(); boolean isUserCommentsEnabled(); String getUserCommentsConditionalQuery(); List<String> getUserCommentsNotificationEmailAddresses(); String getViewerHome(); List<String> getWatermarkIdField(); String getSubthemeMainTheme(); String getSubthemeDiscriminatorField(); int getTagCloudSampleSize(String fieldName); List<StringPair> getTocVolumeSortFieldsForTemplate(String template); String getTocVolumeGroupFieldForTemplate(String template); boolean getDisplayTitleBreadcrumbs(); boolean isDisplayTitlePURL(); int getTitleBreadcrumbsMaxTitleLength(); boolean getIncludeAnchorInTitleBreadcrumbs(); boolean isDisplaySearchRssLinks(); boolean showThumbnailsInToc(); String getStartYearForTimeline(); String getEndYearForTimeline(); String getTimelineHits(); boolean isPiwikTrackingEnabled(); String getPiwikBaseURL(); String getPiwikSiteID(); boolean isSearchSavingEnabled(); boolean isBoostTopLevelDocstructs(); boolean isGroupDuplicateHits(); List<String> getRecordGroupIdentifierFields(); List<String> getAncestorIdentifierFields(); boolean isTocListSiblingRecords(); List<SearchFilter> getSearchFilters(); List<Map<String, String>> getWebApiFields(); String getDbPersistenceUnit(); boolean useCustomNavBar(); String getCmsTemplateFolder(); String getCmsMediaFolder(); String getTempMediaFolder(); List<String> getCmsClassifications(); int getCmsMediaDisplayWidth(); int getCmsMediaDisplayHeight(); boolean isTranskribusEnabled(); String getTranskribusUserName(); String getTranskribusPassword(); String getTranskribusDefaultCollection(); String getTranskribusRestApiUrl(); List<String> getTranskribusAllowedDocumentTypes(); int getTocIndentation(); boolean isPageBrowseEnabled(); List<Integer> getPageBrowseSteps(); String getTaskManagerServiceUrl(); String getTaskManagerRestUrl(); String getReCaptchaSiteKey(); boolean isUseReCaptcha(); boolean isSearchInItemEnabled(); String getDefaultBrowseIcon(String field); boolean isSearchExcelExportEnabled(); List<String> getSearchExcelExportFields(); int getExcelDownloadTimeout(); boolean isDisplayEmptyTocInSidebar(); boolean isDoublePageModeEnabled(); List<String> getRestrictedImageUrls(); List<String> getIIIFLicenses(); List<String> getIIIFMetadataFields(); List<String> getIIIFEventFields(); String getIIIFMetadataLabel(String field); int getIIIFDiscoveryAvtivitiesPerPage(); List<String> getIIIFLogo(); String getIIIFNavDateField(); List<String> getIIIFAttribution(); List<String> getIIIFDescriptionFields(); String getSitelinksField(); String getSitelinksFilterQuery(); List<String> getConfiguredCollections(); String getWebApiToken(); boolean isAllowRedirectCollectionToWork(); String getTwitterUserName(); float getLimitImageHeightUpperRatioThreshold(); float getLimitImageHeightLowerRatioThreshold(); boolean isLimitImageHeight(); boolean isAddCORSHeader(); String getCORSHeaderValue(); boolean isDiscloseImageContentLocation(); String getAccessConditionDisplayField(); String getCopyrightDisplayField(); boolean isDisplayCopyrightInfo(); boolean isDisplaySocialMediaShareLinks(); boolean isDisplayAnchorLabelInTitleBar(String template); String getAnchorLabelInTitleBarPrefix(String template); String getAnchorLabelInTitleBarSuffix(String template); String getMapBoxToken(); GeoMapMarker getGeoMapMarker(String name); List<String> getGeoMapMarkerFields(); List<GeoMapMarker> getGeoMapMarkers(); static GeoMapMarker readGeoMapMarker(HierarchicalConfiguration config); List<LicenseDescription> getLicenseDescriptions(); }
@Test public void getSmtpSenderName_shouldReturnCorrectValue() throws Exception { Assert.assertEquals("smtpSenderName_value", DataManager.getInstance().getConfiguration().getSmtpSenderName()); }
public String getSmtpSenderName() { return getLocalString("user.smtpSenderName"); }
Configuration extends AbstractConfiguration { public String getSmtpSenderName() { return getLocalString("user.smtpSenderName"); } }
Configuration extends AbstractConfiguration { public String getSmtpSenderName() { return getLocalString("user.smtpSenderName"); } Configuration(String configFilePath); }
Configuration extends AbstractConfiguration { public String getSmtpSenderName() { return getLocalString("user.smtpSenderName"); } Configuration(String configFilePath); Set<String> getStopwords(); boolean reloadingRequired(); String getConfigLocalPath(); String getLocalRessourceBundleFile(); int getViewerThumbnailsPerPage(); int getViewerMaxImageWidth(); int getViewerMaxImageHeight(); int getViewerMaxImageScale(); boolean isRememberImageZoom(); boolean isRememberImageRotation(); String getDfgViewerUrl(); String getConnectorVersionUrl(); List<Metadata> getTitleBarMetadata(); List<Metadata> getSearchHitMetadataForTemplate(String template); List<Metadata> getMainMetadataForTemplate(String template); List<Metadata> getSidebarMetadataForTemplate(String template); List<String> getNormdataFieldsForTemplate(String template); List<Metadata> getTocLabelConfiguration(String template); int getTocAnchorGroupElementsPerPage(); boolean isDisplaySidebarBrowsingTerms(); boolean isDisplaySidebarRssFeed(); boolean isDisplayWidgetUsage(); Metadata getWidgetUsageLicenceTextMetadata(); boolean isDisplaySidebarUsageWidgetLinkToJpegImage(); boolean isDisplaySidebarUsageWidgetLinkToMasterImage(); String getWidgetUsageMaxJpegSize(); String getWidgetUsageMaxMasterImageSize(); List<String> getCalendarDocStructTypes(); boolean isBrowsingMenuEnabled(); int getBrowsingMenuHitsPerPage(); List<BrowsingMenuFieldConfig> getBrowsingMenuFields(); String getBrowsingMenuSortingIgnoreLeadingChars(); String getDocstrctWhitelistFilterQuery(); String getCollectionSplittingChar(String field); List<DcSortingList> getCollectionSorting(String field); List<String> getCollectionBlacklist(String field); String getCollectionDefaultSortField(String field, String name); int getCollectionDisplayNumberOfVolumesLevel(String field); int getCollectionDisplayDepthForSearch(String field); String getCollectionHierarchyField(); boolean isAddCollectionHierarchyToBreadcrumbs(String field); String getSolrUrl(); String getContentServerWrapperUrl(); String getDownloadUrl(); String getRestApiUrl(); String getIIIFApiUrl(); boolean isUseIIIFApiUrlForCmsMediaUrls(); String getContentServerRealUrl(); String getMetsUrl(); String getMarcUrl(); String getDcUrl(); String getEseUrl(); List<Integer> getSearchHitsPerPageValues(); int getSearchHitsPerPageDefaultValue(); int getFulltextFragmentLength(); boolean isAdvancedSearchEnabled(); int getAdvancedSearchDefaultItemNumber(); List<AdvancedSearchFieldConfiguration> getAdvancedSearchFields(); boolean isAggregateHits(); boolean isDisplayAdditionalMetadataEnabled(); List<String> getDisplayAdditionalMetadataIgnoreFields(); List<String> getDisplayAdditionalMetadataTranslateFields(); boolean isAdvancedSearchFieldHierarchical(String field); boolean isAdvancedSearchFieldRange(String field); boolean isAdvancedSearchFieldUntokenizeForPhraseSearch(String field); String getAdvancedSearchFieldSeparatorLabel(String field); boolean isTimelineSearchEnabled(); boolean isCalendarSearchEnabled(); String getStaticQuerySuffix(); String getPreviousVersionIdentifierField(); String getNextVersionIdentifierField(); String getVersionLabelField(); String getIndexedMetsFolder(); String getIndexedLidoFolder(); String getIndexedDenkxwebFolder(); String getIndexedDublinCoreFolder(); String getPageSelectionFormat(); String getMediaFolder(); String getPdfFolder(); String getVocabulariesFolder(); String getOrigContentFolder(); String getCmsTextFolder(); String getAltoFolder(); String getAbbyyFolder(); String getFulltextFolder(); String getTeiFolder(); String getCmdiFolder(); String getWcFolder(); String getAnnotationFolder(); String getHotfolder(); @SuppressWarnings("static-method") String getTempFolder(); boolean isUrnDoRedirect(); boolean isUserRegistrationEnabled(); List<SecurityQuestion> getSecurityQuestions(); boolean isShowOpenIdConnect(); List<IAuthenticationProvider> getAuthenticationProviders(); String getSmtpServer(); String getSmtpUser(); String getSmtpPassword(); String getSmtpSenderAddress(); String getSmtpSenderName(); String getSmtpSecurity(); String getAnonymousUserEmailAddress(); boolean isDisplayCollectionBrowsing(); boolean isDisplayUserNavigation(); boolean isDisplayTagCloudNavigation(); boolean isDisplayStatistics(); boolean isDisplayTimeMatrix(); boolean isDisplayCrowdsourcingModuleLinks(); String getTheme(); String getThemeRootPath(); String getName(); String getDescription(); boolean isDisplayTagCloudStartpage(); boolean isDisplaySearchResultNavigation(); boolean isFoldout(String sidebarElement); boolean isSidebarPageViewLinkVisible(); boolean isSidebarCalendarViewLinkVisible(); boolean isSidebarTocViewLinkVisible(); boolean isSidebarThumbsViewLinkVisible(); boolean isSidebarMetadataViewLinkVisible(); boolean isShowSidebarEventMetadata(); boolean isShowRecordLabelIfNoOtherViews(); boolean isSidebarFulltextLinkVisible(); boolean isSidebarTocWidgetVisible(); boolean isSidebarTocWidgetVisibleInFullscreen(); boolean isSidebarOpacLinkVisible(); boolean getSidebarTocPageNumbersVisible(); int getSidebarTocLengthBeforeCut(); int getSidebarTocInitialCollapseLevel(); int getSidebarTocCollapseLengthThreshold(); int getSidebarTocLowestLevelToCollapseForLength(); boolean isSidebarTocTreeView(); boolean isTocTreeView(String docStructType); List<String> getAllDrillDownFields(); List<String> getDrillDownFields(); List<String> getHierarchicalDrillDownFields(); int getInitialDrillDownElementNumber(String field); String getSortOrder(String field); List<String> getPriorityValuesForDrillDownField(String field); String getLabelFieldForDrillDownField(String facetField); @SuppressWarnings("static-method") List<String> getRangeFacetFields(); boolean isSortingEnabled(); String getDefaultSortField(); List<String> getSortFields(); List<String> getStaticSortFields(); String getUrnResolverUrl(); int getUnconditionalImageAccessMaxWidth(); boolean isFullAccessForLocalhost(); boolean isGeneratePdfInTaskManager(); boolean isPdfApiDisabled(); boolean isTitlePdfEnabled(); boolean isTocPdfEnabled(); boolean isMetadataPdfEnabled(); boolean isPagePdfEnabled(); boolean isDocHierarchyPdfEnabled(); boolean isTitleEpubEnabled(); boolean isTocEpubEnabled(); boolean isMetadataEpubEnabled(); String getDownloadFolder(String type); int getRssFeedItems(); String getRssTitle(); String getRssDescription(); String getRssCopyrightText(); String getRulesetFilePath(); String getDefaultCollection(); int getThumbnailsWidth(); int getThumbnailsHeight(); int getThumbnailsCompression(); String getAnchorThumbnailMode(); int getMultivolumeThumbnailWidth(); int getMultivolumeThumbnailHeight(); boolean getDisplayBreadcrumbs(); boolean getDisplayMetadataPageLinkBlock(); boolean isAddDublinCoreMetaTags(); boolean isAddHighwirePressMetaTags(); int getMetadataParamNumber(); boolean useTiles(); boolean useTilesFullscreen(); boolean useTiles(PageType view, ImageType image); int getFooterHeight(); int getFullscreenFooterHeight(); int getFooterHeight(PageType view, ImageType image); String getImageViewType(); String getZoomFullscreenViewType(); String getZoomImageViewType(PageType view, ImageType image); boolean useOpenSeadragon(); List<String> getImageViewZoomScales(); List<String> getImageViewZoomScales(String view); List<String> getImageViewZoomScales(PageType view, ImageType image); Map<Integer, List<Integer>> getTileSizes(); Map<Integer, List<Integer>> getTileSizes(PageType view, ImageType image); SubnodeConfiguration getZoomImageViewConfig(PageType pageType, ImageType imageType); int getBreadcrumbsClipping(); boolean isDisplayTopstructLabel(); boolean getDisplayStructType(); int getSearchHitMetadataValueNumber(); int getSearchHitMetadataValueLength(); List<String> getWatermarkTextConfiguration(); String getWatermarkFormat(); boolean isOriginalContentDownload(); String getStopwordsFilePath(); String getPageType(PageType type); String getDocstructTargetPageType(String docstruct); String getPageTypeExitView(PageType type); int getFulltextPercentageWarningThreshold(); boolean isUseViewerLocaleAsRecordLanguage(); String getFeedbackEmailAddress(); boolean isBookmarksEnabled(); boolean isForceJpegConversion(); int getPageLoaderThreshold(); boolean isPreventProxyCaching(); boolean isSolrCompressionEnabled(); boolean isSolrBackwardsCompatible(); boolean isUserCommentsEnabled(); String getUserCommentsConditionalQuery(); List<String> getUserCommentsNotificationEmailAddresses(); String getViewerHome(); List<String> getWatermarkIdField(); String getSubthemeMainTheme(); String getSubthemeDiscriminatorField(); int getTagCloudSampleSize(String fieldName); List<StringPair> getTocVolumeSortFieldsForTemplate(String template); String getTocVolumeGroupFieldForTemplate(String template); boolean getDisplayTitleBreadcrumbs(); boolean isDisplayTitlePURL(); int getTitleBreadcrumbsMaxTitleLength(); boolean getIncludeAnchorInTitleBreadcrumbs(); boolean isDisplaySearchRssLinks(); boolean showThumbnailsInToc(); String getStartYearForTimeline(); String getEndYearForTimeline(); String getTimelineHits(); boolean isPiwikTrackingEnabled(); String getPiwikBaseURL(); String getPiwikSiteID(); boolean isSearchSavingEnabled(); boolean isBoostTopLevelDocstructs(); boolean isGroupDuplicateHits(); List<String> getRecordGroupIdentifierFields(); List<String> getAncestorIdentifierFields(); boolean isTocListSiblingRecords(); List<SearchFilter> getSearchFilters(); List<Map<String, String>> getWebApiFields(); String getDbPersistenceUnit(); boolean useCustomNavBar(); String getCmsTemplateFolder(); String getCmsMediaFolder(); String getTempMediaFolder(); List<String> getCmsClassifications(); int getCmsMediaDisplayWidth(); int getCmsMediaDisplayHeight(); boolean isTranskribusEnabled(); String getTranskribusUserName(); String getTranskribusPassword(); String getTranskribusDefaultCollection(); String getTranskribusRestApiUrl(); List<String> getTranskribusAllowedDocumentTypes(); int getTocIndentation(); boolean isPageBrowseEnabled(); List<Integer> getPageBrowseSteps(); String getTaskManagerServiceUrl(); String getTaskManagerRestUrl(); String getReCaptchaSiteKey(); boolean isUseReCaptcha(); boolean isSearchInItemEnabled(); String getDefaultBrowseIcon(String field); boolean isSearchExcelExportEnabled(); List<String> getSearchExcelExportFields(); int getExcelDownloadTimeout(); boolean isDisplayEmptyTocInSidebar(); boolean isDoublePageModeEnabled(); List<String> getRestrictedImageUrls(); List<String> getIIIFLicenses(); List<String> getIIIFMetadataFields(); List<String> getIIIFEventFields(); String getIIIFMetadataLabel(String field); int getIIIFDiscoveryAvtivitiesPerPage(); List<String> getIIIFLogo(); String getIIIFNavDateField(); List<String> getIIIFAttribution(); List<String> getIIIFDescriptionFields(); String getSitelinksField(); String getSitelinksFilterQuery(); List<String> getConfiguredCollections(); String getWebApiToken(); boolean isAllowRedirectCollectionToWork(); String getTwitterUserName(); float getLimitImageHeightUpperRatioThreshold(); float getLimitImageHeightLowerRatioThreshold(); boolean isLimitImageHeight(); boolean isAddCORSHeader(); String getCORSHeaderValue(); boolean isDiscloseImageContentLocation(); String getAccessConditionDisplayField(); String getCopyrightDisplayField(); boolean isDisplayCopyrightInfo(); boolean isDisplaySocialMediaShareLinks(); boolean isDisplayAnchorLabelInTitleBar(String template); String getAnchorLabelInTitleBarPrefix(String template); String getAnchorLabelInTitleBarSuffix(String template); String getMapBoxToken(); GeoMapMarker getGeoMapMarker(String name); List<String> getGeoMapMarkerFields(); List<GeoMapMarker> getGeoMapMarkers(); static GeoMapMarker readGeoMapMarker(HierarchicalConfiguration config); List<LicenseDescription> getLicenseDescriptions(); }
Configuration extends AbstractConfiguration { public String getSmtpSenderName() { return getLocalString("user.smtpSenderName"); } Configuration(String configFilePath); Set<String> getStopwords(); boolean reloadingRequired(); String getConfigLocalPath(); String getLocalRessourceBundleFile(); int getViewerThumbnailsPerPage(); int getViewerMaxImageWidth(); int getViewerMaxImageHeight(); int getViewerMaxImageScale(); boolean isRememberImageZoom(); boolean isRememberImageRotation(); String getDfgViewerUrl(); String getConnectorVersionUrl(); List<Metadata> getTitleBarMetadata(); List<Metadata> getSearchHitMetadataForTemplate(String template); List<Metadata> getMainMetadataForTemplate(String template); List<Metadata> getSidebarMetadataForTemplate(String template); List<String> getNormdataFieldsForTemplate(String template); List<Metadata> getTocLabelConfiguration(String template); int getTocAnchorGroupElementsPerPage(); boolean isDisplaySidebarBrowsingTerms(); boolean isDisplaySidebarRssFeed(); boolean isDisplayWidgetUsage(); Metadata getWidgetUsageLicenceTextMetadata(); boolean isDisplaySidebarUsageWidgetLinkToJpegImage(); boolean isDisplaySidebarUsageWidgetLinkToMasterImage(); String getWidgetUsageMaxJpegSize(); String getWidgetUsageMaxMasterImageSize(); List<String> getCalendarDocStructTypes(); boolean isBrowsingMenuEnabled(); int getBrowsingMenuHitsPerPage(); List<BrowsingMenuFieldConfig> getBrowsingMenuFields(); String getBrowsingMenuSortingIgnoreLeadingChars(); String getDocstrctWhitelistFilterQuery(); String getCollectionSplittingChar(String field); List<DcSortingList> getCollectionSorting(String field); List<String> getCollectionBlacklist(String field); String getCollectionDefaultSortField(String field, String name); int getCollectionDisplayNumberOfVolumesLevel(String field); int getCollectionDisplayDepthForSearch(String field); String getCollectionHierarchyField(); boolean isAddCollectionHierarchyToBreadcrumbs(String field); String getSolrUrl(); String getContentServerWrapperUrl(); String getDownloadUrl(); String getRestApiUrl(); String getIIIFApiUrl(); boolean isUseIIIFApiUrlForCmsMediaUrls(); String getContentServerRealUrl(); String getMetsUrl(); String getMarcUrl(); String getDcUrl(); String getEseUrl(); List<Integer> getSearchHitsPerPageValues(); int getSearchHitsPerPageDefaultValue(); int getFulltextFragmentLength(); boolean isAdvancedSearchEnabled(); int getAdvancedSearchDefaultItemNumber(); List<AdvancedSearchFieldConfiguration> getAdvancedSearchFields(); boolean isAggregateHits(); boolean isDisplayAdditionalMetadataEnabled(); List<String> getDisplayAdditionalMetadataIgnoreFields(); List<String> getDisplayAdditionalMetadataTranslateFields(); boolean isAdvancedSearchFieldHierarchical(String field); boolean isAdvancedSearchFieldRange(String field); boolean isAdvancedSearchFieldUntokenizeForPhraseSearch(String field); String getAdvancedSearchFieldSeparatorLabel(String field); boolean isTimelineSearchEnabled(); boolean isCalendarSearchEnabled(); String getStaticQuerySuffix(); String getPreviousVersionIdentifierField(); String getNextVersionIdentifierField(); String getVersionLabelField(); String getIndexedMetsFolder(); String getIndexedLidoFolder(); String getIndexedDenkxwebFolder(); String getIndexedDublinCoreFolder(); String getPageSelectionFormat(); String getMediaFolder(); String getPdfFolder(); String getVocabulariesFolder(); String getOrigContentFolder(); String getCmsTextFolder(); String getAltoFolder(); String getAbbyyFolder(); String getFulltextFolder(); String getTeiFolder(); String getCmdiFolder(); String getWcFolder(); String getAnnotationFolder(); String getHotfolder(); @SuppressWarnings("static-method") String getTempFolder(); boolean isUrnDoRedirect(); boolean isUserRegistrationEnabled(); List<SecurityQuestion> getSecurityQuestions(); boolean isShowOpenIdConnect(); List<IAuthenticationProvider> getAuthenticationProviders(); String getSmtpServer(); String getSmtpUser(); String getSmtpPassword(); String getSmtpSenderAddress(); String getSmtpSenderName(); String getSmtpSecurity(); String getAnonymousUserEmailAddress(); boolean isDisplayCollectionBrowsing(); boolean isDisplayUserNavigation(); boolean isDisplayTagCloudNavigation(); boolean isDisplayStatistics(); boolean isDisplayTimeMatrix(); boolean isDisplayCrowdsourcingModuleLinks(); String getTheme(); String getThemeRootPath(); String getName(); String getDescription(); boolean isDisplayTagCloudStartpage(); boolean isDisplaySearchResultNavigation(); boolean isFoldout(String sidebarElement); boolean isSidebarPageViewLinkVisible(); boolean isSidebarCalendarViewLinkVisible(); boolean isSidebarTocViewLinkVisible(); boolean isSidebarThumbsViewLinkVisible(); boolean isSidebarMetadataViewLinkVisible(); boolean isShowSidebarEventMetadata(); boolean isShowRecordLabelIfNoOtherViews(); boolean isSidebarFulltextLinkVisible(); boolean isSidebarTocWidgetVisible(); boolean isSidebarTocWidgetVisibleInFullscreen(); boolean isSidebarOpacLinkVisible(); boolean getSidebarTocPageNumbersVisible(); int getSidebarTocLengthBeforeCut(); int getSidebarTocInitialCollapseLevel(); int getSidebarTocCollapseLengthThreshold(); int getSidebarTocLowestLevelToCollapseForLength(); boolean isSidebarTocTreeView(); boolean isTocTreeView(String docStructType); List<String> getAllDrillDownFields(); List<String> getDrillDownFields(); List<String> getHierarchicalDrillDownFields(); int getInitialDrillDownElementNumber(String field); String getSortOrder(String field); List<String> getPriorityValuesForDrillDownField(String field); String getLabelFieldForDrillDownField(String facetField); @SuppressWarnings("static-method") List<String> getRangeFacetFields(); boolean isSortingEnabled(); String getDefaultSortField(); List<String> getSortFields(); List<String> getStaticSortFields(); String getUrnResolverUrl(); int getUnconditionalImageAccessMaxWidth(); boolean isFullAccessForLocalhost(); boolean isGeneratePdfInTaskManager(); boolean isPdfApiDisabled(); boolean isTitlePdfEnabled(); boolean isTocPdfEnabled(); boolean isMetadataPdfEnabled(); boolean isPagePdfEnabled(); boolean isDocHierarchyPdfEnabled(); boolean isTitleEpubEnabled(); boolean isTocEpubEnabled(); boolean isMetadataEpubEnabled(); String getDownloadFolder(String type); int getRssFeedItems(); String getRssTitle(); String getRssDescription(); String getRssCopyrightText(); String getRulesetFilePath(); String getDefaultCollection(); int getThumbnailsWidth(); int getThumbnailsHeight(); int getThumbnailsCompression(); String getAnchorThumbnailMode(); int getMultivolumeThumbnailWidth(); int getMultivolumeThumbnailHeight(); boolean getDisplayBreadcrumbs(); boolean getDisplayMetadataPageLinkBlock(); boolean isAddDublinCoreMetaTags(); boolean isAddHighwirePressMetaTags(); int getMetadataParamNumber(); boolean useTiles(); boolean useTilesFullscreen(); boolean useTiles(PageType view, ImageType image); int getFooterHeight(); int getFullscreenFooterHeight(); int getFooterHeight(PageType view, ImageType image); String getImageViewType(); String getZoomFullscreenViewType(); String getZoomImageViewType(PageType view, ImageType image); boolean useOpenSeadragon(); List<String> getImageViewZoomScales(); List<String> getImageViewZoomScales(String view); List<String> getImageViewZoomScales(PageType view, ImageType image); Map<Integer, List<Integer>> getTileSizes(); Map<Integer, List<Integer>> getTileSizes(PageType view, ImageType image); SubnodeConfiguration getZoomImageViewConfig(PageType pageType, ImageType imageType); int getBreadcrumbsClipping(); boolean isDisplayTopstructLabel(); boolean getDisplayStructType(); int getSearchHitMetadataValueNumber(); int getSearchHitMetadataValueLength(); List<String> getWatermarkTextConfiguration(); String getWatermarkFormat(); boolean isOriginalContentDownload(); String getStopwordsFilePath(); String getPageType(PageType type); String getDocstructTargetPageType(String docstruct); String getPageTypeExitView(PageType type); int getFulltextPercentageWarningThreshold(); boolean isUseViewerLocaleAsRecordLanguage(); String getFeedbackEmailAddress(); boolean isBookmarksEnabled(); boolean isForceJpegConversion(); int getPageLoaderThreshold(); boolean isPreventProxyCaching(); boolean isSolrCompressionEnabled(); boolean isSolrBackwardsCompatible(); boolean isUserCommentsEnabled(); String getUserCommentsConditionalQuery(); List<String> getUserCommentsNotificationEmailAddresses(); String getViewerHome(); List<String> getWatermarkIdField(); String getSubthemeMainTheme(); String getSubthemeDiscriminatorField(); int getTagCloudSampleSize(String fieldName); List<StringPair> getTocVolumeSortFieldsForTemplate(String template); String getTocVolumeGroupFieldForTemplate(String template); boolean getDisplayTitleBreadcrumbs(); boolean isDisplayTitlePURL(); int getTitleBreadcrumbsMaxTitleLength(); boolean getIncludeAnchorInTitleBreadcrumbs(); boolean isDisplaySearchRssLinks(); boolean showThumbnailsInToc(); String getStartYearForTimeline(); String getEndYearForTimeline(); String getTimelineHits(); boolean isPiwikTrackingEnabled(); String getPiwikBaseURL(); String getPiwikSiteID(); boolean isSearchSavingEnabled(); boolean isBoostTopLevelDocstructs(); boolean isGroupDuplicateHits(); List<String> getRecordGroupIdentifierFields(); List<String> getAncestorIdentifierFields(); boolean isTocListSiblingRecords(); List<SearchFilter> getSearchFilters(); List<Map<String, String>> getWebApiFields(); String getDbPersistenceUnit(); boolean useCustomNavBar(); String getCmsTemplateFolder(); String getCmsMediaFolder(); String getTempMediaFolder(); List<String> getCmsClassifications(); int getCmsMediaDisplayWidth(); int getCmsMediaDisplayHeight(); boolean isTranskribusEnabled(); String getTranskribusUserName(); String getTranskribusPassword(); String getTranskribusDefaultCollection(); String getTranskribusRestApiUrl(); List<String> getTranskribusAllowedDocumentTypes(); int getTocIndentation(); boolean isPageBrowseEnabled(); List<Integer> getPageBrowseSteps(); String getTaskManagerServiceUrl(); String getTaskManagerRestUrl(); String getReCaptchaSiteKey(); boolean isUseReCaptcha(); boolean isSearchInItemEnabled(); String getDefaultBrowseIcon(String field); boolean isSearchExcelExportEnabled(); List<String> getSearchExcelExportFields(); int getExcelDownloadTimeout(); boolean isDisplayEmptyTocInSidebar(); boolean isDoublePageModeEnabled(); List<String> getRestrictedImageUrls(); List<String> getIIIFLicenses(); List<String> getIIIFMetadataFields(); List<String> getIIIFEventFields(); String getIIIFMetadataLabel(String field); int getIIIFDiscoveryAvtivitiesPerPage(); List<String> getIIIFLogo(); String getIIIFNavDateField(); List<String> getIIIFAttribution(); List<String> getIIIFDescriptionFields(); String getSitelinksField(); String getSitelinksFilterQuery(); List<String> getConfiguredCollections(); String getWebApiToken(); boolean isAllowRedirectCollectionToWork(); String getTwitterUserName(); float getLimitImageHeightUpperRatioThreshold(); float getLimitImageHeightLowerRatioThreshold(); boolean isLimitImageHeight(); boolean isAddCORSHeader(); String getCORSHeaderValue(); boolean isDiscloseImageContentLocation(); String getAccessConditionDisplayField(); String getCopyrightDisplayField(); boolean isDisplayCopyrightInfo(); boolean isDisplaySocialMediaShareLinks(); boolean isDisplayAnchorLabelInTitleBar(String template); String getAnchorLabelInTitleBarPrefix(String template); String getAnchorLabelInTitleBarSuffix(String template); String getMapBoxToken(); GeoMapMarker getGeoMapMarker(String name); List<String> getGeoMapMarkerFields(); List<GeoMapMarker> getGeoMapMarkers(); static GeoMapMarker readGeoMapMarker(HierarchicalConfiguration config); List<LicenseDescription> getLicenseDescriptions(); }
@Test public void getSmtpServer_shouldReturnCorrectValue() throws Exception { Assert.assertEquals("smtpServer_value", DataManager.getInstance().getConfiguration().getSmtpServer()); }
public String getSmtpServer() { return getLocalString("user.smtpServer"); }
Configuration extends AbstractConfiguration { public String getSmtpServer() { return getLocalString("user.smtpServer"); } }
Configuration extends AbstractConfiguration { public String getSmtpServer() { return getLocalString("user.smtpServer"); } Configuration(String configFilePath); }
Configuration extends AbstractConfiguration { public String getSmtpServer() { return getLocalString("user.smtpServer"); } Configuration(String configFilePath); Set<String> getStopwords(); boolean reloadingRequired(); String getConfigLocalPath(); String getLocalRessourceBundleFile(); int getViewerThumbnailsPerPage(); int getViewerMaxImageWidth(); int getViewerMaxImageHeight(); int getViewerMaxImageScale(); boolean isRememberImageZoom(); boolean isRememberImageRotation(); String getDfgViewerUrl(); String getConnectorVersionUrl(); List<Metadata> getTitleBarMetadata(); List<Metadata> getSearchHitMetadataForTemplate(String template); List<Metadata> getMainMetadataForTemplate(String template); List<Metadata> getSidebarMetadataForTemplate(String template); List<String> getNormdataFieldsForTemplate(String template); List<Metadata> getTocLabelConfiguration(String template); int getTocAnchorGroupElementsPerPage(); boolean isDisplaySidebarBrowsingTerms(); boolean isDisplaySidebarRssFeed(); boolean isDisplayWidgetUsage(); Metadata getWidgetUsageLicenceTextMetadata(); boolean isDisplaySidebarUsageWidgetLinkToJpegImage(); boolean isDisplaySidebarUsageWidgetLinkToMasterImage(); String getWidgetUsageMaxJpegSize(); String getWidgetUsageMaxMasterImageSize(); List<String> getCalendarDocStructTypes(); boolean isBrowsingMenuEnabled(); int getBrowsingMenuHitsPerPage(); List<BrowsingMenuFieldConfig> getBrowsingMenuFields(); String getBrowsingMenuSortingIgnoreLeadingChars(); String getDocstrctWhitelistFilterQuery(); String getCollectionSplittingChar(String field); List<DcSortingList> getCollectionSorting(String field); List<String> getCollectionBlacklist(String field); String getCollectionDefaultSortField(String field, String name); int getCollectionDisplayNumberOfVolumesLevel(String field); int getCollectionDisplayDepthForSearch(String field); String getCollectionHierarchyField(); boolean isAddCollectionHierarchyToBreadcrumbs(String field); String getSolrUrl(); String getContentServerWrapperUrl(); String getDownloadUrl(); String getRestApiUrl(); String getIIIFApiUrl(); boolean isUseIIIFApiUrlForCmsMediaUrls(); String getContentServerRealUrl(); String getMetsUrl(); String getMarcUrl(); String getDcUrl(); String getEseUrl(); List<Integer> getSearchHitsPerPageValues(); int getSearchHitsPerPageDefaultValue(); int getFulltextFragmentLength(); boolean isAdvancedSearchEnabled(); int getAdvancedSearchDefaultItemNumber(); List<AdvancedSearchFieldConfiguration> getAdvancedSearchFields(); boolean isAggregateHits(); boolean isDisplayAdditionalMetadataEnabled(); List<String> getDisplayAdditionalMetadataIgnoreFields(); List<String> getDisplayAdditionalMetadataTranslateFields(); boolean isAdvancedSearchFieldHierarchical(String field); boolean isAdvancedSearchFieldRange(String field); boolean isAdvancedSearchFieldUntokenizeForPhraseSearch(String field); String getAdvancedSearchFieldSeparatorLabel(String field); boolean isTimelineSearchEnabled(); boolean isCalendarSearchEnabled(); String getStaticQuerySuffix(); String getPreviousVersionIdentifierField(); String getNextVersionIdentifierField(); String getVersionLabelField(); String getIndexedMetsFolder(); String getIndexedLidoFolder(); String getIndexedDenkxwebFolder(); String getIndexedDublinCoreFolder(); String getPageSelectionFormat(); String getMediaFolder(); String getPdfFolder(); String getVocabulariesFolder(); String getOrigContentFolder(); String getCmsTextFolder(); String getAltoFolder(); String getAbbyyFolder(); String getFulltextFolder(); String getTeiFolder(); String getCmdiFolder(); String getWcFolder(); String getAnnotationFolder(); String getHotfolder(); @SuppressWarnings("static-method") String getTempFolder(); boolean isUrnDoRedirect(); boolean isUserRegistrationEnabled(); List<SecurityQuestion> getSecurityQuestions(); boolean isShowOpenIdConnect(); List<IAuthenticationProvider> getAuthenticationProviders(); String getSmtpServer(); String getSmtpUser(); String getSmtpPassword(); String getSmtpSenderAddress(); String getSmtpSenderName(); String getSmtpSecurity(); String getAnonymousUserEmailAddress(); boolean isDisplayCollectionBrowsing(); boolean isDisplayUserNavigation(); boolean isDisplayTagCloudNavigation(); boolean isDisplayStatistics(); boolean isDisplayTimeMatrix(); boolean isDisplayCrowdsourcingModuleLinks(); String getTheme(); String getThemeRootPath(); String getName(); String getDescription(); boolean isDisplayTagCloudStartpage(); boolean isDisplaySearchResultNavigation(); boolean isFoldout(String sidebarElement); boolean isSidebarPageViewLinkVisible(); boolean isSidebarCalendarViewLinkVisible(); boolean isSidebarTocViewLinkVisible(); boolean isSidebarThumbsViewLinkVisible(); boolean isSidebarMetadataViewLinkVisible(); boolean isShowSidebarEventMetadata(); boolean isShowRecordLabelIfNoOtherViews(); boolean isSidebarFulltextLinkVisible(); boolean isSidebarTocWidgetVisible(); boolean isSidebarTocWidgetVisibleInFullscreen(); boolean isSidebarOpacLinkVisible(); boolean getSidebarTocPageNumbersVisible(); int getSidebarTocLengthBeforeCut(); int getSidebarTocInitialCollapseLevel(); int getSidebarTocCollapseLengthThreshold(); int getSidebarTocLowestLevelToCollapseForLength(); boolean isSidebarTocTreeView(); boolean isTocTreeView(String docStructType); List<String> getAllDrillDownFields(); List<String> getDrillDownFields(); List<String> getHierarchicalDrillDownFields(); int getInitialDrillDownElementNumber(String field); String getSortOrder(String field); List<String> getPriorityValuesForDrillDownField(String field); String getLabelFieldForDrillDownField(String facetField); @SuppressWarnings("static-method") List<String> getRangeFacetFields(); boolean isSortingEnabled(); String getDefaultSortField(); List<String> getSortFields(); List<String> getStaticSortFields(); String getUrnResolverUrl(); int getUnconditionalImageAccessMaxWidth(); boolean isFullAccessForLocalhost(); boolean isGeneratePdfInTaskManager(); boolean isPdfApiDisabled(); boolean isTitlePdfEnabled(); boolean isTocPdfEnabled(); boolean isMetadataPdfEnabled(); boolean isPagePdfEnabled(); boolean isDocHierarchyPdfEnabled(); boolean isTitleEpubEnabled(); boolean isTocEpubEnabled(); boolean isMetadataEpubEnabled(); String getDownloadFolder(String type); int getRssFeedItems(); String getRssTitle(); String getRssDescription(); String getRssCopyrightText(); String getRulesetFilePath(); String getDefaultCollection(); int getThumbnailsWidth(); int getThumbnailsHeight(); int getThumbnailsCompression(); String getAnchorThumbnailMode(); int getMultivolumeThumbnailWidth(); int getMultivolumeThumbnailHeight(); boolean getDisplayBreadcrumbs(); boolean getDisplayMetadataPageLinkBlock(); boolean isAddDublinCoreMetaTags(); boolean isAddHighwirePressMetaTags(); int getMetadataParamNumber(); boolean useTiles(); boolean useTilesFullscreen(); boolean useTiles(PageType view, ImageType image); int getFooterHeight(); int getFullscreenFooterHeight(); int getFooterHeight(PageType view, ImageType image); String getImageViewType(); String getZoomFullscreenViewType(); String getZoomImageViewType(PageType view, ImageType image); boolean useOpenSeadragon(); List<String> getImageViewZoomScales(); List<String> getImageViewZoomScales(String view); List<String> getImageViewZoomScales(PageType view, ImageType image); Map<Integer, List<Integer>> getTileSizes(); Map<Integer, List<Integer>> getTileSizes(PageType view, ImageType image); SubnodeConfiguration getZoomImageViewConfig(PageType pageType, ImageType imageType); int getBreadcrumbsClipping(); boolean isDisplayTopstructLabel(); boolean getDisplayStructType(); int getSearchHitMetadataValueNumber(); int getSearchHitMetadataValueLength(); List<String> getWatermarkTextConfiguration(); String getWatermarkFormat(); boolean isOriginalContentDownload(); String getStopwordsFilePath(); String getPageType(PageType type); String getDocstructTargetPageType(String docstruct); String getPageTypeExitView(PageType type); int getFulltextPercentageWarningThreshold(); boolean isUseViewerLocaleAsRecordLanguage(); String getFeedbackEmailAddress(); boolean isBookmarksEnabled(); boolean isForceJpegConversion(); int getPageLoaderThreshold(); boolean isPreventProxyCaching(); boolean isSolrCompressionEnabled(); boolean isSolrBackwardsCompatible(); boolean isUserCommentsEnabled(); String getUserCommentsConditionalQuery(); List<String> getUserCommentsNotificationEmailAddresses(); String getViewerHome(); List<String> getWatermarkIdField(); String getSubthemeMainTheme(); String getSubthemeDiscriminatorField(); int getTagCloudSampleSize(String fieldName); List<StringPair> getTocVolumeSortFieldsForTemplate(String template); String getTocVolumeGroupFieldForTemplate(String template); boolean getDisplayTitleBreadcrumbs(); boolean isDisplayTitlePURL(); int getTitleBreadcrumbsMaxTitleLength(); boolean getIncludeAnchorInTitleBreadcrumbs(); boolean isDisplaySearchRssLinks(); boolean showThumbnailsInToc(); String getStartYearForTimeline(); String getEndYearForTimeline(); String getTimelineHits(); boolean isPiwikTrackingEnabled(); String getPiwikBaseURL(); String getPiwikSiteID(); boolean isSearchSavingEnabled(); boolean isBoostTopLevelDocstructs(); boolean isGroupDuplicateHits(); List<String> getRecordGroupIdentifierFields(); List<String> getAncestorIdentifierFields(); boolean isTocListSiblingRecords(); List<SearchFilter> getSearchFilters(); List<Map<String, String>> getWebApiFields(); String getDbPersistenceUnit(); boolean useCustomNavBar(); String getCmsTemplateFolder(); String getCmsMediaFolder(); String getTempMediaFolder(); List<String> getCmsClassifications(); int getCmsMediaDisplayWidth(); int getCmsMediaDisplayHeight(); boolean isTranskribusEnabled(); String getTranskribusUserName(); String getTranskribusPassword(); String getTranskribusDefaultCollection(); String getTranskribusRestApiUrl(); List<String> getTranskribusAllowedDocumentTypes(); int getTocIndentation(); boolean isPageBrowseEnabled(); List<Integer> getPageBrowseSteps(); String getTaskManagerServiceUrl(); String getTaskManagerRestUrl(); String getReCaptchaSiteKey(); boolean isUseReCaptcha(); boolean isSearchInItemEnabled(); String getDefaultBrowseIcon(String field); boolean isSearchExcelExportEnabled(); List<String> getSearchExcelExportFields(); int getExcelDownloadTimeout(); boolean isDisplayEmptyTocInSidebar(); boolean isDoublePageModeEnabled(); List<String> getRestrictedImageUrls(); List<String> getIIIFLicenses(); List<String> getIIIFMetadataFields(); List<String> getIIIFEventFields(); String getIIIFMetadataLabel(String field); int getIIIFDiscoveryAvtivitiesPerPage(); List<String> getIIIFLogo(); String getIIIFNavDateField(); List<String> getIIIFAttribution(); List<String> getIIIFDescriptionFields(); String getSitelinksField(); String getSitelinksFilterQuery(); List<String> getConfiguredCollections(); String getWebApiToken(); boolean isAllowRedirectCollectionToWork(); String getTwitterUserName(); float getLimitImageHeightUpperRatioThreshold(); float getLimitImageHeightLowerRatioThreshold(); boolean isLimitImageHeight(); boolean isAddCORSHeader(); String getCORSHeaderValue(); boolean isDiscloseImageContentLocation(); String getAccessConditionDisplayField(); String getCopyrightDisplayField(); boolean isDisplayCopyrightInfo(); boolean isDisplaySocialMediaShareLinks(); boolean isDisplayAnchorLabelInTitleBar(String template); String getAnchorLabelInTitleBarPrefix(String template); String getAnchorLabelInTitleBarSuffix(String template); String getMapBoxToken(); GeoMapMarker getGeoMapMarker(String name); List<String> getGeoMapMarkerFields(); List<GeoMapMarker> getGeoMapMarkers(); static GeoMapMarker readGeoMapMarker(HierarchicalConfiguration config); List<LicenseDescription> getLicenseDescriptions(); }
Configuration extends AbstractConfiguration { public String getSmtpServer() { return getLocalString("user.smtpServer"); } Configuration(String configFilePath); Set<String> getStopwords(); boolean reloadingRequired(); String getConfigLocalPath(); String getLocalRessourceBundleFile(); int getViewerThumbnailsPerPage(); int getViewerMaxImageWidth(); int getViewerMaxImageHeight(); int getViewerMaxImageScale(); boolean isRememberImageZoom(); boolean isRememberImageRotation(); String getDfgViewerUrl(); String getConnectorVersionUrl(); List<Metadata> getTitleBarMetadata(); List<Metadata> getSearchHitMetadataForTemplate(String template); List<Metadata> getMainMetadataForTemplate(String template); List<Metadata> getSidebarMetadataForTemplate(String template); List<String> getNormdataFieldsForTemplate(String template); List<Metadata> getTocLabelConfiguration(String template); int getTocAnchorGroupElementsPerPage(); boolean isDisplaySidebarBrowsingTerms(); boolean isDisplaySidebarRssFeed(); boolean isDisplayWidgetUsage(); Metadata getWidgetUsageLicenceTextMetadata(); boolean isDisplaySidebarUsageWidgetLinkToJpegImage(); boolean isDisplaySidebarUsageWidgetLinkToMasterImage(); String getWidgetUsageMaxJpegSize(); String getWidgetUsageMaxMasterImageSize(); List<String> getCalendarDocStructTypes(); boolean isBrowsingMenuEnabled(); int getBrowsingMenuHitsPerPage(); List<BrowsingMenuFieldConfig> getBrowsingMenuFields(); String getBrowsingMenuSortingIgnoreLeadingChars(); String getDocstrctWhitelistFilterQuery(); String getCollectionSplittingChar(String field); List<DcSortingList> getCollectionSorting(String field); List<String> getCollectionBlacklist(String field); String getCollectionDefaultSortField(String field, String name); int getCollectionDisplayNumberOfVolumesLevel(String field); int getCollectionDisplayDepthForSearch(String field); String getCollectionHierarchyField(); boolean isAddCollectionHierarchyToBreadcrumbs(String field); String getSolrUrl(); String getContentServerWrapperUrl(); String getDownloadUrl(); String getRestApiUrl(); String getIIIFApiUrl(); boolean isUseIIIFApiUrlForCmsMediaUrls(); String getContentServerRealUrl(); String getMetsUrl(); String getMarcUrl(); String getDcUrl(); String getEseUrl(); List<Integer> getSearchHitsPerPageValues(); int getSearchHitsPerPageDefaultValue(); int getFulltextFragmentLength(); boolean isAdvancedSearchEnabled(); int getAdvancedSearchDefaultItemNumber(); List<AdvancedSearchFieldConfiguration> getAdvancedSearchFields(); boolean isAggregateHits(); boolean isDisplayAdditionalMetadataEnabled(); List<String> getDisplayAdditionalMetadataIgnoreFields(); List<String> getDisplayAdditionalMetadataTranslateFields(); boolean isAdvancedSearchFieldHierarchical(String field); boolean isAdvancedSearchFieldRange(String field); boolean isAdvancedSearchFieldUntokenizeForPhraseSearch(String field); String getAdvancedSearchFieldSeparatorLabel(String field); boolean isTimelineSearchEnabled(); boolean isCalendarSearchEnabled(); String getStaticQuerySuffix(); String getPreviousVersionIdentifierField(); String getNextVersionIdentifierField(); String getVersionLabelField(); String getIndexedMetsFolder(); String getIndexedLidoFolder(); String getIndexedDenkxwebFolder(); String getIndexedDublinCoreFolder(); String getPageSelectionFormat(); String getMediaFolder(); String getPdfFolder(); String getVocabulariesFolder(); String getOrigContentFolder(); String getCmsTextFolder(); String getAltoFolder(); String getAbbyyFolder(); String getFulltextFolder(); String getTeiFolder(); String getCmdiFolder(); String getWcFolder(); String getAnnotationFolder(); String getHotfolder(); @SuppressWarnings("static-method") String getTempFolder(); boolean isUrnDoRedirect(); boolean isUserRegistrationEnabled(); List<SecurityQuestion> getSecurityQuestions(); boolean isShowOpenIdConnect(); List<IAuthenticationProvider> getAuthenticationProviders(); String getSmtpServer(); String getSmtpUser(); String getSmtpPassword(); String getSmtpSenderAddress(); String getSmtpSenderName(); String getSmtpSecurity(); String getAnonymousUserEmailAddress(); boolean isDisplayCollectionBrowsing(); boolean isDisplayUserNavigation(); boolean isDisplayTagCloudNavigation(); boolean isDisplayStatistics(); boolean isDisplayTimeMatrix(); boolean isDisplayCrowdsourcingModuleLinks(); String getTheme(); String getThemeRootPath(); String getName(); String getDescription(); boolean isDisplayTagCloudStartpage(); boolean isDisplaySearchResultNavigation(); boolean isFoldout(String sidebarElement); boolean isSidebarPageViewLinkVisible(); boolean isSidebarCalendarViewLinkVisible(); boolean isSidebarTocViewLinkVisible(); boolean isSidebarThumbsViewLinkVisible(); boolean isSidebarMetadataViewLinkVisible(); boolean isShowSidebarEventMetadata(); boolean isShowRecordLabelIfNoOtherViews(); boolean isSidebarFulltextLinkVisible(); boolean isSidebarTocWidgetVisible(); boolean isSidebarTocWidgetVisibleInFullscreen(); boolean isSidebarOpacLinkVisible(); boolean getSidebarTocPageNumbersVisible(); int getSidebarTocLengthBeforeCut(); int getSidebarTocInitialCollapseLevel(); int getSidebarTocCollapseLengthThreshold(); int getSidebarTocLowestLevelToCollapseForLength(); boolean isSidebarTocTreeView(); boolean isTocTreeView(String docStructType); List<String> getAllDrillDownFields(); List<String> getDrillDownFields(); List<String> getHierarchicalDrillDownFields(); int getInitialDrillDownElementNumber(String field); String getSortOrder(String field); List<String> getPriorityValuesForDrillDownField(String field); String getLabelFieldForDrillDownField(String facetField); @SuppressWarnings("static-method") List<String> getRangeFacetFields(); boolean isSortingEnabled(); String getDefaultSortField(); List<String> getSortFields(); List<String> getStaticSortFields(); String getUrnResolverUrl(); int getUnconditionalImageAccessMaxWidth(); boolean isFullAccessForLocalhost(); boolean isGeneratePdfInTaskManager(); boolean isPdfApiDisabled(); boolean isTitlePdfEnabled(); boolean isTocPdfEnabled(); boolean isMetadataPdfEnabled(); boolean isPagePdfEnabled(); boolean isDocHierarchyPdfEnabled(); boolean isTitleEpubEnabled(); boolean isTocEpubEnabled(); boolean isMetadataEpubEnabled(); String getDownloadFolder(String type); int getRssFeedItems(); String getRssTitle(); String getRssDescription(); String getRssCopyrightText(); String getRulesetFilePath(); String getDefaultCollection(); int getThumbnailsWidth(); int getThumbnailsHeight(); int getThumbnailsCompression(); String getAnchorThumbnailMode(); int getMultivolumeThumbnailWidth(); int getMultivolumeThumbnailHeight(); boolean getDisplayBreadcrumbs(); boolean getDisplayMetadataPageLinkBlock(); boolean isAddDublinCoreMetaTags(); boolean isAddHighwirePressMetaTags(); int getMetadataParamNumber(); boolean useTiles(); boolean useTilesFullscreen(); boolean useTiles(PageType view, ImageType image); int getFooterHeight(); int getFullscreenFooterHeight(); int getFooterHeight(PageType view, ImageType image); String getImageViewType(); String getZoomFullscreenViewType(); String getZoomImageViewType(PageType view, ImageType image); boolean useOpenSeadragon(); List<String> getImageViewZoomScales(); List<String> getImageViewZoomScales(String view); List<String> getImageViewZoomScales(PageType view, ImageType image); Map<Integer, List<Integer>> getTileSizes(); Map<Integer, List<Integer>> getTileSizes(PageType view, ImageType image); SubnodeConfiguration getZoomImageViewConfig(PageType pageType, ImageType imageType); int getBreadcrumbsClipping(); boolean isDisplayTopstructLabel(); boolean getDisplayStructType(); int getSearchHitMetadataValueNumber(); int getSearchHitMetadataValueLength(); List<String> getWatermarkTextConfiguration(); String getWatermarkFormat(); boolean isOriginalContentDownload(); String getStopwordsFilePath(); String getPageType(PageType type); String getDocstructTargetPageType(String docstruct); String getPageTypeExitView(PageType type); int getFulltextPercentageWarningThreshold(); boolean isUseViewerLocaleAsRecordLanguage(); String getFeedbackEmailAddress(); boolean isBookmarksEnabled(); boolean isForceJpegConversion(); int getPageLoaderThreshold(); boolean isPreventProxyCaching(); boolean isSolrCompressionEnabled(); boolean isSolrBackwardsCompatible(); boolean isUserCommentsEnabled(); String getUserCommentsConditionalQuery(); List<String> getUserCommentsNotificationEmailAddresses(); String getViewerHome(); List<String> getWatermarkIdField(); String getSubthemeMainTheme(); String getSubthemeDiscriminatorField(); int getTagCloudSampleSize(String fieldName); List<StringPair> getTocVolumeSortFieldsForTemplate(String template); String getTocVolumeGroupFieldForTemplate(String template); boolean getDisplayTitleBreadcrumbs(); boolean isDisplayTitlePURL(); int getTitleBreadcrumbsMaxTitleLength(); boolean getIncludeAnchorInTitleBreadcrumbs(); boolean isDisplaySearchRssLinks(); boolean showThumbnailsInToc(); String getStartYearForTimeline(); String getEndYearForTimeline(); String getTimelineHits(); boolean isPiwikTrackingEnabled(); String getPiwikBaseURL(); String getPiwikSiteID(); boolean isSearchSavingEnabled(); boolean isBoostTopLevelDocstructs(); boolean isGroupDuplicateHits(); List<String> getRecordGroupIdentifierFields(); List<String> getAncestorIdentifierFields(); boolean isTocListSiblingRecords(); List<SearchFilter> getSearchFilters(); List<Map<String, String>> getWebApiFields(); String getDbPersistenceUnit(); boolean useCustomNavBar(); String getCmsTemplateFolder(); String getCmsMediaFolder(); String getTempMediaFolder(); List<String> getCmsClassifications(); int getCmsMediaDisplayWidth(); int getCmsMediaDisplayHeight(); boolean isTranskribusEnabled(); String getTranskribusUserName(); String getTranskribusPassword(); String getTranskribusDefaultCollection(); String getTranskribusRestApiUrl(); List<String> getTranskribusAllowedDocumentTypes(); int getTocIndentation(); boolean isPageBrowseEnabled(); List<Integer> getPageBrowseSteps(); String getTaskManagerServiceUrl(); String getTaskManagerRestUrl(); String getReCaptchaSiteKey(); boolean isUseReCaptcha(); boolean isSearchInItemEnabled(); String getDefaultBrowseIcon(String field); boolean isSearchExcelExportEnabled(); List<String> getSearchExcelExportFields(); int getExcelDownloadTimeout(); boolean isDisplayEmptyTocInSidebar(); boolean isDoublePageModeEnabled(); List<String> getRestrictedImageUrls(); List<String> getIIIFLicenses(); List<String> getIIIFMetadataFields(); List<String> getIIIFEventFields(); String getIIIFMetadataLabel(String field); int getIIIFDiscoveryAvtivitiesPerPage(); List<String> getIIIFLogo(); String getIIIFNavDateField(); List<String> getIIIFAttribution(); List<String> getIIIFDescriptionFields(); String getSitelinksField(); String getSitelinksFilterQuery(); List<String> getConfiguredCollections(); String getWebApiToken(); boolean isAllowRedirectCollectionToWork(); String getTwitterUserName(); float getLimitImageHeightUpperRatioThreshold(); float getLimitImageHeightLowerRatioThreshold(); boolean isLimitImageHeight(); boolean isAddCORSHeader(); String getCORSHeaderValue(); boolean isDiscloseImageContentLocation(); String getAccessConditionDisplayField(); String getCopyrightDisplayField(); boolean isDisplayCopyrightInfo(); boolean isDisplaySocialMediaShareLinks(); boolean isDisplayAnchorLabelInTitleBar(String template); String getAnchorLabelInTitleBarPrefix(String template); String getAnchorLabelInTitleBarSuffix(String template); String getMapBoxToken(); GeoMapMarker getGeoMapMarker(String name); List<String> getGeoMapMarkerFields(); List<GeoMapMarker> getGeoMapMarkers(); static GeoMapMarker readGeoMapMarker(HierarchicalConfiguration config); List<LicenseDescription> getLicenseDescriptions(); }
@Test public void getSmtpUser_shouldReturnCorrectValue() throws Exception { Assert.assertEquals("smtpUser_value", DataManager.getInstance().getConfiguration().getSmtpUser()); }
public String getSmtpUser() { return getLocalString("user.smtpUser"); }
Configuration extends AbstractConfiguration { public String getSmtpUser() { return getLocalString("user.smtpUser"); } }
Configuration extends AbstractConfiguration { public String getSmtpUser() { return getLocalString("user.smtpUser"); } Configuration(String configFilePath); }
Configuration extends AbstractConfiguration { public String getSmtpUser() { return getLocalString("user.smtpUser"); } Configuration(String configFilePath); Set<String> getStopwords(); boolean reloadingRequired(); String getConfigLocalPath(); String getLocalRessourceBundleFile(); int getViewerThumbnailsPerPage(); int getViewerMaxImageWidth(); int getViewerMaxImageHeight(); int getViewerMaxImageScale(); boolean isRememberImageZoom(); boolean isRememberImageRotation(); String getDfgViewerUrl(); String getConnectorVersionUrl(); List<Metadata> getTitleBarMetadata(); List<Metadata> getSearchHitMetadataForTemplate(String template); List<Metadata> getMainMetadataForTemplate(String template); List<Metadata> getSidebarMetadataForTemplate(String template); List<String> getNormdataFieldsForTemplate(String template); List<Metadata> getTocLabelConfiguration(String template); int getTocAnchorGroupElementsPerPage(); boolean isDisplaySidebarBrowsingTerms(); boolean isDisplaySidebarRssFeed(); boolean isDisplayWidgetUsage(); Metadata getWidgetUsageLicenceTextMetadata(); boolean isDisplaySidebarUsageWidgetLinkToJpegImage(); boolean isDisplaySidebarUsageWidgetLinkToMasterImage(); String getWidgetUsageMaxJpegSize(); String getWidgetUsageMaxMasterImageSize(); List<String> getCalendarDocStructTypes(); boolean isBrowsingMenuEnabled(); int getBrowsingMenuHitsPerPage(); List<BrowsingMenuFieldConfig> getBrowsingMenuFields(); String getBrowsingMenuSortingIgnoreLeadingChars(); String getDocstrctWhitelistFilterQuery(); String getCollectionSplittingChar(String field); List<DcSortingList> getCollectionSorting(String field); List<String> getCollectionBlacklist(String field); String getCollectionDefaultSortField(String field, String name); int getCollectionDisplayNumberOfVolumesLevel(String field); int getCollectionDisplayDepthForSearch(String field); String getCollectionHierarchyField(); boolean isAddCollectionHierarchyToBreadcrumbs(String field); String getSolrUrl(); String getContentServerWrapperUrl(); String getDownloadUrl(); String getRestApiUrl(); String getIIIFApiUrl(); boolean isUseIIIFApiUrlForCmsMediaUrls(); String getContentServerRealUrl(); String getMetsUrl(); String getMarcUrl(); String getDcUrl(); String getEseUrl(); List<Integer> getSearchHitsPerPageValues(); int getSearchHitsPerPageDefaultValue(); int getFulltextFragmentLength(); boolean isAdvancedSearchEnabled(); int getAdvancedSearchDefaultItemNumber(); List<AdvancedSearchFieldConfiguration> getAdvancedSearchFields(); boolean isAggregateHits(); boolean isDisplayAdditionalMetadataEnabled(); List<String> getDisplayAdditionalMetadataIgnoreFields(); List<String> getDisplayAdditionalMetadataTranslateFields(); boolean isAdvancedSearchFieldHierarchical(String field); boolean isAdvancedSearchFieldRange(String field); boolean isAdvancedSearchFieldUntokenizeForPhraseSearch(String field); String getAdvancedSearchFieldSeparatorLabel(String field); boolean isTimelineSearchEnabled(); boolean isCalendarSearchEnabled(); String getStaticQuerySuffix(); String getPreviousVersionIdentifierField(); String getNextVersionIdentifierField(); String getVersionLabelField(); String getIndexedMetsFolder(); String getIndexedLidoFolder(); String getIndexedDenkxwebFolder(); String getIndexedDublinCoreFolder(); String getPageSelectionFormat(); String getMediaFolder(); String getPdfFolder(); String getVocabulariesFolder(); String getOrigContentFolder(); String getCmsTextFolder(); String getAltoFolder(); String getAbbyyFolder(); String getFulltextFolder(); String getTeiFolder(); String getCmdiFolder(); String getWcFolder(); String getAnnotationFolder(); String getHotfolder(); @SuppressWarnings("static-method") String getTempFolder(); boolean isUrnDoRedirect(); boolean isUserRegistrationEnabled(); List<SecurityQuestion> getSecurityQuestions(); boolean isShowOpenIdConnect(); List<IAuthenticationProvider> getAuthenticationProviders(); String getSmtpServer(); String getSmtpUser(); String getSmtpPassword(); String getSmtpSenderAddress(); String getSmtpSenderName(); String getSmtpSecurity(); String getAnonymousUserEmailAddress(); boolean isDisplayCollectionBrowsing(); boolean isDisplayUserNavigation(); boolean isDisplayTagCloudNavigation(); boolean isDisplayStatistics(); boolean isDisplayTimeMatrix(); boolean isDisplayCrowdsourcingModuleLinks(); String getTheme(); String getThemeRootPath(); String getName(); String getDescription(); boolean isDisplayTagCloudStartpage(); boolean isDisplaySearchResultNavigation(); boolean isFoldout(String sidebarElement); boolean isSidebarPageViewLinkVisible(); boolean isSidebarCalendarViewLinkVisible(); boolean isSidebarTocViewLinkVisible(); boolean isSidebarThumbsViewLinkVisible(); boolean isSidebarMetadataViewLinkVisible(); boolean isShowSidebarEventMetadata(); boolean isShowRecordLabelIfNoOtherViews(); boolean isSidebarFulltextLinkVisible(); boolean isSidebarTocWidgetVisible(); boolean isSidebarTocWidgetVisibleInFullscreen(); boolean isSidebarOpacLinkVisible(); boolean getSidebarTocPageNumbersVisible(); int getSidebarTocLengthBeforeCut(); int getSidebarTocInitialCollapseLevel(); int getSidebarTocCollapseLengthThreshold(); int getSidebarTocLowestLevelToCollapseForLength(); boolean isSidebarTocTreeView(); boolean isTocTreeView(String docStructType); List<String> getAllDrillDownFields(); List<String> getDrillDownFields(); List<String> getHierarchicalDrillDownFields(); int getInitialDrillDownElementNumber(String field); String getSortOrder(String field); List<String> getPriorityValuesForDrillDownField(String field); String getLabelFieldForDrillDownField(String facetField); @SuppressWarnings("static-method") List<String> getRangeFacetFields(); boolean isSortingEnabled(); String getDefaultSortField(); List<String> getSortFields(); List<String> getStaticSortFields(); String getUrnResolverUrl(); int getUnconditionalImageAccessMaxWidth(); boolean isFullAccessForLocalhost(); boolean isGeneratePdfInTaskManager(); boolean isPdfApiDisabled(); boolean isTitlePdfEnabled(); boolean isTocPdfEnabled(); boolean isMetadataPdfEnabled(); boolean isPagePdfEnabled(); boolean isDocHierarchyPdfEnabled(); boolean isTitleEpubEnabled(); boolean isTocEpubEnabled(); boolean isMetadataEpubEnabled(); String getDownloadFolder(String type); int getRssFeedItems(); String getRssTitle(); String getRssDescription(); String getRssCopyrightText(); String getRulesetFilePath(); String getDefaultCollection(); int getThumbnailsWidth(); int getThumbnailsHeight(); int getThumbnailsCompression(); String getAnchorThumbnailMode(); int getMultivolumeThumbnailWidth(); int getMultivolumeThumbnailHeight(); boolean getDisplayBreadcrumbs(); boolean getDisplayMetadataPageLinkBlock(); boolean isAddDublinCoreMetaTags(); boolean isAddHighwirePressMetaTags(); int getMetadataParamNumber(); boolean useTiles(); boolean useTilesFullscreen(); boolean useTiles(PageType view, ImageType image); int getFooterHeight(); int getFullscreenFooterHeight(); int getFooterHeight(PageType view, ImageType image); String getImageViewType(); String getZoomFullscreenViewType(); String getZoomImageViewType(PageType view, ImageType image); boolean useOpenSeadragon(); List<String> getImageViewZoomScales(); List<String> getImageViewZoomScales(String view); List<String> getImageViewZoomScales(PageType view, ImageType image); Map<Integer, List<Integer>> getTileSizes(); Map<Integer, List<Integer>> getTileSizes(PageType view, ImageType image); SubnodeConfiguration getZoomImageViewConfig(PageType pageType, ImageType imageType); int getBreadcrumbsClipping(); boolean isDisplayTopstructLabel(); boolean getDisplayStructType(); int getSearchHitMetadataValueNumber(); int getSearchHitMetadataValueLength(); List<String> getWatermarkTextConfiguration(); String getWatermarkFormat(); boolean isOriginalContentDownload(); String getStopwordsFilePath(); String getPageType(PageType type); String getDocstructTargetPageType(String docstruct); String getPageTypeExitView(PageType type); int getFulltextPercentageWarningThreshold(); boolean isUseViewerLocaleAsRecordLanguage(); String getFeedbackEmailAddress(); boolean isBookmarksEnabled(); boolean isForceJpegConversion(); int getPageLoaderThreshold(); boolean isPreventProxyCaching(); boolean isSolrCompressionEnabled(); boolean isSolrBackwardsCompatible(); boolean isUserCommentsEnabled(); String getUserCommentsConditionalQuery(); List<String> getUserCommentsNotificationEmailAddresses(); String getViewerHome(); List<String> getWatermarkIdField(); String getSubthemeMainTheme(); String getSubthemeDiscriminatorField(); int getTagCloudSampleSize(String fieldName); List<StringPair> getTocVolumeSortFieldsForTemplate(String template); String getTocVolumeGroupFieldForTemplate(String template); boolean getDisplayTitleBreadcrumbs(); boolean isDisplayTitlePURL(); int getTitleBreadcrumbsMaxTitleLength(); boolean getIncludeAnchorInTitleBreadcrumbs(); boolean isDisplaySearchRssLinks(); boolean showThumbnailsInToc(); String getStartYearForTimeline(); String getEndYearForTimeline(); String getTimelineHits(); boolean isPiwikTrackingEnabled(); String getPiwikBaseURL(); String getPiwikSiteID(); boolean isSearchSavingEnabled(); boolean isBoostTopLevelDocstructs(); boolean isGroupDuplicateHits(); List<String> getRecordGroupIdentifierFields(); List<String> getAncestorIdentifierFields(); boolean isTocListSiblingRecords(); List<SearchFilter> getSearchFilters(); List<Map<String, String>> getWebApiFields(); String getDbPersistenceUnit(); boolean useCustomNavBar(); String getCmsTemplateFolder(); String getCmsMediaFolder(); String getTempMediaFolder(); List<String> getCmsClassifications(); int getCmsMediaDisplayWidth(); int getCmsMediaDisplayHeight(); boolean isTranskribusEnabled(); String getTranskribusUserName(); String getTranskribusPassword(); String getTranskribusDefaultCollection(); String getTranskribusRestApiUrl(); List<String> getTranskribusAllowedDocumentTypes(); int getTocIndentation(); boolean isPageBrowseEnabled(); List<Integer> getPageBrowseSteps(); String getTaskManagerServiceUrl(); String getTaskManagerRestUrl(); String getReCaptchaSiteKey(); boolean isUseReCaptcha(); boolean isSearchInItemEnabled(); String getDefaultBrowseIcon(String field); boolean isSearchExcelExportEnabled(); List<String> getSearchExcelExportFields(); int getExcelDownloadTimeout(); boolean isDisplayEmptyTocInSidebar(); boolean isDoublePageModeEnabled(); List<String> getRestrictedImageUrls(); List<String> getIIIFLicenses(); List<String> getIIIFMetadataFields(); List<String> getIIIFEventFields(); String getIIIFMetadataLabel(String field); int getIIIFDiscoveryAvtivitiesPerPage(); List<String> getIIIFLogo(); String getIIIFNavDateField(); List<String> getIIIFAttribution(); List<String> getIIIFDescriptionFields(); String getSitelinksField(); String getSitelinksFilterQuery(); List<String> getConfiguredCollections(); String getWebApiToken(); boolean isAllowRedirectCollectionToWork(); String getTwitterUserName(); float getLimitImageHeightUpperRatioThreshold(); float getLimitImageHeightLowerRatioThreshold(); boolean isLimitImageHeight(); boolean isAddCORSHeader(); String getCORSHeaderValue(); boolean isDiscloseImageContentLocation(); String getAccessConditionDisplayField(); String getCopyrightDisplayField(); boolean isDisplayCopyrightInfo(); boolean isDisplaySocialMediaShareLinks(); boolean isDisplayAnchorLabelInTitleBar(String template); String getAnchorLabelInTitleBarPrefix(String template); String getAnchorLabelInTitleBarSuffix(String template); String getMapBoxToken(); GeoMapMarker getGeoMapMarker(String name); List<String> getGeoMapMarkerFields(); List<GeoMapMarker> getGeoMapMarkers(); static GeoMapMarker readGeoMapMarker(HierarchicalConfiguration config); List<LicenseDescription> getLicenseDescriptions(); }
Configuration extends AbstractConfiguration { public String getSmtpUser() { return getLocalString("user.smtpUser"); } Configuration(String configFilePath); Set<String> getStopwords(); boolean reloadingRequired(); String getConfigLocalPath(); String getLocalRessourceBundleFile(); int getViewerThumbnailsPerPage(); int getViewerMaxImageWidth(); int getViewerMaxImageHeight(); int getViewerMaxImageScale(); boolean isRememberImageZoom(); boolean isRememberImageRotation(); String getDfgViewerUrl(); String getConnectorVersionUrl(); List<Metadata> getTitleBarMetadata(); List<Metadata> getSearchHitMetadataForTemplate(String template); List<Metadata> getMainMetadataForTemplate(String template); List<Metadata> getSidebarMetadataForTemplate(String template); List<String> getNormdataFieldsForTemplate(String template); List<Metadata> getTocLabelConfiguration(String template); int getTocAnchorGroupElementsPerPage(); boolean isDisplaySidebarBrowsingTerms(); boolean isDisplaySidebarRssFeed(); boolean isDisplayWidgetUsage(); Metadata getWidgetUsageLicenceTextMetadata(); boolean isDisplaySidebarUsageWidgetLinkToJpegImage(); boolean isDisplaySidebarUsageWidgetLinkToMasterImage(); String getWidgetUsageMaxJpegSize(); String getWidgetUsageMaxMasterImageSize(); List<String> getCalendarDocStructTypes(); boolean isBrowsingMenuEnabled(); int getBrowsingMenuHitsPerPage(); List<BrowsingMenuFieldConfig> getBrowsingMenuFields(); String getBrowsingMenuSortingIgnoreLeadingChars(); String getDocstrctWhitelistFilterQuery(); String getCollectionSplittingChar(String field); List<DcSortingList> getCollectionSorting(String field); List<String> getCollectionBlacklist(String field); String getCollectionDefaultSortField(String field, String name); int getCollectionDisplayNumberOfVolumesLevel(String field); int getCollectionDisplayDepthForSearch(String field); String getCollectionHierarchyField(); boolean isAddCollectionHierarchyToBreadcrumbs(String field); String getSolrUrl(); String getContentServerWrapperUrl(); String getDownloadUrl(); String getRestApiUrl(); String getIIIFApiUrl(); boolean isUseIIIFApiUrlForCmsMediaUrls(); String getContentServerRealUrl(); String getMetsUrl(); String getMarcUrl(); String getDcUrl(); String getEseUrl(); List<Integer> getSearchHitsPerPageValues(); int getSearchHitsPerPageDefaultValue(); int getFulltextFragmentLength(); boolean isAdvancedSearchEnabled(); int getAdvancedSearchDefaultItemNumber(); List<AdvancedSearchFieldConfiguration> getAdvancedSearchFields(); boolean isAggregateHits(); boolean isDisplayAdditionalMetadataEnabled(); List<String> getDisplayAdditionalMetadataIgnoreFields(); List<String> getDisplayAdditionalMetadataTranslateFields(); boolean isAdvancedSearchFieldHierarchical(String field); boolean isAdvancedSearchFieldRange(String field); boolean isAdvancedSearchFieldUntokenizeForPhraseSearch(String field); String getAdvancedSearchFieldSeparatorLabel(String field); boolean isTimelineSearchEnabled(); boolean isCalendarSearchEnabled(); String getStaticQuerySuffix(); String getPreviousVersionIdentifierField(); String getNextVersionIdentifierField(); String getVersionLabelField(); String getIndexedMetsFolder(); String getIndexedLidoFolder(); String getIndexedDenkxwebFolder(); String getIndexedDublinCoreFolder(); String getPageSelectionFormat(); String getMediaFolder(); String getPdfFolder(); String getVocabulariesFolder(); String getOrigContentFolder(); String getCmsTextFolder(); String getAltoFolder(); String getAbbyyFolder(); String getFulltextFolder(); String getTeiFolder(); String getCmdiFolder(); String getWcFolder(); String getAnnotationFolder(); String getHotfolder(); @SuppressWarnings("static-method") String getTempFolder(); boolean isUrnDoRedirect(); boolean isUserRegistrationEnabled(); List<SecurityQuestion> getSecurityQuestions(); boolean isShowOpenIdConnect(); List<IAuthenticationProvider> getAuthenticationProviders(); String getSmtpServer(); String getSmtpUser(); String getSmtpPassword(); String getSmtpSenderAddress(); String getSmtpSenderName(); String getSmtpSecurity(); String getAnonymousUserEmailAddress(); boolean isDisplayCollectionBrowsing(); boolean isDisplayUserNavigation(); boolean isDisplayTagCloudNavigation(); boolean isDisplayStatistics(); boolean isDisplayTimeMatrix(); boolean isDisplayCrowdsourcingModuleLinks(); String getTheme(); String getThemeRootPath(); String getName(); String getDescription(); boolean isDisplayTagCloudStartpage(); boolean isDisplaySearchResultNavigation(); boolean isFoldout(String sidebarElement); boolean isSidebarPageViewLinkVisible(); boolean isSidebarCalendarViewLinkVisible(); boolean isSidebarTocViewLinkVisible(); boolean isSidebarThumbsViewLinkVisible(); boolean isSidebarMetadataViewLinkVisible(); boolean isShowSidebarEventMetadata(); boolean isShowRecordLabelIfNoOtherViews(); boolean isSidebarFulltextLinkVisible(); boolean isSidebarTocWidgetVisible(); boolean isSidebarTocWidgetVisibleInFullscreen(); boolean isSidebarOpacLinkVisible(); boolean getSidebarTocPageNumbersVisible(); int getSidebarTocLengthBeforeCut(); int getSidebarTocInitialCollapseLevel(); int getSidebarTocCollapseLengthThreshold(); int getSidebarTocLowestLevelToCollapseForLength(); boolean isSidebarTocTreeView(); boolean isTocTreeView(String docStructType); List<String> getAllDrillDownFields(); List<String> getDrillDownFields(); List<String> getHierarchicalDrillDownFields(); int getInitialDrillDownElementNumber(String field); String getSortOrder(String field); List<String> getPriorityValuesForDrillDownField(String field); String getLabelFieldForDrillDownField(String facetField); @SuppressWarnings("static-method") List<String> getRangeFacetFields(); boolean isSortingEnabled(); String getDefaultSortField(); List<String> getSortFields(); List<String> getStaticSortFields(); String getUrnResolverUrl(); int getUnconditionalImageAccessMaxWidth(); boolean isFullAccessForLocalhost(); boolean isGeneratePdfInTaskManager(); boolean isPdfApiDisabled(); boolean isTitlePdfEnabled(); boolean isTocPdfEnabled(); boolean isMetadataPdfEnabled(); boolean isPagePdfEnabled(); boolean isDocHierarchyPdfEnabled(); boolean isTitleEpubEnabled(); boolean isTocEpubEnabled(); boolean isMetadataEpubEnabled(); String getDownloadFolder(String type); int getRssFeedItems(); String getRssTitle(); String getRssDescription(); String getRssCopyrightText(); String getRulesetFilePath(); String getDefaultCollection(); int getThumbnailsWidth(); int getThumbnailsHeight(); int getThumbnailsCompression(); String getAnchorThumbnailMode(); int getMultivolumeThumbnailWidth(); int getMultivolumeThumbnailHeight(); boolean getDisplayBreadcrumbs(); boolean getDisplayMetadataPageLinkBlock(); boolean isAddDublinCoreMetaTags(); boolean isAddHighwirePressMetaTags(); int getMetadataParamNumber(); boolean useTiles(); boolean useTilesFullscreen(); boolean useTiles(PageType view, ImageType image); int getFooterHeight(); int getFullscreenFooterHeight(); int getFooterHeight(PageType view, ImageType image); String getImageViewType(); String getZoomFullscreenViewType(); String getZoomImageViewType(PageType view, ImageType image); boolean useOpenSeadragon(); List<String> getImageViewZoomScales(); List<String> getImageViewZoomScales(String view); List<String> getImageViewZoomScales(PageType view, ImageType image); Map<Integer, List<Integer>> getTileSizes(); Map<Integer, List<Integer>> getTileSizes(PageType view, ImageType image); SubnodeConfiguration getZoomImageViewConfig(PageType pageType, ImageType imageType); int getBreadcrumbsClipping(); boolean isDisplayTopstructLabel(); boolean getDisplayStructType(); int getSearchHitMetadataValueNumber(); int getSearchHitMetadataValueLength(); List<String> getWatermarkTextConfiguration(); String getWatermarkFormat(); boolean isOriginalContentDownload(); String getStopwordsFilePath(); String getPageType(PageType type); String getDocstructTargetPageType(String docstruct); String getPageTypeExitView(PageType type); int getFulltextPercentageWarningThreshold(); boolean isUseViewerLocaleAsRecordLanguage(); String getFeedbackEmailAddress(); boolean isBookmarksEnabled(); boolean isForceJpegConversion(); int getPageLoaderThreshold(); boolean isPreventProxyCaching(); boolean isSolrCompressionEnabled(); boolean isSolrBackwardsCompatible(); boolean isUserCommentsEnabled(); String getUserCommentsConditionalQuery(); List<String> getUserCommentsNotificationEmailAddresses(); String getViewerHome(); List<String> getWatermarkIdField(); String getSubthemeMainTheme(); String getSubthemeDiscriminatorField(); int getTagCloudSampleSize(String fieldName); List<StringPair> getTocVolumeSortFieldsForTemplate(String template); String getTocVolumeGroupFieldForTemplate(String template); boolean getDisplayTitleBreadcrumbs(); boolean isDisplayTitlePURL(); int getTitleBreadcrumbsMaxTitleLength(); boolean getIncludeAnchorInTitleBreadcrumbs(); boolean isDisplaySearchRssLinks(); boolean showThumbnailsInToc(); String getStartYearForTimeline(); String getEndYearForTimeline(); String getTimelineHits(); boolean isPiwikTrackingEnabled(); String getPiwikBaseURL(); String getPiwikSiteID(); boolean isSearchSavingEnabled(); boolean isBoostTopLevelDocstructs(); boolean isGroupDuplicateHits(); List<String> getRecordGroupIdentifierFields(); List<String> getAncestorIdentifierFields(); boolean isTocListSiblingRecords(); List<SearchFilter> getSearchFilters(); List<Map<String, String>> getWebApiFields(); String getDbPersistenceUnit(); boolean useCustomNavBar(); String getCmsTemplateFolder(); String getCmsMediaFolder(); String getTempMediaFolder(); List<String> getCmsClassifications(); int getCmsMediaDisplayWidth(); int getCmsMediaDisplayHeight(); boolean isTranskribusEnabled(); String getTranskribusUserName(); String getTranskribusPassword(); String getTranskribusDefaultCollection(); String getTranskribusRestApiUrl(); List<String> getTranskribusAllowedDocumentTypes(); int getTocIndentation(); boolean isPageBrowseEnabled(); List<Integer> getPageBrowseSteps(); String getTaskManagerServiceUrl(); String getTaskManagerRestUrl(); String getReCaptchaSiteKey(); boolean isUseReCaptcha(); boolean isSearchInItemEnabled(); String getDefaultBrowseIcon(String field); boolean isSearchExcelExportEnabled(); List<String> getSearchExcelExportFields(); int getExcelDownloadTimeout(); boolean isDisplayEmptyTocInSidebar(); boolean isDoublePageModeEnabled(); List<String> getRestrictedImageUrls(); List<String> getIIIFLicenses(); List<String> getIIIFMetadataFields(); List<String> getIIIFEventFields(); String getIIIFMetadataLabel(String field); int getIIIFDiscoveryAvtivitiesPerPage(); List<String> getIIIFLogo(); String getIIIFNavDateField(); List<String> getIIIFAttribution(); List<String> getIIIFDescriptionFields(); String getSitelinksField(); String getSitelinksFilterQuery(); List<String> getConfiguredCollections(); String getWebApiToken(); boolean isAllowRedirectCollectionToWork(); String getTwitterUserName(); float getLimitImageHeightUpperRatioThreshold(); float getLimitImageHeightLowerRatioThreshold(); boolean isLimitImageHeight(); boolean isAddCORSHeader(); String getCORSHeaderValue(); boolean isDiscloseImageContentLocation(); String getAccessConditionDisplayField(); String getCopyrightDisplayField(); boolean isDisplayCopyrightInfo(); boolean isDisplaySocialMediaShareLinks(); boolean isDisplayAnchorLabelInTitleBar(String template); String getAnchorLabelInTitleBarPrefix(String template); String getAnchorLabelInTitleBarSuffix(String template); String getMapBoxToken(); GeoMapMarker getGeoMapMarker(String name); List<String> getGeoMapMarkerFields(); List<GeoMapMarker> getGeoMapMarkers(); static GeoMapMarker readGeoMapMarker(HierarchicalConfiguration config); List<LicenseDescription> getLicenseDescriptions(); }
@Test public void getAnonymousUserEmailAddress_shouldReturnCorrectValue() throws Exception { Assert.assertEquals("[email protected]", DataManager.getInstance().getConfiguration().getAnonymousUserEmailAddress()); }
public String getAnonymousUserEmailAddress() { return getLocalString("user.anonymousUserEmailAddress"); }
Configuration extends AbstractConfiguration { public String getAnonymousUserEmailAddress() { return getLocalString("user.anonymousUserEmailAddress"); } }
Configuration extends AbstractConfiguration { public String getAnonymousUserEmailAddress() { return getLocalString("user.anonymousUserEmailAddress"); } Configuration(String configFilePath); }
Configuration extends AbstractConfiguration { public String getAnonymousUserEmailAddress() { return getLocalString("user.anonymousUserEmailAddress"); } Configuration(String configFilePath); Set<String> getStopwords(); boolean reloadingRequired(); String getConfigLocalPath(); String getLocalRessourceBundleFile(); int getViewerThumbnailsPerPage(); int getViewerMaxImageWidth(); int getViewerMaxImageHeight(); int getViewerMaxImageScale(); boolean isRememberImageZoom(); boolean isRememberImageRotation(); String getDfgViewerUrl(); String getConnectorVersionUrl(); List<Metadata> getTitleBarMetadata(); List<Metadata> getSearchHitMetadataForTemplate(String template); List<Metadata> getMainMetadataForTemplate(String template); List<Metadata> getSidebarMetadataForTemplate(String template); List<String> getNormdataFieldsForTemplate(String template); List<Metadata> getTocLabelConfiguration(String template); int getTocAnchorGroupElementsPerPage(); boolean isDisplaySidebarBrowsingTerms(); boolean isDisplaySidebarRssFeed(); boolean isDisplayWidgetUsage(); Metadata getWidgetUsageLicenceTextMetadata(); boolean isDisplaySidebarUsageWidgetLinkToJpegImage(); boolean isDisplaySidebarUsageWidgetLinkToMasterImage(); String getWidgetUsageMaxJpegSize(); String getWidgetUsageMaxMasterImageSize(); List<String> getCalendarDocStructTypes(); boolean isBrowsingMenuEnabled(); int getBrowsingMenuHitsPerPage(); List<BrowsingMenuFieldConfig> getBrowsingMenuFields(); String getBrowsingMenuSortingIgnoreLeadingChars(); String getDocstrctWhitelistFilterQuery(); String getCollectionSplittingChar(String field); List<DcSortingList> getCollectionSorting(String field); List<String> getCollectionBlacklist(String field); String getCollectionDefaultSortField(String field, String name); int getCollectionDisplayNumberOfVolumesLevel(String field); int getCollectionDisplayDepthForSearch(String field); String getCollectionHierarchyField(); boolean isAddCollectionHierarchyToBreadcrumbs(String field); String getSolrUrl(); String getContentServerWrapperUrl(); String getDownloadUrl(); String getRestApiUrl(); String getIIIFApiUrl(); boolean isUseIIIFApiUrlForCmsMediaUrls(); String getContentServerRealUrl(); String getMetsUrl(); String getMarcUrl(); String getDcUrl(); String getEseUrl(); List<Integer> getSearchHitsPerPageValues(); int getSearchHitsPerPageDefaultValue(); int getFulltextFragmentLength(); boolean isAdvancedSearchEnabled(); int getAdvancedSearchDefaultItemNumber(); List<AdvancedSearchFieldConfiguration> getAdvancedSearchFields(); boolean isAggregateHits(); boolean isDisplayAdditionalMetadataEnabled(); List<String> getDisplayAdditionalMetadataIgnoreFields(); List<String> getDisplayAdditionalMetadataTranslateFields(); boolean isAdvancedSearchFieldHierarchical(String field); boolean isAdvancedSearchFieldRange(String field); boolean isAdvancedSearchFieldUntokenizeForPhraseSearch(String field); String getAdvancedSearchFieldSeparatorLabel(String field); boolean isTimelineSearchEnabled(); boolean isCalendarSearchEnabled(); String getStaticQuerySuffix(); String getPreviousVersionIdentifierField(); String getNextVersionIdentifierField(); String getVersionLabelField(); String getIndexedMetsFolder(); String getIndexedLidoFolder(); String getIndexedDenkxwebFolder(); String getIndexedDublinCoreFolder(); String getPageSelectionFormat(); String getMediaFolder(); String getPdfFolder(); String getVocabulariesFolder(); String getOrigContentFolder(); String getCmsTextFolder(); String getAltoFolder(); String getAbbyyFolder(); String getFulltextFolder(); String getTeiFolder(); String getCmdiFolder(); String getWcFolder(); String getAnnotationFolder(); String getHotfolder(); @SuppressWarnings("static-method") String getTempFolder(); boolean isUrnDoRedirect(); boolean isUserRegistrationEnabled(); List<SecurityQuestion> getSecurityQuestions(); boolean isShowOpenIdConnect(); List<IAuthenticationProvider> getAuthenticationProviders(); String getSmtpServer(); String getSmtpUser(); String getSmtpPassword(); String getSmtpSenderAddress(); String getSmtpSenderName(); String getSmtpSecurity(); String getAnonymousUserEmailAddress(); boolean isDisplayCollectionBrowsing(); boolean isDisplayUserNavigation(); boolean isDisplayTagCloudNavigation(); boolean isDisplayStatistics(); boolean isDisplayTimeMatrix(); boolean isDisplayCrowdsourcingModuleLinks(); String getTheme(); String getThemeRootPath(); String getName(); String getDescription(); boolean isDisplayTagCloudStartpage(); boolean isDisplaySearchResultNavigation(); boolean isFoldout(String sidebarElement); boolean isSidebarPageViewLinkVisible(); boolean isSidebarCalendarViewLinkVisible(); boolean isSidebarTocViewLinkVisible(); boolean isSidebarThumbsViewLinkVisible(); boolean isSidebarMetadataViewLinkVisible(); boolean isShowSidebarEventMetadata(); boolean isShowRecordLabelIfNoOtherViews(); boolean isSidebarFulltextLinkVisible(); boolean isSidebarTocWidgetVisible(); boolean isSidebarTocWidgetVisibleInFullscreen(); boolean isSidebarOpacLinkVisible(); boolean getSidebarTocPageNumbersVisible(); int getSidebarTocLengthBeforeCut(); int getSidebarTocInitialCollapseLevel(); int getSidebarTocCollapseLengthThreshold(); int getSidebarTocLowestLevelToCollapseForLength(); boolean isSidebarTocTreeView(); boolean isTocTreeView(String docStructType); List<String> getAllDrillDownFields(); List<String> getDrillDownFields(); List<String> getHierarchicalDrillDownFields(); int getInitialDrillDownElementNumber(String field); String getSortOrder(String field); List<String> getPriorityValuesForDrillDownField(String field); String getLabelFieldForDrillDownField(String facetField); @SuppressWarnings("static-method") List<String> getRangeFacetFields(); boolean isSortingEnabled(); String getDefaultSortField(); List<String> getSortFields(); List<String> getStaticSortFields(); String getUrnResolverUrl(); int getUnconditionalImageAccessMaxWidth(); boolean isFullAccessForLocalhost(); boolean isGeneratePdfInTaskManager(); boolean isPdfApiDisabled(); boolean isTitlePdfEnabled(); boolean isTocPdfEnabled(); boolean isMetadataPdfEnabled(); boolean isPagePdfEnabled(); boolean isDocHierarchyPdfEnabled(); boolean isTitleEpubEnabled(); boolean isTocEpubEnabled(); boolean isMetadataEpubEnabled(); String getDownloadFolder(String type); int getRssFeedItems(); String getRssTitle(); String getRssDescription(); String getRssCopyrightText(); String getRulesetFilePath(); String getDefaultCollection(); int getThumbnailsWidth(); int getThumbnailsHeight(); int getThumbnailsCompression(); String getAnchorThumbnailMode(); int getMultivolumeThumbnailWidth(); int getMultivolumeThumbnailHeight(); boolean getDisplayBreadcrumbs(); boolean getDisplayMetadataPageLinkBlock(); boolean isAddDublinCoreMetaTags(); boolean isAddHighwirePressMetaTags(); int getMetadataParamNumber(); boolean useTiles(); boolean useTilesFullscreen(); boolean useTiles(PageType view, ImageType image); int getFooterHeight(); int getFullscreenFooterHeight(); int getFooterHeight(PageType view, ImageType image); String getImageViewType(); String getZoomFullscreenViewType(); String getZoomImageViewType(PageType view, ImageType image); boolean useOpenSeadragon(); List<String> getImageViewZoomScales(); List<String> getImageViewZoomScales(String view); List<String> getImageViewZoomScales(PageType view, ImageType image); Map<Integer, List<Integer>> getTileSizes(); Map<Integer, List<Integer>> getTileSizes(PageType view, ImageType image); SubnodeConfiguration getZoomImageViewConfig(PageType pageType, ImageType imageType); int getBreadcrumbsClipping(); boolean isDisplayTopstructLabel(); boolean getDisplayStructType(); int getSearchHitMetadataValueNumber(); int getSearchHitMetadataValueLength(); List<String> getWatermarkTextConfiguration(); String getWatermarkFormat(); boolean isOriginalContentDownload(); String getStopwordsFilePath(); String getPageType(PageType type); String getDocstructTargetPageType(String docstruct); String getPageTypeExitView(PageType type); int getFulltextPercentageWarningThreshold(); boolean isUseViewerLocaleAsRecordLanguage(); String getFeedbackEmailAddress(); boolean isBookmarksEnabled(); boolean isForceJpegConversion(); int getPageLoaderThreshold(); boolean isPreventProxyCaching(); boolean isSolrCompressionEnabled(); boolean isSolrBackwardsCompatible(); boolean isUserCommentsEnabled(); String getUserCommentsConditionalQuery(); List<String> getUserCommentsNotificationEmailAddresses(); String getViewerHome(); List<String> getWatermarkIdField(); String getSubthemeMainTheme(); String getSubthemeDiscriminatorField(); int getTagCloudSampleSize(String fieldName); List<StringPair> getTocVolumeSortFieldsForTemplate(String template); String getTocVolumeGroupFieldForTemplate(String template); boolean getDisplayTitleBreadcrumbs(); boolean isDisplayTitlePURL(); int getTitleBreadcrumbsMaxTitleLength(); boolean getIncludeAnchorInTitleBreadcrumbs(); boolean isDisplaySearchRssLinks(); boolean showThumbnailsInToc(); String getStartYearForTimeline(); String getEndYearForTimeline(); String getTimelineHits(); boolean isPiwikTrackingEnabled(); String getPiwikBaseURL(); String getPiwikSiteID(); boolean isSearchSavingEnabled(); boolean isBoostTopLevelDocstructs(); boolean isGroupDuplicateHits(); List<String> getRecordGroupIdentifierFields(); List<String> getAncestorIdentifierFields(); boolean isTocListSiblingRecords(); List<SearchFilter> getSearchFilters(); List<Map<String, String>> getWebApiFields(); String getDbPersistenceUnit(); boolean useCustomNavBar(); String getCmsTemplateFolder(); String getCmsMediaFolder(); String getTempMediaFolder(); List<String> getCmsClassifications(); int getCmsMediaDisplayWidth(); int getCmsMediaDisplayHeight(); boolean isTranskribusEnabled(); String getTranskribusUserName(); String getTranskribusPassword(); String getTranskribusDefaultCollection(); String getTranskribusRestApiUrl(); List<String> getTranskribusAllowedDocumentTypes(); int getTocIndentation(); boolean isPageBrowseEnabled(); List<Integer> getPageBrowseSteps(); String getTaskManagerServiceUrl(); String getTaskManagerRestUrl(); String getReCaptchaSiteKey(); boolean isUseReCaptcha(); boolean isSearchInItemEnabled(); String getDefaultBrowseIcon(String field); boolean isSearchExcelExportEnabled(); List<String> getSearchExcelExportFields(); int getExcelDownloadTimeout(); boolean isDisplayEmptyTocInSidebar(); boolean isDoublePageModeEnabled(); List<String> getRestrictedImageUrls(); List<String> getIIIFLicenses(); List<String> getIIIFMetadataFields(); List<String> getIIIFEventFields(); String getIIIFMetadataLabel(String field); int getIIIFDiscoveryAvtivitiesPerPage(); List<String> getIIIFLogo(); String getIIIFNavDateField(); List<String> getIIIFAttribution(); List<String> getIIIFDescriptionFields(); String getSitelinksField(); String getSitelinksFilterQuery(); List<String> getConfiguredCollections(); String getWebApiToken(); boolean isAllowRedirectCollectionToWork(); String getTwitterUserName(); float getLimitImageHeightUpperRatioThreshold(); float getLimitImageHeightLowerRatioThreshold(); boolean isLimitImageHeight(); boolean isAddCORSHeader(); String getCORSHeaderValue(); boolean isDiscloseImageContentLocation(); String getAccessConditionDisplayField(); String getCopyrightDisplayField(); boolean isDisplayCopyrightInfo(); boolean isDisplaySocialMediaShareLinks(); boolean isDisplayAnchorLabelInTitleBar(String template); String getAnchorLabelInTitleBarPrefix(String template); String getAnchorLabelInTitleBarSuffix(String template); String getMapBoxToken(); GeoMapMarker getGeoMapMarker(String name); List<String> getGeoMapMarkerFields(); List<GeoMapMarker> getGeoMapMarkers(); static GeoMapMarker readGeoMapMarker(HierarchicalConfiguration config); List<LicenseDescription> getLicenseDescriptions(); }
Configuration extends AbstractConfiguration { public String getAnonymousUserEmailAddress() { return getLocalString("user.anonymousUserEmailAddress"); } Configuration(String configFilePath); Set<String> getStopwords(); boolean reloadingRequired(); String getConfigLocalPath(); String getLocalRessourceBundleFile(); int getViewerThumbnailsPerPage(); int getViewerMaxImageWidth(); int getViewerMaxImageHeight(); int getViewerMaxImageScale(); boolean isRememberImageZoom(); boolean isRememberImageRotation(); String getDfgViewerUrl(); String getConnectorVersionUrl(); List<Metadata> getTitleBarMetadata(); List<Metadata> getSearchHitMetadataForTemplate(String template); List<Metadata> getMainMetadataForTemplate(String template); List<Metadata> getSidebarMetadataForTemplate(String template); List<String> getNormdataFieldsForTemplate(String template); List<Metadata> getTocLabelConfiguration(String template); int getTocAnchorGroupElementsPerPage(); boolean isDisplaySidebarBrowsingTerms(); boolean isDisplaySidebarRssFeed(); boolean isDisplayWidgetUsage(); Metadata getWidgetUsageLicenceTextMetadata(); boolean isDisplaySidebarUsageWidgetLinkToJpegImage(); boolean isDisplaySidebarUsageWidgetLinkToMasterImage(); String getWidgetUsageMaxJpegSize(); String getWidgetUsageMaxMasterImageSize(); List<String> getCalendarDocStructTypes(); boolean isBrowsingMenuEnabled(); int getBrowsingMenuHitsPerPage(); List<BrowsingMenuFieldConfig> getBrowsingMenuFields(); String getBrowsingMenuSortingIgnoreLeadingChars(); String getDocstrctWhitelistFilterQuery(); String getCollectionSplittingChar(String field); List<DcSortingList> getCollectionSorting(String field); List<String> getCollectionBlacklist(String field); String getCollectionDefaultSortField(String field, String name); int getCollectionDisplayNumberOfVolumesLevel(String field); int getCollectionDisplayDepthForSearch(String field); String getCollectionHierarchyField(); boolean isAddCollectionHierarchyToBreadcrumbs(String field); String getSolrUrl(); String getContentServerWrapperUrl(); String getDownloadUrl(); String getRestApiUrl(); String getIIIFApiUrl(); boolean isUseIIIFApiUrlForCmsMediaUrls(); String getContentServerRealUrl(); String getMetsUrl(); String getMarcUrl(); String getDcUrl(); String getEseUrl(); List<Integer> getSearchHitsPerPageValues(); int getSearchHitsPerPageDefaultValue(); int getFulltextFragmentLength(); boolean isAdvancedSearchEnabled(); int getAdvancedSearchDefaultItemNumber(); List<AdvancedSearchFieldConfiguration> getAdvancedSearchFields(); boolean isAggregateHits(); boolean isDisplayAdditionalMetadataEnabled(); List<String> getDisplayAdditionalMetadataIgnoreFields(); List<String> getDisplayAdditionalMetadataTranslateFields(); boolean isAdvancedSearchFieldHierarchical(String field); boolean isAdvancedSearchFieldRange(String field); boolean isAdvancedSearchFieldUntokenizeForPhraseSearch(String field); String getAdvancedSearchFieldSeparatorLabel(String field); boolean isTimelineSearchEnabled(); boolean isCalendarSearchEnabled(); String getStaticQuerySuffix(); String getPreviousVersionIdentifierField(); String getNextVersionIdentifierField(); String getVersionLabelField(); String getIndexedMetsFolder(); String getIndexedLidoFolder(); String getIndexedDenkxwebFolder(); String getIndexedDublinCoreFolder(); String getPageSelectionFormat(); String getMediaFolder(); String getPdfFolder(); String getVocabulariesFolder(); String getOrigContentFolder(); String getCmsTextFolder(); String getAltoFolder(); String getAbbyyFolder(); String getFulltextFolder(); String getTeiFolder(); String getCmdiFolder(); String getWcFolder(); String getAnnotationFolder(); String getHotfolder(); @SuppressWarnings("static-method") String getTempFolder(); boolean isUrnDoRedirect(); boolean isUserRegistrationEnabled(); List<SecurityQuestion> getSecurityQuestions(); boolean isShowOpenIdConnect(); List<IAuthenticationProvider> getAuthenticationProviders(); String getSmtpServer(); String getSmtpUser(); String getSmtpPassword(); String getSmtpSenderAddress(); String getSmtpSenderName(); String getSmtpSecurity(); String getAnonymousUserEmailAddress(); boolean isDisplayCollectionBrowsing(); boolean isDisplayUserNavigation(); boolean isDisplayTagCloudNavigation(); boolean isDisplayStatistics(); boolean isDisplayTimeMatrix(); boolean isDisplayCrowdsourcingModuleLinks(); String getTheme(); String getThemeRootPath(); String getName(); String getDescription(); boolean isDisplayTagCloudStartpage(); boolean isDisplaySearchResultNavigation(); boolean isFoldout(String sidebarElement); boolean isSidebarPageViewLinkVisible(); boolean isSidebarCalendarViewLinkVisible(); boolean isSidebarTocViewLinkVisible(); boolean isSidebarThumbsViewLinkVisible(); boolean isSidebarMetadataViewLinkVisible(); boolean isShowSidebarEventMetadata(); boolean isShowRecordLabelIfNoOtherViews(); boolean isSidebarFulltextLinkVisible(); boolean isSidebarTocWidgetVisible(); boolean isSidebarTocWidgetVisibleInFullscreen(); boolean isSidebarOpacLinkVisible(); boolean getSidebarTocPageNumbersVisible(); int getSidebarTocLengthBeforeCut(); int getSidebarTocInitialCollapseLevel(); int getSidebarTocCollapseLengthThreshold(); int getSidebarTocLowestLevelToCollapseForLength(); boolean isSidebarTocTreeView(); boolean isTocTreeView(String docStructType); List<String> getAllDrillDownFields(); List<String> getDrillDownFields(); List<String> getHierarchicalDrillDownFields(); int getInitialDrillDownElementNumber(String field); String getSortOrder(String field); List<String> getPriorityValuesForDrillDownField(String field); String getLabelFieldForDrillDownField(String facetField); @SuppressWarnings("static-method") List<String> getRangeFacetFields(); boolean isSortingEnabled(); String getDefaultSortField(); List<String> getSortFields(); List<String> getStaticSortFields(); String getUrnResolverUrl(); int getUnconditionalImageAccessMaxWidth(); boolean isFullAccessForLocalhost(); boolean isGeneratePdfInTaskManager(); boolean isPdfApiDisabled(); boolean isTitlePdfEnabled(); boolean isTocPdfEnabled(); boolean isMetadataPdfEnabled(); boolean isPagePdfEnabled(); boolean isDocHierarchyPdfEnabled(); boolean isTitleEpubEnabled(); boolean isTocEpubEnabled(); boolean isMetadataEpubEnabled(); String getDownloadFolder(String type); int getRssFeedItems(); String getRssTitle(); String getRssDescription(); String getRssCopyrightText(); String getRulesetFilePath(); String getDefaultCollection(); int getThumbnailsWidth(); int getThumbnailsHeight(); int getThumbnailsCompression(); String getAnchorThumbnailMode(); int getMultivolumeThumbnailWidth(); int getMultivolumeThumbnailHeight(); boolean getDisplayBreadcrumbs(); boolean getDisplayMetadataPageLinkBlock(); boolean isAddDublinCoreMetaTags(); boolean isAddHighwirePressMetaTags(); int getMetadataParamNumber(); boolean useTiles(); boolean useTilesFullscreen(); boolean useTiles(PageType view, ImageType image); int getFooterHeight(); int getFullscreenFooterHeight(); int getFooterHeight(PageType view, ImageType image); String getImageViewType(); String getZoomFullscreenViewType(); String getZoomImageViewType(PageType view, ImageType image); boolean useOpenSeadragon(); List<String> getImageViewZoomScales(); List<String> getImageViewZoomScales(String view); List<String> getImageViewZoomScales(PageType view, ImageType image); Map<Integer, List<Integer>> getTileSizes(); Map<Integer, List<Integer>> getTileSizes(PageType view, ImageType image); SubnodeConfiguration getZoomImageViewConfig(PageType pageType, ImageType imageType); int getBreadcrumbsClipping(); boolean isDisplayTopstructLabel(); boolean getDisplayStructType(); int getSearchHitMetadataValueNumber(); int getSearchHitMetadataValueLength(); List<String> getWatermarkTextConfiguration(); String getWatermarkFormat(); boolean isOriginalContentDownload(); String getStopwordsFilePath(); String getPageType(PageType type); String getDocstructTargetPageType(String docstruct); String getPageTypeExitView(PageType type); int getFulltextPercentageWarningThreshold(); boolean isUseViewerLocaleAsRecordLanguage(); String getFeedbackEmailAddress(); boolean isBookmarksEnabled(); boolean isForceJpegConversion(); int getPageLoaderThreshold(); boolean isPreventProxyCaching(); boolean isSolrCompressionEnabled(); boolean isSolrBackwardsCompatible(); boolean isUserCommentsEnabled(); String getUserCommentsConditionalQuery(); List<String> getUserCommentsNotificationEmailAddresses(); String getViewerHome(); List<String> getWatermarkIdField(); String getSubthemeMainTheme(); String getSubthemeDiscriminatorField(); int getTagCloudSampleSize(String fieldName); List<StringPair> getTocVolumeSortFieldsForTemplate(String template); String getTocVolumeGroupFieldForTemplate(String template); boolean getDisplayTitleBreadcrumbs(); boolean isDisplayTitlePURL(); int getTitleBreadcrumbsMaxTitleLength(); boolean getIncludeAnchorInTitleBreadcrumbs(); boolean isDisplaySearchRssLinks(); boolean showThumbnailsInToc(); String getStartYearForTimeline(); String getEndYearForTimeline(); String getTimelineHits(); boolean isPiwikTrackingEnabled(); String getPiwikBaseURL(); String getPiwikSiteID(); boolean isSearchSavingEnabled(); boolean isBoostTopLevelDocstructs(); boolean isGroupDuplicateHits(); List<String> getRecordGroupIdentifierFields(); List<String> getAncestorIdentifierFields(); boolean isTocListSiblingRecords(); List<SearchFilter> getSearchFilters(); List<Map<String, String>> getWebApiFields(); String getDbPersistenceUnit(); boolean useCustomNavBar(); String getCmsTemplateFolder(); String getCmsMediaFolder(); String getTempMediaFolder(); List<String> getCmsClassifications(); int getCmsMediaDisplayWidth(); int getCmsMediaDisplayHeight(); boolean isTranskribusEnabled(); String getTranskribusUserName(); String getTranskribusPassword(); String getTranskribusDefaultCollection(); String getTranskribusRestApiUrl(); List<String> getTranskribusAllowedDocumentTypes(); int getTocIndentation(); boolean isPageBrowseEnabled(); List<Integer> getPageBrowseSteps(); String getTaskManagerServiceUrl(); String getTaskManagerRestUrl(); String getReCaptchaSiteKey(); boolean isUseReCaptcha(); boolean isSearchInItemEnabled(); String getDefaultBrowseIcon(String field); boolean isSearchExcelExportEnabled(); List<String> getSearchExcelExportFields(); int getExcelDownloadTimeout(); boolean isDisplayEmptyTocInSidebar(); boolean isDoublePageModeEnabled(); List<String> getRestrictedImageUrls(); List<String> getIIIFLicenses(); List<String> getIIIFMetadataFields(); List<String> getIIIFEventFields(); String getIIIFMetadataLabel(String field); int getIIIFDiscoveryAvtivitiesPerPage(); List<String> getIIIFLogo(); String getIIIFNavDateField(); List<String> getIIIFAttribution(); List<String> getIIIFDescriptionFields(); String getSitelinksField(); String getSitelinksFilterQuery(); List<String> getConfiguredCollections(); String getWebApiToken(); boolean isAllowRedirectCollectionToWork(); String getTwitterUserName(); float getLimitImageHeightUpperRatioThreshold(); float getLimitImageHeightLowerRatioThreshold(); boolean isLimitImageHeight(); boolean isAddCORSHeader(); String getCORSHeaderValue(); boolean isDiscloseImageContentLocation(); String getAccessConditionDisplayField(); String getCopyrightDisplayField(); boolean isDisplayCopyrightInfo(); boolean isDisplaySocialMediaShareLinks(); boolean isDisplayAnchorLabelInTitleBar(String template); String getAnchorLabelInTitleBarPrefix(String template); String getAnchorLabelInTitleBarSuffix(String template); String getMapBoxToken(); GeoMapMarker getGeoMapMarker(String name); List<String> getGeoMapMarkerFields(); List<GeoMapMarker> getGeoMapMarkers(); static GeoMapMarker readGeoMapMarker(HierarchicalConfiguration config); List<LicenseDescription> getLicenseDescriptions(); }
@Test public void getSolrUrl_shouldReturnCorrectValue() throws Exception { Assert.assertEquals("https: }
public String getSolrUrl() { String value = getLocalString("urls.solr", "http: if (value.charAt(value.length() - 1) == '/') { value = value.substring(0, value.length() - 1); } return value; }
Configuration extends AbstractConfiguration { public String getSolrUrl() { String value = getLocalString("urls.solr", "http: if (value.charAt(value.length() - 1) == '/') { value = value.substring(0, value.length() - 1); } return value; } }
Configuration extends AbstractConfiguration { public String getSolrUrl() { String value = getLocalString("urls.solr", "http: if (value.charAt(value.length() - 1) == '/') { value = value.substring(0, value.length() - 1); } return value; } Configuration(String configFilePath); }
Configuration extends AbstractConfiguration { public String getSolrUrl() { String value = getLocalString("urls.solr", "http: if (value.charAt(value.length() - 1) == '/') { value = value.substring(0, value.length() - 1); } return value; } Configuration(String configFilePath); Set<String> getStopwords(); boolean reloadingRequired(); String getConfigLocalPath(); String getLocalRessourceBundleFile(); int getViewerThumbnailsPerPage(); int getViewerMaxImageWidth(); int getViewerMaxImageHeight(); int getViewerMaxImageScale(); boolean isRememberImageZoom(); boolean isRememberImageRotation(); String getDfgViewerUrl(); String getConnectorVersionUrl(); List<Metadata> getTitleBarMetadata(); List<Metadata> getSearchHitMetadataForTemplate(String template); List<Metadata> getMainMetadataForTemplate(String template); List<Metadata> getSidebarMetadataForTemplate(String template); List<String> getNormdataFieldsForTemplate(String template); List<Metadata> getTocLabelConfiguration(String template); int getTocAnchorGroupElementsPerPage(); boolean isDisplaySidebarBrowsingTerms(); boolean isDisplaySidebarRssFeed(); boolean isDisplayWidgetUsage(); Metadata getWidgetUsageLicenceTextMetadata(); boolean isDisplaySidebarUsageWidgetLinkToJpegImage(); boolean isDisplaySidebarUsageWidgetLinkToMasterImage(); String getWidgetUsageMaxJpegSize(); String getWidgetUsageMaxMasterImageSize(); List<String> getCalendarDocStructTypes(); boolean isBrowsingMenuEnabled(); int getBrowsingMenuHitsPerPage(); List<BrowsingMenuFieldConfig> getBrowsingMenuFields(); String getBrowsingMenuSortingIgnoreLeadingChars(); String getDocstrctWhitelistFilterQuery(); String getCollectionSplittingChar(String field); List<DcSortingList> getCollectionSorting(String field); List<String> getCollectionBlacklist(String field); String getCollectionDefaultSortField(String field, String name); int getCollectionDisplayNumberOfVolumesLevel(String field); int getCollectionDisplayDepthForSearch(String field); String getCollectionHierarchyField(); boolean isAddCollectionHierarchyToBreadcrumbs(String field); String getSolrUrl(); String getContentServerWrapperUrl(); String getDownloadUrl(); String getRestApiUrl(); String getIIIFApiUrl(); boolean isUseIIIFApiUrlForCmsMediaUrls(); String getContentServerRealUrl(); String getMetsUrl(); String getMarcUrl(); String getDcUrl(); String getEseUrl(); List<Integer> getSearchHitsPerPageValues(); int getSearchHitsPerPageDefaultValue(); int getFulltextFragmentLength(); boolean isAdvancedSearchEnabled(); int getAdvancedSearchDefaultItemNumber(); List<AdvancedSearchFieldConfiguration> getAdvancedSearchFields(); boolean isAggregateHits(); boolean isDisplayAdditionalMetadataEnabled(); List<String> getDisplayAdditionalMetadataIgnoreFields(); List<String> getDisplayAdditionalMetadataTranslateFields(); boolean isAdvancedSearchFieldHierarchical(String field); boolean isAdvancedSearchFieldRange(String field); boolean isAdvancedSearchFieldUntokenizeForPhraseSearch(String field); String getAdvancedSearchFieldSeparatorLabel(String field); boolean isTimelineSearchEnabled(); boolean isCalendarSearchEnabled(); String getStaticQuerySuffix(); String getPreviousVersionIdentifierField(); String getNextVersionIdentifierField(); String getVersionLabelField(); String getIndexedMetsFolder(); String getIndexedLidoFolder(); String getIndexedDenkxwebFolder(); String getIndexedDublinCoreFolder(); String getPageSelectionFormat(); String getMediaFolder(); String getPdfFolder(); String getVocabulariesFolder(); String getOrigContentFolder(); String getCmsTextFolder(); String getAltoFolder(); String getAbbyyFolder(); String getFulltextFolder(); String getTeiFolder(); String getCmdiFolder(); String getWcFolder(); String getAnnotationFolder(); String getHotfolder(); @SuppressWarnings("static-method") String getTempFolder(); boolean isUrnDoRedirect(); boolean isUserRegistrationEnabled(); List<SecurityQuestion> getSecurityQuestions(); boolean isShowOpenIdConnect(); List<IAuthenticationProvider> getAuthenticationProviders(); String getSmtpServer(); String getSmtpUser(); String getSmtpPassword(); String getSmtpSenderAddress(); String getSmtpSenderName(); String getSmtpSecurity(); String getAnonymousUserEmailAddress(); boolean isDisplayCollectionBrowsing(); boolean isDisplayUserNavigation(); boolean isDisplayTagCloudNavigation(); boolean isDisplayStatistics(); boolean isDisplayTimeMatrix(); boolean isDisplayCrowdsourcingModuleLinks(); String getTheme(); String getThemeRootPath(); String getName(); String getDescription(); boolean isDisplayTagCloudStartpage(); boolean isDisplaySearchResultNavigation(); boolean isFoldout(String sidebarElement); boolean isSidebarPageViewLinkVisible(); boolean isSidebarCalendarViewLinkVisible(); boolean isSidebarTocViewLinkVisible(); boolean isSidebarThumbsViewLinkVisible(); boolean isSidebarMetadataViewLinkVisible(); boolean isShowSidebarEventMetadata(); boolean isShowRecordLabelIfNoOtherViews(); boolean isSidebarFulltextLinkVisible(); boolean isSidebarTocWidgetVisible(); boolean isSidebarTocWidgetVisibleInFullscreen(); boolean isSidebarOpacLinkVisible(); boolean getSidebarTocPageNumbersVisible(); int getSidebarTocLengthBeforeCut(); int getSidebarTocInitialCollapseLevel(); int getSidebarTocCollapseLengthThreshold(); int getSidebarTocLowestLevelToCollapseForLength(); boolean isSidebarTocTreeView(); boolean isTocTreeView(String docStructType); List<String> getAllDrillDownFields(); List<String> getDrillDownFields(); List<String> getHierarchicalDrillDownFields(); int getInitialDrillDownElementNumber(String field); String getSortOrder(String field); List<String> getPriorityValuesForDrillDownField(String field); String getLabelFieldForDrillDownField(String facetField); @SuppressWarnings("static-method") List<String> getRangeFacetFields(); boolean isSortingEnabled(); String getDefaultSortField(); List<String> getSortFields(); List<String> getStaticSortFields(); String getUrnResolverUrl(); int getUnconditionalImageAccessMaxWidth(); boolean isFullAccessForLocalhost(); boolean isGeneratePdfInTaskManager(); boolean isPdfApiDisabled(); boolean isTitlePdfEnabled(); boolean isTocPdfEnabled(); boolean isMetadataPdfEnabled(); boolean isPagePdfEnabled(); boolean isDocHierarchyPdfEnabled(); boolean isTitleEpubEnabled(); boolean isTocEpubEnabled(); boolean isMetadataEpubEnabled(); String getDownloadFolder(String type); int getRssFeedItems(); String getRssTitle(); String getRssDescription(); String getRssCopyrightText(); String getRulesetFilePath(); String getDefaultCollection(); int getThumbnailsWidth(); int getThumbnailsHeight(); int getThumbnailsCompression(); String getAnchorThumbnailMode(); int getMultivolumeThumbnailWidth(); int getMultivolumeThumbnailHeight(); boolean getDisplayBreadcrumbs(); boolean getDisplayMetadataPageLinkBlock(); boolean isAddDublinCoreMetaTags(); boolean isAddHighwirePressMetaTags(); int getMetadataParamNumber(); boolean useTiles(); boolean useTilesFullscreen(); boolean useTiles(PageType view, ImageType image); int getFooterHeight(); int getFullscreenFooterHeight(); int getFooterHeight(PageType view, ImageType image); String getImageViewType(); String getZoomFullscreenViewType(); String getZoomImageViewType(PageType view, ImageType image); boolean useOpenSeadragon(); List<String> getImageViewZoomScales(); List<String> getImageViewZoomScales(String view); List<String> getImageViewZoomScales(PageType view, ImageType image); Map<Integer, List<Integer>> getTileSizes(); Map<Integer, List<Integer>> getTileSizes(PageType view, ImageType image); SubnodeConfiguration getZoomImageViewConfig(PageType pageType, ImageType imageType); int getBreadcrumbsClipping(); boolean isDisplayTopstructLabel(); boolean getDisplayStructType(); int getSearchHitMetadataValueNumber(); int getSearchHitMetadataValueLength(); List<String> getWatermarkTextConfiguration(); String getWatermarkFormat(); boolean isOriginalContentDownload(); String getStopwordsFilePath(); String getPageType(PageType type); String getDocstructTargetPageType(String docstruct); String getPageTypeExitView(PageType type); int getFulltextPercentageWarningThreshold(); boolean isUseViewerLocaleAsRecordLanguage(); String getFeedbackEmailAddress(); boolean isBookmarksEnabled(); boolean isForceJpegConversion(); int getPageLoaderThreshold(); boolean isPreventProxyCaching(); boolean isSolrCompressionEnabled(); boolean isSolrBackwardsCompatible(); boolean isUserCommentsEnabled(); String getUserCommentsConditionalQuery(); List<String> getUserCommentsNotificationEmailAddresses(); String getViewerHome(); List<String> getWatermarkIdField(); String getSubthemeMainTheme(); String getSubthemeDiscriminatorField(); int getTagCloudSampleSize(String fieldName); List<StringPair> getTocVolumeSortFieldsForTemplate(String template); String getTocVolumeGroupFieldForTemplate(String template); boolean getDisplayTitleBreadcrumbs(); boolean isDisplayTitlePURL(); int getTitleBreadcrumbsMaxTitleLength(); boolean getIncludeAnchorInTitleBreadcrumbs(); boolean isDisplaySearchRssLinks(); boolean showThumbnailsInToc(); String getStartYearForTimeline(); String getEndYearForTimeline(); String getTimelineHits(); boolean isPiwikTrackingEnabled(); String getPiwikBaseURL(); String getPiwikSiteID(); boolean isSearchSavingEnabled(); boolean isBoostTopLevelDocstructs(); boolean isGroupDuplicateHits(); List<String> getRecordGroupIdentifierFields(); List<String> getAncestorIdentifierFields(); boolean isTocListSiblingRecords(); List<SearchFilter> getSearchFilters(); List<Map<String, String>> getWebApiFields(); String getDbPersistenceUnit(); boolean useCustomNavBar(); String getCmsTemplateFolder(); String getCmsMediaFolder(); String getTempMediaFolder(); List<String> getCmsClassifications(); int getCmsMediaDisplayWidth(); int getCmsMediaDisplayHeight(); boolean isTranskribusEnabled(); String getTranskribusUserName(); String getTranskribusPassword(); String getTranskribusDefaultCollection(); String getTranskribusRestApiUrl(); List<String> getTranskribusAllowedDocumentTypes(); int getTocIndentation(); boolean isPageBrowseEnabled(); List<Integer> getPageBrowseSteps(); String getTaskManagerServiceUrl(); String getTaskManagerRestUrl(); String getReCaptchaSiteKey(); boolean isUseReCaptcha(); boolean isSearchInItemEnabled(); String getDefaultBrowseIcon(String field); boolean isSearchExcelExportEnabled(); List<String> getSearchExcelExportFields(); int getExcelDownloadTimeout(); boolean isDisplayEmptyTocInSidebar(); boolean isDoublePageModeEnabled(); List<String> getRestrictedImageUrls(); List<String> getIIIFLicenses(); List<String> getIIIFMetadataFields(); List<String> getIIIFEventFields(); String getIIIFMetadataLabel(String field); int getIIIFDiscoveryAvtivitiesPerPage(); List<String> getIIIFLogo(); String getIIIFNavDateField(); List<String> getIIIFAttribution(); List<String> getIIIFDescriptionFields(); String getSitelinksField(); String getSitelinksFilterQuery(); List<String> getConfiguredCollections(); String getWebApiToken(); boolean isAllowRedirectCollectionToWork(); String getTwitterUserName(); float getLimitImageHeightUpperRatioThreshold(); float getLimitImageHeightLowerRatioThreshold(); boolean isLimitImageHeight(); boolean isAddCORSHeader(); String getCORSHeaderValue(); boolean isDiscloseImageContentLocation(); String getAccessConditionDisplayField(); String getCopyrightDisplayField(); boolean isDisplayCopyrightInfo(); boolean isDisplaySocialMediaShareLinks(); boolean isDisplayAnchorLabelInTitleBar(String template); String getAnchorLabelInTitleBarPrefix(String template); String getAnchorLabelInTitleBarSuffix(String template); String getMapBoxToken(); GeoMapMarker getGeoMapMarker(String name); List<String> getGeoMapMarkerFields(); List<GeoMapMarker> getGeoMapMarkers(); static GeoMapMarker readGeoMapMarker(HierarchicalConfiguration config); List<LicenseDescription> getLicenseDescriptions(); }
Configuration extends AbstractConfiguration { public String getSolrUrl() { String value = getLocalString("urls.solr", "http: if (value.charAt(value.length() - 1) == '/') { value = value.substring(0, value.length() - 1); } return value; } Configuration(String configFilePath); Set<String> getStopwords(); boolean reloadingRequired(); String getConfigLocalPath(); String getLocalRessourceBundleFile(); int getViewerThumbnailsPerPage(); int getViewerMaxImageWidth(); int getViewerMaxImageHeight(); int getViewerMaxImageScale(); boolean isRememberImageZoom(); boolean isRememberImageRotation(); String getDfgViewerUrl(); String getConnectorVersionUrl(); List<Metadata> getTitleBarMetadata(); List<Metadata> getSearchHitMetadataForTemplate(String template); List<Metadata> getMainMetadataForTemplate(String template); List<Metadata> getSidebarMetadataForTemplate(String template); List<String> getNormdataFieldsForTemplate(String template); List<Metadata> getTocLabelConfiguration(String template); int getTocAnchorGroupElementsPerPage(); boolean isDisplaySidebarBrowsingTerms(); boolean isDisplaySidebarRssFeed(); boolean isDisplayWidgetUsage(); Metadata getWidgetUsageLicenceTextMetadata(); boolean isDisplaySidebarUsageWidgetLinkToJpegImage(); boolean isDisplaySidebarUsageWidgetLinkToMasterImage(); String getWidgetUsageMaxJpegSize(); String getWidgetUsageMaxMasterImageSize(); List<String> getCalendarDocStructTypes(); boolean isBrowsingMenuEnabled(); int getBrowsingMenuHitsPerPage(); List<BrowsingMenuFieldConfig> getBrowsingMenuFields(); String getBrowsingMenuSortingIgnoreLeadingChars(); String getDocstrctWhitelistFilterQuery(); String getCollectionSplittingChar(String field); List<DcSortingList> getCollectionSorting(String field); List<String> getCollectionBlacklist(String field); String getCollectionDefaultSortField(String field, String name); int getCollectionDisplayNumberOfVolumesLevel(String field); int getCollectionDisplayDepthForSearch(String field); String getCollectionHierarchyField(); boolean isAddCollectionHierarchyToBreadcrumbs(String field); String getSolrUrl(); String getContentServerWrapperUrl(); String getDownloadUrl(); String getRestApiUrl(); String getIIIFApiUrl(); boolean isUseIIIFApiUrlForCmsMediaUrls(); String getContentServerRealUrl(); String getMetsUrl(); String getMarcUrl(); String getDcUrl(); String getEseUrl(); List<Integer> getSearchHitsPerPageValues(); int getSearchHitsPerPageDefaultValue(); int getFulltextFragmentLength(); boolean isAdvancedSearchEnabled(); int getAdvancedSearchDefaultItemNumber(); List<AdvancedSearchFieldConfiguration> getAdvancedSearchFields(); boolean isAggregateHits(); boolean isDisplayAdditionalMetadataEnabled(); List<String> getDisplayAdditionalMetadataIgnoreFields(); List<String> getDisplayAdditionalMetadataTranslateFields(); boolean isAdvancedSearchFieldHierarchical(String field); boolean isAdvancedSearchFieldRange(String field); boolean isAdvancedSearchFieldUntokenizeForPhraseSearch(String field); String getAdvancedSearchFieldSeparatorLabel(String field); boolean isTimelineSearchEnabled(); boolean isCalendarSearchEnabled(); String getStaticQuerySuffix(); String getPreviousVersionIdentifierField(); String getNextVersionIdentifierField(); String getVersionLabelField(); String getIndexedMetsFolder(); String getIndexedLidoFolder(); String getIndexedDenkxwebFolder(); String getIndexedDublinCoreFolder(); String getPageSelectionFormat(); String getMediaFolder(); String getPdfFolder(); String getVocabulariesFolder(); String getOrigContentFolder(); String getCmsTextFolder(); String getAltoFolder(); String getAbbyyFolder(); String getFulltextFolder(); String getTeiFolder(); String getCmdiFolder(); String getWcFolder(); String getAnnotationFolder(); String getHotfolder(); @SuppressWarnings("static-method") String getTempFolder(); boolean isUrnDoRedirect(); boolean isUserRegistrationEnabled(); List<SecurityQuestion> getSecurityQuestions(); boolean isShowOpenIdConnect(); List<IAuthenticationProvider> getAuthenticationProviders(); String getSmtpServer(); String getSmtpUser(); String getSmtpPassword(); String getSmtpSenderAddress(); String getSmtpSenderName(); String getSmtpSecurity(); String getAnonymousUserEmailAddress(); boolean isDisplayCollectionBrowsing(); boolean isDisplayUserNavigation(); boolean isDisplayTagCloudNavigation(); boolean isDisplayStatistics(); boolean isDisplayTimeMatrix(); boolean isDisplayCrowdsourcingModuleLinks(); String getTheme(); String getThemeRootPath(); String getName(); String getDescription(); boolean isDisplayTagCloudStartpage(); boolean isDisplaySearchResultNavigation(); boolean isFoldout(String sidebarElement); boolean isSidebarPageViewLinkVisible(); boolean isSidebarCalendarViewLinkVisible(); boolean isSidebarTocViewLinkVisible(); boolean isSidebarThumbsViewLinkVisible(); boolean isSidebarMetadataViewLinkVisible(); boolean isShowSidebarEventMetadata(); boolean isShowRecordLabelIfNoOtherViews(); boolean isSidebarFulltextLinkVisible(); boolean isSidebarTocWidgetVisible(); boolean isSidebarTocWidgetVisibleInFullscreen(); boolean isSidebarOpacLinkVisible(); boolean getSidebarTocPageNumbersVisible(); int getSidebarTocLengthBeforeCut(); int getSidebarTocInitialCollapseLevel(); int getSidebarTocCollapseLengthThreshold(); int getSidebarTocLowestLevelToCollapseForLength(); boolean isSidebarTocTreeView(); boolean isTocTreeView(String docStructType); List<String> getAllDrillDownFields(); List<String> getDrillDownFields(); List<String> getHierarchicalDrillDownFields(); int getInitialDrillDownElementNumber(String field); String getSortOrder(String field); List<String> getPriorityValuesForDrillDownField(String field); String getLabelFieldForDrillDownField(String facetField); @SuppressWarnings("static-method") List<String> getRangeFacetFields(); boolean isSortingEnabled(); String getDefaultSortField(); List<String> getSortFields(); List<String> getStaticSortFields(); String getUrnResolverUrl(); int getUnconditionalImageAccessMaxWidth(); boolean isFullAccessForLocalhost(); boolean isGeneratePdfInTaskManager(); boolean isPdfApiDisabled(); boolean isTitlePdfEnabled(); boolean isTocPdfEnabled(); boolean isMetadataPdfEnabled(); boolean isPagePdfEnabled(); boolean isDocHierarchyPdfEnabled(); boolean isTitleEpubEnabled(); boolean isTocEpubEnabled(); boolean isMetadataEpubEnabled(); String getDownloadFolder(String type); int getRssFeedItems(); String getRssTitle(); String getRssDescription(); String getRssCopyrightText(); String getRulesetFilePath(); String getDefaultCollection(); int getThumbnailsWidth(); int getThumbnailsHeight(); int getThumbnailsCompression(); String getAnchorThumbnailMode(); int getMultivolumeThumbnailWidth(); int getMultivolumeThumbnailHeight(); boolean getDisplayBreadcrumbs(); boolean getDisplayMetadataPageLinkBlock(); boolean isAddDublinCoreMetaTags(); boolean isAddHighwirePressMetaTags(); int getMetadataParamNumber(); boolean useTiles(); boolean useTilesFullscreen(); boolean useTiles(PageType view, ImageType image); int getFooterHeight(); int getFullscreenFooterHeight(); int getFooterHeight(PageType view, ImageType image); String getImageViewType(); String getZoomFullscreenViewType(); String getZoomImageViewType(PageType view, ImageType image); boolean useOpenSeadragon(); List<String> getImageViewZoomScales(); List<String> getImageViewZoomScales(String view); List<String> getImageViewZoomScales(PageType view, ImageType image); Map<Integer, List<Integer>> getTileSizes(); Map<Integer, List<Integer>> getTileSizes(PageType view, ImageType image); SubnodeConfiguration getZoomImageViewConfig(PageType pageType, ImageType imageType); int getBreadcrumbsClipping(); boolean isDisplayTopstructLabel(); boolean getDisplayStructType(); int getSearchHitMetadataValueNumber(); int getSearchHitMetadataValueLength(); List<String> getWatermarkTextConfiguration(); String getWatermarkFormat(); boolean isOriginalContentDownload(); String getStopwordsFilePath(); String getPageType(PageType type); String getDocstructTargetPageType(String docstruct); String getPageTypeExitView(PageType type); int getFulltextPercentageWarningThreshold(); boolean isUseViewerLocaleAsRecordLanguage(); String getFeedbackEmailAddress(); boolean isBookmarksEnabled(); boolean isForceJpegConversion(); int getPageLoaderThreshold(); boolean isPreventProxyCaching(); boolean isSolrCompressionEnabled(); boolean isSolrBackwardsCompatible(); boolean isUserCommentsEnabled(); String getUserCommentsConditionalQuery(); List<String> getUserCommentsNotificationEmailAddresses(); String getViewerHome(); List<String> getWatermarkIdField(); String getSubthemeMainTheme(); String getSubthemeDiscriminatorField(); int getTagCloudSampleSize(String fieldName); List<StringPair> getTocVolumeSortFieldsForTemplate(String template); String getTocVolumeGroupFieldForTemplate(String template); boolean getDisplayTitleBreadcrumbs(); boolean isDisplayTitlePURL(); int getTitleBreadcrumbsMaxTitleLength(); boolean getIncludeAnchorInTitleBreadcrumbs(); boolean isDisplaySearchRssLinks(); boolean showThumbnailsInToc(); String getStartYearForTimeline(); String getEndYearForTimeline(); String getTimelineHits(); boolean isPiwikTrackingEnabled(); String getPiwikBaseURL(); String getPiwikSiteID(); boolean isSearchSavingEnabled(); boolean isBoostTopLevelDocstructs(); boolean isGroupDuplicateHits(); List<String> getRecordGroupIdentifierFields(); List<String> getAncestorIdentifierFields(); boolean isTocListSiblingRecords(); List<SearchFilter> getSearchFilters(); List<Map<String, String>> getWebApiFields(); String getDbPersistenceUnit(); boolean useCustomNavBar(); String getCmsTemplateFolder(); String getCmsMediaFolder(); String getTempMediaFolder(); List<String> getCmsClassifications(); int getCmsMediaDisplayWidth(); int getCmsMediaDisplayHeight(); boolean isTranskribusEnabled(); String getTranskribusUserName(); String getTranskribusPassword(); String getTranskribusDefaultCollection(); String getTranskribusRestApiUrl(); List<String> getTranskribusAllowedDocumentTypes(); int getTocIndentation(); boolean isPageBrowseEnabled(); List<Integer> getPageBrowseSteps(); String getTaskManagerServiceUrl(); String getTaskManagerRestUrl(); String getReCaptchaSiteKey(); boolean isUseReCaptcha(); boolean isSearchInItemEnabled(); String getDefaultBrowseIcon(String field); boolean isSearchExcelExportEnabled(); List<String> getSearchExcelExportFields(); int getExcelDownloadTimeout(); boolean isDisplayEmptyTocInSidebar(); boolean isDoublePageModeEnabled(); List<String> getRestrictedImageUrls(); List<String> getIIIFLicenses(); List<String> getIIIFMetadataFields(); List<String> getIIIFEventFields(); String getIIIFMetadataLabel(String field); int getIIIFDiscoveryAvtivitiesPerPage(); List<String> getIIIFLogo(); String getIIIFNavDateField(); List<String> getIIIFAttribution(); List<String> getIIIFDescriptionFields(); String getSitelinksField(); String getSitelinksFilterQuery(); List<String> getConfiguredCollections(); String getWebApiToken(); boolean isAllowRedirectCollectionToWork(); String getTwitterUserName(); float getLimitImageHeightUpperRatioThreshold(); float getLimitImageHeightLowerRatioThreshold(); boolean isLimitImageHeight(); boolean isAddCORSHeader(); String getCORSHeaderValue(); boolean isDiscloseImageContentLocation(); String getAccessConditionDisplayField(); String getCopyrightDisplayField(); boolean isDisplayCopyrightInfo(); boolean isDisplaySocialMediaShareLinks(); boolean isDisplayAnchorLabelInTitleBar(String template); String getAnchorLabelInTitleBarPrefix(String template); String getAnchorLabelInTitleBarSuffix(String template); String getMapBoxToken(); GeoMapMarker getGeoMapMarker(String name); List<String> getGeoMapMarkerFields(); List<GeoMapMarker> getGeoMapMarkers(); static GeoMapMarker readGeoMapMarker(HierarchicalConfiguration config); List<LicenseDescription> getLicenseDescriptions(); }
@Test public void getRelevantLicenseTypesOnly_shouldNotRemoveWallLicenseTypesToOpenAccessIfConditionQueryExcludesGivenPi() throws Exception { List<LicenseType> allLicenseTypes = new ArrayList<>(); LicenseType lt = new LicenseType(); allLicenseTypes.add(lt); lt.setName("type1"); lt.setMovingWall(true); lt.setConditions("+" + SolrConstants.PI_TOPSTRUCT + ":unknownidentifier"); Set<String> recordAccessConditions = new HashSet<>(); recordAccessConditions.add("type1"); String query = "+" + SolrConstants.PI_TOPSTRUCT + ":PPN517154005"; Map<String, List<LicenseType>> ret = AccessConditionUtils.getRelevantLicenseTypesOnly(allLicenseTypes, recordAccessConditions, query, Collections.singletonMap("", Boolean.FALSE)); Assert.assertNotNull(ret); Assert.assertNotNull(ret.get("")); Assert.assertEquals(1, ret.get("").size()); Assert.assertTrue(ret.get("").get(0).isRestrictionsExpired(query)); Assert.assertEquals("type1", ret.get("").get(0).getName()); }
static Map<String, List<LicenseType>> getRelevantLicenseTypesOnly(List<LicenseType> allLicenseTypes, Set<String> requiredAccessConditions, String query, Map<String, Boolean> accessMap) throws IndexUnreachableException, PresentationException { if (requiredAccessConditions == null || requiredAccessConditions.isEmpty()) { return accessMap.keySet().stream().collect(Collectors.toMap(Function.identity(), key -> Collections.emptyList())); } Map<String, List<LicenseType>> ret = new HashMap<>(accessMap.size()); for (LicenseType licenseType : allLicenseTypes) { if (!requiredAccessConditions.contains(licenseType.getName())) { continue; } if (StringUtils.isNotEmpty(licenseType.getProcessedConditions()) && StringUtils.isNotEmpty(query)) { String conditions = licenseType.getProcessedConditions(); StringBuilder sbQuery = new StringBuilder().append("+(").append(query).append(')'); if (conditions.charAt(0) == '-' || conditions.charAt(0) == '+') { sbQuery.append(' ').append(conditions); } else { sbQuery.append(" +(").append(conditions).append(')'); } logger.trace("License relevance query: {}", sbQuery.toString()); if (DataManager.getInstance().getSearchIndex().getHitCount(sbQuery.toString()) == 0) { if (licenseType.isMovingWall()) { logger.trace( "License type '{}' is a moving wall type and its condition query doesn't match the record query '{}'. All restrictions lifted.", licenseType.getName(), query); licenseType.getRestrictionsExpired().put(query, true); } else { continue; } } logger.trace("LicenseType '{}' applies to resource described by '{}' due to configured license subquery.", licenseType.getName(), query); } String filenameConditions = licenseType.getFilenameConditions(); if (StringUtils.isNotBlank(filenameConditions)) { for (String path : accessMap.keySet()) { if (StringUtils.isNotBlank(path)) { List<LicenseType> types = ret.get(path); if (types == null) { types = new ArrayList<>(); ret.put(path, types); } if (Pattern.matches(licenseType.getFilenameConditions(), Paths.get(path).getFileName().toString())) { types.add(licenseType); } } } } else { for (String key : accessMap.keySet()) { List<LicenseType> types = ret.get(key); if (types == null) { types = new ArrayList<>(); ret.put(key, types); } types.add(licenseType); } } } return ret; }
AccessConditionUtils { static Map<String, List<LicenseType>> getRelevantLicenseTypesOnly(List<LicenseType> allLicenseTypes, Set<String> requiredAccessConditions, String query, Map<String, Boolean> accessMap) throws IndexUnreachableException, PresentationException { if (requiredAccessConditions == null || requiredAccessConditions.isEmpty()) { return accessMap.keySet().stream().collect(Collectors.toMap(Function.identity(), key -> Collections.emptyList())); } Map<String, List<LicenseType>> ret = new HashMap<>(accessMap.size()); for (LicenseType licenseType : allLicenseTypes) { if (!requiredAccessConditions.contains(licenseType.getName())) { continue; } if (StringUtils.isNotEmpty(licenseType.getProcessedConditions()) && StringUtils.isNotEmpty(query)) { String conditions = licenseType.getProcessedConditions(); StringBuilder sbQuery = new StringBuilder().append("+(").append(query).append(')'); if (conditions.charAt(0) == '-' || conditions.charAt(0) == '+') { sbQuery.append(' ').append(conditions); } else { sbQuery.append(" +(").append(conditions).append(')'); } logger.trace("License relevance query: {}", sbQuery.toString()); if (DataManager.getInstance().getSearchIndex().getHitCount(sbQuery.toString()) == 0) { if (licenseType.isMovingWall()) { logger.trace( "License type '{}' is a moving wall type and its condition query doesn't match the record query '{}'. All restrictions lifted.", licenseType.getName(), query); licenseType.getRestrictionsExpired().put(query, true); } else { continue; } } logger.trace("LicenseType '{}' applies to resource described by '{}' due to configured license subquery.", licenseType.getName(), query); } String filenameConditions = licenseType.getFilenameConditions(); if (StringUtils.isNotBlank(filenameConditions)) { for (String path : accessMap.keySet()) { if (StringUtils.isNotBlank(path)) { List<LicenseType> types = ret.get(path); if (types == null) { types = new ArrayList<>(); ret.put(path, types); } if (Pattern.matches(licenseType.getFilenameConditions(), Paths.get(path).getFileName().toString())) { types.add(licenseType); } } } } else { for (String key : accessMap.keySet()) { List<LicenseType> types = ret.get(key); if (types == null) { types = new ArrayList<>(); ret.put(key, types); } types.add(licenseType); } } } return ret; } }
AccessConditionUtils { static Map<String, List<LicenseType>> getRelevantLicenseTypesOnly(List<LicenseType> allLicenseTypes, Set<String> requiredAccessConditions, String query, Map<String, Boolean> accessMap) throws IndexUnreachableException, PresentationException { if (requiredAccessConditions == null || requiredAccessConditions.isEmpty()) { return accessMap.keySet().stream().collect(Collectors.toMap(Function.identity(), key -> Collections.emptyList())); } Map<String, List<LicenseType>> ret = new HashMap<>(accessMap.size()); for (LicenseType licenseType : allLicenseTypes) { if (!requiredAccessConditions.contains(licenseType.getName())) { continue; } if (StringUtils.isNotEmpty(licenseType.getProcessedConditions()) && StringUtils.isNotEmpty(query)) { String conditions = licenseType.getProcessedConditions(); StringBuilder sbQuery = new StringBuilder().append("+(").append(query).append(')'); if (conditions.charAt(0) == '-' || conditions.charAt(0) == '+') { sbQuery.append(' ').append(conditions); } else { sbQuery.append(" +(").append(conditions).append(')'); } logger.trace("License relevance query: {}", sbQuery.toString()); if (DataManager.getInstance().getSearchIndex().getHitCount(sbQuery.toString()) == 0) { if (licenseType.isMovingWall()) { logger.trace( "License type '{}' is a moving wall type and its condition query doesn't match the record query '{}'. All restrictions lifted.", licenseType.getName(), query); licenseType.getRestrictionsExpired().put(query, true); } else { continue; } } logger.trace("LicenseType '{}' applies to resource described by '{}' due to configured license subquery.", licenseType.getName(), query); } String filenameConditions = licenseType.getFilenameConditions(); if (StringUtils.isNotBlank(filenameConditions)) { for (String path : accessMap.keySet()) { if (StringUtils.isNotBlank(path)) { List<LicenseType> types = ret.get(path); if (types == null) { types = new ArrayList<>(); ret.put(path, types); } if (Pattern.matches(licenseType.getFilenameConditions(), Paths.get(path).getFileName().toString())) { types.add(licenseType); } } } } else { for (String key : accessMap.keySet()) { List<LicenseType> types = ret.get(key); if (types == null) { types = new ArrayList<>(); ret.put(key, types); } types.add(licenseType); } } } return ret; } }
AccessConditionUtils { static Map<String, List<LicenseType>> getRelevantLicenseTypesOnly(List<LicenseType> allLicenseTypes, Set<String> requiredAccessConditions, String query, Map<String, Boolean> accessMap) throws IndexUnreachableException, PresentationException { if (requiredAccessConditions == null || requiredAccessConditions.isEmpty()) { return accessMap.keySet().stream().collect(Collectors.toMap(Function.identity(), key -> Collections.emptyList())); } Map<String, List<LicenseType>> ret = new HashMap<>(accessMap.size()); for (LicenseType licenseType : allLicenseTypes) { if (!requiredAccessConditions.contains(licenseType.getName())) { continue; } if (StringUtils.isNotEmpty(licenseType.getProcessedConditions()) && StringUtils.isNotEmpty(query)) { String conditions = licenseType.getProcessedConditions(); StringBuilder sbQuery = new StringBuilder().append("+(").append(query).append(')'); if (conditions.charAt(0) == '-' || conditions.charAt(0) == '+') { sbQuery.append(' ').append(conditions); } else { sbQuery.append(" +(").append(conditions).append(')'); } logger.trace("License relevance query: {}", sbQuery.toString()); if (DataManager.getInstance().getSearchIndex().getHitCount(sbQuery.toString()) == 0) { if (licenseType.isMovingWall()) { logger.trace( "License type '{}' is a moving wall type and its condition query doesn't match the record query '{}'. All restrictions lifted.", licenseType.getName(), query); licenseType.getRestrictionsExpired().put(query, true); } else { continue; } } logger.trace("LicenseType '{}' applies to resource described by '{}' due to configured license subquery.", licenseType.getName(), query); } String filenameConditions = licenseType.getFilenameConditions(); if (StringUtils.isNotBlank(filenameConditions)) { for (String path : accessMap.keySet()) { if (StringUtils.isNotBlank(path)) { List<LicenseType> types = ret.get(path); if (types == null) { types = new ArrayList<>(); ret.put(path, types); } if (Pattern.matches(licenseType.getFilenameConditions(), Paths.get(path).getFileName().toString())) { types.add(licenseType); } } } } else { for (String key : accessMap.keySet()) { List<LicenseType> types = ret.get(key); if (types == null) { types = new ArrayList<>(); ret.put(key, types); } types.add(licenseType); } } } return ret; } static boolean checkAccess(HttpServletRequest request, String action, String pi, String contentFileName, boolean isThumbnail); static boolean checkAccessPermissionByIdentifierAndLogId(String identifier, String logId, String privilegeName, HttpServletRequest request); @SuppressWarnings("unchecked") static Map<String, Boolean> checkAccessPermissionByIdentiferForAllLogids(String identifier, String privilegeName, HttpServletRequest request); @SuppressWarnings("unchecked") static Map<String, Boolean> checkContentFileAccessPermission(String identifier, HttpServletRequest request, List<Path> files); static boolean checkAccessPermissionByImageUrn(String imageUrn, String privilegeName, HttpServletRequest request); static boolean checkAccessPermission(Set<String> requiredAccessConditions, String privilegeName, String query, HttpServletRequest request); static boolean checkAccessPermissionForImage(HttpServletRequest request, String pi, String contentFileName); static boolean checkAccessPermissionForThumbnail(HttpServletRequest request, String pi, String contentFileName); static boolean checkAccessPermissionForPagePdf(HttpServletRequest request, PhysicalElement page); static boolean checkAccessPermissionByIdentifierAndFilePathWithSessionMap(HttpServletRequest request, String filePath, String privilegeType); @SuppressWarnings("unchecked") static boolean checkAccessPermissionByIdentifierAndFileNameWithSessionMap(HttpServletRequest request, String pi, String contentFileName, String privilegeType); static boolean checkAccessPermission(List<LicenseType> allLicenseTypes, Set<String> requiredAccessConditions, String privilegeName, User user, String remoteAddress, String query); static boolean isFreeOpenAccess(Set<String> requiredAccessConditions, Collection<LicenseType> allLicenseTypes); static int getPdfDownloadQuotaForRecord(String pi); static boolean isConcurrentViewsLimitEnabledForAnyAccessCondition(List<String> accessConditions); }
AccessConditionUtils { static Map<String, List<LicenseType>> getRelevantLicenseTypesOnly(List<LicenseType> allLicenseTypes, Set<String> requiredAccessConditions, String query, Map<String, Boolean> accessMap) throws IndexUnreachableException, PresentationException { if (requiredAccessConditions == null || requiredAccessConditions.isEmpty()) { return accessMap.keySet().stream().collect(Collectors.toMap(Function.identity(), key -> Collections.emptyList())); } Map<String, List<LicenseType>> ret = new HashMap<>(accessMap.size()); for (LicenseType licenseType : allLicenseTypes) { if (!requiredAccessConditions.contains(licenseType.getName())) { continue; } if (StringUtils.isNotEmpty(licenseType.getProcessedConditions()) && StringUtils.isNotEmpty(query)) { String conditions = licenseType.getProcessedConditions(); StringBuilder sbQuery = new StringBuilder().append("+(").append(query).append(')'); if (conditions.charAt(0) == '-' || conditions.charAt(0) == '+') { sbQuery.append(' ').append(conditions); } else { sbQuery.append(" +(").append(conditions).append(')'); } logger.trace("License relevance query: {}", sbQuery.toString()); if (DataManager.getInstance().getSearchIndex().getHitCount(sbQuery.toString()) == 0) { if (licenseType.isMovingWall()) { logger.trace( "License type '{}' is a moving wall type and its condition query doesn't match the record query '{}'. All restrictions lifted.", licenseType.getName(), query); licenseType.getRestrictionsExpired().put(query, true); } else { continue; } } logger.trace("LicenseType '{}' applies to resource described by '{}' due to configured license subquery.", licenseType.getName(), query); } String filenameConditions = licenseType.getFilenameConditions(); if (StringUtils.isNotBlank(filenameConditions)) { for (String path : accessMap.keySet()) { if (StringUtils.isNotBlank(path)) { List<LicenseType> types = ret.get(path); if (types == null) { types = new ArrayList<>(); ret.put(path, types); } if (Pattern.matches(licenseType.getFilenameConditions(), Paths.get(path).getFileName().toString())) { types.add(licenseType); } } } } else { for (String key : accessMap.keySet()) { List<LicenseType> types = ret.get(key); if (types == null) { types = new ArrayList<>(); ret.put(key, types); } types.add(licenseType); } } } return ret; } static boolean checkAccess(HttpServletRequest request, String action, String pi, String contentFileName, boolean isThumbnail); static boolean checkAccessPermissionByIdentifierAndLogId(String identifier, String logId, String privilegeName, HttpServletRequest request); @SuppressWarnings("unchecked") static Map<String, Boolean> checkAccessPermissionByIdentiferForAllLogids(String identifier, String privilegeName, HttpServletRequest request); @SuppressWarnings("unchecked") static Map<String, Boolean> checkContentFileAccessPermission(String identifier, HttpServletRequest request, List<Path> files); static boolean checkAccessPermissionByImageUrn(String imageUrn, String privilegeName, HttpServletRequest request); static boolean checkAccessPermission(Set<String> requiredAccessConditions, String privilegeName, String query, HttpServletRequest request); static boolean checkAccessPermissionForImage(HttpServletRequest request, String pi, String contentFileName); static boolean checkAccessPermissionForThumbnail(HttpServletRequest request, String pi, String contentFileName); static boolean checkAccessPermissionForPagePdf(HttpServletRequest request, PhysicalElement page); static boolean checkAccessPermissionByIdentifierAndFilePathWithSessionMap(HttpServletRequest request, String filePath, String privilegeType); @SuppressWarnings("unchecked") static boolean checkAccessPermissionByIdentifierAndFileNameWithSessionMap(HttpServletRequest request, String pi, String contentFileName, String privilegeType); static boolean checkAccessPermission(List<LicenseType> allLicenseTypes, Set<String> requiredAccessConditions, String privilegeName, User user, String remoteAddress, String query); static boolean isFreeOpenAccess(Set<String> requiredAccessConditions, Collection<LicenseType> allLicenseTypes); static int getPdfDownloadQuotaForRecord(String pi); static boolean isConcurrentViewsLimitEnabledForAnyAccessCondition(List<String> accessConditions); }
@Test public void getCollectionSplittingChar_shouldReturnCorrectValue() throws Exception { Assert.assertEquals(".", DataManager.getInstance().getConfiguration().getCollectionSplittingChar(SolrConstants.DC)); Assert.assertEquals("/", DataManager.getInstance().getConfiguration().getCollectionSplittingChar("MD_KNOWLEDGEFIELD")); Assert.assertEquals(".", DataManager.getInstance().getConfiguration().getCollectionSplittingChar(SolrConstants.DOCTYPE)); }
public String getCollectionSplittingChar(String field) { HierarchicalConfiguration subConfig = getCollectionConfiguration(field); if (subConfig != null) { return subConfig.getString("splittingCharacter", "."); } return getLocalString("viewer.splittingCharacter", "."); }
Configuration extends AbstractConfiguration { public String getCollectionSplittingChar(String field) { HierarchicalConfiguration subConfig = getCollectionConfiguration(field); if (subConfig != null) { return subConfig.getString("splittingCharacter", "."); } return getLocalString("viewer.splittingCharacter", "."); } }
Configuration extends AbstractConfiguration { public String getCollectionSplittingChar(String field) { HierarchicalConfiguration subConfig = getCollectionConfiguration(field); if (subConfig != null) { return subConfig.getString("splittingCharacter", "."); } return getLocalString("viewer.splittingCharacter", "."); } Configuration(String configFilePath); }
Configuration extends AbstractConfiguration { public String getCollectionSplittingChar(String field) { HierarchicalConfiguration subConfig = getCollectionConfiguration(field); if (subConfig != null) { return subConfig.getString("splittingCharacter", "."); } return getLocalString("viewer.splittingCharacter", "."); } Configuration(String configFilePath); Set<String> getStopwords(); boolean reloadingRequired(); String getConfigLocalPath(); String getLocalRessourceBundleFile(); int getViewerThumbnailsPerPage(); int getViewerMaxImageWidth(); int getViewerMaxImageHeight(); int getViewerMaxImageScale(); boolean isRememberImageZoom(); boolean isRememberImageRotation(); String getDfgViewerUrl(); String getConnectorVersionUrl(); List<Metadata> getTitleBarMetadata(); List<Metadata> getSearchHitMetadataForTemplate(String template); List<Metadata> getMainMetadataForTemplate(String template); List<Metadata> getSidebarMetadataForTemplate(String template); List<String> getNormdataFieldsForTemplate(String template); List<Metadata> getTocLabelConfiguration(String template); int getTocAnchorGroupElementsPerPage(); boolean isDisplaySidebarBrowsingTerms(); boolean isDisplaySidebarRssFeed(); boolean isDisplayWidgetUsage(); Metadata getWidgetUsageLicenceTextMetadata(); boolean isDisplaySidebarUsageWidgetLinkToJpegImage(); boolean isDisplaySidebarUsageWidgetLinkToMasterImage(); String getWidgetUsageMaxJpegSize(); String getWidgetUsageMaxMasterImageSize(); List<String> getCalendarDocStructTypes(); boolean isBrowsingMenuEnabled(); int getBrowsingMenuHitsPerPage(); List<BrowsingMenuFieldConfig> getBrowsingMenuFields(); String getBrowsingMenuSortingIgnoreLeadingChars(); String getDocstrctWhitelistFilterQuery(); String getCollectionSplittingChar(String field); List<DcSortingList> getCollectionSorting(String field); List<String> getCollectionBlacklist(String field); String getCollectionDefaultSortField(String field, String name); int getCollectionDisplayNumberOfVolumesLevel(String field); int getCollectionDisplayDepthForSearch(String field); String getCollectionHierarchyField(); boolean isAddCollectionHierarchyToBreadcrumbs(String field); String getSolrUrl(); String getContentServerWrapperUrl(); String getDownloadUrl(); String getRestApiUrl(); String getIIIFApiUrl(); boolean isUseIIIFApiUrlForCmsMediaUrls(); String getContentServerRealUrl(); String getMetsUrl(); String getMarcUrl(); String getDcUrl(); String getEseUrl(); List<Integer> getSearchHitsPerPageValues(); int getSearchHitsPerPageDefaultValue(); int getFulltextFragmentLength(); boolean isAdvancedSearchEnabled(); int getAdvancedSearchDefaultItemNumber(); List<AdvancedSearchFieldConfiguration> getAdvancedSearchFields(); boolean isAggregateHits(); boolean isDisplayAdditionalMetadataEnabled(); List<String> getDisplayAdditionalMetadataIgnoreFields(); List<String> getDisplayAdditionalMetadataTranslateFields(); boolean isAdvancedSearchFieldHierarchical(String field); boolean isAdvancedSearchFieldRange(String field); boolean isAdvancedSearchFieldUntokenizeForPhraseSearch(String field); String getAdvancedSearchFieldSeparatorLabel(String field); boolean isTimelineSearchEnabled(); boolean isCalendarSearchEnabled(); String getStaticQuerySuffix(); String getPreviousVersionIdentifierField(); String getNextVersionIdentifierField(); String getVersionLabelField(); String getIndexedMetsFolder(); String getIndexedLidoFolder(); String getIndexedDenkxwebFolder(); String getIndexedDublinCoreFolder(); String getPageSelectionFormat(); String getMediaFolder(); String getPdfFolder(); String getVocabulariesFolder(); String getOrigContentFolder(); String getCmsTextFolder(); String getAltoFolder(); String getAbbyyFolder(); String getFulltextFolder(); String getTeiFolder(); String getCmdiFolder(); String getWcFolder(); String getAnnotationFolder(); String getHotfolder(); @SuppressWarnings("static-method") String getTempFolder(); boolean isUrnDoRedirect(); boolean isUserRegistrationEnabled(); List<SecurityQuestion> getSecurityQuestions(); boolean isShowOpenIdConnect(); List<IAuthenticationProvider> getAuthenticationProviders(); String getSmtpServer(); String getSmtpUser(); String getSmtpPassword(); String getSmtpSenderAddress(); String getSmtpSenderName(); String getSmtpSecurity(); String getAnonymousUserEmailAddress(); boolean isDisplayCollectionBrowsing(); boolean isDisplayUserNavigation(); boolean isDisplayTagCloudNavigation(); boolean isDisplayStatistics(); boolean isDisplayTimeMatrix(); boolean isDisplayCrowdsourcingModuleLinks(); String getTheme(); String getThemeRootPath(); String getName(); String getDescription(); boolean isDisplayTagCloudStartpage(); boolean isDisplaySearchResultNavigation(); boolean isFoldout(String sidebarElement); boolean isSidebarPageViewLinkVisible(); boolean isSidebarCalendarViewLinkVisible(); boolean isSidebarTocViewLinkVisible(); boolean isSidebarThumbsViewLinkVisible(); boolean isSidebarMetadataViewLinkVisible(); boolean isShowSidebarEventMetadata(); boolean isShowRecordLabelIfNoOtherViews(); boolean isSidebarFulltextLinkVisible(); boolean isSidebarTocWidgetVisible(); boolean isSidebarTocWidgetVisibleInFullscreen(); boolean isSidebarOpacLinkVisible(); boolean getSidebarTocPageNumbersVisible(); int getSidebarTocLengthBeforeCut(); int getSidebarTocInitialCollapseLevel(); int getSidebarTocCollapseLengthThreshold(); int getSidebarTocLowestLevelToCollapseForLength(); boolean isSidebarTocTreeView(); boolean isTocTreeView(String docStructType); List<String> getAllDrillDownFields(); List<String> getDrillDownFields(); List<String> getHierarchicalDrillDownFields(); int getInitialDrillDownElementNumber(String field); String getSortOrder(String field); List<String> getPriorityValuesForDrillDownField(String field); String getLabelFieldForDrillDownField(String facetField); @SuppressWarnings("static-method") List<String> getRangeFacetFields(); boolean isSortingEnabled(); String getDefaultSortField(); List<String> getSortFields(); List<String> getStaticSortFields(); String getUrnResolverUrl(); int getUnconditionalImageAccessMaxWidth(); boolean isFullAccessForLocalhost(); boolean isGeneratePdfInTaskManager(); boolean isPdfApiDisabled(); boolean isTitlePdfEnabled(); boolean isTocPdfEnabled(); boolean isMetadataPdfEnabled(); boolean isPagePdfEnabled(); boolean isDocHierarchyPdfEnabled(); boolean isTitleEpubEnabled(); boolean isTocEpubEnabled(); boolean isMetadataEpubEnabled(); String getDownloadFolder(String type); int getRssFeedItems(); String getRssTitle(); String getRssDescription(); String getRssCopyrightText(); String getRulesetFilePath(); String getDefaultCollection(); int getThumbnailsWidth(); int getThumbnailsHeight(); int getThumbnailsCompression(); String getAnchorThumbnailMode(); int getMultivolumeThumbnailWidth(); int getMultivolumeThumbnailHeight(); boolean getDisplayBreadcrumbs(); boolean getDisplayMetadataPageLinkBlock(); boolean isAddDublinCoreMetaTags(); boolean isAddHighwirePressMetaTags(); int getMetadataParamNumber(); boolean useTiles(); boolean useTilesFullscreen(); boolean useTiles(PageType view, ImageType image); int getFooterHeight(); int getFullscreenFooterHeight(); int getFooterHeight(PageType view, ImageType image); String getImageViewType(); String getZoomFullscreenViewType(); String getZoomImageViewType(PageType view, ImageType image); boolean useOpenSeadragon(); List<String> getImageViewZoomScales(); List<String> getImageViewZoomScales(String view); List<String> getImageViewZoomScales(PageType view, ImageType image); Map<Integer, List<Integer>> getTileSizes(); Map<Integer, List<Integer>> getTileSizes(PageType view, ImageType image); SubnodeConfiguration getZoomImageViewConfig(PageType pageType, ImageType imageType); int getBreadcrumbsClipping(); boolean isDisplayTopstructLabel(); boolean getDisplayStructType(); int getSearchHitMetadataValueNumber(); int getSearchHitMetadataValueLength(); List<String> getWatermarkTextConfiguration(); String getWatermarkFormat(); boolean isOriginalContentDownload(); String getStopwordsFilePath(); String getPageType(PageType type); String getDocstructTargetPageType(String docstruct); String getPageTypeExitView(PageType type); int getFulltextPercentageWarningThreshold(); boolean isUseViewerLocaleAsRecordLanguage(); String getFeedbackEmailAddress(); boolean isBookmarksEnabled(); boolean isForceJpegConversion(); int getPageLoaderThreshold(); boolean isPreventProxyCaching(); boolean isSolrCompressionEnabled(); boolean isSolrBackwardsCompatible(); boolean isUserCommentsEnabled(); String getUserCommentsConditionalQuery(); List<String> getUserCommentsNotificationEmailAddresses(); String getViewerHome(); List<String> getWatermarkIdField(); String getSubthemeMainTheme(); String getSubthemeDiscriminatorField(); int getTagCloudSampleSize(String fieldName); List<StringPair> getTocVolumeSortFieldsForTemplate(String template); String getTocVolumeGroupFieldForTemplate(String template); boolean getDisplayTitleBreadcrumbs(); boolean isDisplayTitlePURL(); int getTitleBreadcrumbsMaxTitleLength(); boolean getIncludeAnchorInTitleBreadcrumbs(); boolean isDisplaySearchRssLinks(); boolean showThumbnailsInToc(); String getStartYearForTimeline(); String getEndYearForTimeline(); String getTimelineHits(); boolean isPiwikTrackingEnabled(); String getPiwikBaseURL(); String getPiwikSiteID(); boolean isSearchSavingEnabled(); boolean isBoostTopLevelDocstructs(); boolean isGroupDuplicateHits(); List<String> getRecordGroupIdentifierFields(); List<String> getAncestorIdentifierFields(); boolean isTocListSiblingRecords(); List<SearchFilter> getSearchFilters(); List<Map<String, String>> getWebApiFields(); String getDbPersistenceUnit(); boolean useCustomNavBar(); String getCmsTemplateFolder(); String getCmsMediaFolder(); String getTempMediaFolder(); List<String> getCmsClassifications(); int getCmsMediaDisplayWidth(); int getCmsMediaDisplayHeight(); boolean isTranskribusEnabled(); String getTranskribusUserName(); String getTranskribusPassword(); String getTranskribusDefaultCollection(); String getTranskribusRestApiUrl(); List<String> getTranskribusAllowedDocumentTypes(); int getTocIndentation(); boolean isPageBrowseEnabled(); List<Integer> getPageBrowseSteps(); String getTaskManagerServiceUrl(); String getTaskManagerRestUrl(); String getReCaptchaSiteKey(); boolean isUseReCaptcha(); boolean isSearchInItemEnabled(); String getDefaultBrowseIcon(String field); boolean isSearchExcelExportEnabled(); List<String> getSearchExcelExportFields(); int getExcelDownloadTimeout(); boolean isDisplayEmptyTocInSidebar(); boolean isDoublePageModeEnabled(); List<String> getRestrictedImageUrls(); List<String> getIIIFLicenses(); List<String> getIIIFMetadataFields(); List<String> getIIIFEventFields(); String getIIIFMetadataLabel(String field); int getIIIFDiscoveryAvtivitiesPerPage(); List<String> getIIIFLogo(); String getIIIFNavDateField(); List<String> getIIIFAttribution(); List<String> getIIIFDescriptionFields(); String getSitelinksField(); String getSitelinksFilterQuery(); List<String> getConfiguredCollections(); String getWebApiToken(); boolean isAllowRedirectCollectionToWork(); String getTwitterUserName(); float getLimitImageHeightUpperRatioThreshold(); float getLimitImageHeightLowerRatioThreshold(); boolean isLimitImageHeight(); boolean isAddCORSHeader(); String getCORSHeaderValue(); boolean isDiscloseImageContentLocation(); String getAccessConditionDisplayField(); String getCopyrightDisplayField(); boolean isDisplayCopyrightInfo(); boolean isDisplaySocialMediaShareLinks(); boolean isDisplayAnchorLabelInTitleBar(String template); String getAnchorLabelInTitleBarPrefix(String template); String getAnchorLabelInTitleBarSuffix(String template); String getMapBoxToken(); GeoMapMarker getGeoMapMarker(String name); List<String> getGeoMapMarkerFields(); List<GeoMapMarker> getGeoMapMarkers(); static GeoMapMarker readGeoMapMarker(HierarchicalConfiguration config); List<LicenseDescription> getLicenseDescriptions(); }
Configuration extends AbstractConfiguration { public String getCollectionSplittingChar(String field) { HierarchicalConfiguration subConfig = getCollectionConfiguration(field); if (subConfig != null) { return subConfig.getString("splittingCharacter", "."); } return getLocalString("viewer.splittingCharacter", "."); } Configuration(String configFilePath); Set<String> getStopwords(); boolean reloadingRequired(); String getConfigLocalPath(); String getLocalRessourceBundleFile(); int getViewerThumbnailsPerPage(); int getViewerMaxImageWidth(); int getViewerMaxImageHeight(); int getViewerMaxImageScale(); boolean isRememberImageZoom(); boolean isRememberImageRotation(); String getDfgViewerUrl(); String getConnectorVersionUrl(); List<Metadata> getTitleBarMetadata(); List<Metadata> getSearchHitMetadataForTemplate(String template); List<Metadata> getMainMetadataForTemplate(String template); List<Metadata> getSidebarMetadataForTemplate(String template); List<String> getNormdataFieldsForTemplate(String template); List<Metadata> getTocLabelConfiguration(String template); int getTocAnchorGroupElementsPerPage(); boolean isDisplaySidebarBrowsingTerms(); boolean isDisplaySidebarRssFeed(); boolean isDisplayWidgetUsage(); Metadata getWidgetUsageLicenceTextMetadata(); boolean isDisplaySidebarUsageWidgetLinkToJpegImage(); boolean isDisplaySidebarUsageWidgetLinkToMasterImage(); String getWidgetUsageMaxJpegSize(); String getWidgetUsageMaxMasterImageSize(); List<String> getCalendarDocStructTypes(); boolean isBrowsingMenuEnabled(); int getBrowsingMenuHitsPerPage(); List<BrowsingMenuFieldConfig> getBrowsingMenuFields(); String getBrowsingMenuSortingIgnoreLeadingChars(); String getDocstrctWhitelistFilterQuery(); String getCollectionSplittingChar(String field); List<DcSortingList> getCollectionSorting(String field); List<String> getCollectionBlacklist(String field); String getCollectionDefaultSortField(String field, String name); int getCollectionDisplayNumberOfVolumesLevel(String field); int getCollectionDisplayDepthForSearch(String field); String getCollectionHierarchyField(); boolean isAddCollectionHierarchyToBreadcrumbs(String field); String getSolrUrl(); String getContentServerWrapperUrl(); String getDownloadUrl(); String getRestApiUrl(); String getIIIFApiUrl(); boolean isUseIIIFApiUrlForCmsMediaUrls(); String getContentServerRealUrl(); String getMetsUrl(); String getMarcUrl(); String getDcUrl(); String getEseUrl(); List<Integer> getSearchHitsPerPageValues(); int getSearchHitsPerPageDefaultValue(); int getFulltextFragmentLength(); boolean isAdvancedSearchEnabled(); int getAdvancedSearchDefaultItemNumber(); List<AdvancedSearchFieldConfiguration> getAdvancedSearchFields(); boolean isAggregateHits(); boolean isDisplayAdditionalMetadataEnabled(); List<String> getDisplayAdditionalMetadataIgnoreFields(); List<String> getDisplayAdditionalMetadataTranslateFields(); boolean isAdvancedSearchFieldHierarchical(String field); boolean isAdvancedSearchFieldRange(String field); boolean isAdvancedSearchFieldUntokenizeForPhraseSearch(String field); String getAdvancedSearchFieldSeparatorLabel(String field); boolean isTimelineSearchEnabled(); boolean isCalendarSearchEnabled(); String getStaticQuerySuffix(); String getPreviousVersionIdentifierField(); String getNextVersionIdentifierField(); String getVersionLabelField(); String getIndexedMetsFolder(); String getIndexedLidoFolder(); String getIndexedDenkxwebFolder(); String getIndexedDublinCoreFolder(); String getPageSelectionFormat(); String getMediaFolder(); String getPdfFolder(); String getVocabulariesFolder(); String getOrigContentFolder(); String getCmsTextFolder(); String getAltoFolder(); String getAbbyyFolder(); String getFulltextFolder(); String getTeiFolder(); String getCmdiFolder(); String getWcFolder(); String getAnnotationFolder(); String getHotfolder(); @SuppressWarnings("static-method") String getTempFolder(); boolean isUrnDoRedirect(); boolean isUserRegistrationEnabled(); List<SecurityQuestion> getSecurityQuestions(); boolean isShowOpenIdConnect(); List<IAuthenticationProvider> getAuthenticationProviders(); String getSmtpServer(); String getSmtpUser(); String getSmtpPassword(); String getSmtpSenderAddress(); String getSmtpSenderName(); String getSmtpSecurity(); String getAnonymousUserEmailAddress(); boolean isDisplayCollectionBrowsing(); boolean isDisplayUserNavigation(); boolean isDisplayTagCloudNavigation(); boolean isDisplayStatistics(); boolean isDisplayTimeMatrix(); boolean isDisplayCrowdsourcingModuleLinks(); String getTheme(); String getThemeRootPath(); String getName(); String getDescription(); boolean isDisplayTagCloudStartpage(); boolean isDisplaySearchResultNavigation(); boolean isFoldout(String sidebarElement); boolean isSidebarPageViewLinkVisible(); boolean isSidebarCalendarViewLinkVisible(); boolean isSidebarTocViewLinkVisible(); boolean isSidebarThumbsViewLinkVisible(); boolean isSidebarMetadataViewLinkVisible(); boolean isShowSidebarEventMetadata(); boolean isShowRecordLabelIfNoOtherViews(); boolean isSidebarFulltextLinkVisible(); boolean isSidebarTocWidgetVisible(); boolean isSidebarTocWidgetVisibleInFullscreen(); boolean isSidebarOpacLinkVisible(); boolean getSidebarTocPageNumbersVisible(); int getSidebarTocLengthBeforeCut(); int getSidebarTocInitialCollapseLevel(); int getSidebarTocCollapseLengthThreshold(); int getSidebarTocLowestLevelToCollapseForLength(); boolean isSidebarTocTreeView(); boolean isTocTreeView(String docStructType); List<String> getAllDrillDownFields(); List<String> getDrillDownFields(); List<String> getHierarchicalDrillDownFields(); int getInitialDrillDownElementNumber(String field); String getSortOrder(String field); List<String> getPriorityValuesForDrillDownField(String field); String getLabelFieldForDrillDownField(String facetField); @SuppressWarnings("static-method") List<String> getRangeFacetFields(); boolean isSortingEnabled(); String getDefaultSortField(); List<String> getSortFields(); List<String> getStaticSortFields(); String getUrnResolverUrl(); int getUnconditionalImageAccessMaxWidth(); boolean isFullAccessForLocalhost(); boolean isGeneratePdfInTaskManager(); boolean isPdfApiDisabled(); boolean isTitlePdfEnabled(); boolean isTocPdfEnabled(); boolean isMetadataPdfEnabled(); boolean isPagePdfEnabled(); boolean isDocHierarchyPdfEnabled(); boolean isTitleEpubEnabled(); boolean isTocEpubEnabled(); boolean isMetadataEpubEnabled(); String getDownloadFolder(String type); int getRssFeedItems(); String getRssTitle(); String getRssDescription(); String getRssCopyrightText(); String getRulesetFilePath(); String getDefaultCollection(); int getThumbnailsWidth(); int getThumbnailsHeight(); int getThumbnailsCompression(); String getAnchorThumbnailMode(); int getMultivolumeThumbnailWidth(); int getMultivolumeThumbnailHeight(); boolean getDisplayBreadcrumbs(); boolean getDisplayMetadataPageLinkBlock(); boolean isAddDublinCoreMetaTags(); boolean isAddHighwirePressMetaTags(); int getMetadataParamNumber(); boolean useTiles(); boolean useTilesFullscreen(); boolean useTiles(PageType view, ImageType image); int getFooterHeight(); int getFullscreenFooterHeight(); int getFooterHeight(PageType view, ImageType image); String getImageViewType(); String getZoomFullscreenViewType(); String getZoomImageViewType(PageType view, ImageType image); boolean useOpenSeadragon(); List<String> getImageViewZoomScales(); List<String> getImageViewZoomScales(String view); List<String> getImageViewZoomScales(PageType view, ImageType image); Map<Integer, List<Integer>> getTileSizes(); Map<Integer, List<Integer>> getTileSizes(PageType view, ImageType image); SubnodeConfiguration getZoomImageViewConfig(PageType pageType, ImageType imageType); int getBreadcrumbsClipping(); boolean isDisplayTopstructLabel(); boolean getDisplayStructType(); int getSearchHitMetadataValueNumber(); int getSearchHitMetadataValueLength(); List<String> getWatermarkTextConfiguration(); String getWatermarkFormat(); boolean isOriginalContentDownload(); String getStopwordsFilePath(); String getPageType(PageType type); String getDocstructTargetPageType(String docstruct); String getPageTypeExitView(PageType type); int getFulltextPercentageWarningThreshold(); boolean isUseViewerLocaleAsRecordLanguage(); String getFeedbackEmailAddress(); boolean isBookmarksEnabled(); boolean isForceJpegConversion(); int getPageLoaderThreshold(); boolean isPreventProxyCaching(); boolean isSolrCompressionEnabled(); boolean isSolrBackwardsCompatible(); boolean isUserCommentsEnabled(); String getUserCommentsConditionalQuery(); List<String> getUserCommentsNotificationEmailAddresses(); String getViewerHome(); List<String> getWatermarkIdField(); String getSubthemeMainTheme(); String getSubthemeDiscriminatorField(); int getTagCloudSampleSize(String fieldName); List<StringPair> getTocVolumeSortFieldsForTemplate(String template); String getTocVolumeGroupFieldForTemplate(String template); boolean getDisplayTitleBreadcrumbs(); boolean isDisplayTitlePURL(); int getTitleBreadcrumbsMaxTitleLength(); boolean getIncludeAnchorInTitleBreadcrumbs(); boolean isDisplaySearchRssLinks(); boolean showThumbnailsInToc(); String getStartYearForTimeline(); String getEndYearForTimeline(); String getTimelineHits(); boolean isPiwikTrackingEnabled(); String getPiwikBaseURL(); String getPiwikSiteID(); boolean isSearchSavingEnabled(); boolean isBoostTopLevelDocstructs(); boolean isGroupDuplicateHits(); List<String> getRecordGroupIdentifierFields(); List<String> getAncestorIdentifierFields(); boolean isTocListSiblingRecords(); List<SearchFilter> getSearchFilters(); List<Map<String, String>> getWebApiFields(); String getDbPersistenceUnit(); boolean useCustomNavBar(); String getCmsTemplateFolder(); String getCmsMediaFolder(); String getTempMediaFolder(); List<String> getCmsClassifications(); int getCmsMediaDisplayWidth(); int getCmsMediaDisplayHeight(); boolean isTranskribusEnabled(); String getTranskribusUserName(); String getTranskribusPassword(); String getTranskribusDefaultCollection(); String getTranskribusRestApiUrl(); List<String> getTranskribusAllowedDocumentTypes(); int getTocIndentation(); boolean isPageBrowseEnabled(); List<Integer> getPageBrowseSteps(); String getTaskManagerServiceUrl(); String getTaskManagerRestUrl(); String getReCaptchaSiteKey(); boolean isUseReCaptcha(); boolean isSearchInItemEnabled(); String getDefaultBrowseIcon(String field); boolean isSearchExcelExportEnabled(); List<String> getSearchExcelExportFields(); int getExcelDownloadTimeout(); boolean isDisplayEmptyTocInSidebar(); boolean isDoublePageModeEnabled(); List<String> getRestrictedImageUrls(); List<String> getIIIFLicenses(); List<String> getIIIFMetadataFields(); List<String> getIIIFEventFields(); String getIIIFMetadataLabel(String field); int getIIIFDiscoveryAvtivitiesPerPage(); List<String> getIIIFLogo(); String getIIIFNavDateField(); List<String> getIIIFAttribution(); List<String> getIIIFDescriptionFields(); String getSitelinksField(); String getSitelinksFilterQuery(); List<String> getConfiguredCollections(); String getWebApiToken(); boolean isAllowRedirectCollectionToWork(); String getTwitterUserName(); float getLimitImageHeightUpperRatioThreshold(); float getLimitImageHeightLowerRatioThreshold(); boolean isLimitImageHeight(); boolean isAddCORSHeader(); String getCORSHeaderValue(); boolean isDiscloseImageContentLocation(); String getAccessConditionDisplayField(); String getCopyrightDisplayField(); boolean isDisplayCopyrightInfo(); boolean isDisplaySocialMediaShareLinks(); boolean isDisplayAnchorLabelInTitleBar(String template); String getAnchorLabelInTitleBarPrefix(String template); String getAnchorLabelInTitleBarSuffix(String template); String getMapBoxToken(); GeoMapMarker getGeoMapMarker(String name); List<String> getGeoMapMarkerFields(); List<GeoMapMarker> getGeoMapMarkers(); static GeoMapMarker readGeoMapMarker(HierarchicalConfiguration config); List<LicenseDescription> getLicenseDescriptions(); }
@Test public void getPageSelectionFormat_shouldReturnCorrectValue() throws Exception { Assert.assertEquals("{order} {msg.of} {numpages}", DataManager.getInstance().getConfiguration().getPageSelectionFormat()); }
public String getPageSelectionFormat() { return getLocalString("viewer.pageSelectionFormat", "{pageno}:{pagenolabel}"); }
Configuration extends AbstractConfiguration { public String getPageSelectionFormat() { return getLocalString("viewer.pageSelectionFormat", "{pageno}:{pagenolabel}"); } }
Configuration extends AbstractConfiguration { public String getPageSelectionFormat() { return getLocalString("viewer.pageSelectionFormat", "{pageno}:{pagenolabel}"); } Configuration(String configFilePath); }
Configuration extends AbstractConfiguration { public String getPageSelectionFormat() { return getLocalString("viewer.pageSelectionFormat", "{pageno}:{pagenolabel}"); } Configuration(String configFilePath); Set<String> getStopwords(); boolean reloadingRequired(); String getConfigLocalPath(); String getLocalRessourceBundleFile(); int getViewerThumbnailsPerPage(); int getViewerMaxImageWidth(); int getViewerMaxImageHeight(); int getViewerMaxImageScale(); boolean isRememberImageZoom(); boolean isRememberImageRotation(); String getDfgViewerUrl(); String getConnectorVersionUrl(); List<Metadata> getTitleBarMetadata(); List<Metadata> getSearchHitMetadataForTemplate(String template); List<Metadata> getMainMetadataForTemplate(String template); List<Metadata> getSidebarMetadataForTemplate(String template); List<String> getNormdataFieldsForTemplate(String template); List<Metadata> getTocLabelConfiguration(String template); int getTocAnchorGroupElementsPerPage(); boolean isDisplaySidebarBrowsingTerms(); boolean isDisplaySidebarRssFeed(); boolean isDisplayWidgetUsage(); Metadata getWidgetUsageLicenceTextMetadata(); boolean isDisplaySidebarUsageWidgetLinkToJpegImage(); boolean isDisplaySidebarUsageWidgetLinkToMasterImage(); String getWidgetUsageMaxJpegSize(); String getWidgetUsageMaxMasterImageSize(); List<String> getCalendarDocStructTypes(); boolean isBrowsingMenuEnabled(); int getBrowsingMenuHitsPerPage(); List<BrowsingMenuFieldConfig> getBrowsingMenuFields(); String getBrowsingMenuSortingIgnoreLeadingChars(); String getDocstrctWhitelistFilterQuery(); String getCollectionSplittingChar(String field); List<DcSortingList> getCollectionSorting(String field); List<String> getCollectionBlacklist(String field); String getCollectionDefaultSortField(String field, String name); int getCollectionDisplayNumberOfVolumesLevel(String field); int getCollectionDisplayDepthForSearch(String field); String getCollectionHierarchyField(); boolean isAddCollectionHierarchyToBreadcrumbs(String field); String getSolrUrl(); String getContentServerWrapperUrl(); String getDownloadUrl(); String getRestApiUrl(); String getIIIFApiUrl(); boolean isUseIIIFApiUrlForCmsMediaUrls(); String getContentServerRealUrl(); String getMetsUrl(); String getMarcUrl(); String getDcUrl(); String getEseUrl(); List<Integer> getSearchHitsPerPageValues(); int getSearchHitsPerPageDefaultValue(); int getFulltextFragmentLength(); boolean isAdvancedSearchEnabled(); int getAdvancedSearchDefaultItemNumber(); List<AdvancedSearchFieldConfiguration> getAdvancedSearchFields(); boolean isAggregateHits(); boolean isDisplayAdditionalMetadataEnabled(); List<String> getDisplayAdditionalMetadataIgnoreFields(); List<String> getDisplayAdditionalMetadataTranslateFields(); boolean isAdvancedSearchFieldHierarchical(String field); boolean isAdvancedSearchFieldRange(String field); boolean isAdvancedSearchFieldUntokenizeForPhraseSearch(String field); String getAdvancedSearchFieldSeparatorLabel(String field); boolean isTimelineSearchEnabled(); boolean isCalendarSearchEnabled(); String getStaticQuerySuffix(); String getPreviousVersionIdentifierField(); String getNextVersionIdentifierField(); String getVersionLabelField(); String getIndexedMetsFolder(); String getIndexedLidoFolder(); String getIndexedDenkxwebFolder(); String getIndexedDublinCoreFolder(); String getPageSelectionFormat(); String getMediaFolder(); String getPdfFolder(); String getVocabulariesFolder(); String getOrigContentFolder(); String getCmsTextFolder(); String getAltoFolder(); String getAbbyyFolder(); String getFulltextFolder(); String getTeiFolder(); String getCmdiFolder(); String getWcFolder(); String getAnnotationFolder(); String getHotfolder(); @SuppressWarnings("static-method") String getTempFolder(); boolean isUrnDoRedirect(); boolean isUserRegistrationEnabled(); List<SecurityQuestion> getSecurityQuestions(); boolean isShowOpenIdConnect(); List<IAuthenticationProvider> getAuthenticationProviders(); String getSmtpServer(); String getSmtpUser(); String getSmtpPassword(); String getSmtpSenderAddress(); String getSmtpSenderName(); String getSmtpSecurity(); String getAnonymousUserEmailAddress(); boolean isDisplayCollectionBrowsing(); boolean isDisplayUserNavigation(); boolean isDisplayTagCloudNavigation(); boolean isDisplayStatistics(); boolean isDisplayTimeMatrix(); boolean isDisplayCrowdsourcingModuleLinks(); String getTheme(); String getThemeRootPath(); String getName(); String getDescription(); boolean isDisplayTagCloudStartpage(); boolean isDisplaySearchResultNavigation(); boolean isFoldout(String sidebarElement); boolean isSidebarPageViewLinkVisible(); boolean isSidebarCalendarViewLinkVisible(); boolean isSidebarTocViewLinkVisible(); boolean isSidebarThumbsViewLinkVisible(); boolean isSidebarMetadataViewLinkVisible(); boolean isShowSidebarEventMetadata(); boolean isShowRecordLabelIfNoOtherViews(); boolean isSidebarFulltextLinkVisible(); boolean isSidebarTocWidgetVisible(); boolean isSidebarTocWidgetVisibleInFullscreen(); boolean isSidebarOpacLinkVisible(); boolean getSidebarTocPageNumbersVisible(); int getSidebarTocLengthBeforeCut(); int getSidebarTocInitialCollapseLevel(); int getSidebarTocCollapseLengthThreshold(); int getSidebarTocLowestLevelToCollapseForLength(); boolean isSidebarTocTreeView(); boolean isTocTreeView(String docStructType); List<String> getAllDrillDownFields(); List<String> getDrillDownFields(); List<String> getHierarchicalDrillDownFields(); int getInitialDrillDownElementNumber(String field); String getSortOrder(String field); List<String> getPriorityValuesForDrillDownField(String field); String getLabelFieldForDrillDownField(String facetField); @SuppressWarnings("static-method") List<String> getRangeFacetFields(); boolean isSortingEnabled(); String getDefaultSortField(); List<String> getSortFields(); List<String> getStaticSortFields(); String getUrnResolverUrl(); int getUnconditionalImageAccessMaxWidth(); boolean isFullAccessForLocalhost(); boolean isGeneratePdfInTaskManager(); boolean isPdfApiDisabled(); boolean isTitlePdfEnabled(); boolean isTocPdfEnabled(); boolean isMetadataPdfEnabled(); boolean isPagePdfEnabled(); boolean isDocHierarchyPdfEnabled(); boolean isTitleEpubEnabled(); boolean isTocEpubEnabled(); boolean isMetadataEpubEnabled(); String getDownloadFolder(String type); int getRssFeedItems(); String getRssTitle(); String getRssDescription(); String getRssCopyrightText(); String getRulesetFilePath(); String getDefaultCollection(); int getThumbnailsWidth(); int getThumbnailsHeight(); int getThumbnailsCompression(); String getAnchorThumbnailMode(); int getMultivolumeThumbnailWidth(); int getMultivolumeThumbnailHeight(); boolean getDisplayBreadcrumbs(); boolean getDisplayMetadataPageLinkBlock(); boolean isAddDublinCoreMetaTags(); boolean isAddHighwirePressMetaTags(); int getMetadataParamNumber(); boolean useTiles(); boolean useTilesFullscreen(); boolean useTiles(PageType view, ImageType image); int getFooterHeight(); int getFullscreenFooterHeight(); int getFooterHeight(PageType view, ImageType image); String getImageViewType(); String getZoomFullscreenViewType(); String getZoomImageViewType(PageType view, ImageType image); boolean useOpenSeadragon(); List<String> getImageViewZoomScales(); List<String> getImageViewZoomScales(String view); List<String> getImageViewZoomScales(PageType view, ImageType image); Map<Integer, List<Integer>> getTileSizes(); Map<Integer, List<Integer>> getTileSizes(PageType view, ImageType image); SubnodeConfiguration getZoomImageViewConfig(PageType pageType, ImageType imageType); int getBreadcrumbsClipping(); boolean isDisplayTopstructLabel(); boolean getDisplayStructType(); int getSearchHitMetadataValueNumber(); int getSearchHitMetadataValueLength(); List<String> getWatermarkTextConfiguration(); String getWatermarkFormat(); boolean isOriginalContentDownload(); String getStopwordsFilePath(); String getPageType(PageType type); String getDocstructTargetPageType(String docstruct); String getPageTypeExitView(PageType type); int getFulltextPercentageWarningThreshold(); boolean isUseViewerLocaleAsRecordLanguage(); String getFeedbackEmailAddress(); boolean isBookmarksEnabled(); boolean isForceJpegConversion(); int getPageLoaderThreshold(); boolean isPreventProxyCaching(); boolean isSolrCompressionEnabled(); boolean isSolrBackwardsCompatible(); boolean isUserCommentsEnabled(); String getUserCommentsConditionalQuery(); List<String> getUserCommentsNotificationEmailAddresses(); String getViewerHome(); List<String> getWatermarkIdField(); String getSubthemeMainTheme(); String getSubthemeDiscriminatorField(); int getTagCloudSampleSize(String fieldName); List<StringPair> getTocVolumeSortFieldsForTemplate(String template); String getTocVolumeGroupFieldForTemplate(String template); boolean getDisplayTitleBreadcrumbs(); boolean isDisplayTitlePURL(); int getTitleBreadcrumbsMaxTitleLength(); boolean getIncludeAnchorInTitleBreadcrumbs(); boolean isDisplaySearchRssLinks(); boolean showThumbnailsInToc(); String getStartYearForTimeline(); String getEndYearForTimeline(); String getTimelineHits(); boolean isPiwikTrackingEnabled(); String getPiwikBaseURL(); String getPiwikSiteID(); boolean isSearchSavingEnabled(); boolean isBoostTopLevelDocstructs(); boolean isGroupDuplicateHits(); List<String> getRecordGroupIdentifierFields(); List<String> getAncestorIdentifierFields(); boolean isTocListSiblingRecords(); List<SearchFilter> getSearchFilters(); List<Map<String, String>> getWebApiFields(); String getDbPersistenceUnit(); boolean useCustomNavBar(); String getCmsTemplateFolder(); String getCmsMediaFolder(); String getTempMediaFolder(); List<String> getCmsClassifications(); int getCmsMediaDisplayWidth(); int getCmsMediaDisplayHeight(); boolean isTranskribusEnabled(); String getTranskribusUserName(); String getTranskribusPassword(); String getTranskribusDefaultCollection(); String getTranskribusRestApiUrl(); List<String> getTranskribusAllowedDocumentTypes(); int getTocIndentation(); boolean isPageBrowseEnabled(); List<Integer> getPageBrowseSteps(); String getTaskManagerServiceUrl(); String getTaskManagerRestUrl(); String getReCaptchaSiteKey(); boolean isUseReCaptcha(); boolean isSearchInItemEnabled(); String getDefaultBrowseIcon(String field); boolean isSearchExcelExportEnabled(); List<String> getSearchExcelExportFields(); int getExcelDownloadTimeout(); boolean isDisplayEmptyTocInSidebar(); boolean isDoublePageModeEnabled(); List<String> getRestrictedImageUrls(); List<String> getIIIFLicenses(); List<String> getIIIFMetadataFields(); List<String> getIIIFEventFields(); String getIIIFMetadataLabel(String field); int getIIIFDiscoveryAvtivitiesPerPage(); List<String> getIIIFLogo(); String getIIIFNavDateField(); List<String> getIIIFAttribution(); List<String> getIIIFDescriptionFields(); String getSitelinksField(); String getSitelinksFilterQuery(); List<String> getConfiguredCollections(); String getWebApiToken(); boolean isAllowRedirectCollectionToWork(); String getTwitterUserName(); float getLimitImageHeightUpperRatioThreshold(); float getLimitImageHeightLowerRatioThreshold(); boolean isLimitImageHeight(); boolean isAddCORSHeader(); String getCORSHeaderValue(); boolean isDiscloseImageContentLocation(); String getAccessConditionDisplayField(); String getCopyrightDisplayField(); boolean isDisplayCopyrightInfo(); boolean isDisplaySocialMediaShareLinks(); boolean isDisplayAnchorLabelInTitleBar(String template); String getAnchorLabelInTitleBarPrefix(String template); String getAnchorLabelInTitleBarSuffix(String template); String getMapBoxToken(); GeoMapMarker getGeoMapMarker(String name); List<String> getGeoMapMarkerFields(); List<GeoMapMarker> getGeoMapMarkers(); static GeoMapMarker readGeoMapMarker(HierarchicalConfiguration config); List<LicenseDescription> getLicenseDescriptions(); }
Configuration extends AbstractConfiguration { public String getPageSelectionFormat() { return getLocalString("viewer.pageSelectionFormat", "{pageno}:{pagenolabel}"); } Configuration(String configFilePath); Set<String> getStopwords(); boolean reloadingRequired(); String getConfigLocalPath(); String getLocalRessourceBundleFile(); int getViewerThumbnailsPerPage(); int getViewerMaxImageWidth(); int getViewerMaxImageHeight(); int getViewerMaxImageScale(); boolean isRememberImageZoom(); boolean isRememberImageRotation(); String getDfgViewerUrl(); String getConnectorVersionUrl(); List<Metadata> getTitleBarMetadata(); List<Metadata> getSearchHitMetadataForTemplate(String template); List<Metadata> getMainMetadataForTemplate(String template); List<Metadata> getSidebarMetadataForTemplate(String template); List<String> getNormdataFieldsForTemplate(String template); List<Metadata> getTocLabelConfiguration(String template); int getTocAnchorGroupElementsPerPage(); boolean isDisplaySidebarBrowsingTerms(); boolean isDisplaySidebarRssFeed(); boolean isDisplayWidgetUsage(); Metadata getWidgetUsageLicenceTextMetadata(); boolean isDisplaySidebarUsageWidgetLinkToJpegImage(); boolean isDisplaySidebarUsageWidgetLinkToMasterImage(); String getWidgetUsageMaxJpegSize(); String getWidgetUsageMaxMasterImageSize(); List<String> getCalendarDocStructTypes(); boolean isBrowsingMenuEnabled(); int getBrowsingMenuHitsPerPage(); List<BrowsingMenuFieldConfig> getBrowsingMenuFields(); String getBrowsingMenuSortingIgnoreLeadingChars(); String getDocstrctWhitelistFilterQuery(); String getCollectionSplittingChar(String field); List<DcSortingList> getCollectionSorting(String field); List<String> getCollectionBlacklist(String field); String getCollectionDefaultSortField(String field, String name); int getCollectionDisplayNumberOfVolumesLevel(String field); int getCollectionDisplayDepthForSearch(String field); String getCollectionHierarchyField(); boolean isAddCollectionHierarchyToBreadcrumbs(String field); String getSolrUrl(); String getContentServerWrapperUrl(); String getDownloadUrl(); String getRestApiUrl(); String getIIIFApiUrl(); boolean isUseIIIFApiUrlForCmsMediaUrls(); String getContentServerRealUrl(); String getMetsUrl(); String getMarcUrl(); String getDcUrl(); String getEseUrl(); List<Integer> getSearchHitsPerPageValues(); int getSearchHitsPerPageDefaultValue(); int getFulltextFragmentLength(); boolean isAdvancedSearchEnabled(); int getAdvancedSearchDefaultItemNumber(); List<AdvancedSearchFieldConfiguration> getAdvancedSearchFields(); boolean isAggregateHits(); boolean isDisplayAdditionalMetadataEnabled(); List<String> getDisplayAdditionalMetadataIgnoreFields(); List<String> getDisplayAdditionalMetadataTranslateFields(); boolean isAdvancedSearchFieldHierarchical(String field); boolean isAdvancedSearchFieldRange(String field); boolean isAdvancedSearchFieldUntokenizeForPhraseSearch(String field); String getAdvancedSearchFieldSeparatorLabel(String field); boolean isTimelineSearchEnabled(); boolean isCalendarSearchEnabled(); String getStaticQuerySuffix(); String getPreviousVersionIdentifierField(); String getNextVersionIdentifierField(); String getVersionLabelField(); String getIndexedMetsFolder(); String getIndexedLidoFolder(); String getIndexedDenkxwebFolder(); String getIndexedDublinCoreFolder(); String getPageSelectionFormat(); String getMediaFolder(); String getPdfFolder(); String getVocabulariesFolder(); String getOrigContentFolder(); String getCmsTextFolder(); String getAltoFolder(); String getAbbyyFolder(); String getFulltextFolder(); String getTeiFolder(); String getCmdiFolder(); String getWcFolder(); String getAnnotationFolder(); String getHotfolder(); @SuppressWarnings("static-method") String getTempFolder(); boolean isUrnDoRedirect(); boolean isUserRegistrationEnabled(); List<SecurityQuestion> getSecurityQuestions(); boolean isShowOpenIdConnect(); List<IAuthenticationProvider> getAuthenticationProviders(); String getSmtpServer(); String getSmtpUser(); String getSmtpPassword(); String getSmtpSenderAddress(); String getSmtpSenderName(); String getSmtpSecurity(); String getAnonymousUserEmailAddress(); boolean isDisplayCollectionBrowsing(); boolean isDisplayUserNavigation(); boolean isDisplayTagCloudNavigation(); boolean isDisplayStatistics(); boolean isDisplayTimeMatrix(); boolean isDisplayCrowdsourcingModuleLinks(); String getTheme(); String getThemeRootPath(); String getName(); String getDescription(); boolean isDisplayTagCloudStartpage(); boolean isDisplaySearchResultNavigation(); boolean isFoldout(String sidebarElement); boolean isSidebarPageViewLinkVisible(); boolean isSidebarCalendarViewLinkVisible(); boolean isSidebarTocViewLinkVisible(); boolean isSidebarThumbsViewLinkVisible(); boolean isSidebarMetadataViewLinkVisible(); boolean isShowSidebarEventMetadata(); boolean isShowRecordLabelIfNoOtherViews(); boolean isSidebarFulltextLinkVisible(); boolean isSidebarTocWidgetVisible(); boolean isSidebarTocWidgetVisibleInFullscreen(); boolean isSidebarOpacLinkVisible(); boolean getSidebarTocPageNumbersVisible(); int getSidebarTocLengthBeforeCut(); int getSidebarTocInitialCollapseLevel(); int getSidebarTocCollapseLengthThreshold(); int getSidebarTocLowestLevelToCollapseForLength(); boolean isSidebarTocTreeView(); boolean isTocTreeView(String docStructType); List<String> getAllDrillDownFields(); List<String> getDrillDownFields(); List<String> getHierarchicalDrillDownFields(); int getInitialDrillDownElementNumber(String field); String getSortOrder(String field); List<String> getPriorityValuesForDrillDownField(String field); String getLabelFieldForDrillDownField(String facetField); @SuppressWarnings("static-method") List<String> getRangeFacetFields(); boolean isSortingEnabled(); String getDefaultSortField(); List<String> getSortFields(); List<String> getStaticSortFields(); String getUrnResolverUrl(); int getUnconditionalImageAccessMaxWidth(); boolean isFullAccessForLocalhost(); boolean isGeneratePdfInTaskManager(); boolean isPdfApiDisabled(); boolean isTitlePdfEnabled(); boolean isTocPdfEnabled(); boolean isMetadataPdfEnabled(); boolean isPagePdfEnabled(); boolean isDocHierarchyPdfEnabled(); boolean isTitleEpubEnabled(); boolean isTocEpubEnabled(); boolean isMetadataEpubEnabled(); String getDownloadFolder(String type); int getRssFeedItems(); String getRssTitle(); String getRssDescription(); String getRssCopyrightText(); String getRulesetFilePath(); String getDefaultCollection(); int getThumbnailsWidth(); int getThumbnailsHeight(); int getThumbnailsCompression(); String getAnchorThumbnailMode(); int getMultivolumeThumbnailWidth(); int getMultivolumeThumbnailHeight(); boolean getDisplayBreadcrumbs(); boolean getDisplayMetadataPageLinkBlock(); boolean isAddDublinCoreMetaTags(); boolean isAddHighwirePressMetaTags(); int getMetadataParamNumber(); boolean useTiles(); boolean useTilesFullscreen(); boolean useTiles(PageType view, ImageType image); int getFooterHeight(); int getFullscreenFooterHeight(); int getFooterHeight(PageType view, ImageType image); String getImageViewType(); String getZoomFullscreenViewType(); String getZoomImageViewType(PageType view, ImageType image); boolean useOpenSeadragon(); List<String> getImageViewZoomScales(); List<String> getImageViewZoomScales(String view); List<String> getImageViewZoomScales(PageType view, ImageType image); Map<Integer, List<Integer>> getTileSizes(); Map<Integer, List<Integer>> getTileSizes(PageType view, ImageType image); SubnodeConfiguration getZoomImageViewConfig(PageType pageType, ImageType imageType); int getBreadcrumbsClipping(); boolean isDisplayTopstructLabel(); boolean getDisplayStructType(); int getSearchHitMetadataValueNumber(); int getSearchHitMetadataValueLength(); List<String> getWatermarkTextConfiguration(); String getWatermarkFormat(); boolean isOriginalContentDownload(); String getStopwordsFilePath(); String getPageType(PageType type); String getDocstructTargetPageType(String docstruct); String getPageTypeExitView(PageType type); int getFulltextPercentageWarningThreshold(); boolean isUseViewerLocaleAsRecordLanguage(); String getFeedbackEmailAddress(); boolean isBookmarksEnabled(); boolean isForceJpegConversion(); int getPageLoaderThreshold(); boolean isPreventProxyCaching(); boolean isSolrCompressionEnabled(); boolean isSolrBackwardsCompatible(); boolean isUserCommentsEnabled(); String getUserCommentsConditionalQuery(); List<String> getUserCommentsNotificationEmailAddresses(); String getViewerHome(); List<String> getWatermarkIdField(); String getSubthemeMainTheme(); String getSubthemeDiscriminatorField(); int getTagCloudSampleSize(String fieldName); List<StringPair> getTocVolumeSortFieldsForTemplate(String template); String getTocVolumeGroupFieldForTemplate(String template); boolean getDisplayTitleBreadcrumbs(); boolean isDisplayTitlePURL(); int getTitleBreadcrumbsMaxTitleLength(); boolean getIncludeAnchorInTitleBreadcrumbs(); boolean isDisplaySearchRssLinks(); boolean showThumbnailsInToc(); String getStartYearForTimeline(); String getEndYearForTimeline(); String getTimelineHits(); boolean isPiwikTrackingEnabled(); String getPiwikBaseURL(); String getPiwikSiteID(); boolean isSearchSavingEnabled(); boolean isBoostTopLevelDocstructs(); boolean isGroupDuplicateHits(); List<String> getRecordGroupIdentifierFields(); List<String> getAncestorIdentifierFields(); boolean isTocListSiblingRecords(); List<SearchFilter> getSearchFilters(); List<Map<String, String>> getWebApiFields(); String getDbPersistenceUnit(); boolean useCustomNavBar(); String getCmsTemplateFolder(); String getCmsMediaFolder(); String getTempMediaFolder(); List<String> getCmsClassifications(); int getCmsMediaDisplayWidth(); int getCmsMediaDisplayHeight(); boolean isTranskribusEnabled(); String getTranskribusUserName(); String getTranskribusPassword(); String getTranskribusDefaultCollection(); String getTranskribusRestApiUrl(); List<String> getTranskribusAllowedDocumentTypes(); int getTocIndentation(); boolean isPageBrowseEnabled(); List<Integer> getPageBrowseSteps(); String getTaskManagerServiceUrl(); String getTaskManagerRestUrl(); String getReCaptchaSiteKey(); boolean isUseReCaptcha(); boolean isSearchInItemEnabled(); String getDefaultBrowseIcon(String field); boolean isSearchExcelExportEnabled(); List<String> getSearchExcelExportFields(); int getExcelDownloadTimeout(); boolean isDisplayEmptyTocInSidebar(); boolean isDoublePageModeEnabled(); List<String> getRestrictedImageUrls(); List<String> getIIIFLicenses(); List<String> getIIIFMetadataFields(); List<String> getIIIFEventFields(); String getIIIFMetadataLabel(String field); int getIIIFDiscoveryAvtivitiesPerPage(); List<String> getIIIFLogo(); String getIIIFNavDateField(); List<String> getIIIFAttribution(); List<String> getIIIFDescriptionFields(); String getSitelinksField(); String getSitelinksFilterQuery(); List<String> getConfiguredCollections(); String getWebApiToken(); boolean isAllowRedirectCollectionToWork(); String getTwitterUserName(); float getLimitImageHeightUpperRatioThreshold(); float getLimitImageHeightLowerRatioThreshold(); boolean isLimitImageHeight(); boolean isAddCORSHeader(); String getCORSHeaderValue(); boolean isDiscloseImageContentLocation(); String getAccessConditionDisplayField(); String getCopyrightDisplayField(); boolean isDisplayCopyrightInfo(); boolean isDisplaySocialMediaShareLinks(); boolean isDisplayAnchorLabelInTitleBar(String template); String getAnchorLabelInTitleBarPrefix(String template); String getAnchorLabelInTitleBarSuffix(String template); String getMapBoxToken(); GeoMapMarker getGeoMapMarker(String name); List<String> getGeoMapMarkerFields(); List<GeoMapMarker> getGeoMapMarkers(); static GeoMapMarker readGeoMapMarker(HierarchicalConfiguration config); List<LicenseDescription> getLicenseDescriptions(); }
@Test public void loadStopwords_shouldLoadAllStopwords() throws Exception { Set<String> stopwords = Configuration.loadStopwords("src/test/resources/stopwords.txt"); Assert.assertNotNull(stopwords); Assert.assertEquals(5, stopwords.size()); }
protected static Set<String> loadStopwords(String stopwordsFilePath) throws FileNotFoundException, IOException { if (StringUtils.isEmpty(stopwordsFilePath)) { throw new IllegalArgumentException("stopwordsFilePath may not be null or empty"); } if (StringUtils.isEmpty(stopwordsFilePath)) { logger.warn("'stopwordsFile' not configured. Stop words cannot be filtered from search queries."); return Collections.emptySet(); } Set<String> ret = new HashSet<>(); try (FileReader fr = new FileReader(stopwordsFilePath); BufferedReader br = new BufferedReader(fr)) { String line; while ((line = br.readLine()) != null) { line = line.trim(); if (StringUtils.isNotBlank(line)) { if (line.charAt(0) != '#') { int pipeIndex = line.indexOf('|'); if (pipeIndex != -1) { line = line.substring(0, pipeIndex).trim(); } if (!line.isEmpty() && Character.getNumericValue(line.charAt(0)) != -1) { ret.add(line); } } } } } return ret; }
Configuration extends AbstractConfiguration { protected static Set<String> loadStopwords(String stopwordsFilePath) throws FileNotFoundException, IOException { if (StringUtils.isEmpty(stopwordsFilePath)) { throw new IllegalArgumentException("stopwordsFilePath may not be null or empty"); } if (StringUtils.isEmpty(stopwordsFilePath)) { logger.warn("'stopwordsFile' not configured. Stop words cannot be filtered from search queries."); return Collections.emptySet(); } Set<String> ret = new HashSet<>(); try (FileReader fr = new FileReader(stopwordsFilePath); BufferedReader br = new BufferedReader(fr)) { String line; while ((line = br.readLine()) != null) { line = line.trim(); if (StringUtils.isNotBlank(line)) { if (line.charAt(0) != '#') { int pipeIndex = line.indexOf('|'); if (pipeIndex != -1) { line = line.substring(0, pipeIndex).trim(); } if (!line.isEmpty() && Character.getNumericValue(line.charAt(0)) != -1) { ret.add(line); } } } } } return ret; } }
Configuration extends AbstractConfiguration { protected static Set<String> loadStopwords(String stopwordsFilePath) throws FileNotFoundException, IOException { if (StringUtils.isEmpty(stopwordsFilePath)) { throw new IllegalArgumentException("stopwordsFilePath may not be null or empty"); } if (StringUtils.isEmpty(stopwordsFilePath)) { logger.warn("'stopwordsFile' not configured. Stop words cannot be filtered from search queries."); return Collections.emptySet(); } Set<String> ret = new HashSet<>(); try (FileReader fr = new FileReader(stopwordsFilePath); BufferedReader br = new BufferedReader(fr)) { String line; while ((line = br.readLine()) != null) { line = line.trim(); if (StringUtils.isNotBlank(line)) { if (line.charAt(0) != '#') { int pipeIndex = line.indexOf('|'); if (pipeIndex != -1) { line = line.substring(0, pipeIndex).trim(); } if (!line.isEmpty() && Character.getNumericValue(line.charAt(0)) != -1) { ret.add(line); } } } } } return ret; } Configuration(String configFilePath); }
Configuration extends AbstractConfiguration { protected static Set<String> loadStopwords(String stopwordsFilePath) throws FileNotFoundException, IOException { if (StringUtils.isEmpty(stopwordsFilePath)) { throw new IllegalArgumentException("stopwordsFilePath may not be null or empty"); } if (StringUtils.isEmpty(stopwordsFilePath)) { logger.warn("'stopwordsFile' not configured. Stop words cannot be filtered from search queries."); return Collections.emptySet(); } Set<String> ret = new HashSet<>(); try (FileReader fr = new FileReader(stopwordsFilePath); BufferedReader br = new BufferedReader(fr)) { String line; while ((line = br.readLine()) != null) { line = line.trim(); if (StringUtils.isNotBlank(line)) { if (line.charAt(0) != '#') { int pipeIndex = line.indexOf('|'); if (pipeIndex != -1) { line = line.substring(0, pipeIndex).trim(); } if (!line.isEmpty() && Character.getNumericValue(line.charAt(0)) != -1) { ret.add(line); } } } } } return ret; } Configuration(String configFilePath); Set<String> getStopwords(); boolean reloadingRequired(); String getConfigLocalPath(); String getLocalRessourceBundleFile(); int getViewerThumbnailsPerPage(); int getViewerMaxImageWidth(); int getViewerMaxImageHeight(); int getViewerMaxImageScale(); boolean isRememberImageZoom(); boolean isRememberImageRotation(); String getDfgViewerUrl(); String getConnectorVersionUrl(); List<Metadata> getTitleBarMetadata(); List<Metadata> getSearchHitMetadataForTemplate(String template); List<Metadata> getMainMetadataForTemplate(String template); List<Metadata> getSidebarMetadataForTemplate(String template); List<String> getNormdataFieldsForTemplate(String template); List<Metadata> getTocLabelConfiguration(String template); int getTocAnchorGroupElementsPerPage(); boolean isDisplaySidebarBrowsingTerms(); boolean isDisplaySidebarRssFeed(); boolean isDisplayWidgetUsage(); Metadata getWidgetUsageLicenceTextMetadata(); boolean isDisplaySidebarUsageWidgetLinkToJpegImage(); boolean isDisplaySidebarUsageWidgetLinkToMasterImage(); String getWidgetUsageMaxJpegSize(); String getWidgetUsageMaxMasterImageSize(); List<String> getCalendarDocStructTypes(); boolean isBrowsingMenuEnabled(); int getBrowsingMenuHitsPerPage(); List<BrowsingMenuFieldConfig> getBrowsingMenuFields(); String getBrowsingMenuSortingIgnoreLeadingChars(); String getDocstrctWhitelistFilterQuery(); String getCollectionSplittingChar(String field); List<DcSortingList> getCollectionSorting(String field); List<String> getCollectionBlacklist(String field); String getCollectionDefaultSortField(String field, String name); int getCollectionDisplayNumberOfVolumesLevel(String field); int getCollectionDisplayDepthForSearch(String field); String getCollectionHierarchyField(); boolean isAddCollectionHierarchyToBreadcrumbs(String field); String getSolrUrl(); String getContentServerWrapperUrl(); String getDownloadUrl(); String getRestApiUrl(); String getIIIFApiUrl(); boolean isUseIIIFApiUrlForCmsMediaUrls(); String getContentServerRealUrl(); String getMetsUrl(); String getMarcUrl(); String getDcUrl(); String getEseUrl(); List<Integer> getSearchHitsPerPageValues(); int getSearchHitsPerPageDefaultValue(); int getFulltextFragmentLength(); boolean isAdvancedSearchEnabled(); int getAdvancedSearchDefaultItemNumber(); List<AdvancedSearchFieldConfiguration> getAdvancedSearchFields(); boolean isAggregateHits(); boolean isDisplayAdditionalMetadataEnabled(); List<String> getDisplayAdditionalMetadataIgnoreFields(); List<String> getDisplayAdditionalMetadataTranslateFields(); boolean isAdvancedSearchFieldHierarchical(String field); boolean isAdvancedSearchFieldRange(String field); boolean isAdvancedSearchFieldUntokenizeForPhraseSearch(String field); String getAdvancedSearchFieldSeparatorLabel(String field); boolean isTimelineSearchEnabled(); boolean isCalendarSearchEnabled(); String getStaticQuerySuffix(); String getPreviousVersionIdentifierField(); String getNextVersionIdentifierField(); String getVersionLabelField(); String getIndexedMetsFolder(); String getIndexedLidoFolder(); String getIndexedDenkxwebFolder(); String getIndexedDublinCoreFolder(); String getPageSelectionFormat(); String getMediaFolder(); String getPdfFolder(); String getVocabulariesFolder(); String getOrigContentFolder(); String getCmsTextFolder(); String getAltoFolder(); String getAbbyyFolder(); String getFulltextFolder(); String getTeiFolder(); String getCmdiFolder(); String getWcFolder(); String getAnnotationFolder(); String getHotfolder(); @SuppressWarnings("static-method") String getTempFolder(); boolean isUrnDoRedirect(); boolean isUserRegistrationEnabled(); List<SecurityQuestion> getSecurityQuestions(); boolean isShowOpenIdConnect(); List<IAuthenticationProvider> getAuthenticationProviders(); String getSmtpServer(); String getSmtpUser(); String getSmtpPassword(); String getSmtpSenderAddress(); String getSmtpSenderName(); String getSmtpSecurity(); String getAnonymousUserEmailAddress(); boolean isDisplayCollectionBrowsing(); boolean isDisplayUserNavigation(); boolean isDisplayTagCloudNavigation(); boolean isDisplayStatistics(); boolean isDisplayTimeMatrix(); boolean isDisplayCrowdsourcingModuleLinks(); String getTheme(); String getThemeRootPath(); String getName(); String getDescription(); boolean isDisplayTagCloudStartpage(); boolean isDisplaySearchResultNavigation(); boolean isFoldout(String sidebarElement); boolean isSidebarPageViewLinkVisible(); boolean isSidebarCalendarViewLinkVisible(); boolean isSidebarTocViewLinkVisible(); boolean isSidebarThumbsViewLinkVisible(); boolean isSidebarMetadataViewLinkVisible(); boolean isShowSidebarEventMetadata(); boolean isShowRecordLabelIfNoOtherViews(); boolean isSidebarFulltextLinkVisible(); boolean isSidebarTocWidgetVisible(); boolean isSidebarTocWidgetVisibleInFullscreen(); boolean isSidebarOpacLinkVisible(); boolean getSidebarTocPageNumbersVisible(); int getSidebarTocLengthBeforeCut(); int getSidebarTocInitialCollapseLevel(); int getSidebarTocCollapseLengthThreshold(); int getSidebarTocLowestLevelToCollapseForLength(); boolean isSidebarTocTreeView(); boolean isTocTreeView(String docStructType); List<String> getAllDrillDownFields(); List<String> getDrillDownFields(); List<String> getHierarchicalDrillDownFields(); int getInitialDrillDownElementNumber(String field); String getSortOrder(String field); List<String> getPriorityValuesForDrillDownField(String field); String getLabelFieldForDrillDownField(String facetField); @SuppressWarnings("static-method") List<String> getRangeFacetFields(); boolean isSortingEnabled(); String getDefaultSortField(); List<String> getSortFields(); List<String> getStaticSortFields(); String getUrnResolverUrl(); int getUnconditionalImageAccessMaxWidth(); boolean isFullAccessForLocalhost(); boolean isGeneratePdfInTaskManager(); boolean isPdfApiDisabled(); boolean isTitlePdfEnabled(); boolean isTocPdfEnabled(); boolean isMetadataPdfEnabled(); boolean isPagePdfEnabled(); boolean isDocHierarchyPdfEnabled(); boolean isTitleEpubEnabled(); boolean isTocEpubEnabled(); boolean isMetadataEpubEnabled(); String getDownloadFolder(String type); int getRssFeedItems(); String getRssTitle(); String getRssDescription(); String getRssCopyrightText(); String getRulesetFilePath(); String getDefaultCollection(); int getThumbnailsWidth(); int getThumbnailsHeight(); int getThumbnailsCompression(); String getAnchorThumbnailMode(); int getMultivolumeThumbnailWidth(); int getMultivolumeThumbnailHeight(); boolean getDisplayBreadcrumbs(); boolean getDisplayMetadataPageLinkBlock(); boolean isAddDublinCoreMetaTags(); boolean isAddHighwirePressMetaTags(); int getMetadataParamNumber(); boolean useTiles(); boolean useTilesFullscreen(); boolean useTiles(PageType view, ImageType image); int getFooterHeight(); int getFullscreenFooterHeight(); int getFooterHeight(PageType view, ImageType image); String getImageViewType(); String getZoomFullscreenViewType(); String getZoomImageViewType(PageType view, ImageType image); boolean useOpenSeadragon(); List<String> getImageViewZoomScales(); List<String> getImageViewZoomScales(String view); List<String> getImageViewZoomScales(PageType view, ImageType image); Map<Integer, List<Integer>> getTileSizes(); Map<Integer, List<Integer>> getTileSizes(PageType view, ImageType image); SubnodeConfiguration getZoomImageViewConfig(PageType pageType, ImageType imageType); int getBreadcrumbsClipping(); boolean isDisplayTopstructLabel(); boolean getDisplayStructType(); int getSearchHitMetadataValueNumber(); int getSearchHitMetadataValueLength(); List<String> getWatermarkTextConfiguration(); String getWatermarkFormat(); boolean isOriginalContentDownload(); String getStopwordsFilePath(); String getPageType(PageType type); String getDocstructTargetPageType(String docstruct); String getPageTypeExitView(PageType type); int getFulltextPercentageWarningThreshold(); boolean isUseViewerLocaleAsRecordLanguage(); String getFeedbackEmailAddress(); boolean isBookmarksEnabled(); boolean isForceJpegConversion(); int getPageLoaderThreshold(); boolean isPreventProxyCaching(); boolean isSolrCompressionEnabled(); boolean isSolrBackwardsCompatible(); boolean isUserCommentsEnabled(); String getUserCommentsConditionalQuery(); List<String> getUserCommentsNotificationEmailAddresses(); String getViewerHome(); List<String> getWatermarkIdField(); String getSubthemeMainTheme(); String getSubthemeDiscriminatorField(); int getTagCloudSampleSize(String fieldName); List<StringPair> getTocVolumeSortFieldsForTemplate(String template); String getTocVolumeGroupFieldForTemplate(String template); boolean getDisplayTitleBreadcrumbs(); boolean isDisplayTitlePURL(); int getTitleBreadcrumbsMaxTitleLength(); boolean getIncludeAnchorInTitleBreadcrumbs(); boolean isDisplaySearchRssLinks(); boolean showThumbnailsInToc(); String getStartYearForTimeline(); String getEndYearForTimeline(); String getTimelineHits(); boolean isPiwikTrackingEnabled(); String getPiwikBaseURL(); String getPiwikSiteID(); boolean isSearchSavingEnabled(); boolean isBoostTopLevelDocstructs(); boolean isGroupDuplicateHits(); List<String> getRecordGroupIdentifierFields(); List<String> getAncestorIdentifierFields(); boolean isTocListSiblingRecords(); List<SearchFilter> getSearchFilters(); List<Map<String, String>> getWebApiFields(); String getDbPersistenceUnit(); boolean useCustomNavBar(); String getCmsTemplateFolder(); String getCmsMediaFolder(); String getTempMediaFolder(); List<String> getCmsClassifications(); int getCmsMediaDisplayWidth(); int getCmsMediaDisplayHeight(); boolean isTranskribusEnabled(); String getTranskribusUserName(); String getTranskribusPassword(); String getTranskribusDefaultCollection(); String getTranskribusRestApiUrl(); List<String> getTranskribusAllowedDocumentTypes(); int getTocIndentation(); boolean isPageBrowseEnabled(); List<Integer> getPageBrowseSteps(); String getTaskManagerServiceUrl(); String getTaskManagerRestUrl(); String getReCaptchaSiteKey(); boolean isUseReCaptcha(); boolean isSearchInItemEnabled(); String getDefaultBrowseIcon(String field); boolean isSearchExcelExportEnabled(); List<String> getSearchExcelExportFields(); int getExcelDownloadTimeout(); boolean isDisplayEmptyTocInSidebar(); boolean isDoublePageModeEnabled(); List<String> getRestrictedImageUrls(); List<String> getIIIFLicenses(); List<String> getIIIFMetadataFields(); List<String> getIIIFEventFields(); String getIIIFMetadataLabel(String field); int getIIIFDiscoveryAvtivitiesPerPage(); List<String> getIIIFLogo(); String getIIIFNavDateField(); List<String> getIIIFAttribution(); List<String> getIIIFDescriptionFields(); String getSitelinksField(); String getSitelinksFilterQuery(); List<String> getConfiguredCollections(); String getWebApiToken(); boolean isAllowRedirectCollectionToWork(); String getTwitterUserName(); float getLimitImageHeightUpperRatioThreshold(); float getLimitImageHeightLowerRatioThreshold(); boolean isLimitImageHeight(); boolean isAddCORSHeader(); String getCORSHeaderValue(); boolean isDiscloseImageContentLocation(); String getAccessConditionDisplayField(); String getCopyrightDisplayField(); boolean isDisplayCopyrightInfo(); boolean isDisplaySocialMediaShareLinks(); boolean isDisplayAnchorLabelInTitleBar(String template); String getAnchorLabelInTitleBarPrefix(String template); String getAnchorLabelInTitleBarSuffix(String template); String getMapBoxToken(); GeoMapMarker getGeoMapMarker(String name); List<String> getGeoMapMarkerFields(); List<GeoMapMarker> getGeoMapMarkers(); static GeoMapMarker readGeoMapMarker(HierarchicalConfiguration config); List<LicenseDescription> getLicenseDescriptions(); }
Configuration extends AbstractConfiguration { protected static Set<String> loadStopwords(String stopwordsFilePath) throws FileNotFoundException, IOException { if (StringUtils.isEmpty(stopwordsFilePath)) { throw new IllegalArgumentException("stopwordsFilePath may not be null or empty"); } if (StringUtils.isEmpty(stopwordsFilePath)) { logger.warn("'stopwordsFile' not configured. Stop words cannot be filtered from search queries."); return Collections.emptySet(); } Set<String> ret = new HashSet<>(); try (FileReader fr = new FileReader(stopwordsFilePath); BufferedReader br = new BufferedReader(fr)) { String line; while ((line = br.readLine()) != null) { line = line.trim(); if (StringUtils.isNotBlank(line)) { if (line.charAt(0) != '#') { int pipeIndex = line.indexOf('|'); if (pipeIndex != -1) { line = line.substring(0, pipeIndex).trim(); } if (!line.isEmpty() && Character.getNumericValue(line.charAt(0)) != -1) { ret.add(line); } } } } } return ret; } Configuration(String configFilePath); Set<String> getStopwords(); boolean reloadingRequired(); String getConfigLocalPath(); String getLocalRessourceBundleFile(); int getViewerThumbnailsPerPage(); int getViewerMaxImageWidth(); int getViewerMaxImageHeight(); int getViewerMaxImageScale(); boolean isRememberImageZoom(); boolean isRememberImageRotation(); String getDfgViewerUrl(); String getConnectorVersionUrl(); List<Metadata> getTitleBarMetadata(); List<Metadata> getSearchHitMetadataForTemplate(String template); List<Metadata> getMainMetadataForTemplate(String template); List<Metadata> getSidebarMetadataForTemplate(String template); List<String> getNormdataFieldsForTemplate(String template); List<Metadata> getTocLabelConfiguration(String template); int getTocAnchorGroupElementsPerPage(); boolean isDisplaySidebarBrowsingTerms(); boolean isDisplaySidebarRssFeed(); boolean isDisplayWidgetUsage(); Metadata getWidgetUsageLicenceTextMetadata(); boolean isDisplaySidebarUsageWidgetLinkToJpegImage(); boolean isDisplaySidebarUsageWidgetLinkToMasterImage(); String getWidgetUsageMaxJpegSize(); String getWidgetUsageMaxMasterImageSize(); List<String> getCalendarDocStructTypes(); boolean isBrowsingMenuEnabled(); int getBrowsingMenuHitsPerPage(); List<BrowsingMenuFieldConfig> getBrowsingMenuFields(); String getBrowsingMenuSortingIgnoreLeadingChars(); String getDocstrctWhitelistFilterQuery(); String getCollectionSplittingChar(String field); List<DcSortingList> getCollectionSorting(String field); List<String> getCollectionBlacklist(String field); String getCollectionDefaultSortField(String field, String name); int getCollectionDisplayNumberOfVolumesLevel(String field); int getCollectionDisplayDepthForSearch(String field); String getCollectionHierarchyField(); boolean isAddCollectionHierarchyToBreadcrumbs(String field); String getSolrUrl(); String getContentServerWrapperUrl(); String getDownloadUrl(); String getRestApiUrl(); String getIIIFApiUrl(); boolean isUseIIIFApiUrlForCmsMediaUrls(); String getContentServerRealUrl(); String getMetsUrl(); String getMarcUrl(); String getDcUrl(); String getEseUrl(); List<Integer> getSearchHitsPerPageValues(); int getSearchHitsPerPageDefaultValue(); int getFulltextFragmentLength(); boolean isAdvancedSearchEnabled(); int getAdvancedSearchDefaultItemNumber(); List<AdvancedSearchFieldConfiguration> getAdvancedSearchFields(); boolean isAggregateHits(); boolean isDisplayAdditionalMetadataEnabled(); List<String> getDisplayAdditionalMetadataIgnoreFields(); List<String> getDisplayAdditionalMetadataTranslateFields(); boolean isAdvancedSearchFieldHierarchical(String field); boolean isAdvancedSearchFieldRange(String field); boolean isAdvancedSearchFieldUntokenizeForPhraseSearch(String field); String getAdvancedSearchFieldSeparatorLabel(String field); boolean isTimelineSearchEnabled(); boolean isCalendarSearchEnabled(); String getStaticQuerySuffix(); String getPreviousVersionIdentifierField(); String getNextVersionIdentifierField(); String getVersionLabelField(); String getIndexedMetsFolder(); String getIndexedLidoFolder(); String getIndexedDenkxwebFolder(); String getIndexedDublinCoreFolder(); String getPageSelectionFormat(); String getMediaFolder(); String getPdfFolder(); String getVocabulariesFolder(); String getOrigContentFolder(); String getCmsTextFolder(); String getAltoFolder(); String getAbbyyFolder(); String getFulltextFolder(); String getTeiFolder(); String getCmdiFolder(); String getWcFolder(); String getAnnotationFolder(); String getHotfolder(); @SuppressWarnings("static-method") String getTempFolder(); boolean isUrnDoRedirect(); boolean isUserRegistrationEnabled(); List<SecurityQuestion> getSecurityQuestions(); boolean isShowOpenIdConnect(); List<IAuthenticationProvider> getAuthenticationProviders(); String getSmtpServer(); String getSmtpUser(); String getSmtpPassword(); String getSmtpSenderAddress(); String getSmtpSenderName(); String getSmtpSecurity(); String getAnonymousUserEmailAddress(); boolean isDisplayCollectionBrowsing(); boolean isDisplayUserNavigation(); boolean isDisplayTagCloudNavigation(); boolean isDisplayStatistics(); boolean isDisplayTimeMatrix(); boolean isDisplayCrowdsourcingModuleLinks(); String getTheme(); String getThemeRootPath(); String getName(); String getDescription(); boolean isDisplayTagCloudStartpage(); boolean isDisplaySearchResultNavigation(); boolean isFoldout(String sidebarElement); boolean isSidebarPageViewLinkVisible(); boolean isSidebarCalendarViewLinkVisible(); boolean isSidebarTocViewLinkVisible(); boolean isSidebarThumbsViewLinkVisible(); boolean isSidebarMetadataViewLinkVisible(); boolean isShowSidebarEventMetadata(); boolean isShowRecordLabelIfNoOtherViews(); boolean isSidebarFulltextLinkVisible(); boolean isSidebarTocWidgetVisible(); boolean isSidebarTocWidgetVisibleInFullscreen(); boolean isSidebarOpacLinkVisible(); boolean getSidebarTocPageNumbersVisible(); int getSidebarTocLengthBeforeCut(); int getSidebarTocInitialCollapseLevel(); int getSidebarTocCollapseLengthThreshold(); int getSidebarTocLowestLevelToCollapseForLength(); boolean isSidebarTocTreeView(); boolean isTocTreeView(String docStructType); List<String> getAllDrillDownFields(); List<String> getDrillDownFields(); List<String> getHierarchicalDrillDownFields(); int getInitialDrillDownElementNumber(String field); String getSortOrder(String field); List<String> getPriorityValuesForDrillDownField(String field); String getLabelFieldForDrillDownField(String facetField); @SuppressWarnings("static-method") List<String> getRangeFacetFields(); boolean isSortingEnabled(); String getDefaultSortField(); List<String> getSortFields(); List<String> getStaticSortFields(); String getUrnResolverUrl(); int getUnconditionalImageAccessMaxWidth(); boolean isFullAccessForLocalhost(); boolean isGeneratePdfInTaskManager(); boolean isPdfApiDisabled(); boolean isTitlePdfEnabled(); boolean isTocPdfEnabled(); boolean isMetadataPdfEnabled(); boolean isPagePdfEnabled(); boolean isDocHierarchyPdfEnabled(); boolean isTitleEpubEnabled(); boolean isTocEpubEnabled(); boolean isMetadataEpubEnabled(); String getDownloadFolder(String type); int getRssFeedItems(); String getRssTitle(); String getRssDescription(); String getRssCopyrightText(); String getRulesetFilePath(); String getDefaultCollection(); int getThumbnailsWidth(); int getThumbnailsHeight(); int getThumbnailsCompression(); String getAnchorThumbnailMode(); int getMultivolumeThumbnailWidth(); int getMultivolumeThumbnailHeight(); boolean getDisplayBreadcrumbs(); boolean getDisplayMetadataPageLinkBlock(); boolean isAddDublinCoreMetaTags(); boolean isAddHighwirePressMetaTags(); int getMetadataParamNumber(); boolean useTiles(); boolean useTilesFullscreen(); boolean useTiles(PageType view, ImageType image); int getFooterHeight(); int getFullscreenFooterHeight(); int getFooterHeight(PageType view, ImageType image); String getImageViewType(); String getZoomFullscreenViewType(); String getZoomImageViewType(PageType view, ImageType image); boolean useOpenSeadragon(); List<String> getImageViewZoomScales(); List<String> getImageViewZoomScales(String view); List<String> getImageViewZoomScales(PageType view, ImageType image); Map<Integer, List<Integer>> getTileSizes(); Map<Integer, List<Integer>> getTileSizes(PageType view, ImageType image); SubnodeConfiguration getZoomImageViewConfig(PageType pageType, ImageType imageType); int getBreadcrumbsClipping(); boolean isDisplayTopstructLabel(); boolean getDisplayStructType(); int getSearchHitMetadataValueNumber(); int getSearchHitMetadataValueLength(); List<String> getWatermarkTextConfiguration(); String getWatermarkFormat(); boolean isOriginalContentDownload(); String getStopwordsFilePath(); String getPageType(PageType type); String getDocstructTargetPageType(String docstruct); String getPageTypeExitView(PageType type); int getFulltextPercentageWarningThreshold(); boolean isUseViewerLocaleAsRecordLanguage(); String getFeedbackEmailAddress(); boolean isBookmarksEnabled(); boolean isForceJpegConversion(); int getPageLoaderThreshold(); boolean isPreventProxyCaching(); boolean isSolrCompressionEnabled(); boolean isSolrBackwardsCompatible(); boolean isUserCommentsEnabled(); String getUserCommentsConditionalQuery(); List<String> getUserCommentsNotificationEmailAddresses(); String getViewerHome(); List<String> getWatermarkIdField(); String getSubthemeMainTheme(); String getSubthemeDiscriminatorField(); int getTagCloudSampleSize(String fieldName); List<StringPair> getTocVolumeSortFieldsForTemplate(String template); String getTocVolumeGroupFieldForTemplate(String template); boolean getDisplayTitleBreadcrumbs(); boolean isDisplayTitlePURL(); int getTitleBreadcrumbsMaxTitleLength(); boolean getIncludeAnchorInTitleBreadcrumbs(); boolean isDisplaySearchRssLinks(); boolean showThumbnailsInToc(); String getStartYearForTimeline(); String getEndYearForTimeline(); String getTimelineHits(); boolean isPiwikTrackingEnabled(); String getPiwikBaseURL(); String getPiwikSiteID(); boolean isSearchSavingEnabled(); boolean isBoostTopLevelDocstructs(); boolean isGroupDuplicateHits(); List<String> getRecordGroupIdentifierFields(); List<String> getAncestorIdentifierFields(); boolean isTocListSiblingRecords(); List<SearchFilter> getSearchFilters(); List<Map<String, String>> getWebApiFields(); String getDbPersistenceUnit(); boolean useCustomNavBar(); String getCmsTemplateFolder(); String getCmsMediaFolder(); String getTempMediaFolder(); List<String> getCmsClassifications(); int getCmsMediaDisplayWidth(); int getCmsMediaDisplayHeight(); boolean isTranskribusEnabled(); String getTranskribusUserName(); String getTranskribusPassword(); String getTranskribusDefaultCollection(); String getTranskribusRestApiUrl(); List<String> getTranskribusAllowedDocumentTypes(); int getTocIndentation(); boolean isPageBrowseEnabled(); List<Integer> getPageBrowseSteps(); String getTaskManagerServiceUrl(); String getTaskManagerRestUrl(); String getReCaptchaSiteKey(); boolean isUseReCaptcha(); boolean isSearchInItemEnabled(); String getDefaultBrowseIcon(String field); boolean isSearchExcelExportEnabled(); List<String> getSearchExcelExportFields(); int getExcelDownloadTimeout(); boolean isDisplayEmptyTocInSidebar(); boolean isDoublePageModeEnabled(); List<String> getRestrictedImageUrls(); List<String> getIIIFLicenses(); List<String> getIIIFMetadataFields(); List<String> getIIIFEventFields(); String getIIIFMetadataLabel(String field); int getIIIFDiscoveryAvtivitiesPerPage(); List<String> getIIIFLogo(); String getIIIFNavDateField(); List<String> getIIIFAttribution(); List<String> getIIIFDescriptionFields(); String getSitelinksField(); String getSitelinksFilterQuery(); List<String> getConfiguredCollections(); String getWebApiToken(); boolean isAllowRedirectCollectionToWork(); String getTwitterUserName(); float getLimitImageHeightUpperRatioThreshold(); float getLimitImageHeightLowerRatioThreshold(); boolean isLimitImageHeight(); boolean isAddCORSHeader(); String getCORSHeaderValue(); boolean isDiscloseImageContentLocation(); String getAccessConditionDisplayField(); String getCopyrightDisplayField(); boolean isDisplayCopyrightInfo(); boolean isDisplaySocialMediaShareLinks(); boolean isDisplayAnchorLabelInTitleBar(String template); String getAnchorLabelInTitleBarPrefix(String template); String getAnchorLabelInTitleBarSuffix(String template); String getMapBoxToken(); GeoMapMarker getGeoMapMarker(String name); List<String> getGeoMapMarkerFields(); List<GeoMapMarker> getGeoMapMarkers(); static GeoMapMarker readGeoMapMarker(HierarchicalConfiguration config); List<LicenseDescription> getLicenseDescriptions(); }
@Test public void loadStopwords_shouldRemovePartsStartingWithPipe() throws Exception { Set<String> stopwords = Configuration.loadStopwords("src/test/resources/stopwords.txt"); Assert.assertNotNull(stopwords); Assert.assertTrue(stopwords.contains("one")); }
protected static Set<String> loadStopwords(String stopwordsFilePath) throws FileNotFoundException, IOException { if (StringUtils.isEmpty(stopwordsFilePath)) { throw new IllegalArgumentException("stopwordsFilePath may not be null or empty"); } if (StringUtils.isEmpty(stopwordsFilePath)) { logger.warn("'stopwordsFile' not configured. Stop words cannot be filtered from search queries."); return Collections.emptySet(); } Set<String> ret = new HashSet<>(); try (FileReader fr = new FileReader(stopwordsFilePath); BufferedReader br = new BufferedReader(fr)) { String line; while ((line = br.readLine()) != null) { line = line.trim(); if (StringUtils.isNotBlank(line)) { if (line.charAt(0) != '#') { int pipeIndex = line.indexOf('|'); if (pipeIndex != -1) { line = line.substring(0, pipeIndex).trim(); } if (!line.isEmpty() && Character.getNumericValue(line.charAt(0)) != -1) { ret.add(line); } } } } } return ret; }
Configuration extends AbstractConfiguration { protected static Set<String> loadStopwords(String stopwordsFilePath) throws FileNotFoundException, IOException { if (StringUtils.isEmpty(stopwordsFilePath)) { throw new IllegalArgumentException("stopwordsFilePath may not be null or empty"); } if (StringUtils.isEmpty(stopwordsFilePath)) { logger.warn("'stopwordsFile' not configured. Stop words cannot be filtered from search queries."); return Collections.emptySet(); } Set<String> ret = new HashSet<>(); try (FileReader fr = new FileReader(stopwordsFilePath); BufferedReader br = new BufferedReader(fr)) { String line; while ((line = br.readLine()) != null) { line = line.trim(); if (StringUtils.isNotBlank(line)) { if (line.charAt(0) != '#') { int pipeIndex = line.indexOf('|'); if (pipeIndex != -1) { line = line.substring(0, pipeIndex).trim(); } if (!line.isEmpty() && Character.getNumericValue(line.charAt(0)) != -1) { ret.add(line); } } } } } return ret; } }
Configuration extends AbstractConfiguration { protected static Set<String> loadStopwords(String stopwordsFilePath) throws FileNotFoundException, IOException { if (StringUtils.isEmpty(stopwordsFilePath)) { throw new IllegalArgumentException("stopwordsFilePath may not be null or empty"); } if (StringUtils.isEmpty(stopwordsFilePath)) { logger.warn("'stopwordsFile' not configured. Stop words cannot be filtered from search queries."); return Collections.emptySet(); } Set<String> ret = new HashSet<>(); try (FileReader fr = new FileReader(stopwordsFilePath); BufferedReader br = new BufferedReader(fr)) { String line; while ((line = br.readLine()) != null) { line = line.trim(); if (StringUtils.isNotBlank(line)) { if (line.charAt(0) != '#') { int pipeIndex = line.indexOf('|'); if (pipeIndex != -1) { line = line.substring(0, pipeIndex).trim(); } if (!line.isEmpty() && Character.getNumericValue(line.charAt(0)) != -1) { ret.add(line); } } } } } return ret; } Configuration(String configFilePath); }
Configuration extends AbstractConfiguration { protected static Set<String> loadStopwords(String stopwordsFilePath) throws FileNotFoundException, IOException { if (StringUtils.isEmpty(stopwordsFilePath)) { throw new IllegalArgumentException("stopwordsFilePath may not be null or empty"); } if (StringUtils.isEmpty(stopwordsFilePath)) { logger.warn("'stopwordsFile' not configured. Stop words cannot be filtered from search queries."); return Collections.emptySet(); } Set<String> ret = new HashSet<>(); try (FileReader fr = new FileReader(stopwordsFilePath); BufferedReader br = new BufferedReader(fr)) { String line; while ((line = br.readLine()) != null) { line = line.trim(); if (StringUtils.isNotBlank(line)) { if (line.charAt(0) != '#') { int pipeIndex = line.indexOf('|'); if (pipeIndex != -1) { line = line.substring(0, pipeIndex).trim(); } if (!line.isEmpty() && Character.getNumericValue(line.charAt(0)) != -1) { ret.add(line); } } } } } return ret; } Configuration(String configFilePath); Set<String> getStopwords(); boolean reloadingRequired(); String getConfigLocalPath(); String getLocalRessourceBundleFile(); int getViewerThumbnailsPerPage(); int getViewerMaxImageWidth(); int getViewerMaxImageHeight(); int getViewerMaxImageScale(); boolean isRememberImageZoom(); boolean isRememberImageRotation(); String getDfgViewerUrl(); String getConnectorVersionUrl(); List<Metadata> getTitleBarMetadata(); List<Metadata> getSearchHitMetadataForTemplate(String template); List<Metadata> getMainMetadataForTemplate(String template); List<Metadata> getSidebarMetadataForTemplate(String template); List<String> getNormdataFieldsForTemplate(String template); List<Metadata> getTocLabelConfiguration(String template); int getTocAnchorGroupElementsPerPage(); boolean isDisplaySidebarBrowsingTerms(); boolean isDisplaySidebarRssFeed(); boolean isDisplayWidgetUsage(); Metadata getWidgetUsageLicenceTextMetadata(); boolean isDisplaySidebarUsageWidgetLinkToJpegImage(); boolean isDisplaySidebarUsageWidgetLinkToMasterImage(); String getWidgetUsageMaxJpegSize(); String getWidgetUsageMaxMasterImageSize(); List<String> getCalendarDocStructTypes(); boolean isBrowsingMenuEnabled(); int getBrowsingMenuHitsPerPage(); List<BrowsingMenuFieldConfig> getBrowsingMenuFields(); String getBrowsingMenuSortingIgnoreLeadingChars(); String getDocstrctWhitelistFilterQuery(); String getCollectionSplittingChar(String field); List<DcSortingList> getCollectionSorting(String field); List<String> getCollectionBlacklist(String field); String getCollectionDefaultSortField(String field, String name); int getCollectionDisplayNumberOfVolumesLevel(String field); int getCollectionDisplayDepthForSearch(String field); String getCollectionHierarchyField(); boolean isAddCollectionHierarchyToBreadcrumbs(String field); String getSolrUrl(); String getContentServerWrapperUrl(); String getDownloadUrl(); String getRestApiUrl(); String getIIIFApiUrl(); boolean isUseIIIFApiUrlForCmsMediaUrls(); String getContentServerRealUrl(); String getMetsUrl(); String getMarcUrl(); String getDcUrl(); String getEseUrl(); List<Integer> getSearchHitsPerPageValues(); int getSearchHitsPerPageDefaultValue(); int getFulltextFragmentLength(); boolean isAdvancedSearchEnabled(); int getAdvancedSearchDefaultItemNumber(); List<AdvancedSearchFieldConfiguration> getAdvancedSearchFields(); boolean isAggregateHits(); boolean isDisplayAdditionalMetadataEnabled(); List<String> getDisplayAdditionalMetadataIgnoreFields(); List<String> getDisplayAdditionalMetadataTranslateFields(); boolean isAdvancedSearchFieldHierarchical(String field); boolean isAdvancedSearchFieldRange(String field); boolean isAdvancedSearchFieldUntokenizeForPhraseSearch(String field); String getAdvancedSearchFieldSeparatorLabel(String field); boolean isTimelineSearchEnabled(); boolean isCalendarSearchEnabled(); String getStaticQuerySuffix(); String getPreviousVersionIdentifierField(); String getNextVersionIdentifierField(); String getVersionLabelField(); String getIndexedMetsFolder(); String getIndexedLidoFolder(); String getIndexedDenkxwebFolder(); String getIndexedDublinCoreFolder(); String getPageSelectionFormat(); String getMediaFolder(); String getPdfFolder(); String getVocabulariesFolder(); String getOrigContentFolder(); String getCmsTextFolder(); String getAltoFolder(); String getAbbyyFolder(); String getFulltextFolder(); String getTeiFolder(); String getCmdiFolder(); String getWcFolder(); String getAnnotationFolder(); String getHotfolder(); @SuppressWarnings("static-method") String getTempFolder(); boolean isUrnDoRedirect(); boolean isUserRegistrationEnabled(); List<SecurityQuestion> getSecurityQuestions(); boolean isShowOpenIdConnect(); List<IAuthenticationProvider> getAuthenticationProviders(); String getSmtpServer(); String getSmtpUser(); String getSmtpPassword(); String getSmtpSenderAddress(); String getSmtpSenderName(); String getSmtpSecurity(); String getAnonymousUserEmailAddress(); boolean isDisplayCollectionBrowsing(); boolean isDisplayUserNavigation(); boolean isDisplayTagCloudNavigation(); boolean isDisplayStatistics(); boolean isDisplayTimeMatrix(); boolean isDisplayCrowdsourcingModuleLinks(); String getTheme(); String getThemeRootPath(); String getName(); String getDescription(); boolean isDisplayTagCloudStartpage(); boolean isDisplaySearchResultNavigation(); boolean isFoldout(String sidebarElement); boolean isSidebarPageViewLinkVisible(); boolean isSidebarCalendarViewLinkVisible(); boolean isSidebarTocViewLinkVisible(); boolean isSidebarThumbsViewLinkVisible(); boolean isSidebarMetadataViewLinkVisible(); boolean isShowSidebarEventMetadata(); boolean isShowRecordLabelIfNoOtherViews(); boolean isSidebarFulltextLinkVisible(); boolean isSidebarTocWidgetVisible(); boolean isSidebarTocWidgetVisibleInFullscreen(); boolean isSidebarOpacLinkVisible(); boolean getSidebarTocPageNumbersVisible(); int getSidebarTocLengthBeforeCut(); int getSidebarTocInitialCollapseLevel(); int getSidebarTocCollapseLengthThreshold(); int getSidebarTocLowestLevelToCollapseForLength(); boolean isSidebarTocTreeView(); boolean isTocTreeView(String docStructType); List<String> getAllDrillDownFields(); List<String> getDrillDownFields(); List<String> getHierarchicalDrillDownFields(); int getInitialDrillDownElementNumber(String field); String getSortOrder(String field); List<String> getPriorityValuesForDrillDownField(String field); String getLabelFieldForDrillDownField(String facetField); @SuppressWarnings("static-method") List<String> getRangeFacetFields(); boolean isSortingEnabled(); String getDefaultSortField(); List<String> getSortFields(); List<String> getStaticSortFields(); String getUrnResolverUrl(); int getUnconditionalImageAccessMaxWidth(); boolean isFullAccessForLocalhost(); boolean isGeneratePdfInTaskManager(); boolean isPdfApiDisabled(); boolean isTitlePdfEnabled(); boolean isTocPdfEnabled(); boolean isMetadataPdfEnabled(); boolean isPagePdfEnabled(); boolean isDocHierarchyPdfEnabled(); boolean isTitleEpubEnabled(); boolean isTocEpubEnabled(); boolean isMetadataEpubEnabled(); String getDownloadFolder(String type); int getRssFeedItems(); String getRssTitle(); String getRssDescription(); String getRssCopyrightText(); String getRulesetFilePath(); String getDefaultCollection(); int getThumbnailsWidth(); int getThumbnailsHeight(); int getThumbnailsCompression(); String getAnchorThumbnailMode(); int getMultivolumeThumbnailWidth(); int getMultivolumeThumbnailHeight(); boolean getDisplayBreadcrumbs(); boolean getDisplayMetadataPageLinkBlock(); boolean isAddDublinCoreMetaTags(); boolean isAddHighwirePressMetaTags(); int getMetadataParamNumber(); boolean useTiles(); boolean useTilesFullscreen(); boolean useTiles(PageType view, ImageType image); int getFooterHeight(); int getFullscreenFooterHeight(); int getFooterHeight(PageType view, ImageType image); String getImageViewType(); String getZoomFullscreenViewType(); String getZoomImageViewType(PageType view, ImageType image); boolean useOpenSeadragon(); List<String> getImageViewZoomScales(); List<String> getImageViewZoomScales(String view); List<String> getImageViewZoomScales(PageType view, ImageType image); Map<Integer, List<Integer>> getTileSizes(); Map<Integer, List<Integer>> getTileSizes(PageType view, ImageType image); SubnodeConfiguration getZoomImageViewConfig(PageType pageType, ImageType imageType); int getBreadcrumbsClipping(); boolean isDisplayTopstructLabel(); boolean getDisplayStructType(); int getSearchHitMetadataValueNumber(); int getSearchHitMetadataValueLength(); List<String> getWatermarkTextConfiguration(); String getWatermarkFormat(); boolean isOriginalContentDownload(); String getStopwordsFilePath(); String getPageType(PageType type); String getDocstructTargetPageType(String docstruct); String getPageTypeExitView(PageType type); int getFulltextPercentageWarningThreshold(); boolean isUseViewerLocaleAsRecordLanguage(); String getFeedbackEmailAddress(); boolean isBookmarksEnabled(); boolean isForceJpegConversion(); int getPageLoaderThreshold(); boolean isPreventProxyCaching(); boolean isSolrCompressionEnabled(); boolean isSolrBackwardsCompatible(); boolean isUserCommentsEnabled(); String getUserCommentsConditionalQuery(); List<String> getUserCommentsNotificationEmailAddresses(); String getViewerHome(); List<String> getWatermarkIdField(); String getSubthemeMainTheme(); String getSubthemeDiscriminatorField(); int getTagCloudSampleSize(String fieldName); List<StringPair> getTocVolumeSortFieldsForTemplate(String template); String getTocVolumeGroupFieldForTemplate(String template); boolean getDisplayTitleBreadcrumbs(); boolean isDisplayTitlePURL(); int getTitleBreadcrumbsMaxTitleLength(); boolean getIncludeAnchorInTitleBreadcrumbs(); boolean isDisplaySearchRssLinks(); boolean showThumbnailsInToc(); String getStartYearForTimeline(); String getEndYearForTimeline(); String getTimelineHits(); boolean isPiwikTrackingEnabled(); String getPiwikBaseURL(); String getPiwikSiteID(); boolean isSearchSavingEnabled(); boolean isBoostTopLevelDocstructs(); boolean isGroupDuplicateHits(); List<String> getRecordGroupIdentifierFields(); List<String> getAncestorIdentifierFields(); boolean isTocListSiblingRecords(); List<SearchFilter> getSearchFilters(); List<Map<String, String>> getWebApiFields(); String getDbPersistenceUnit(); boolean useCustomNavBar(); String getCmsTemplateFolder(); String getCmsMediaFolder(); String getTempMediaFolder(); List<String> getCmsClassifications(); int getCmsMediaDisplayWidth(); int getCmsMediaDisplayHeight(); boolean isTranskribusEnabled(); String getTranskribusUserName(); String getTranskribusPassword(); String getTranskribusDefaultCollection(); String getTranskribusRestApiUrl(); List<String> getTranskribusAllowedDocumentTypes(); int getTocIndentation(); boolean isPageBrowseEnabled(); List<Integer> getPageBrowseSteps(); String getTaskManagerServiceUrl(); String getTaskManagerRestUrl(); String getReCaptchaSiteKey(); boolean isUseReCaptcha(); boolean isSearchInItemEnabled(); String getDefaultBrowseIcon(String field); boolean isSearchExcelExportEnabled(); List<String> getSearchExcelExportFields(); int getExcelDownloadTimeout(); boolean isDisplayEmptyTocInSidebar(); boolean isDoublePageModeEnabled(); List<String> getRestrictedImageUrls(); List<String> getIIIFLicenses(); List<String> getIIIFMetadataFields(); List<String> getIIIFEventFields(); String getIIIFMetadataLabel(String field); int getIIIFDiscoveryAvtivitiesPerPage(); List<String> getIIIFLogo(); String getIIIFNavDateField(); List<String> getIIIFAttribution(); List<String> getIIIFDescriptionFields(); String getSitelinksField(); String getSitelinksFilterQuery(); List<String> getConfiguredCollections(); String getWebApiToken(); boolean isAllowRedirectCollectionToWork(); String getTwitterUserName(); float getLimitImageHeightUpperRatioThreshold(); float getLimitImageHeightLowerRatioThreshold(); boolean isLimitImageHeight(); boolean isAddCORSHeader(); String getCORSHeaderValue(); boolean isDiscloseImageContentLocation(); String getAccessConditionDisplayField(); String getCopyrightDisplayField(); boolean isDisplayCopyrightInfo(); boolean isDisplaySocialMediaShareLinks(); boolean isDisplayAnchorLabelInTitleBar(String template); String getAnchorLabelInTitleBarPrefix(String template); String getAnchorLabelInTitleBarSuffix(String template); String getMapBoxToken(); GeoMapMarker getGeoMapMarker(String name); List<String> getGeoMapMarkerFields(); List<GeoMapMarker> getGeoMapMarkers(); static GeoMapMarker readGeoMapMarker(HierarchicalConfiguration config); List<LicenseDescription> getLicenseDescriptions(); }
Configuration extends AbstractConfiguration { protected static Set<String> loadStopwords(String stopwordsFilePath) throws FileNotFoundException, IOException { if (StringUtils.isEmpty(stopwordsFilePath)) { throw new IllegalArgumentException("stopwordsFilePath may not be null or empty"); } if (StringUtils.isEmpty(stopwordsFilePath)) { logger.warn("'stopwordsFile' not configured. Stop words cannot be filtered from search queries."); return Collections.emptySet(); } Set<String> ret = new HashSet<>(); try (FileReader fr = new FileReader(stopwordsFilePath); BufferedReader br = new BufferedReader(fr)) { String line; while ((line = br.readLine()) != null) { line = line.trim(); if (StringUtils.isNotBlank(line)) { if (line.charAt(0) != '#') { int pipeIndex = line.indexOf('|'); if (pipeIndex != -1) { line = line.substring(0, pipeIndex).trim(); } if (!line.isEmpty() && Character.getNumericValue(line.charAt(0)) != -1) { ret.add(line); } } } } } return ret; } Configuration(String configFilePath); Set<String> getStopwords(); boolean reloadingRequired(); String getConfigLocalPath(); String getLocalRessourceBundleFile(); int getViewerThumbnailsPerPage(); int getViewerMaxImageWidth(); int getViewerMaxImageHeight(); int getViewerMaxImageScale(); boolean isRememberImageZoom(); boolean isRememberImageRotation(); String getDfgViewerUrl(); String getConnectorVersionUrl(); List<Metadata> getTitleBarMetadata(); List<Metadata> getSearchHitMetadataForTemplate(String template); List<Metadata> getMainMetadataForTemplate(String template); List<Metadata> getSidebarMetadataForTemplate(String template); List<String> getNormdataFieldsForTemplate(String template); List<Metadata> getTocLabelConfiguration(String template); int getTocAnchorGroupElementsPerPage(); boolean isDisplaySidebarBrowsingTerms(); boolean isDisplaySidebarRssFeed(); boolean isDisplayWidgetUsage(); Metadata getWidgetUsageLicenceTextMetadata(); boolean isDisplaySidebarUsageWidgetLinkToJpegImage(); boolean isDisplaySidebarUsageWidgetLinkToMasterImage(); String getWidgetUsageMaxJpegSize(); String getWidgetUsageMaxMasterImageSize(); List<String> getCalendarDocStructTypes(); boolean isBrowsingMenuEnabled(); int getBrowsingMenuHitsPerPage(); List<BrowsingMenuFieldConfig> getBrowsingMenuFields(); String getBrowsingMenuSortingIgnoreLeadingChars(); String getDocstrctWhitelistFilterQuery(); String getCollectionSplittingChar(String field); List<DcSortingList> getCollectionSorting(String field); List<String> getCollectionBlacklist(String field); String getCollectionDefaultSortField(String field, String name); int getCollectionDisplayNumberOfVolumesLevel(String field); int getCollectionDisplayDepthForSearch(String field); String getCollectionHierarchyField(); boolean isAddCollectionHierarchyToBreadcrumbs(String field); String getSolrUrl(); String getContentServerWrapperUrl(); String getDownloadUrl(); String getRestApiUrl(); String getIIIFApiUrl(); boolean isUseIIIFApiUrlForCmsMediaUrls(); String getContentServerRealUrl(); String getMetsUrl(); String getMarcUrl(); String getDcUrl(); String getEseUrl(); List<Integer> getSearchHitsPerPageValues(); int getSearchHitsPerPageDefaultValue(); int getFulltextFragmentLength(); boolean isAdvancedSearchEnabled(); int getAdvancedSearchDefaultItemNumber(); List<AdvancedSearchFieldConfiguration> getAdvancedSearchFields(); boolean isAggregateHits(); boolean isDisplayAdditionalMetadataEnabled(); List<String> getDisplayAdditionalMetadataIgnoreFields(); List<String> getDisplayAdditionalMetadataTranslateFields(); boolean isAdvancedSearchFieldHierarchical(String field); boolean isAdvancedSearchFieldRange(String field); boolean isAdvancedSearchFieldUntokenizeForPhraseSearch(String field); String getAdvancedSearchFieldSeparatorLabel(String field); boolean isTimelineSearchEnabled(); boolean isCalendarSearchEnabled(); String getStaticQuerySuffix(); String getPreviousVersionIdentifierField(); String getNextVersionIdentifierField(); String getVersionLabelField(); String getIndexedMetsFolder(); String getIndexedLidoFolder(); String getIndexedDenkxwebFolder(); String getIndexedDublinCoreFolder(); String getPageSelectionFormat(); String getMediaFolder(); String getPdfFolder(); String getVocabulariesFolder(); String getOrigContentFolder(); String getCmsTextFolder(); String getAltoFolder(); String getAbbyyFolder(); String getFulltextFolder(); String getTeiFolder(); String getCmdiFolder(); String getWcFolder(); String getAnnotationFolder(); String getHotfolder(); @SuppressWarnings("static-method") String getTempFolder(); boolean isUrnDoRedirect(); boolean isUserRegistrationEnabled(); List<SecurityQuestion> getSecurityQuestions(); boolean isShowOpenIdConnect(); List<IAuthenticationProvider> getAuthenticationProviders(); String getSmtpServer(); String getSmtpUser(); String getSmtpPassword(); String getSmtpSenderAddress(); String getSmtpSenderName(); String getSmtpSecurity(); String getAnonymousUserEmailAddress(); boolean isDisplayCollectionBrowsing(); boolean isDisplayUserNavigation(); boolean isDisplayTagCloudNavigation(); boolean isDisplayStatistics(); boolean isDisplayTimeMatrix(); boolean isDisplayCrowdsourcingModuleLinks(); String getTheme(); String getThemeRootPath(); String getName(); String getDescription(); boolean isDisplayTagCloudStartpage(); boolean isDisplaySearchResultNavigation(); boolean isFoldout(String sidebarElement); boolean isSidebarPageViewLinkVisible(); boolean isSidebarCalendarViewLinkVisible(); boolean isSidebarTocViewLinkVisible(); boolean isSidebarThumbsViewLinkVisible(); boolean isSidebarMetadataViewLinkVisible(); boolean isShowSidebarEventMetadata(); boolean isShowRecordLabelIfNoOtherViews(); boolean isSidebarFulltextLinkVisible(); boolean isSidebarTocWidgetVisible(); boolean isSidebarTocWidgetVisibleInFullscreen(); boolean isSidebarOpacLinkVisible(); boolean getSidebarTocPageNumbersVisible(); int getSidebarTocLengthBeforeCut(); int getSidebarTocInitialCollapseLevel(); int getSidebarTocCollapseLengthThreshold(); int getSidebarTocLowestLevelToCollapseForLength(); boolean isSidebarTocTreeView(); boolean isTocTreeView(String docStructType); List<String> getAllDrillDownFields(); List<String> getDrillDownFields(); List<String> getHierarchicalDrillDownFields(); int getInitialDrillDownElementNumber(String field); String getSortOrder(String field); List<String> getPriorityValuesForDrillDownField(String field); String getLabelFieldForDrillDownField(String facetField); @SuppressWarnings("static-method") List<String> getRangeFacetFields(); boolean isSortingEnabled(); String getDefaultSortField(); List<String> getSortFields(); List<String> getStaticSortFields(); String getUrnResolverUrl(); int getUnconditionalImageAccessMaxWidth(); boolean isFullAccessForLocalhost(); boolean isGeneratePdfInTaskManager(); boolean isPdfApiDisabled(); boolean isTitlePdfEnabled(); boolean isTocPdfEnabled(); boolean isMetadataPdfEnabled(); boolean isPagePdfEnabled(); boolean isDocHierarchyPdfEnabled(); boolean isTitleEpubEnabled(); boolean isTocEpubEnabled(); boolean isMetadataEpubEnabled(); String getDownloadFolder(String type); int getRssFeedItems(); String getRssTitle(); String getRssDescription(); String getRssCopyrightText(); String getRulesetFilePath(); String getDefaultCollection(); int getThumbnailsWidth(); int getThumbnailsHeight(); int getThumbnailsCompression(); String getAnchorThumbnailMode(); int getMultivolumeThumbnailWidth(); int getMultivolumeThumbnailHeight(); boolean getDisplayBreadcrumbs(); boolean getDisplayMetadataPageLinkBlock(); boolean isAddDublinCoreMetaTags(); boolean isAddHighwirePressMetaTags(); int getMetadataParamNumber(); boolean useTiles(); boolean useTilesFullscreen(); boolean useTiles(PageType view, ImageType image); int getFooterHeight(); int getFullscreenFooterHeight(); int getFooterHeight(PageType view, ImageType image); String getImageViewType(); String getZoomFullscreenViewType(); String getZoomImageViewType(PageType view, ImageType image); boolean useOpenSeadragon(); List<String> getImageViewZoomScales(); List<String> getImageViewZoomScales(String view); List<String> getImageViewZoomScales(PageType view, ImageType image); Map<Integer, List<Integer>> getTileSizes(); Map<Integer, List<Integer>> getTileSizes(PageType view, ImageType image); SubnodeConfiguration getZoomImageViewConfig(PageType pageType, ImageType imageType); int getBreadcrumbsClipping(); boolean isDisplayTopstructLabel(); boolean getDisplayStructType(); int getSearchHitMetadataValueNumber(); int getSearchHitMetadataValueLength(); List<String> getWatermarkTextConfiguration(); String getWatermarkFormat(); boolean isOriginalContentDownload(); String getStopwordsFilePath(); String getPageType(PageType type); String getDocstructTargetPageType(String docstruct); String getPageTypeExitView(PageType type); int getFulltextPercentageWarningThreshold(); boolean isUseViewerLocaleAsRecordLanguage(); String getFeedbackEmailAddress(); boolean isBookmarksEnabled(); boolean isForceJpegConversion(); int getPageLoaderThreshold(); boolean isPreventProxyCaching(); boolean isSolrCompressionEnabled(); boolean isSolrBackwardsCompatible(); boolean isUserCommentsEnabled(); String getUserCommentsConditionalQuery(); List<String> getUserCommentsNotificationEmailAddresses(); String getViewerHome(); List<String> getWatermarkIdField(); String getSubthemeMainTheme(); String getSubthemeDiscriminatorField(); int getTagCloudSampleSize(String fieldName); List<StringPair> getTocVolumeSortFieldsForTemplate(String template); String getTocVolumeGroupFieldForTemplate(String template); boolean getDisplayTitleBreadcrumbs(); boolean isDisplayTitlePURL(); int getTitleBreadcrumbsMaxTitleLength(); boolean getIncludeAnchorInTitleBreadcrumbs(); boolean isDisplaySearchRssLinks(); boolean showThumbnailsInToc(); String getStartYearForTimeline(); String getEndYearForTimeline(); String getTimelineHits(); boolean isPiwikTrackingEnabled(); String getPiwikBaseURL(); String getPiwikSiteID(); boolean isSearchSavingEnabled(); boolean isBoostTopLevelDocstructs(); boolean isGroupDuplicateHits(); List<String> getRecordGroupIdentifierFields(); List<String> getAncestorIdentifierFields(); boolean isTocListSiblingRecords(); List<SearchFilter> getSearchFilters(); List<Map<String, String>> getWebApiFields(); String getDbPersistenceUnit(); boolean useCustomNavBar(); String getCmsTemplateFolder(); String getCmsMediaFolder(); String getTempMediaFolder(); List<String> getCmsClassifications(); int getCmsMediaDisplayWidth(); int getCmsMediaDisplayHeight(); boolean isTranskribusEnabled(); String getTranskribusUserName(); String getTranskribusPassword(); String getTranskribusDefaultCollection(); String getTranskribusRestApiUrl(); List<String> getTranskribusAllowedDocumentTypes(); int getTocIndentation(); boolean isPageBrowseEnabled(); List<Integer> getPageBrowseSteps(); String getTaskManagerServiceUrl(); String getTaskManagerRestUrl(); String getReCaptchaSiteKey(); boolean isUseReCaptcha(); boolean isSearchInItemEnabled(); String getDefaultBrowseIcon(String field); boolean isSearchExcelExportEnabled(); List<String> getSearchExcelExportFields(); int getExcelDownloadTimeout(); boolean isDisplayEmptyTocInSidebar(); boolean isDoublePageModeEnabled(); List<String> getRestrictedImageUrls(); List<String> getIIIFLicenses(); List<String> getIIIFMetadataFields(); List<String> getIIIFEventFields(); String getIIIFMetadataLabel(String field); int getIIIFDiscoveryAvtivitiesPerPage(); List<String> getIIIFLogo(); String getIIIFNavDateField(); List<String> getIIIFAttribution(); List<String> getIIIFDescriptionFields(); String getSitelinksField(); String getSitelinksFilterQuery(); List<String> getConfiguredCollections(); String getWebApiToken(); boolean isAllowRedirectCollectionToWork(); String getTwitterUserName(); float getLimitImageHeightUpperRatioThreshold(); float getLimitImageHeightLowerRatioThreshold(); boolean isLimitImageHeight(); boolean isAddCORSHeader(); String getCORSHeaderValue(); boolean isDiscloseImageContentLocation(); String getAccessConditionDisplayField(); String getCopyrightDisplayField(); boolean isDisplayCopyrightInfo(); boolean isDisplaySocialMediaShareLinks(); boolean isDisplayAnchorLabelInTitleBar(String template); String getAnchorLabelInTitleBarPrefix(String template); String getAnchorLabelInTitleBarSuffix(String template); String getMapBoxToken(); GeoMapMarker getGeoMapMarker(String name); List<String> getGeoMapMarkerFields(); List<GeoMapMarker> getGeoMapMarkers(); static GeoMapMarker readGeoMapMarker(HierarchicalConfiguration config); List<LicenseDescription> getLicenseDescriptions(); }
@Test public void loadStopwords_shouldNotAddEmptyStopwords() throws Exception { Set<String> stopwords = Configuration.loadStopwords("src/test/resources/stopwords.txt"); Assert.assertNotNull(stopwords); Assert.assertFalse(stopwords.contains("")); }
protected static Set<String> loadStopwords(String stopwordsFilePath) throws FileNotFoundException, IOException { if (StringUtils.isEmpty(stopwordsFilePath)) { throw new IllegalArgumentException("stopwordsFilePath may not be null or empty"); } if (StringUtils.isEmpty(stopwordsFilePath)) { logger.warn("'stopwordsFile' not configured. Stop words cannot be filtered from search queries."); return Collections.emptySet(); } Set<String> ret = new HashSet<>(); try (FileReader fr = new FileReader(stopwordsFilePath); BufferedReader br = new BufferedReader(fr)) { String line; while ((line = br.readLine()) != null) { line = line.trim(); if (StringUtils.isNotBlank(line)) { if (line.charAt(0) != '#') { int pipeIndex = line.indexOf('|'); if (pipeIndex != -1) { line = line.substring(0, pipeIndex).trim(); } if (!line.isEmpty() && Character.getNumericValue(line.charAt(0)) != -1) { ret.add(line); } } } } } return ret; }
Configuration extends AbstractConfiguration { protected static Set<String> loadStopwords(String stopwordsFilePath) throws FileNotFoundException, IOException { if (StringUtils.isEmpty(stopwordsFilePath)) { throw new IllegalArgumentException("stopwordsFilePath may not be null or empty"); } if (StringUtils.isEmpty(stopwordsFilePath)) { logger.warn("'stopwordsFile' not configured. Stop words cannot be filtered from search queries."); return Collections.emptySet(); } Set<String> ret = new HashSet<>(); try (FileReader fr = new FileReader(stopwordsFilePath); BufferedReader br = new BufferedReader(fr)) { String line; while ((line = br.readLine()) != null) { line = line.trim(); if (StringUtils.isNotBlank(line)) { if (line.charAt(0) != '#') { int pipeIndex = line.indexOf('|'); if (pipeIndex != -1) { line = line.substring(0, pipeIndex).trim(); } if (!line.isEmpty() && Character.getNumericValue(line.charAt(0)) != -1) { ret.add(line); } } } } } return ret; } }
Configuration extends AbstractConfiguration { protected static Set<String> loadStopwords(String stopwordsFilePath) throws FileNotFoundException, IOException { if (StringUtils.isEmpty(stopwordsFilePath)) { throw new IllegalArgumentException("stopwordsFilePath may not be null or empty"); } if (StringUtils.isEmpty(stopwordsFilePath)) { logger.warn("'stopwordsFile' not configured. Stop words cannot be filtered from search queries."); return Collections.emptySet(); } Set<String> ret = new HashSet<>(); try (FileReader fr = new FileReader(stopwordsFilePath); BufferedReader br = new BufferedReader(fr)) { String line; while ((line = br.readLine()) != null) { line = line.trim(); if (StringUtils.isNotBlank(line)) { if (line.charAt(0) != '#') { int pipeIndex = line.indexOf('|'); if (pipeIndex != -1) { line = line.substring(0, pipeIndex).trim(); } if (!line.isEmpty() && Character.getNumericValue(line.charAt(0)) != -1) { ret.add(line); } } } } } return ret; } Configuration(String configFilePath); }
Configuration extends AbstractConfiguration { protected static Set<String> loadStopwords(String stopwordsFilePath) throws FileNotFoundException, IOException { if (StringUtils.isEmpty(stopwordsFilePath)) { throw new IllegalArgumentException("stopwordsFilePath may not be null or empty"); } if (StringUtils.isEmpty(stopwordsFilePath)) { logger.warn("'stopwordsFile' not configured. Stop words cannot be filtered from search queries."); return Collections.emptySet(); } Set<String> ret = new HashSet<>(); try (FileReader fr = new FileReader(stopwordsFilePath); BufferedReader br = new BufferedReader(fr)) { String line; while ((line = br.readLine()) != null) { line = line.trim(); if (StringUtils.isNotBlank(line)) { if (line.charAt(0) != '#') { int pipeIndex = line.indexOf('|'); if (pipeIndex != -1) { line = line.substring(0, pipeIndex).trim(); } if (!line.isEmpty() && Character.getNumericValue(line.charAt(0)) != -1) { ret.add(line); } } } } } return ret; } Configuration(String configFilePath); Set<String> getStopwords(); boolean reloadingRequired(); String getConfigLocalPath(); String getLocalRessourceBundleFile(); int getViewerThumbnailsPerPage(); int getViewerMaxImageWidth(); int getViewerMaxImageHeight(); int getViewerMaxImageScale(); boolean isRememberImageZoom(); boolean isRememberImageRotation(); String getDfgViewerUrl(); String getConnectorVersionUrl(); List<Metadata> getTitleBarMetadata(); List<Metadata> getSearchHitMetadataForTemplate(String template); List<Metadata> getMainMetadataForTemplate(String template); List<Metadata> getSidebarMetadataForTemplate(String template); List<String> getNormdataFieldsForTemplate(String template); List<Metadata> getTocLabelConfiguration(String template); int getTocAnchorGroupElementsPerPage(); boolean isDisplaySidebarBrowsingTerms(); boolean isDisplaySidebarRssFeed(); boolean isDisplayWidgetUsage(); Metadata getWidgetUsageLicenceTextMetadata(); boolean isDisplaySidebarUsageWidgetLinkToJpegImage(); boolean isDisplaySidebarUsageWidgetLinkToMasterImage(); String getWidgetUsageMaxJpegSize(); String getWidgetUsageMaxMasterImageSize(); List<String> getCalendarDocStructTypes(); boolean isBrowsingMenuEnabled(); int getBrowsingMenuHitsPerPage(); List<BrowsingMenuFieldConfig> getBrowsingMenuFields(); String getBrowsingMenuSortingIgnoreLeadingChars(); String getDocstrctWhitelistFilterQuery(); String getCollectionSplittingChar(String field); List<DcSortingList> getCollectionSorting(String field); List<String> getCollectionBlacklist(String field); String getCollectionDefaultSortField(String field, String name); int getCollectionDisplayNumberOfVolumesLevel(String field); int getCollectionDisplayDepthForSearch(String field); String getCollectionHierarchyField(); boolean isAddCollectionHierarchyToBreadcrumbs(String field); String getSolrUrl(); String getContentServerWrapperUrl(); String getDownloadUrl(); String getRestApiUrl(); String getIIIFApiUrl(); boolean isUseIIIFApiUrlForCmsMediaUrls(); String getContentServerRealUrl(); String getMetsUrl(); String getMarcUrl(); String getDcUrl(); String getEseUrl(); List<Integer> getSearchHitsPerPageValues(); int getSearchHitsPerPageDefaultValue(); int getFulltextFragmentLength(); boolean isAdvancedSearchEnabled(); int getAdvancedSearchDefaultItemNumber(); List<AdvancedSearchFieldConfiguration> getAdvancedSearchFields(); boolean isAggregateHits(); boolean isDisplayAdditionalMetadataEnabled(); List<String> getDisplayAdditionalMetadataIgnoreFields(); List<String> getDisplayAdditionalMetadataTranslateFields(); boolean isAdvancedSearchFieldHierarchical(String field); boolean isAdvancedSearchFieldRange(String field); boolean isAdvancedSearchFieldUntokenizeForPhraseSearch(String field); String getAdvancedSearchFieldSeparatorLabel(String field); boolean isTimelineSearchEnabled(); boolean isCalendarSearchEnabled(); String getStaticQuerySuffix(); String getPreviousVersionIdentifierField(); String getNextVersionIdentifierField(); String getVersionLabelField(); String getIndexedMetsFolder(); String getIndexedLidoFolder(); String getIndexedDenkxwebFolder(); String getIndexedDublinCoreFolder(); String getPageSelectionFormat(); String getMediaFolder(); String getPdfFolder(); String getVocabulariesFolder(); String getOrigContentFolder(); String getCmsTextFolder(); String getAltoFolder(); String getAbbyyFolder(); String getFulltextFolder(); String getTeiFolder(); String getCmdiFolder(); String getWcFolder(); String getAnnotationFolder(); String getHotfolder(); @SuppressWarnings("static-method") String getTempFolder(); boolean isUrnDoRedirect(); boolean isUserRegistrationEnabled(); List<SecurityQuestion> getSecurityQuestions(); boolean isShowOpenIdConnect(); List<IAuthenticationProvider> getAuthenticationProviders(); String getSmtpServer(); String getSmtpUser(); String getSmtpPassword(); String getSmtpSenderAddress(); String getSmtpSenderName(); String getSmtpSecurity(); String getAnonymousUserEmailAddress(); boolean isDisplayCollectionBrowsing(); boolean isDisplayUserNavigation(); boolean isDisplayTagCloudNavigation(); boolean isDisplayStatistics(); boolean isDisplayTimeMatrix(); boolean isDisplayCrowdsourcingModuleLinks(); String getTheme(); String getThemeRootPath(); String getName(); String getDescription(); boolean isDisplayTagCloudStartpage(); boolean isDisplaySearchResultNavigation(); boolean isFoldout(String sidebarElement); boolean isSidebarPageViewLinkVisible(); boolean isSidebarCalendarViewLinkVisible(); boolean isSidebarTocViewLinkVisible(); boolean isSidebarThumbsViewLinkVisible(); boolean isSidebarMetadataViewLinkVisible(); boolean isShowSidebarEventMetadata(); boolean isShowRecordLabelIfNoOtherViews(); boolean isSidebarFulltextLinkVisible(); boolean isSidebarTocWidgetVisible(); boolean isSidebarTocWidgetVisibleInFullscreen(); boolean isSidebarOpacLinkVisible(); boolean getSidebarTocPageNumbersVisible(); int getSidebarTocLengthBeforeCut(); int getSidebarTocInitialCollapseLevel(); int getSidebarTocCollapseLengthThreshold(); int getSidebarTocLowestLevelToCollapseForLength(); boolean isSidebarTocTreeView(); boolean isTocTreeView(String docStructType); List<String> getAllDrillDownFields(); List<String> getDrillDownFields(); List<String> getHierarchicalDrillDownFields(); int getInitialDrillDownElementNumber(String field); String getSortOrder(String field); List<String> getPriorityValuesForDrillDownField(String field); String getLabelFieldForDrillDownField(String facetField); @SuppressWarnings("static-method") List<String> getRangeFacetFields(); boolean isSortingEnabled(); String getDefaultSortField(); List<String> getSortFields(); List<String> getStaticSortFields(); String getUrnResolverUrl(); int getUnconditionalImageAccessMaxWidth(); boolean isFullAccessForLocalhost(); boolean isGeneratePdfInTaskManager(); boolean isPdfApiDisabled(); boolean isTitlePdfEnabled(); boolean isTocPdfEnabled(); boolean isMetadataPdfEnabled(); boolean isPagePdfEnabled(); boolean isDocHierarchyPdfEnabled(); boolean isTitleEpubEnabled(); boolean isTocEpubEnabled(); boolean isMetadataEpubEnabled(); String getDownloadFolder(String type); int getRssFeedItems(); String getRssTitle(); String getRssDescription(); String getRssCopyrightText(); String getRulesetFilePath(); String getDefaultCollection(); int getThumbnailsWidth(); int getThumbnailsHeight(); int getThumbnailsCompression(); String getAnchorThumbnailMode(); int getMultivolumeThumbnailWidth(); int getMultivolumeThumbnailHeight(); boolean getDisplayBreadcrumbs(); boolean getDisplayMetadataPageLinkBlock(); boolean isAddDublinCoreMetaTags(); boolean isAddHighwirePressMetaTags(); int getMetadataParamNumber(); boolean useTiles(); boolean useTilesFullscreen(); boolean useTiles(PageType view, ImageType image); int getFooterHeight(); int getFullscreenFooterHeight(); int getFooterHeight(PageType view, ImageType image); String getImageViewType(); String getZoomFullscreenViewType(); String getZoomImageViewType(PageType view, ImageType image); boolean useOpenSeadragon(); List<String> getImageViewZoomScales(); List<String> getImageViewZoomScales(String view); List<String> getImageViewZoomScales(PageType view, ImageType image); Map<Integer, List<Integer>> getTileSizes(); Map<Integer, List<Integer>> getTileSizes(PageType view, ImageType image); SubnodeConfiguration getZoomImageViewConfig(PageType pageType, ImageType imageType); int getBreadcrumbsClipping(); boolean isDisplayTopstructLabel(); boolean getDisplayStructType(); int getSearchHitMetadataValueNumber(); int getSearchHitMetadataValueLength(); List<String> getWatermarkTextConfiguration(); String getWatermarkFormat(); boolean isOriginalContentDownload(); String getStopwordsFilePath(); String getPageType(PageType type); String getDocstructTargetPageType(String docstruct); String getPageTypeExitView(PageType type); int getFulltextPercentageWarningThreshold(); boolean isUseViewerLocaleAsRecordLanguage(); String getFeedbackEmailAddress(); boolean isBookmarksEnabled(); boolean isForceJpegConversion(); int getPageLoaderThreshold(); boolean isPreventProxyCaching(); boolean isSolrCompressionEnabled(); boolean isSolrBackwardsCompatible(); boolean isUserCommentsEnabled(); String getUserCommentsConditionalQuery(); List<String> getUserCommentsNotificationEmailAddresses(); String getViewerHome(); List<String> getWatermarkIdField(); String getSubthemeMainTheme(); String getSubthemeDiscriminatorField(); int getTagCloudSampleSize(String fieldName); List<StringPair> getTocVolumeSortFieldsForTemplate(String template); String getTocVolumeGroupFieldForTemplate(String template); boolean getDisplayTitleBreadcrumbs(); boolean isDisplayTitlePURL(); int getTitleBreadcrumbsMaxTitleLength(); boolean getIncludeAnchorInTitleBreadcrumbs(); boolean isDisplaySearchRssLinks(); boolean showThumbnailsInToc(); String getStartYearForTimeline(); String getEndYearForTimeline(); String getTimelineHits(); boolean isPiwikTrackingEnabled(); String getPiwikBaseURL(); String getPiwikSiteID(); boolean isSearchSavingEnabled(); boolean isBoostTopLevelDocstructs(); boolean isGroupDuplicateHits(); List<String> getRecordGroupIdentifierFields(); List<String> getAncestorIdentifierFields(); boolean isTocListSiblingRecords(); List<SearchFilter> getSearchFilters(); List<Map<String, String>> getWebApiFields(); String getDbPersistenceUnit(); boolean useCustomNavBar(); String getCmsTemplateFolder(); String getCmsMediaFolder(); String getTempMediaFolder(); List<String> getCmsClassifications(); int getCmsMediaDisplayWidth(); int getCmsMediaDisplayHeight(); boolean isTranskribusEnabled(); String getTranskribusUserName(); String getTranskribusPassword(); String getTranskribusDefaultCollection(); String getTranskribusRestApiUrl(); List<String> getTranskribusAllowedDocumentTypes(); int getTocIndentation(); boolean isPageBrowseEnabled(); List<Integer> getPageBrowseSteps(); String getTaskManagerServiceUrl(); String getTaskManagerRestUrl(); String getReCaptchaSiteKey(); boolean isUseReCaptcha(); boolean isSearchInItemEnabled(); String getDefaultBrowseIcon(String field); boolean isSearchExcelExportEnabled(); List<String> getSearchExcelExportFields(); int getExcelDownloadTimeout(); boolean isDisplayEmptyTocInSidebar(); boolean isDoublePageModeEnabled(); List<String> getRestrictedImageUrls(); List<String> getIIIFLicenses(); List<String> getIIIFMetadataFields(); List<String> getIIIFEventFields(); String getIIIFMetadataLabel(String field); int getIIIFDiscoveryAvtivitiesPerPage(); List<String> getIIIFLogo(); String getIIIFNavDateField(); List<String> getIIIFAttribution(); List<String> getIIIFDescriptionFields(); String getSitelinksField(); String getSitelinksFilterQuery(); List<String> getConfiguredCollections(); String getWebApiToken(); boolean isAllowRedirectCollectionToWork(); String getTwitterUserName(); float getLimitImageHeightUpperRatioThreshold(); float getLimitImageHeightLowerRatioThreshold(); boolean isLimitImageHeight(); boolean isAddCORSHeader(); String getCORSHeaderValue(); boolean isDiscloseImageContentLocation(); String getAccessConditionDisplayField(); String getCopyrightDisplayField(); boolean isDisplayCopyrightInfo(); boolean isDisplaySocialMediaShareLinks(); boolean isDisplayAnchorLabelInTitleBar(String template); String getAnchorLabelInTitleBarPrefix(String template); String getAnchorLabelInTitleBarSuffix(String template); String getMapBoxToken(); GeoMapMarker getGeoMapMarker(String name); List<String> getGeoMapMarkerFields(); List<GeoMapMarker> getGeoMapMarkers(); static GeoMapMarker readGeoMapMarker(HierarchicalConfiguration config); List<LicenseDescription> getLicenseDescriptions(); }
Configuration extends AbstractConfiguration { protected static Set<String> loadStopwords(String stopwordsFilePath) throws FileNotFoundException, IOException { if (StringUtils.isEmpty(stopwordsFilePath)) { throw new IllegalArgumentException("stopwordsFilePath may not be null or empty"); } if (StringUtils.isEmpty(stopwordsFilePath)) { logger.warn("'stopwordsFile' not configured. Stop words cannot be filtered from search queries."); return Collections.emptySet(); } Set<String> ret = new HashSet<>(); try (FileReader fr = new FileReader(stopwordsFilePath); BufferedReader br = new BufferedReader(fr)) { String line; while ((line = br.readLine()) != null) { line = line.trim(); if (StringUtils.isNotBlank(line)) { if (line.charAt(0) != '#') { int pipeIndex = line.indexOf('|'); if (pipeIndex != -1) { line = line.substring(0, pipeIndex).trim(); } if (!line.isEmpty() && Character.getNumericValue(line.charAt(0)) != -1) { ret.add(line); } } } } } return ret; } Configuration(String configFilePath); Set<String> getStopwords(); boolean reloadingRequired(); String getConfigLocalPath(); String getLocalRessourceBundleFile(); int getViewerThumbnailsPerPage(); int getViewerMaxImageWidth(); int getViewerMaxImageHeight(); int getViewerMaxImageScale(); boolean isRememberImageZoom(); boolean isRememberImageRotation(); String getDfgViewerUrl(); String getConnectorVersionUrl(); List<Metadata> getTitleBarMetadata(); List<Metadata> getSearchHitMetadataForTemplate(String template); List<Metadata> getMainMetadataForTemplate(String template); List<Metadata> getSidebarMetadataForTemplate(String template); List<String> getNormdataFieldsForTemplate(String template); List<Metadata> getTocLabelConfiguration(String template); int getTocAnchorGroupElementsPerPage(); boolean isDisplaySidebarBrowsingTerms(); boolean isDisplaySidebarRssFeed(); boolean isDisplayWidgetUsage(); Metadata getWidgetUsageLicenceTextMetadata(); boolean isDisplaySidebarUsageWidgetLinkToJpegImage(); boolean isDisplaySidebarUsageWidgetLinkToMasterImage(); String getWidgetUsageMaxJpegSize(); String getWidgetUsageMaxMasterImageSize(); List<String> getCalendarDocStructTypes(); boolean isBrowsingMenuEnabled(); int getBrowsingMenuHitsPerPage(); List<BrowsingMenuFieldConfig> getBrowsingMenuFields(); String getBrowsingMenuSortingIgnoreLeadingChars(); String getDocstrctWhitelistFilterQuery(); String getCollectionSplittingChar(String field); List<DcSortingList> getCollectionSorting(String field); List<String> getCollectionBlacklist(String field); String getCollectionDefaultSortField(String field, String name); int getCollectionDisplayNumberOfVolumesLevel(String field); int getCollectionDisplayDepthForSearch(String field); String getCollectionHierarchyField(); boolean isAddCollectionHierarchyToBreadcrumbs(String field); String getSolrUrl(); String getContentServerWrapperUrl(); String getDownloadUrl(); String getRestApiUrl(); String getIIIFApiUrl(); boolean isUseIIIFApiUrlForCmsMediaUrls(); String getContentServerRealUrl(); String getMetsUrl(); String getMarcUrl(); String getDcUrl(); String getEseUrl(); List<Integer> getSearchHitsPerPageValues(); int getSearchHitsPerPageDefaultValue(); int getFulltextFragmentLength(); boolean isAdvancedSearchEnabled(); int getAdvancedSearchDefaultItemNumber(); List<AdvancedSearchFieldConfiguration> getAdvancedSearchFields(); boolean isAggregateHits(); boolean isDisplayAdditionalMetadataEnabled(); List<String> getDisplayAdditionalMetadataIgnoreFields(); List<String> getDisplayAdditionalMetadataTranslateFields(); boolean isAdvancedSearchFieldHierarchical(String field); boolean isAdvancedSearchFieldRange(String field); boolean isAdvancedSearchFieldUntokenizeForPhraseSearch(String field); String getAdvancedSearchFieldSeparatorLabel(String field); boolean isTimelineSearchEnabled(); boolean isCalendarSearchEnabled(); String getStaticQuerySuffix(); String getPreviousVersionIdentifierField(); String getNextVersionIdentifierField(); String getVersionLabelField(); String getIndexedMetsFolder(); String getIndexedLidoFolder(); String getIndexedDenkxwebFolder(); String getIndexedDublinCoreFolder(); String getPageSelectionFormat(); String getMediaFolder(); String getPdfFolder(); String getVocabulariesFolder(); String getOrigContentFolder(); String getCmsTextFolder(); String getAltoFolder(); String getAbbyyFolder(); String getFulltextFolder(); String getTeiFolder(); String getCmdiFolder(); String getWcFolder(); String getAnnotationFolder(); String getHotfolder(); @SuppressWarnings("static-method") String getTempFolder(); boolean isUrnDoRedirect(); boolean isUserRegistrationEnabled(); List<SecurityQuestion> getSecurityQuestions(); boolean isShowOpenIdConnect(); List<IAuthenticationProvider> getAuthenticationProviders(); String getSmtpServer(); String getSmtpUser(); String getSmtpPassword(); String getSmtpSenderAddress(); String getSmtpSenderName(); String getSmtpSecurity(); String getAnonymousUserEmailAddress(); boolean isDisplayCollectionBrowsing(); boolean isDisplayUserNavigation(); boolean isDisplayTagCloudNavigation(); boolean isDisplayStatistics(); boolean isDisplayTimeMatrix(); boolean isDisplayCrowdsourcingModuleLinks(); String getTheme(); String getThemeRootPath(); String getName(); String getDescription(); boolean isDisplayTagCloudStartpage(); boolean isDisplaySearchResultNavigation(); boolean isFoldout(String sidebarElement); boolean isSidebarPageViewLinkVisible(); boolean isSidebarCalendarViewLinkVisible(); boolean isSidebarTocViewLinkVisible(); boolean isSidebarThumbsViewLinkVisible(); boolean isSidebarMetadataViewLinkVisible(); boolean isShowSidebarEventMetadata(); boolean isShowRecordLabelIfNoOtherViews(); boolean isSidebarFulltextLinkVisible(); boolean isSidebarTocWidgetVisible(); boolean isSidebarTocWidgetVisibleInFullscreen(); boolean isSidebarOpacLinkVisible(); boolean getSidebarTocPageNumbersVisible(); int getSidebarTocLengthBeforeCut(); int getSidebarTocInitialCollapseLevel(); int getSidebarTocCollapseLengthThreshold(); int getSidebarTocLowestLevelToCollapseForLength(); boolean isSidebarTocTreeView(); boolean isTocTreeView(String docStructType); List<String> getAllDrillDownFields(); List<String> getDrillDownFields(); List<String> getHierarchicalDrillDownFields(); int getInitialDrillDownElementNumber(String field); String getSortOrder(String field); List<String> getPriorityValuesForDrillDownField(String field); String getLabelFieldForDrillDownField(String facetField); @SuppressWarnings("static-method") List<String> getRangeFacetFields(); boolean isSortingEnabled(); String getDefaultSortField(); List<String> getSortFields(); List<String> getStaticSortFields(); String getUrnResolverUrl(); int getUnconditionalImageAccessMaxWidth(); boolean isFullAccessForLocalhost(); boolean isGeneratePdfInTaskManager(); boolean isPdfApiDisabled(); boolean isTitlePdfEnabled(); boolean isTocPdfEnabled(); boolean isMetadataPdfEnabled(); boolean isPagePdfEnabled(); boolean isDocHierarchyPdfEnabled(); boolean isTitleEpubEnabled(); boolean isTocEpubEnabled(); boolean isMetadataEpubEnabled(); String getDownloadFolder(String type); int getRssFeedItems(); String getRssTitle(); String getRssDescription(); String getRssCopyrightText(); String getRulesetFilePath(); String getDefaultCollection(); int getThumbnailsWidth(); int getThumbnailsHeight(); int getThumbnailsCompression(); String getAnchorThumbnailMode(); int getMultivolumeThumbnailWidth(); int getMultivolumeThumbnailHeight(); boolean getDisplayBreadcrumbs(); boolean getDisplayMetadataPageLinkBlock(); boolean isAddDublinCoreMetaTags(); boolean isAddHighwirePressMetaTags(); int getMetadataParamNumber(); boolean useTiles(); boolean useTilesFullscreen(); boolean useTiles(PageType view, ImageType image); int getFooterHeight(); int getFullscreenFooterHeight(); int getFooterHeight(PageType view, ImageType image); String getImageViewType(); String getZoomFullscreenViewType(); String getZoomImageViewType(PageType view, ImageType image); boolean useOpenSeadragon(); List<String> getImageViewZoomScales(); List<String> getImageViewZoomScales(String view); List<String> getImageViewZoomScales(PageType view, ImageType image); Map<Integer, List<Integer>> getTileSizes(); Map<Integer, List<Integer>> getTileSizes(PageType view, ImageType image); SubnodeConfiguration getZoomImageViewConfig(PageType pageType, ImageType imageType); int getBreadcrumbsClipping(); boolean isDisplayTopstructLabel(); boolean getDisplayStructType(); int getSearchHitMetadataValueNumber(); int getSearchHitMetadataValueLength(); List<String> getWatermarkTextConfiguration(); String getWatermarkFormat(); boolean isOriginalContentDownload(); String getStopwordsFilePath(); String getPageType(PageType type); String getDocstructTargetPageType(String docstruct); String getPageTypeExitView(PageType type); int getFulltextPercentageWarningThreshold(); boolean isUseViewerLocaleAsRecordLanguage(); String getFeedbackEmailAddress(); boolean isBookmarksEnabled(); boolean isForceJpegConversion(); int getPageLoaderThreshold(); boolean isPreventProxyCaching(); boolean isSolrCompressionEnabled(); boolean isSolrBackwardsCompatible(); boolean isUserCommentsEnabled(); String getUserCommentsConditionalQuery(); List<String> getUserCommentsNotificationEmailAddresses(); String getViewerHome(); List<String> getWatermarkIdField(); String getSubthemeMainTheme(); String getSubthemeDiscriminatorField(); int getTagCloudSampleSize(String fieldName); List<StringPair> getTocVolumeSortFieldsForTemplate(String template); String getTocVolumeGroupFieldForTemplate(String template); boolean getDisplayTitleBreadcrumbs(); boolean isDisplayTitlePURL(); int getTitleBreadcrumbsMaxTitleLength(); boolean getIncludeAnchorInTitleBreadcrumbs(); boolean isDisplaySearchRssLinks(); boolean showThumbnailsInToc(); String getStartYearForTimeline(); String getEndYearForTimeline(); String getTimelineHits(); boolean isPiwikTrackingEnabled(); String getPiwikBaseURL(); String getPiwikSiteID(); boolean isSearchSavingEnabled(); boolean isBoostTopLevelDocstructs(); boolean isGroupDuplicateHits(); List<String> getRecordGroupIdentifierFields(); List<String> getAncestorIdentifierFields(); boolean isTocListSiblingRecords(); List<SearchFilter> getSearchFilters(); List<Map<String, String>> getWebApiFields(); String getDbPersistenceUnit(); boolean useCustomNavBar(); String getCmsTemplateFolder(); String getCmsMediaFolder(); String getTempMediaFolder(); List<String> getCmsClassifications(); int getCmsMediaDisplayWidth(); int getCmsMediaDisplayHeight(); boolean isTranskribusEnabled(); String getTranskribusUserName(); String getTranskribusPassword(); String getTranskribusDefaultCollection(); String getTranskribusRestApiUrl(); List<String> getTranskribusAllowedDocumentTypes(); int getTocIndentation(); boolean isPageBrowseEnabled(); List<Integer> getPageBrowseSteps(); String getTaskManagerServiceUrl(); String getTaskManagerRestUrl(); String getReCaptchaSiteKey(); boolean isUseReCaptcha(); boolean isSearchInItemEnabled(); String getDefaultBrowseIcon(String field); boolean isSearchExcelExportEnabled(); List<String> getSearchExcelExportFields(); int getExcelDownloadTimeout(); boolean isDisplayEmptyTocInSidebar(); boolean isDoublePageModeEnabled(); List<String> getRestrictedImageUrls(); List<String> getIIIFLicenses(); List<String> getIIIFMetadataFields(); List<String> getIIIFEventFields(); String getIIIFMetadataLabel(String field); int getIIIFDiscoveryAvtivitiesPerPage(); List<String> getIIIFLogo(); String getIIIFNavDateField(); List<String> getIIIFAttribution(); List<String> getIIIFDescriptionFields(); String getSitelinksField(); String getSitelinksFilterQuery(); List<String> getConfiguredCollections(); String getWebApiToken(); boolean isAllowRedirectCollectionToWork(); String getTwitterUserName(); float getLimitImageHeightUpperRatioThreshold(); float getLimitImageHeightLowerRatioThreshold(); boolean isLimitImageHeight(); boolean isAddCORSHeader(); String getCORSHeaderValue(); boolean isDiscloseImageContentLocation(); String getAccessConditionDisplayField(); String getCopyrightDisplayField(); boolean isDisplayCopyrightInfo(); boolean isDisplaySocialMediaShareLinks(); boolean isDisplayAnchorLabelInTitleBar(String template); String getAnchorLabelInTitleBarPrefix(String template); String getAnchorLabelInTitleBarSuffix(String template); String getMapBoxToken(); GeoMapMarker getGeoMapMarker(String name); List<String> getGeoMapMarkerFields(); List<GeoMapMarker> getGeoMapMarkers(); static GeoMapMarker readGeoMapMarker(HierarchicalConfiguration config); List<LicenseDescription> getLicenseDescriptions(); }
@Test(expected = IllegalArgumentException.class) public void loadStopwords_shouldThrowIllegalArgumentExceptionIfStopwordsFilePathEmpty() throws Exception { Configuration.loadStopwords(null); }
protected static Set<String> loadStopwords(String stopwordsFilePath) throws FileNotFoundException, IOException { if (StringUtils.isEmpty(stopwordsFilePath)) { throw new IllegalArgumentException("stopwordsFilePath may not be null or empty"); } if (StringUtils.isEmpty(stopwordsFilePath)) { logger.warn("'stopwordsFile' not configured. Stop words cannot be filtered from search queries."); return Collections.emptySet(); } Set<String> ret = new HashSet<>(); try (FileReader fr = new FileReader(stopwordsFilePath); BufferedReader br = new BufferedReader(fr)) { String line; while ((line = br.readLine()) != null) { line = line.trim(); if (StringUtils.isNotBlank(line)) { if (line.charAt(0) != '#') { int pipeIndex = line.indexOf('|'); if (pipeIndex != -1) { line = line.substring(0, pipeIndex).trim(); } if (!line.isEmpty() && Character.getNumericValue(line.charAt(0)) != -1) { ret.add(line); } } } } } return ret; }
Configuration extends AbstractConfiguration { protected static Set<String> loadStopwords(String stopwordsFilePath) throws FileNotFoundException, IOException { if (StringUtils.isEmpty(stopwordsFilePath)) { throw new IllegalArgumentException("stopwordsFilePath may not be null or empty"); } if (StringUtils.isEmpty(stopwordsFilePath)) { logger.warn("'stopwordsFile' not configured. Stop words cannot be filtered from search queries."); return Collections.emptySet(); } Set<String> ret = new HashSet<>(); try (FileReader fr = new FileReader(stopwordsFilePath); BufferedReader br = new BufferedReader(fr)) { String line; while ((line = br.readLine()) != null) { line = line.trim(); if (StringUtils.isNotBlank(line)) { if (line.charAt(0) != '#') { int pipeIndex = line.indexOf('|'); if (pipeIndex != -1) { line = line.substring(0, pipeIndex).trim(); } if (!line.isEmpty() && Character.getNumericValue(line.charAt(0)) != -1) { ret.add(line); } } } } } return ret; } }
Configuration extends AbstractConfiguration { protected static Set<String> loadStopwords(String stopwordsFilePath) throws FileNotFoundException, IOException { if (StringUtils.isEmpty(stopwordsFilePath)) { throw new IllegalArgumentException("stopwordsFilePath may not be null or empty"); } if (StringUtils.isEmpty(stopwordsFilePath)) { logger.warn("'stopwordsFile' not configured. Stop words cannot be filtered from search queries."); return Collections.emptySet(); } Set<String> ret = new HashSet<>(); try (FileReader fr = new FileReader(stopwordsFilePath); BufferedReader br = new BufferedReader(fr)) { String line; while ((line = br.readLine()) != null) { line = line.trim(); if (StringUtils.isNotBlank(line)) { if (line.charAt(0) != '#') { int pipeIndex = line.indexOf('|'); if (pipeIndex != -1) { line = line.substring(0, pipeIndex).trim(); } if (!line.isEmpty() && Character.getNumericValue(line.charAt(0)) != -1) { ret.add(line); } } } } } return ret; } Configuration(String configFilePath); }
Configuration extends AbstractConfiguration { protected static Set<String> loadStopwords(String stopwordsFilePath) throws FileNotFoundException, IOException { if (StringUtils.isEmpty(stopwordsFilePath)) { throw new IllegalArgumentException("stopwordsFilePath may not be null or empty"); } if (StringUtils.isEmpty(stopwordsFilePath)) { logger.warn("'stopwordsFile' not configured. Stop words cannot be filtered from search queries."); return Collections.emptySet(); } Set<String> ret = new HashSet<>(); try (FileReader fr = new FileReader(stopwordsFilePath); BufferedReader br = new BufferedReader(fr)) { String line; while ((line = br.readLine()) != null) { line = line.trim(); if (StringUtils.isNotBlank(line)) { if (line.charAt(0) != '#') { int pipeIndex = line.indexOf('|'); if (pipeIndex != -1) { line = line.substring(0, pipeIndex).trim(); } if (!line.isEmpty() && Character.getNumericValue(line.charAt(0)) != -1) { ret.add(line); } } } } } return ret; } Configuration(String configFilePath); Set<String> getStopwords(); boolean reloadingRequired(); String getConfigLocalPath(); String getLocalRessourceBundleFile(); int getViewerThumbnailsPerPage(); int getViewerMaxImageWidth(); int getViewerMaxImageHeight(); int getViewerMaxImageScale(); boolean isRememberImageZoom(); boolean isRememberImageRotation(); String getDfgViewerUrl(); String getConnectorVersionUrl(); List<Metadata> getTitleBarMetadata(); List<Metadata> getSearchHitMetadataForTemplate(String template); List<Metadata> getMainMetadataForTemplate(String template); List<Metadata> getSidebarMetadataForTemplate(String template); List<String> getNormdataFieldsForTemplate(String template); List<Metadata> getTocLabelConfiguration(String template); int getTocAnchorGroupElementsPerPage(); boolean isDisplaySidebarBrowsingTerms(); boolean isDisplaySidebarRssFeed(); boolean isDisplayWidgetUsage(); Metadata getWidgetUsageLicenceTextMetadata(); boolean isDisplaySidebarUsageWidgetLinkToJpegImage(); boolean isDisplaySidebarUsageWidgetLinkToMasterImage(); String getWidgetUsageMaxJpegSize(); String getWidgetUsageMaxMasterImageSize(); List<String> getCalendarDocStructTypes(); boolean isBrowsingMenuEnabled(); int getBrowsingMenuHitsPerPage(); List<BrowsingMenuFieldConfig> getBrowsingMenuFields(); String getBrowsingMenuSortingIgnoreLeadingChars(); String getDocstrctWhitelistFilterQuery(); String getCollectionSplittingChar(String field); List<DcSortingList> getCollectionSorting(String field); List<String> getCollectionBlacklist(String field); String getCollectionDefaultSortField(String field, String name); int getCollectionDisplayNumberOfVolumesLevel(String field); int getCollectionDisplayDepthForSearch(String field); String getCollectionHierarchyField(); boolean isAddCollectionHierarchyToBreadcrumbs(String field); String getSolrUrl(); String getContentServerWrapperUrl(); String getDownloadUrl(); String getRestApiUrl(); String getIIIFApiUrl(); boolean isUseIIIFApiUrlForCmsMediaUrls(); String getContentServerRealUrl(); String getMetsUrl(); String getMarcUrl(); String getDcUrl(); String getEseUrl(); List<Integer> getSearchHitsPerPageValues(); int getSearchHitsPerPageDefaultValue(); int getFulltextFragmentLength(); boolean isAdvancedSearchEnabled(); int getAdvancedSearchDefaultItemNumber(); List<AdvancedSearchFieldConfiguration> getAdvancedSearchFields(); boolean isAggregateHits(); boolean isDisplayAdditionalMetadataEnabled(); List<String> getDisplayAdditionalMetadataIgnoreFields(); List<String> getDisplayAdditionalMetadataTranslateFields(); boolean isAdvancedSearchFieldHierarchical(String field); boolean isAdvancedSearchFieldRange(String field); boolean isAdvancedSearchFieldUntokenizeForPhraseSearch(String field); String getAdvancedSearchFieldSeparatorLabel(String field); boolean isTimelineSearchEnabled(); boolean isCalendarSearchEnabled(); String getStaticQuerySuffix(); String getPreviousVersionIdentifierField(); String getNextVersionIdentifierField(); String getVersionLabelField(); String getIndexedMetsFolder(); String getIndexedLidoFolder(); String getIndexedDenkxwebFolder(); String getIndexedDublinCoreFolder(); String getPageSelectionFormat(); String getMediaFolder(); String getPdfFolder(); String getVocabulariesFolder(); String getOrigContentFolder(); String getCmsTextFolder(); String getAltoFolder(); String getAbbyyFolder(); String getFulltextFolder(); String getTeiFolder(); String getCmdiFolder(); String getWcFolder(); String getAnnotationFolder(); String getHotfolder(); @SuppressWarnings("static-method") String getTempFolder(); boolean isUrnDoRedirect(); boolean isUserRegistrationEnabled(); List<SecurityQuestion> getSecurityQuestions(); boolean isShowOpenIdConnect(); List<IAuthenticationProvider> getAuthenticationProviders(); String getSmtpServer(); String getSmtpUser(); String getSmtpPassword(); String getSmtpSenderAddress(); String getSmtpSenderName(); String getSmtpSecurity(); String getAnonymousUserEmailAddress(); boolean isDisplayCollectionBrowsing(); boolean isDisplayUserNavigation(); boolean isDisplayTagCloudNavigation(); boolean isDisplayStatistics(); boolean isDisplayTimeMatrix(); boolean isDisplayCrowdsourcingModuleLinks(); String getTheme(); String getThemeRootPath(); String getName(); String getDescription(); boolean isDisplayTagCloudStartpage(); boolean isDisplaySearchResultNavigation(); boolean isFoldout(String sidebarElement); boolean isSidebarPageViewLinkVisible(); boolean isSidebarCalendarViewLinkVisible(); boolean isSidebarTocViewLinkVisible(); boolean isSidebarThumbsViewLinkVisible(); boolean isSidebarMetadataViewLinkVisible(); boolean isShowSidebarEventMetadata(); boolean isShowRecordLabelIfNoOtherViews(); boolean isSidebarFulltextLinkVisible(); boolean isSidebarTocWidgetVisible(); boolean isSidebarTocWidgetVisibleInFullscreen(); boolean isSidebarOpacLinkVisible(); boolean getSidebarTocPageNumbersVisible(); int getSidebarTocLengthBeforeCut(); int getSidebarTocInitialCollapseLevel(); int getSidebarTocCollapseLengthThreshold(); int getSidebarTocLowestLevelToCollapseForLength(); boolean isSidebarTocTreeView(); boolean isTocTreeView(String docStructType); List<String> getAllDrillDownFields(); List<String> getDrillDownFields(); List<String> getHierarchicalDrillDownFields(); int getInitialDrillDownElementNumber(String field); String getSortOrder(String field); List<String> getPriorityValuesForDrillDownField(String field); String getLabelFieldForDrillDownField(String facetField); @SuppressWarnings("static-method") List<String> getRangeFacetFields(); boolean isSortingEnabled(); String getDefaultSortField(); List<String> getSortFields(); List<String> getStaticSortFields(); String getUrnResolverUrl(); int getUnconditionalImageAccessMaxWidth(); boolean isFullAccessForLocalhost(); boolean isGeneratePdfInTaskManager(); boolean isPdfApiDisabled(); boolean isTitlePdfEnabled(); boolean isTocPdfEnabled(); boolean isMetadataPdfEnabled(); boolean isPagePdfEnabled(); boolean isDocHierarchyPdfEnabled(); boolean isTitleEpubEnabled(); boolean isTocEpubEnabled(); boolean isMetadataEpubEnabled(); String getDownloadFolder(String type); int getRssFeedItems(); String getRssTitle(); String getRssDescription(); String getRssCopyrightText(); String getRulesetFilePath(); String getDefaultCollection(); int getThumbnailsWidth(); int getThumbnailsHeight(); int getThumbnailsCompression(); String getAnchorThumbnailMode(); int getMultivolumeThumbnailWidth(); int getMultivolumeThumbnailHeight(); boolean getDisplayBreadcrumbs(); boolean getDisplayMetadataPageLinkBlock(); boolean isAddDublinCoreMetaTags(); boolean isAddHighwirePressMetaTags(); int getMetadataParamNumber(); boolean useTiles(); boolean useTilesFullscreen(); boolean useTiles(PageType view, ImageType image); int getFooterHeight(); int getFullscreenFooterHeight(); int getFooterHeight(PageType view, ImageType image); String getImageViewType(); String getZoomFullscreenViewType(); String getZoomImageViewType(PageType view, ImageType image); boolean useOpenSeadragon(); List<String> getImageViewZoomScales(); List<String> getImageViewZoomScales(String view); List<String> getImageViewZoomScales(PageType view, ImageType image); Map<Integer, List<Integer>> getTileSizes(); Map<Integer, List<Integer>> getTileSizes(PageType view, ImageType image); SubnodeConfiguration getZoomImageViewConfig(PageType pageType, ImageType imageType); int getBreadcrumbsClipping(); boolean isDisplayTopstructLabel(); boolean getDisplayStructType(); int getSearchHitMetadataValueNumber(); int getSearchHitMetadataValueLength(); List<String> getWatermarkTextConfiguration(); String getWatermarkFormat(); boolean isOriginalContentDownload(); String getStopwordsFilePath(); String getPageType(PageType type); String getDocstructTargetPageType(String docstruct); String getPageTypeExitView(PageType type); int getFulltextPercentageWarningThreshold(); boolean isUseViewerLocaleAsRecordLanguage(); String getFeedbackEmailAddress(); boolean isBookmarksEnabled(); boolean isForceJpegConversion(); int getPageLoaderThreshold(); boolean isPreventProxyCaching(); boolean isSolrCompressionEnabled(); boolean isSolrBackwardsCompatible(); boolean isUserCommentsEnabled(); String getUserCommentsConditionalQuery(); List<String> getUserCommentsNotificationEmailAddresses(); String getViewerHome(); List<String> getWatermarkIdField(); String getSubthemeMainTheme(); String getSubthemeDiscriminatorField(); int getTagCloudSampleSize(String fieldName); List<StringPair> getTocVolumeSortFieldsForTemplate(String template); String getTocVolumeGroupFieldForTemplate(String template); boolean getDisplayTitleBreadcrumbs(); boolean isDisplayTitlePURL(); int getTitleBreadcrumbsMaxTitleLength(); boolean getIncludeAnchorInTitleBreadcrumbs(); boolean isDisplaySearchRssLinks(); boolean showThumbnailsInToc(); String getStartYearForTimeline(); String getEndYearForTimeline(); String getTimelineHits(); boolean isPiwikTrackingEnabled(); String getPiwikBaseURL(); String getPiwikSiteID(); boolean isSearchSavingEnabled(); boolean isBoostTopLevelDocstructs(); boolean isGroupDuplicateHits(); List<String> getRecordGroupIdentifierFields(); List<String> getAncestorIdentifierFields(); boolean isTocListSiblingRecords(); List<SearchFilter> getSearchFilters(); List<Map<String, String>> getWebApiFields(); String getDbPersistenceUnit(); boolean useCustomNavBar(); String getCmsTemplateFolder(); String getCmsMediaFolder(); String getTempMediaFolder(); List<String> getCmsClassifications(); int getCmsMediaDisplayWidth(); int getCmsMediaDisplayHeight(); boolean isTranskribusEnabled(); String getTranskribusUserName(); String getTranskribusPassword(); String getTranskribusDefaultCollection(); String getTranskribusRestApiUrl(); List<String> getTranskribusAllowedDocumentTypes(); int getTocIndentation(); boolean isPageBrowseEnabled(); List<Integer> getPageBrowseSteps(); String getTaskManagerServiceUrl(); String getTaskManagerRestUrl(); String getReCaptchaSiteKey(); boolean isUseReCaptcha(); boolean isSearchInItemEnabled(); String getDefaultBrowseIcon(String field); boolean isSearchExcelExportEnabled(); List<String> getSearchExcelExportFields(); int getExcelDownloadTimeout(); boolean isDisplayEmptyTocInSidebar(); boolean isDoublePageModeEnabled(); List<String> getRestrictedImageUrls(); List<String> getIIIFLicenses(); List<String> getIIIFMetadataFields(); List<String> getIIIFEventFields(); String getIIIFMetadataLabel(String field); int getIIIFDiscoveryAvtivitiesPerPage(); List<String> getIIIFLogo(); String getIIIFNavDateField(); List<String> getIIIFAttribution(); List<String> getIIIFDescriptionFields(); String getSitelinksField(); String getSitelinksFilterQuery(); List<String> getConfiguredCollections(); String getWebApiToken(); boolean isAllowRedirectCollectionToWork(); String getTwitterUserName(); float getLimitImageHeightUpperRatioThreshold(); float getLimitImageHeightLowerRatioThreshold(); boolean isLimitImageHeight(); boolean isAddCORSHeader(); String getCORSHeaderValue(); boolean isDiscloseImageContentLocation(); String getAccessConditionDisplayField(); String getCopyrightDisplayField(); boolean isDisplayCopyrightInfo(); boolean isDisplaySocialMediaShareLinks(); boolean isDisplayAnchorLabelInTitleBar(String template); String getAnchorLabelInTitleBarPrefix(String template); String getAnchorLabelInTitleBarSuffix(String template); String getMapBoxToken(); GeoMapMarker getGeoMapMarker(String name); List<String> getGeoMapMarkerFields(); List<GeoMapMarker> getGeoMapMarkers(); static GeoMapMarker readGeoMapMarker(HierarchicalConfiguration config); List<LicenseDescription> getLicenseDescriptions(); }
Configuration extends AbstractConfiguration { protected static Set<String> loadStopwords(String stopwordsFilePath) throws FileNotFoundException, IOException { if (StringUtils.isEmpty(stopwordsFilePath)) { throw new IllegalArgumentException("stopwordsFilePath may not be null or empty"); } if (StringUtils.isEmpty(stopwordsFilePath)) { logger.warn("'stopwordsFile' not configured. Stop words cannot be filtered from search queries."); return Collections.emptySet(); } Set<String> ret = new HashSet<>(); try (FileReader fr = new FileReader(stopwordsFilePath); BufferedReader br = new BufferedReader(fr)) { String line; while ((line = br.readLine()) != null) { line = line.trim(); if (StringUtils.isNotBlank(line)) { if (line.charAt(0) != '#') { int pipeIndex = line.indexOf('|'); if (pipeIndex != -1) { line = line.substring(0, pipeIndex).trim(); } if (!line.isEmpty() && Character.getNumericValue(line.charAt(0)) != -1) { ret.add(line); } } } } } return ret; } Configuration(String configFilePath); Set<String> getStopwords(); boolean reloadingRequired(); String getConfigLocalPath(); String getLocalRessourceBundleFile(); int getViewerThumbnailsPerPage(); int getViewerMaxImageWidth(); int getViewerMaxImageHeight(); int getViewerMaxImageScale(); boolean isRememberImageZoom(); boolean isRememberImageRotation(); String getDfgViewerUrl(); String getConnectorVersionUrl(); List<Metadata> getTitleBarMetadata(); List<Metadata> getSearchHitMetadataForTemplate(String template); List<Metadata> getMainMetadataForTemplate(String template); List<Metadata> getSidebarMetadataForTemplate(String template); List<String> getNormdataFieldsForTemplate(String template); List<Metadata> getTocLabelConfiguration(String template); int getTocAnchorGroupElementsPerPage(); boolean isDisplaySidebarBrowsingTerms(); boolean isDisplaySidebarRssFeed(); boolean isDisplayWidgetUsage(); Metadata getWidgetUsageLicenceTextMetadata(); boolean isDisplaySidebarUsageWidgetLinkToJpegImage(); boolean isDisplaySidebarUsageWidgetLinkToMasterImage(); String getWidgetUsageMaxJpegSize(); String getWidgetUsageMaxMasterImageSize(); List<String> getCalendarDocStructTypes(); boolean isBrowsingMenuEnabled(); int getBrowsingMenuHitsPerPage(); List<BrowsingMenuFieldConfig> getBrowsingMenuFields(); String getBrowsingMenuSortingIgnoreLeadingChars(); String getDocstrctWhitelistFilterQuery(); String getCollectionSplittingChar(String field); List<DcSortingList> getCollectionSorting(String field); List<String> getCollectionBlacklist(String field); String getCollectionDefaultSortField(String field, String name); int getCollectionDisplayNumberOfVolumesLevel(String field); int getCollectionDisplayDepthForSearch(String field); String getCollectionHierarchyField(); boolean isAddCollectionHierarchyToBreadcrumbs(String field); String getSolrUrl(); String getContentServerWrapperUrl(); String getDownloadUrl(); String getRestApiUrl(); String getIIIFApiUrl(); boolean isUseIIIFApiUrlForCmsMediaUrls(); String getContentServerRealUrl(); String getMetsUrl(); String getMarcUrl(); String getDcUrl(); String getEseUrl(); List<Integer> getSearchHitsPerPageValues(); int getSearchHitsPerPageDefaultValue(); int getFulltextFragmentLength(); boolean isAdvancedSearchEnabled(); int getAdvancedSearchDefaultItemNumber(); List<AdvancedSearchFieldConfiguration> getAdvancedSearchFields(); boolean isAggregateHits(); boolean isDisplayAdditionalMetadataEnabled(); List<String> getDisplayAdditionalMetadataIgnoreFields(); List<String> getDisplayAdditionalMetadataTranslateFields(); boolean isAdvancedSearchFieldHierarchical(String field); boolean isAdvancedSearchFieldRange(String field); boolean isAdvancedSearchFieldUntokenizeForPhraseSearch(String field); String getAdvancedSearchFieldSeparatorLabel(String field); boolean isTimelineSearchEnabled(); boolean isCalendarSearchEnabled(); String getStaticQuerySuffix(); String getPreviousVersionIdentifierField(); String getNextVersionIdentifierField(); String getVersionLabelField(); String getIndexedMetsFolder(); String getIndexedLidoFolder(); String getIndexedDenkxwebFolder(); String getIndexedDublinCoreFolder(); String getPageSelectionFormat(); String getMediaFolder(); String getPdfFolder(); String getVocabulariesFolder(); String getOrigContentFolder(); String getCmsTextFolder(); String getAltoFolder(); String getAbbyyFolder(); String getFulltextFolder(); String getTeiFolder(); String getCmdiFolder(); String getWcFolder(); String getAnnotationFolder(); String getHotfolder(); @SuppressWarnings("static-method") String getTempFolder(); boolean isUrnDoRedirect(); boolean isUserRegistrationEnabled(); List<SecurityQuestion> getSecurityQuestions(); boolean isShowOpenIdConnect(); List<IAuthenticationProvider> getAuthenticationProviders(); String getSmtpServer(); String getSmtpUser(); String getSmtpPassword(); String getSmtpSenderAddress(); String getSmtpSenderName(); String getSmtpSecurity(); String getAnonymousUserEmailAddress(); boolean isDisplayCollectionBrowsing(); boolean isDisplayUserNavigation(); boolean isDisplayTagCloudNavigation(); boolean isDisplayStatistics(); boolean isDisplayTimeMatrix(); boolean isDisplayCrowdsourcingModuleLinks(); String getTheme(); String getThemeRootPath(); String getName(); String getDescription(); boolean isDisplayTagCloudStartpage(); boolean isDisplaySearchResultNavigation(); boolean isFoldout(String sidebarElement); boolean isSidebarPageViewLinkVisible(); boolean isSidebarCalendarViewLinkVisible(); boolean isSidebarTocViewLinkVisible(); boolean isSidebarThumbsViewLinkVisible(); boolean isSidebarMetadataViewLinkVisible(); boolean isShowSidebarEventMetadata(); boolean isShowRecordLabelIfNoOtherViews(); boolean isSidebarFulltextLinkVisible(); boolean isSidebarTocWidgetVisible(); boolean isSidebarTocWidgetVisibleInFullscreen(); boolean isSidebarOpacLinkVisible(); boolean getSidebarTocPageNumbersVisible(); int getSidebarTocLengthBeforeCut(); int getSidebarTocInitialCollapseLevel(); int getSidebarTocCollapseLengthThreshold(); int getSidebarTocLowestLevelToCollapseForLength(); boolean isSidebarTocTreeView(); boolean isTocTreeView(String docStructType); List<String> getAllDrillDownFields(); List<String> getDrillDownFields(); List<String> getHierarchicalDrillDownFields(); int getInitialDrillDownElementNumber(String field); String getSortOrder(String field); List<String> getPriorityValuesForDrillDownField(String field); String getLabelFieldForDrillDownField(String facetField); @SuppressWarnings("static-method") List<String> getRangeFacetFields(); boolean isSortingEnabled(); String getDefaultSortField(); List<String> getSortFields(); List<String> getStaticSortFields(); String getUrnResolverUrl(); int getUnconditionalImageAccessMaxWidth(); boolean isFullAccessForLocalhost(); boolean isGeneratePdfInTaskManager(); boolean isPdfApiDisabled(); boolean isTitlePdfEnabled(); boolean isTocPdfEnabled(); boolean isMetadataPdfEnabled(); boolean isPagePdfEnabled(); boolean isDocHierarchyPdfEnabled(); boolean isTitleEpubEnabled(); boolean isTocEpubEnabled(); boolean isMetadataEpubEnabled(); String getDownloadFolder(String type); int getRssFeedItems(); String getRssTitle(); String getRssDescription(); String getRssCopyrightText(); String getRulesetFilePath(); String getDefaultCollection(); int getThumbnailsWidth(); int getThumbnailsHeight(); int getThumbnailsCompression(); String getAnchorThumbnailMode(); int getMultivolumeThumbnailWidth(); int getMultivolumeThumbnailHeight(); boolean getDisplayBreadcrumbs(); boolean getDisplayMetadataPageLinkBlock(); boolean isAddDublinCoreMetaTags(); boolean isAddHighwirePressMetaTags(); int getMetadataParamNumber(); boolean useTiles(); boolean useTilesFullscreen(); boolean useTiles(PageType view, ImageType image); int getFooterHeight(); int getFullscreenFooterHeight(); int getFooterHeight(PageType view, ImageType image); String getImageViewType(); String getZoomFullscreenViewType(); String getZoomImageViewType(PageType view, ImageType image); boolean useOpenSeadragon(); List<String> getImageViewZoomScales(); List<String> getImageViewZoomScales(String view); List<String> getImageViewZoomScales(PageType view, ImageType image); Map<Integer, List<Integer>> getTileSizes(); Map<Integer, List<Integer>> getTileSizes(PageType view, ImageType image); SubnodeConfiguration getZoomImageViewConfig(PageType pageType, ImageType imageType); int getBreadcrumbsClipping(); boolean isDisplayTopstructLabel(); boolean getDisplayStructType(); int getSearchHitMetadataValueNumber(); int getSearchHitMetadataValueLength(); List<String> getWatermarkTextConfiguration(); String getWatermarkFormat(); boolean isOriginalContentDownload(); String getStopwordsFilePath(); String getPageType(PageType type); String getDocstructTargetPageType(String docstruct); String getPageTypeExitView(PageType type); int getFulltextPercentageWarningThreshold(); boolean isUseViewerLocaleAsRecordLanguage(); String getFeedbackEmailAddress(); boolean isBookmarksEnabled(); boolean isForceJpegConversion(); int getPageLoaderThreshold(); boolean isPreventProxyCaching(); boolean isSolrCompressionEnabled(); boolean isSolrBackwardsCompatible(); boolean isUserCommentsEnabled(); String getUserCommentsConditionalQuery(); List<String> getUserCommentsNotificationEmailAddresses(); String getViewerHome(); List<String> getWatermarkIdField(); String getSubthemeMainTheme(); String getSubthemeDiscriminatorField(); int getTagCloudSampleSize(String fieldName); List<StringPair> getTocVolumeSortFieldsForTemplate(String template); String getTocVolumeGroupFieldForTemplate(String template); boolean getDisplayTitleBreadcrumbs(); boolean isDisplayTitlePURL(); int getTitleBreadcrumbsMaxTitleLength(); boolean getIncludeAnchorInTitleBreadcrumbs(); boolean isDisplaySearchRssLinks(); boolean showThumbnailsInToc(); String getStartYearForTimeline(); String getEndYearForTimeline(); String getTimelineHits(); boolean isPiwikTrackingEnabled(); String getPiwikBaseURL(); String getPiwikSiteID(); boolean isSearchSavingEnabled(); boolean isBoostTopLevelDocstructs(); boolean isGroupDuplicateHits(); List<String> getRecordGroupIdentifierFields(); List<String> getAncestorIdentifierFields(); boolean isTocListSiblingRecords(); List<SearchFilter> getSearchFilters(); List<Map<String, String>> getWebApiFields(); String getDbPersistenceUnit(); boolean useCustomNavBar(); String getCmsTemplateFolder(); String getCmsMediaFolder(); String getTempMediaFolder(); List<String> getCmsClassifications(); int getCmsMediaDisplayWidth(); int getCmsMediaDisplayHeight(); boolean isTranskribusEnabled(); String getTranskribusUserName(); String getTranskribusPassword(); String getTranskribusDefaultCollection(); String getTranskribusRestApiUrl(); List<String> getTranskribusAllowedDocumentTypes(); int getTocIndentation(); boolean isPageBrowseEnabled(); List<Integer> getPageBrowseSteps(); String getTaskManagerServiceUrl(); String getTaskManagerRestUrl(); String getReCaptchaSiteKey(); boolean isUseReCaptcha(); boolean isSearchInItemEnabled(); String getDefaultBrowseIcon(String field); boolean isSearchExcelExportEnabled(); List<String> getSearchExcelExportFields(); int getExcelDownloadTimeout(); boolean isDisplayEmptyTocInSidebar(); boolean isDoublePageModeEnabled(); List<String> getRestrictedImageUrls(); List<String> getIIIFLicenses(); List<String> getIIIFMetadataFields(); List<String> getIIIFEventFields(); String getIIIFMetadataLabel(String field); int getIIIFDiscoveryAvtivitiesPerPage(); List<String> getIIIFLogo(); String getIIIFNavDateField(); List<String> getIIIFAttribution(); List<String> getIIIFDescriptionFields(); String getSitelinksField(); String getSitelinksFilterQuery(); List<String> getConfiguredCollections(); String getWebApiToken(); boolean isAllowRedirectCollectionToWork(); String getTwitterUserName(); float getLimitImageHeightUpperRatioThreshold(); float getLimitImageHeightLowerRatioThreshold(); boolean isLimitImageHeight(); boolean isAddCORSHeader(); String getCORSHeaderValue(); boolean isDiscloseImageContentLocation(); String getAccessConditionDisplayField(); String getCopyrightDisplayField(); boolean isDisplayCopyrightInfo(); boolean isDisplaySocialMediaShareLinks(); boolean isDisplayAnchorLabelInTitleBar(String template); String getAnchorLabelInTitleBarPrefix(String template); String getAnchorLabelInTitleBarSuffix(String template); String getMapBoxToken(); GeoMapMarker getGeoMapMarker(String name); List<String> getGeoMapMarkerFields(); List<GeoMapMarker> getGeoMapMarkers(); static GeoMapMarker readGeoMapMarker(HierarchicalConfiguration config); List<LicenseDescription> getLicenseDescriptions(); }
@Test(expected = FileNotFoundException.class) public void loadStopwords_shouldThrowFileNotFoundExceptionIfFileDoesNotExist() throws Exception { Configuration.loadStopwords("src/test/resources/startwords.txt"); }
protected static Set<String> loadStopwords(String stopwordsFilePath) throws FileNotFoundException, IOException { if (StringUtils.isEmpty(stopwordsFilePath)) { throw new IllegalArgumentException("stopwordsFilePath may not be null or empty"); } if (StringUtils.isEmpty(stopwordsFilePath)) { logger.warn("'stopwordsFile' not configured. Stop words cannot be filtered from search queries."); return Collections.emptySet(); } Set<String> ret = new HashSet<>(); try (FileReader fr = new FileReader(stopwordsFilePath); BufferedReader br = new BufferedReader(fr)) { String line; while ((line = br.readLine()) != null) { line = line.trim(); if (StringUtils.isNotBlank(line)) { if (line.charAt(0) != '#') { int pipeIndex = line.indexOf('|'); if (pipeIndex != -1) { line = line.substring(0, pipeIndex).trim(); } if (!line.isEmpty() && Character.getNumericValue(line.charAt(0)) != -1) { ret.add(line); } } } } } return ret; }
Configuration extends AbstractConfiguration { protected static Set<String> loadStopwords(String stopwordsFilePath) throws FileNotFoundException, IOException { if (StringUtils.isEmpty(stopwordsFilePath)) { throw new IllegalArgumentException("stopwordsFilePath may not be null or empty"); } if (StringUtils.isEmpty(stopwordsFilePath)) { logger.warn("'stopwordsFile' not configured. Stop words cannot be filtered from search queries."); return Collections.emptySet(); } Set<String> ret = new HashSet<>(); try (FileReader fr = new FileReader(stopwordsFilePath); BufferedReader br = new BufferedReader(fr)) { String line; while ((line = br.readLine()) != null) { line = line.trim(); if (StringUtils.isNotBlank(line)) { if (line.charAt(0) != '#') { int pipeIndex = line.indexOf('|'); if (pipeIndex != -1) { line = line.substring(0, pipeIndex).trim(); } if (!line.isEmpty() && Character.getNumericValue(line.charAt(0)) != -1) { ret.add(line); } } } } } return ret; } }
Configuration extends AbstractConfiguration { protected static Set<String> loadStopwords(String stopwordsFilePath) throws FileNotFoundException, IOException { if (StringUtils.isEmpty(stopwordsFilePath)) { throw new IllegalArgumentException("stopwordsFilePath may not be null or empty"); } if (StringUtils.isEmpty(stopwordsFilePath)) { logger.warn("'stopwordsFile' not configured. Stop words cannot be filtered from search queries."); return Collections.emptySet(); } Set<String> ret = new HashSet<>(); try (FileReader fr = new FileReader(stopwordsFilePath); BufferedReader br = new BufferedReader(fr)) { String line; while ((line = br.readLine()) != null) { line = line.trim(); if (StringUtils.isNotBlank(line)) { if (line.charAt(0) != '#') { int pipeIndex = line.indexOf('|'); if (pipeIndex != -1) { line = line.substring(0, pipeIndex).trim(); } if (!line.isEmpty() && Character.getNumericValue(line.charAt(0)) != -1) { ret.add(line); } } } } } return ret; } Configuration(String configFilePath); }
Configuration extends AbstractConfiguration { protected static Set<String> loadStopwords(String stopwordsFilePath) throws FileNotFoundException, IOException { if (StringUtils.isEmpty(stopwordsFilePath)) { throw new IllegalArgumentException("stopwordsFilePath may not be null or empty"); } if (StringUtils.isEmpty(stopwordsFilePath)) { logger.warn("'stopwordsFile' not configured. Stop words cannot be filtered from search queries."); return Collections.emptySet(); } Set<String> ret = new HashSet<>(); try (FileReader fr = new FileReader(stopwordsFilePath); BufferedReader br = new BufferedReader(fr)) { String line; while ((line = br.readLine()) != null) { line = line.trim(); if (StringUtils.isNotBlank(line)) { if (line.charAt(0) != '#') { int pipeIndex = line.indexOf('|'); if (pipeIndex != -1) { line = line.substring(0, pipeIndex).trim(); } if (!line.isEmpty() && Character.getNumericValue(line.charAt(0)) != -1) { ret.add(line); } } } } } return ret; } Configuration(String configFilePath); Set<String> getStopwords(); boolean reloadingRequired(); String getConfigLocalPath(); String getLocalRessourceBundleFile(); int getViewerThumbnailsPerPage(); int getViewerMaxImageWidth(); int getViewerMaxImageHeight(); int getViewerMaxImageScale(); boolean isRememberImageZoom(); boolean isRememberImageRotation(); String getDfgViewerUrl(); String getConnectorVersionUrl(); List<Metadata> getTitleBarMetadata(); List<Metadata> getSearchHitMetadataForTemplate(String template); List<Metadata> getMainMetadataForTemplate(String template); List<Metadata> getSidebarMetadataForTemplate(String template); List<String> getNormdataFieldsForTemplate(String template); List<Metadata> getTocLabelConfiguration(String template); int getTocAnchorGroupElementsPerPage(); boolean isDisplaySidebarBrowsingTerms(); boolean isDisplaySidebarRssFeed(); boolean isDisplayWidgetUsage(); Metadata getWidgetUsageLicenceTextMetadata(); boolean isDisplaySidebarUsageWidgetLinkToJpegImage(); boolean isDisplaySidebarUsageWidgetLinkToMasterImage(); String getWidgetUsageMaxJpegSize(); String getWidgetUsageMaxMasterImageSize(); List<String> getCalendarDocStructTypes(); boolean isBrowsingMenuEnabled(); int getBrowsingMenuHitsPerPage(); List<BrowsingMenuFieldConfig> getBrowsingMenuFields(); String getBrowsingMenuSortingIgnoreLeadingChars(); String getDocstrctWhitelistFilterQuery(); String getCollectionSplittingChar(String field); List<DcSortingList> getCollectionSorting(String field); List<String> getCollectionBlacklist(String field); String getCollectionDefaultSortField(String field, String name); int getCollectionDisplayNumberOfVolumesLevel(String field); int getCollectionDisplayDepthForSearch(String field); String getCollectionHierarchyField(); boolean isAddCollectionHierarchyToBreadcrumbs(String field); String getSolrUrl(); String getContentServerWrapperUrl(); String getDownloadUrl(); String getRestApiUrl(); String getIIIFApiUrl(); boolean isUseIIIFApiUrlForCmsMediaUrls(); String getContentServerRealUrl(); String getMetsUrl(); String getMarcUrl(); String getDcUrl(); String getEseUrl(); List<Integer> getSearchHitsPerPageValues(); int getSearchHitsPerPageDefaultValue(); int getFulltextFragmentLength(); boolean isAdvancedSearchEnabled(); int getAdvancedSearchDefaultItemNumber(); List<AdvancedSearchFieldConfiguration> getAdvancedSearchFields(); boolean isAggregateHits(); boolean isDisplayAdditionalMetadataEnabled(); List<String> getDisplayAdditionalMetadataIgnoreFields(); List<String> getDisplayAdditionalMetadataTranslateFields(); boolean isAdvancedSearchFieldHierarchical(String field); boolean isAdvancedSearchFieldRange(String field); boolean isAdvancedSearchFieldUntokenizeForPhraseSearch(String field); String getAdvancedSearchFieldSeparatorLabel(String field); boolean isTimelineSearchEnabled(); boolean isCalendarSearchEnabled(); String getStaticQuerySuffix(); String getPreviousVersionIdentifierField(); String getNextVersionIdentifierField(); String getVersionLabelField(); String getIndexedMetsFolder(); String getIndexedLidoFolder(); String getIndexedDenkxwebFolder(); String getIndexedDublinCoreFolder(); String getPageSelectionFormat(); String getMediaFolder(); String getPdfFolder(); String getVocabulariesFolder(); String getOrigContentFolder(); String getCmsTextFolder(); String getAltoFolder(); String getAbbyyFolder(); String getFulltextFolder(); String getTeiFolder(); String getCmdiFolder(); String getWcFolder(); String getAnnotationFolder(); String getHotfolder(); @SuppressWarnings("static-method") String getTempFolder(); boolean isUrnDoRedirect(); boolean isUserRegistrationEnabled(); List<SecurityQuestion> getSecurityQuestions(); boolean isShowOpenIdConnect(); List<IAuthenticationProvider> getAuthenticationProviders(); String getSmtpServer(); String getSmtpUser(); String getSmtpPassword(); String getSmtpSenderAddress(); String getSmtpSenderName(); String getSmtpSecurity(); String getAnonymousUserEmailAddress(); boolean isDisplayCollectionBrowsing(); boolean isDisplayUserNavigation(); boolean isDisplayTagCloudNavigation(); boolean isDisplayStatistics(); boolean isDisplayTimeMatrix(); boolean isDisplayCrowdsourcingModuleLinks(); String getTheme(); String getThemeRootPath(); String getName(); String getDescription(); boolean isDisplayTagCloudStartpage(); boolean isDisplaySearchResultNavigation(); boolean isFoldout(String sidebarElement); boolean isSidebarPageViewLinkVisible(); boolean isSidebarCalendarViewLinkVisible(); boolean isSidebarTocViewLinkVisible(); boolean isSidebarThumbsViewLinkVisible(); boolean isSidebarMetadataViewLinkVisible(); boolean isShowSidebarEventMetadata(); boolean isShowRecordLabelIfNoOtherViews(); boolean isSidebarFulltextLinkVisible(); boolean isSidebarTocWidgetVisible(); boolean isSidebarTocWidgetVisibleInFullscreen(); boolean isSidebarOpacLinkVisible(); boolean getSidebarTocPageNumbersVisible(); int getSidebarTocLengthBeforeCut(); int getSidebarTocInitialCollapseLevel(); int getSidebarTocCollapseLengthThreshold(); int getSidebarTocLowestLevelToCollapseForLength(); boolean isSidebarTocTreeView(); boolean isTocTreeView(String docStructType); List<String> getAllDrillDownFields(); List<String> getDrillDownFields(); List<String> getHierarchicalDrillDownFields(); int getInitialDrillDownElementNumber(String field); String getSortOrder(String field); List<String> getPriorityValuesForDrillDownField(String field); String getLabelFieldForDrillDownField(String facetField); @SuppressWarnings("static-method") List<String> getRangeFacetFields(); boolean isSortingEnabled(); String getDefaultSortField(); List<String> getSortFields(); List<String> getStaticSortFields(); String getUrnResolverUrl(); int getUnconditionalImageAccessMaxWidth(); boolean isFullAccessForLocalhost(); boolean isGeneratePdfInTaskManager(); boolean isPdfApiDisabled(); boolean isTitlePdfEnabled(); boolean isTocPdfEnabled(); boolean isMetadataPdfEnabled(); boolean isPagePdfEnabled(); boolean isDocHierarchyPdfEnabled(); boolean isTitleEpubEnabled(); boolean isTocEpubEnabled(); boolean isMetadataEpubEnabled(); String getDownloadFolder(String type); int getRssFeedItems(); String getRssTitle(); String getRssDescription(); String getRssCopyrightText(); String getRulesetFilePath(); String getDefaultCollection(); int getThumbnailsWidth(); int getThumbnailsHeight(); int getThumbnailsCompression(); String getAnchorThumbnailMode(); int getMultivolumeThumbnailWidth(); int getMultivolumeThumbnailHeight(); boolean getDisplayBreadcrumbs(); boolean getDisplayMetadataPageLinkBlock(); boolean isAddDublinCoreMetaTags(); boolean isAddHighwirePressMetaTags(); int getMetadataParamNumber(); boolean useTiles(); boolean useTilesFullscreen(); boolean useTiles(PageType view, ImageType image); int getFooterHeight(); int getFullscreenFooterHeight(); int getFooterHeight(PageType view, ImageType image); String getImageViewType(); String getZoomFullscreenViewType(); String getZoomImageViewType(PageType view, ImageType image); boolean useOpenSeadragon(); List<String> getImageViewZoomScales(); List<String> getImageViewZoomScales(String view); List<String> getImageViewZoomScales(PageType view, ImageType image); Map<Integer, List<Integer>> getTileSizes(); Map<Integer, List<Integer>> getTileSizes(PageType view, ImageType image); SubnodeConfiguration getZoomImageViewConfig(PageType pageType, ImageType imageType); int getBreadcrumbsClipping(); boolean isDisplayTopstructLabel(); boolean getDisplayStructType(); int getSearchHitMetadataValueNumber(); int getSearchHitMetadataValueLength(); List<String> getWatermarkTextConfiguration(); String getWatermarkFormat(); boolean isOriginalContentDownload(); String getStopwordsFilePath(); String getPageType(PageType type); String getDocstructTargetPageType(String docstruct); String getPageTypeExitView(PageType type); int getFulltextPercentageWarningThreshold(); boolean isUseViewerLocaleAsRecordLanguage(); String getFeedbackEmailAddress(); boolean isBookmarksEnabled(); boolean isForceJpegConversion(); int getPageLoaderThreshold(); boolean isPreventProxyCaching(); boolean isSolrCompressionEnabled(); boolean isSolrBackwardsCompatible(); boolean isUserCommentsEnabled(); String getUserCommentsConditionalQuery(); List<String> getUserCommentsNotificationEmailAddresses(); String getViewerHome(); List<String> getWatermarkIdField(); String getSubthemeMainTheme(); String getSubthemeDiscriminatorField(); int getTagCloudSampleSize(String fieldName); List<StringPair> getTocVolumeSortFieldsForTemplate(String template); String getTocVolumeGroupFieldForTemplate(String template); boolean getDisplayTitleBreadcrumbs(); boolean isDisplayTitlePURL(); int getTitleBreadcrumbsMaxTitleLength(); boolean getIncludeAnchorInTitleBreadcrumbs(); boolean isDisplaySearchRssLinks(); boolean showThumbnailsInToc(); String getStartYearForTimeline(); String getEndYearForTimeline(); String getTimelineHits(); boolean isPiwikTrackingEnabled(); String getPiwikBaseURL(); String getPiwikSiteID(); boolean isSearchSavingEnabled(); boolean isBoostTopLevelDocstructs(); boolean isGroupDuplicateHits(); List<String> getRecordGroupIdentifierFields(); List<String> getAncestorIdentifierFields(); boolean isTocListSiblingRecords(); List<SearchFilter> getSearchFilters(); List<Map<String, String>> getWebApiFields(); String getDbPersistenceUnit(); boolean useCustomNavBar(); String getCmsTemplateFolder(); String getCmsMediaFolder(); String getTempMediaFolder(); List<String> getCmsClassifications(); int getCmsMediaDisplayWidth(); int getCmsMediaDisplayHeight(); boolean isTranskribusEnabled(); String getTranskribusUserName(); String getTranskribusPassword(); String getTranskribusDefaultCollection(); String getTranskribusRestApiUrl(); List<String> getTranskribusAllowedDocumentTypes(); int getTocIndentation(); boolean isPageBrowseEnabled(); List<Integer> getPageBrowseSteps(); String getTaskManagerServiceUrl(); String getTaskManagerRestUrl(); String getReCaptchaSiteKey(); boolean isUseReCaptcha(); boolean isSearchInItemEnabled(); String getDefaultBrowseIcon(String field); boolean isSearchExcelExportEnabled(); List<String> getSearchExcelExportFields(); int getExcelDownloadTimeout(); boolean isDisplayEmptyTocInSidebar(); boolean isDoublePageModeEnabled(); List<String> getRestrictedImageUrls(); List<String> getIIIFLicenses(); List<String> getIIIFMetadataFields(); List<String> getIIIFEventFields(); String getIIIFMetadataLabel(String field); int getIIIFDiscoveryAvtivitiesPerPage(); List<String> getIIIFLogo(); String getIIIFNavDateField(); List<String> getIIIFAttribution(); List<String> getIIIFDescriptionFields(); String getSitelinksField(); String getSitelinksFilterQuery(); List<String> getConfiguredCollections(); String getWebApiToken(); boolean isAllowRedirectCollectionToWork(); String getTwitterUserName(); float getLimitImageHeightUpperRatioThreshold(); float getLimitImageHeightLowerRatioThreshold(); boolean isLimitImageHeight(); boolean isAddCORSHeader(); String getCORSHeaderValue(); boolean isDiscloseImageContentLocation(); String getAccessConditionDisplayField(); String getCopyrightDisplayField(); boolean isDisplayCopyrightInfo(); boolean isDisplaySocialMediaShareLinks(); boolean isDisplayAnchorLabelInTitleBar(String template); String getAnchorLabelInTitleBarPrefix(String template); String getAnchorLabelInTitleBarSuffix(String template); String getMapBoxToken(); GeoMapMarker getGeoMapMarker(String name); List<String> getGeoMapMarkerFields(); List<GeoMapMarker> getGeoMapMarkers(); static GeoMapMarker readGeoMapMarker(HierarchicalConfiguration config); List<LicenseDescription> getLicenseDescriptions(); }
Configuration extends AbstractConfiguration { protected static Set<String> loadStopwords(String stopwordsFilePath) throws FileNotFoundException, IOException { if (StringUtils.isEmpty(stopwordsFilePath)) { throw new IllegalArgumentException("stopwordsFilePath may not be null or empty"); } if (StringUtils.isEmpty(stopwordsFilePath)) { logger.warn("'stopwordsFile' not configured. Stop words cannot be filtered from search queries."); return Collections.emptySet(); } Set<String> ret = new HashSet<>(); try (FileReader fr = new FileReader(stopwordsFilePath); BufferedReader br = new BufferedReader(fr)) { String line; while ((line = br.readLine()) != null) { line = line.trim(); if (StringUtils.isNotBlank(line)) { if (line.charAt(0) != '#') { int pipeIndex = line.indexOf('|'); if (pipeIndex != -1) { line = line.substring(0, pipeIndex).trim(); } if (!line.isEmpty() && Character.getNumericValue(line.charAt(0)) != -1) { ret.add(line); } } } } } return ret; } Configuration(String configFilePath); Set<String> getStopwords(); boolean reloadingRequired(); String getConfigLocalPath(); String getLocalRessourceBundleFile(); int getViewerThumbnailsPerPage(); int getViewerMaxImageWidth(); int getViewerMaxImageHeight(); int getViewerMaxImageScale(); boolean isRememberImageZoom(); boolean isRememberImageRotation(); String getDfgViewerUrl(); String getConnectorVersionUrl(); List<Metadata> getTitleBarMetadata(); List<Metadata> getSearchHitMetadataForTemplate(String template); List<Metadata> getMainMetadataForTemplate(String template); List<Metadata> getSidebarMetadataForTemplate(String template); List<String> getNormdataFieldsForTemplate(String template); List<Metadata> getTocLabelConfiguration(String template); int getTocAnchorGroupElementsPerPage(); boolean isDisplaySidebarBrowsingTerms(); boolean isDisplaySidebarRssFeed(); boolean isDisplayWidgetUsage(); Metadata getWidgetUsageLicenceTextMetadata(); boolean isDisplaySidebarUsageWidgetLinkToJpegImage(); boolean isDisplaySidebarUsageWidgetLinkToMasterImage(); String getWidgetUsageMaxJpegSize(); String getWidgetUsageMaxMasterImageSize(); List<String> getCalendarDocStructTypes(); boolean isBrowsingMenuEnabled(); int getBrowsingMenuHitsPerPage(); List<BrowsingMenuFieldConfig> getBrowsingMenuFields(); String getBrowsingMenuSortingIgnoreLeadingChars(); String getDocstrctWhitelistFilterQuery(); String getCollectionSplittingChar(String field); List<DcSortingList> getCollectionSorting(String field); List<String> getCollectionBlacklist(String field); String getCollectionDefaultSortField(String field, String name); int getCollectionDisplayNumberOfVolumesLevel(String field); int getCollectionDisplayDepthForSearch(String field); String getCollectionHierarchyField(); boolean isAddCollectionHierarchyToBreadcrumbs(String field); String getSolrUrl(); String getContentServerWrapperUrl(); String getDownloadUrl(); String getRestApiUrl(); String getIIIFApiUrl(); boolean isUseIIIFApiUrlForCmsMediaUrls(); String getContentServerRealUrl(); String getMetsUrl(); String getMarcUrl(); String getDcUrl(); String getEseUrl(); List<Integer> getSearchHitsPerPageValues(); int getSearchHitsPerPageDefaultValue(); int getFulltextFragmentLength(); boolean isAdvancedSearchEnabled(); int getAdvancedSearchDefaultItemNumber(); List<AdvancedSearchFieldConfiguration> getAdvancedSearchFields(); boolean isAggregateHits(); boolean isDisplayAdditionalMetadataEnabled(); List<String> getDisplayAdditionalMetadataIgnoreFields(); List<String> getDisplayAdditionalMetadataTranslateFields(); boolean isAdvancedSearchFieldHierarchical(String field); boolean isAdvancedSearchFieldRange(String field); boolean isAdvancedSearchFieldUntokenizeForPhraseSearch(String field); String getAdvancedSearchFieldSeparatorLabel(String field); boolean isTimelineSearchEnabled(); boolean isCalendarSearchEnabled(); String getStaticQuerySuffix(); String getPreviousVersionIdentifierField(); String getNextVersionIdentifierField(); String getVersionLabelField(); String getIndexedMetsFolder(); String getIndexedLidoFolder(); String getIndexedDenkxwebFolder(); String getIndexedDublinCoreFolder(); String getPageSelectionFormat(); String getMediaFolder(); String getPdfFolder(); String getVocabulariesFolder(); String getOrigContentFolder(); String getCmsTextFolder(); String getAltoFolder(); String getAbbyyFolder(); String getFulltextFolder(); String getTeiFolder(); String getCmdiFolder(); String getWcFolder(); String getAnnotationFolder(); String getHotfolder(); @SuppressWarnings("static-method") String getTempFolder(); boolean isUrnDoRedirect(); boolean isUserRegistrationEnabled(); List<SecurityQuestion> getSecurityQuestions(); boolean isShowOpenIdConnect(); List<IAuthenticationProvider> getAuthenticationProviders(); String getSmtpServer(); String getSmtpUser(); String getSmtpPassword(); String getSmtpSenderAddress(); String getSmtpSenderName(); String getSmtpSecurity(); String getAnonymousUserEmailAddress(); boolean isDisplayCollectionBrowsing(); boolean isDisplayUserNavigation(); boolean isDisplayTagCloudNavigation(); boolean isDisplayStatistics(); boolean isDisplayTimeMatrix(); boolean isDisplayCrowdsourcingModuleLinks(); String getTheme(); String getThemeRootPath(); String getName(); String getDescription(); boolean isDisplayTagCloudStartpage(); boolean isDisplaySearchResultNavigation(); boolean isFoldout(String sidebarElement); boolean isSidebarPageViewLinkVisible(); boolean isSidebarCalendarViewLinkVisible(); boolean isSidebarTocViewLinkVisible(); boolean isSidebarThumbsViewLinkVisible(); boolean isSidebarMetadataViewLinkVisible(); boolean isShowSidebarEventMetadata(); boolean isShowRecordLabelIfNoOtherViews(); boolean isSidebarFulltextLinkVisible(); boolean isSidebarTocWidgetVisible(); boolean isSidebarTocWidgetVisibleInFullscreen(); boolean isSidebarOpacLinkVisible(); boolean getSidebarTocPageNumbersVisible(); int getSidebarTocLengthBeforeCut(); int getSidebarTocInitialCollapseLevel(); int getSidebarTocCollapseLengthThreshold(); int getSidebarTocLowestLevelToCollapseForLength(); boolean isSidebarTocTreeView(); boolean isTocTreeView(String docStructType); List<String> getAllDrillDownFields(); List<String> getDrillDownFields(); List<String> getHierarchicalDrillDownFields(); int getInitialDrillDownElementNumber(String field); String getSortOrder(String field); List<String> getPriorityValuesForDrillDownField(String field); String getLabelFieldForDrillDownField(String facetField); @SuppressWarnings("static-method") List<String> getRangeFacetFields(); boolean isSortingEnabled(); String getDefaultSortField(); List<String> getSortFields(); List<String> getStaticSortFields(); String getUrnResolverUrl(); int getUnconditionalImageAccessMaxWidth(); boolean isFullAccessForLocalhost(); boolean isGeneratePdfInTaskManager(); boolean isPdfApiDisabled(); boolean isTitlePdfEnabled(); boolean isTocPdfEnabled(); boolean isMetadataPdfEnabled(); boolean isPagePdfEnabled(); boolean isDocHierarchyPdfEnabled(); boolean isTitleEpubEnabled(); boolean isTocEpubEnabled(); boolean isMetadataEpubEnabled(); String getDownloadFolder(String type); int getRssFeedItems(); String getRssTitle(); String getRssDescription(); String getRssCopyrightText(); String getRulesetFilePath(); String getDefaultCollection(); int getThumbnailsWidth(); int getThumbnailsHeight(); int getThumbnailsCompression(); String getAnchorThumbnailMode(); int getMultivolumeThumbnailWidth(); int getMultivolumeThumbnailHeight(); boolean getDisplayBreadcrumbs(); boolean getDisplayMetadataPageLinkBlock(); boolean isAddDublinCoreMetaTags(); boolean isAddHighwirePressMetaTags(); int getMetadataParamNumber(); boolean useTiles(); boolean useTilesFullscreen(); boolean useTiles(PageType view, ImageType image); int getFooterHeight(); int getFullscreenFooterHeight(); int getFooterHeight(PageType view, ImageType image); String getImageViewType(); String getZoomFullscreenViewType(); String getZoomImageViewType(PageType view, ImageType image); boolean useOpenSeadragon(); List<String> getImageViewZoomScales(); List<String> getImageViewZoomScales(String view); List<String> getImageViewZoomScales(PageType view, ImageType image); Map<Integer, List<Integer>> getTileSizes(); Map<Integer, List<Integer>> getTileSizes(PageType view, ImageType image); SubnodeConfiguration getZoomImageViewConfig(PageType pageType, ImageType imageType); int getBreadcrumbsClipping(); boolean isDisplayTopstructLabel(); boolean getDisplayStructType(); int getSearchHitMetadataValueNumber(); int getSearchHitMetadataValueLength(); List<String> getWatermarkTextConfiguration(); String getWatermarkFormat(); boolean isOriginalContentDownload(); String getStopwordsFilePath(); String getPageType(PageType type); String getDocstructTargetPageType(String docstruct); String getPageTypeExitView(PageType type); int getFulltextPercentageWarningThreshold(); boolean isUseViewerLocaleAsRecordLanguage(); String getFeedbackEmailAddress(); boolean isBookmarksEnabled(); boolean isForceJpegConversion(); int getPageLoaderThreshold(); boolean isPreventProxyCaching(); boolean isSolrCompressionEnabled(); boolean isSolrBackwardsCompatible(); boolean isUserCommentsEnabled(); String getUserCommentsConditionalQuery(); List<String> getUserCommentsNotificationEmailAddresses(); String getViewerHome(); List<String> getWatermarkIdField(); String getSubthemeMainTheme(); String getSubthemeDiscriminatorField(); int getTagCloudSampleSize(String fieldName); List<StringPair> getTocVolumeSortFieldsForTemplate(String template); String getTocVolumeGroupFieldForTemplate(String template); boolean getDisplayTitleBreadcrumbs(); boolean isDisplayTitlePURL(); int getTitleBreadcrumbsMaxTitleLength(); boolean getIncludeAnchorInTitleBreadcrumbs(); boolean isDisplaySearchRssLinks(); boolean showThumbnailsInToc(); String getStartYearForTimeline(); String getEndYearForTimeline(); String getTimelineHits(); boolean isPiwikTrackingEnabled(); String getPiwikBaseURL(); String getPiwikSiteID(); boolean isSearchSavingEnabled(); boolean isBoostTopLevelDocstructs(); boolean isGroupDuplicateHits(); List<String> getRecordGroupIdentifierFields(); List<String> getAncestorIdentifierFields(); boolean isTocListSiblingRecords(); List<SearchFilter> getSearchFilters(); List<Map<String, String>> getWebApiFields(); String getDbPersistenceUnit(); boolean useCustomNavBar(); String getCmsTemplateFolder(); String getCmsMediaFolder(); String getTempMediaFolder(); List<String> getCmsClassifications(); int getCmsMediaDisplayWidth(); int getCmsMediaDisplayHeight(); boolean isTranskribusEnabled(); String getTranskribusUserName(); String getTranskribusPassword(); String getTranskribusDefaultCollection(); String getTranskribusRestApiUrl(); List<String> getTranskribusAllowedDocumentTypes(); int getTocIndentation(); boolean isPageBrowseEnabled(); List<Integer> getPageBrowseSteps(); String getTaskManagerServiceUrl(); String getTaskManagerRestUrl(); String getReCaptchaSiteKey(); boolean isUseReCaptcha(); boolean isSearchInItemEnabled(); String getDefaultBrowseIcon(String field); boolean isSearchExcelExportEnabled(); List<String> getSearchExcelExportFields(); int getExcelDownloadTimeout(); boolean isDisplayEmptyTocInSidebar(); boolean isDoublePageModeEnabled(); List<String> getRestrictedImageUrls(); List<String> getIIIFLicenses(); List<String> getIIIFMetadataFields(); List<String> getIIIFEventFields(); String getIIIFMetadataLabel(String field); int getIIIFDiscoveryAvtivitiesPerPage(); List<String> getIIIFLogo(); String getIIIFNavDateField(); List<String> getIIIFAttribution(); List<String> getIIIFDescriptionFields(); String getSitelinksField(); String getSitelinksFilterQuery(); List<String> getConfiguredCollections(); String getWebApiToken(); boolean isAllowRedirectCollectionToWork(); String getTwitterUserName(); float getLimitImageHeightUpperRatioThreshold(); float getLimitImageHeightLowerRatioThreshold(); boolean isLimitImageHeight(); boolean isAddCORSHeader(); String getCORSHeaderValue(); boolean isDiscloseImageContentLocation(); String getAccessConditionDisplayField(); String getCopyrightDisplayField(); boolean isDisplayCopyrightInfo(); boolean isDisplaySocialMediaShareLinks(); boolean isDisplayAnchorLabelInTitleBar(String template); String getAnchorLabelInTitleBarPrefix(String template); String getAnchorLabelInTitleBarSuffix(String template); String getMapBoxToken(); GeoMapMarker getGeoMapMarker(String name); List<String> getGeoMapMarkerFields(); List<GeoMapMarker> getGeoMapMarkers(); static GeoMapMarker readGeoMapMarker(HierarchicalConfiguration config); List<LicenseDescription> getLicenseDescriptions(); }
@Test public void getStopwords_shouldReturnAllStopwords() throws Exception { Assert.assertEquals(5, DataManager.getInstance().getConfiguration().getStopwords().size()); }
public Set<String> getStopwords() { return stopwords; }
Configuration extends AbstractConfiguration { public Set<String> getStopwords() { return stopwords; } }
Configuration extends AbstractConfiguration { public Set<String> getStopwords() { return stopwords; } Configuration(String configFilePath); }
Configuration extends AbstractConfiguration { public Set<String> getStopwords() { return stopwords; } Configuration(String configFilePath); Set<String> getStopwords(); boolean reloadingRequired(); String getConfigLocalPath(); String getLocalRessourceBundleFile(); int getViewerThumbnailsPerPage(); int getViewerMaxImageWidth(); int getViewerMaxImageHeight(); int getViewerMaxImageScale(); boolean isRememberImageZoom(); boolean isRememberImageRotation(); String getDfgViewerUrl(); String getConnectorVersionUrl(); List<Metadata> getTitleBarMetadata(); List<Metadata> getSearchHitMetadataForTemplate(String template); List<Metadata> getMainMetadataForTemplate(String template); List<Metadata> getSidebarMetadataForTemplate(String template); List<String> getNormdataFieldsForTemplate(String template); List<Metadata> getTocLabelConfiguration(String template); int getTocAnchorGroupElementsPerPage(); boolean isDisplaySidebarBrowsingTerms(); boolean isDisplaySidebarRssFeed(); boolean isDisplayWidgetUsage(); Metadata getWidgetUsageLicenceTextMetadata(); boolean isDisplaySidebarUsageWidgetLinkToJpegImage(); boolean isDisplaySidebarUsageWidgetLinkToMasterImage(); String getWidgetUsageMaxJpegSize(); String getWidgetUsageMaxMasterImageSize(); List<String> getCalendarDocStructTypes(); boolean isBrowsingMenuEnabled(); int getBrowsingMenuHitsPerPage(); List<BrowsingMenuFieldConfig> getBrowsingMenuFields(); String getBrowsingMenuSortingIgnoreLeadingChars(); String getDocstrctWhitelistFilterQuery(); String getCollectionSplittingChar(String field); List<DcSortingList> getCollectionSorting(String field); List<String> getCollectionBlacklist(String field); String getCollectionDefaultSortField(String field, String name); int getCollectionDisplayNumberOfVolumesLevel(String field); int getCollectionDisplayDepthForSearch(String field); String getCollectionHierarchyField(); boolean isAddCollectionHierarchyToBreadcrumbs(String field); String getSolrUrl(); String getContentServerWrapperUrl(); String getDownloadUrl(); String getRestApiUrl(); String getIIIFApiUrl(); boolean isUseIIIFApiUrlForCmsMediaUrls(); String getContentServerRealUrl(); String getMetsUrl(); String getMarcUrl(); String getDcUrl(); String getEseUrl(); List<Integer> getSearchHitsPerPageValues(); int getSearchHitsPerPageDefaultValue(); int getFulltextFragmentLength(); boolean isAdvancedSearchEnabled(); int getAdvancedSearchDefaultItemNumber(); List<AdvancedSearchFieldConfiguration> getAdvancedSearchFields(); boolean isAggregateHits(); boolean isDisplayAdditionalMetadataEnabled(); List<String> getDisplayAdditionalMetadataIgnoreFields(); List<String> getDisplayAdditionalMetadataTranslateFields(); boolean isAdvancedSearchFieldHierarchical(String field); boolean isAdvancedSearchFieldRange(String field); boolean isAdvancedSearchFieldUntokenizeForPhraseSearch(String field); String getAdvancedSearchFieldSeparatorLabel(String field); boolean isTimelineSearchEnabled(); boolean isCalendarSearchEnabled(); String getStaticQuerySuffix(); String getPreviousVersionIdentifierField(); String getNextVersionIdentifierField(); String getVersionLabelField(); String getIndexedMetsFolder(); String getIndexedLidoFolder(); String getIndexedDenkxwebFolder(); String getIndexedDublinCoreFolder(); String getPageSelectionFormat(); String getMediaFolder(); String getPdfFolder(); String getVocabulariesFolder(); String getOrigContentFolder(); String getCmsTextFolder(); String getAltoFolder(); String getAbbyyFolder(); String getFulltextFolder(); String getTeiFolder(); String getCmdiFolder(); String getWcFolder(); String getAnnotationFolder(); String getHotfolder(); @SuppressWarnings("static-method") String getTempFolder(); boolean isUrnDoRedirect(); boolean isUserRegistrationEnabled(); List<SecurityQuestion> getSecurityQuestions(); boolean isShowOpenIdConnect(); List<IAuthenticationProvider> getAuthenticationProviders(); String getSmtpServer(); String getSmtpUser(); String getSmtpPassword(); String getSmtpSenderAddress(); String getSmtpSenderName(); String getSmtpSecurity(); String getAnonymousUserEmailAddress(); boolean isDisplayCollectionBrowsing(); boolean isDisplayUserNavigation(); boolean isDisplayTagCloudNavigation(); boolean isDisplayStatistics(); boolean isDisplayTimeMatrix(); boolean isDisplayCrowdsourcingModuleLinks(); String getTheme(); String getThemeRootPath(); String getName(); String getDescription(); boolean isDisplayTagCloudStartpage(); boolean isDisplaySearchResultNavigation(); boolean isFoldout(String sidebarElement); boolean isSidebarPageViewLinkVisible(); boolean isSidebarCalendarViewLinkVisible(); boolean isSidebarTocViewLinkVisible(); boolean isSidebarThumbsViewLinkVisible(); boolean isSidebarMetadataViewLinkVisible(); boolean isShowSidebarEventMetadata(); boolean isShowRecordLabelIfNoOtherViews(); boolean isSidebarFulltextLinkVisible(); boolean isSidebarTocWidgetVisible(); boolean isSidebarTocWidgetVisibleInFullscreen(); boolean isSidebarOpacLinkVisible(); boolean getSidebarTocPageNumbersVisible(); int getSidebarTocLengthBeforeCut(); int getSidebarTocInitialCollapseLevel(); int getSidebarTocCollapseLengthThreshold(); int getSidebarTocLowestLevelToCollapseForLength(); boolean isSidebarTocTreeView(); boolean isTocTreeView(String docStructType); List<String> getAllDrillDownFields(); List<String> getDrillDownFields(); List<String> getHierarchicalDrillDownFields(); int getInitialDrillDownElementNumber(String field); String getSortOrder(String field); List<String> getPriorityValuesForDrillDownField(String field); String getLabelFieldForDrillDownField(String facetField); @SuppressWarnings("static-method") List<String> getRangeFacetFields(); boolean isSortingEnabled(); String getDefaultSortField(); List<String> getSortFields(); List<String> getStaticSortFields(); String getUrnResolverUrl(); int getUnconditionalImageAccessMaxWidth(); boolean isFullAccessForLocalhost(); boolean isGeneratePdfInTaskManager(); boolean isPdfApiDisabled(); boolean isTitlePdfEnabled(); boolean isTocPdfEnabled(); boolean isMetadataPdfEnabled(); boolean isPagePdfEnabled(); boolean isDocHierarchyPdfEnabled(); boolean isTitleEpubEnabled(); boolean isTocEpubEnabled(); boolean isMetadataEpubEnabled(); String getDownloadFolder(String type); int getRssFeedItems(); String getRssTitle(); String getRssDescription(); String getRssCopyrightText(); String getRulesetFilePath(); String getDefaultCollection(); int getThumbnailsWidth(); int getThumbnailsHeight(); int getThumbnailsCompression(); String getAnchorThumbnailMode(); int getMultivolumeThumbnailWidth(); int getMultivolumeThumbnailHeight(); boolean getDisplayBreadcrumbs(); boolean getDisplayMetadataPageLinkBlock(); boolean isAddDublinCoreMetaTags(); boolean isAddHighwirePressMetaTags(); int getMetadataParamNumber(); boolean useTiles(); boolean useTilesFullscreen(); boolean useTiles(PageType view, ImageType image); int getFooterHeight(); int getFullscreenFooterHeight(); int getFooterHeight(PageType view, ImageType image); String getImageViewType(); String getZoomFullscreenViewType(); String getZoomImageViewType(PageType view, ImageType image); boolean useOpenSeadragon(); List<String> getImageViewZoomScales(); List<String> getImageViewZoomScales(String view); List<String> getImageViewZoomScales(PageType view, ImageType image); Map<Integer, List<Integer>> getTileSizes(); Map<Integer, List<Integer>> getTileSizes(PageType view, ImageType image); SubnodeConfiguration getZoomImageViewConfig(PageType pageType, ImageType imageType); int getBreadcrumbsClipping(); boolean isDisplayTopstructLabel(); boolean getDisplayStructType(); int getSearchHitMetadataValueNumber(); int getSearchHitMetadataValueLength(); List<String> getWatermarkTextConfiguration(); String getWatermarkFormat(); boolean isOriginalContentDownload(); String getStopwordsFilePath(); String getPageType(PageType type); String getDocstructTargetPageType(String docstruct); String getPageTypeExitView(PageType type); int getFulltextPercentageWarningThreshold(); boolean isUseViewerLocaleAsRecordLanguage(); String getFeedbackEmailAddress(); boolean isBookmarksEnabled(); boolean isForceJpegConversion(); int getPageLoaderThreshold(); boolean isPreventProxyCaching(); boolean isSolrCompressionEnabled(); boolean isSolrBackwardsCompatible(); boolean isUserCommentsEnabled(); String getUserCommentsConditionalQuery(); List<String> getUserCommentsNotificationEmailAddresses(); String getViewerHome(); List<String> getWatermarkIdField(); String getSubthemeMainTheme(); String getSubthemeDiscriminatorField(); int getTagCloudSampleSize(String fieldName); List<StringPair> getTocVolumeSortFieldsForTemplate(String template); String getTocVolumeGroupFieldForTemplate(String template); boolean getDisplayTitleBreadcrumbs(); boolean isDisplayTitlePURL(); int getTitleBreadcrumbsMaxTitleLength(); boolean getIncludeAnchorInTitleBreadcrumbs(); boolean isDisplaySearchRssLinks(); boolean showThumbnailsInToc(); String getStartYearForTimeline(); String getEndYearForTimeline(); String getTimelineHits(); boolean isPiwikTrackingEnabled(); String getPiwikBaseURL(); String getPiwikSiteID(); boolean isSearchSavingEnabled(); boolean isBoostTopLevelDocstructs(); boolean isGroupDuplicateHits(); List<String> getRecordGroupIdentifierFields(); List<String> getAncestorIdentifierFields(); boolean isTocListSiblingRecords(); List<SearchFilter> getSearchFilters(); List<Map<String, String>> getWebApiFields(); String getDbPersistenceUnit(); boolean useCustomNavBar(); String getCmsTemplateFolder(); String getCmsMediaFolder(); String getTempMediaFolder(); List<String> getCmsClassifications(); int getCmsMediaDisplayWidth(); int getCmsMediaDisplayHeight(); boolean isTranskribusEnabled(); String getTranskribusUserName(); String getTranskribusPassword(); String getTranskribusDefaultCollection(); String getTranskribusRestApiUrl(); List<String> getTranskribusAllowedDocumentTypes(); int getTocIndentation(); boolean isPageBrowseEnabled(); List<Integer> getPageBrowseSteps(); String getTaskManagerServiceUrl(); String getTaskManagerRestUrl(); String getReCaptchaSiteKey(); boolean isUseReCaptcha(); boolean isSearchInItemEnabled(); String getDefaultBrowseIcon(String field); boolean isSearchExcelExportEnabled(); List<String> getSearchExcelExportFields(); int getExcelDownloadTimeout(); boolean isDisplayEmptyTocInSidebar(); boolean isDoublePageModeEnabled(); List<String> getRestrictedImageUrls(); List<String> getIIIFLicenses(); List<String> getIIIFMetadataFields(); List<String> getIIIFEventFields(); String getIIIFMetadataLabel(String field); int getIIIFDiscoveryAvtivitiesPerPage(); List<String> getIIIFLogo(); String getIIIFNavDateField(); List<String> getIIIFAttribution(); List<String> getIIIFDescriptionFields(); String getSitelinksField(); String getSitelinksFilterQuery(); List<String> getConfiguredCollections(); String getWebApiToken(); boolean isAllowRedirectCollectionToWork(); String getTwitterUserName(); float getLimitImageHeightUpperRatioThreshold(); float getLimitImageHeightLowerRatioThreshold(); boolean isLimitImageHeight(); boolean isAddCORSHeader(); String getCORSHeaderValue(); boolean isDiscloseImageContentLocation(); String getAccessConditionDisplayField(); String getCopyrightDisplayField(); boolean isDisplayCopyrightInfo(); boolean isDisplaySocialMediaShareLinks(); boolean isDisplayAnchorLabelInTitleBar(String template); String getAnchorLabelInTitleBarPrefix(String template); String getAnchorLabelInTitleBarSuffix(String template); String getMapBoxToken(); GeoMapMarker getGeoMapMarker(String name); List<String> getGeoMapMarkerFields(); List<GeoMapMarker> getGeoMapMarkers(); static GeoMapMarker readGeoMapMarker(HierarchicalConfiguration config); List<LicenseDescription> getLicenseDescriptions(); }
Configuration extends AbstractConfiguration { public Set<String> getStopwords() { return stopwords; } Configuration(String configFilePath); Set<String> getStopwords(); boolean reloadingRequired(); String getConfigLocalPath(); String getLocalRessourceBundleFile(); int getViewerThumbnailsPerPage(); int getViewerMaxImageWidth(); int getViewerMaxImageHeight(); int getViewerMaxImageScale(); boolean isRememberImageZoom(); boolean isRememberImageRotation(); String getDfgViewerUrl(); String getConnectorVersionUrl(); List<Metadata> getTitleBarMetadata(); List<Metadata> getSearchHitMetadataForTemplate(String template); List<Metadata> getMainMetadataForTemplate(String template); List<Metadata> getSidebarMetadataForTemplate(String template); List<String> getNormdataFieldsForTemplate(String template); List<Metadata> getTocLabelConfiguration(String template); int getTocAnchorGroupElementsPerPage(); boolean isDisplaySidebarBrowsingTerms(); boolean isDisplaySidebarRssFeed(); boolean isDisplayWidgetUsage(); Metadata getWidgetUsageLicenceTextMetadata(); boolean isDisplaySidebarUsageWidgetLinkToJpegImage(); boolean isDisplaySidebarUsageWidgetLinkToMasterImage(); String getWidgetUsageMaxJpegSize(); String getWidgetUsageMaxMasterImageSize(); List<String> getCalendarDocStructTypes(); boolean isBrowsingMenuEnabled(); int getBrowsingMenuHitsPerPage(); List<BrowsingMenuFieldConfig> getBrowsingMenuFields(); String getBrowsingMenuSortingIgnoreLeadingChars(); String getDocstrctWhitelistFilterQuery(); String getCollectionSplittingChar(String field); List<DcSortingList> getCollectionSorting(String field); List<String> getCollectionBlacklist(String field); String getCollectionDefaultSortField(String field, String name); int getCollectionDisplayNumberOfVolumesLevel(String field); int getCollectionDisplayDepthForSearch(String field); String getCollectionHierarchyField(); boolean isAddCollectionHierarchyToBreadcrumbs(String field); String getSolrUrl(); String getContentServerWrapperUrl(); String getDownloadUrl(); String getRestApiUrl(); String getIIIFApiUrl(); boolean isUseIIIFApiUrlForCmsMediaUrls(); String getContentServerRealUrl(); String getMetsUrl(); String getMarcUrl(); String getDcUrl(); String getEseUrl(); List<Integer> getSearchHitsPerPageValues(); int getSearchHitsPerPageDefaultValue(); int getFulltextFragmentLength(); boolean isAdvancedSearchEnabled(); int getAdvancedSearchDefaultItemNumber(); List<AdvancedSearchFieldConfiguration> getAdvancedSearchFields(); boolean isAggregateHits(); boolean isDisplayAdditionalMetadataEnabled(); List<String> getDisplayAdditionalMetadataIgnoreFields(); List<String> getDisplayAdditionalMetadataTranslateFields(); boolean isAdvancedSearchFieldHierarchical(String field); boolean isAdvancedSearchFieldRange(String field); boolean isAdvancedSearchFieldUntokenizeForPhraseSearch(String field); String getAdvancedSearchFieldSeparatorLabel(String field); boolean isTimelineSearchEnabled(); boolean isCalendarSearchEnabled(); String getStaticQuerySuffix(); String getPreviousVersionIdentifierField(); String getNextVersionIdentifierField(); String getVersionLabelField(); String getIndexedMetsFolder(); String getIndexedLidoFolder(); String getIndexedDenkxwebFolder(); String getIndexedDublinCoreFolder(); String getPageSelectionFormat(); String getMediaFolder(); String getPdfFolder(); String getVocabulariesFolder(); String getOrigContentFolder(); String getCmsTextFolder(); String getAltoFolder(); String getAbbyyFolder(); String getFulltextFolder(); String getTeiFolder(); String getCmdiFolder(); String getWcFolder(); String getAnnotationFolder(); String getHotfolder(); @SuppressWarnings("static-method") String getTempFolder(); boolean isUrnDoRedirect(); boolean isUserRegistrationEnabled(); List<SecurityQuestion> getSecurityQuestions(); boolean isShowOpenIdConnect(); List<IAuthenticationProvider> getAuthenticationProviders(); String getSmtpServer(); String getSmtpUser(); String getSmtpPassword(); String getSmtpSenderAddress(); String getSmtpSenderName(); String getSmtpSecurity(); String getAnonymousUserEmailAddress(); boolean isDisplayCollectionBrowsing(); boolean isDisplayUserNavigation(); boolean isDisplayTagCloudNavigation(); boolean isDisplayStatistics(); boolean isDisplayTimeMatrix(); boolean isDisplayCrowdsourcingModuleLinks(); String getTheme(); String getThemeRootPath(); String getName(); String getDescription(); boolean isDisplayTagCloudStartpage(); boolean isDisplaySearchResultNavigation(); boolean isFoldout(String sidebarElement); boolean isSidebarPageViewLinkVisible(); boolean isSidebarCalendarViewLinkVisible(); boolean isSidebarTocViewLinkVisible(); boolean isSidebarThumbsViewLinkVisible(); boolean isSidebarMetadataViewLinkVisible(); boolean isShowSidebarEventMetadata(); boolean isShowRecordLabelIfNoOtherViews(); boolean isSidebarFulltextLinkVisible(); boolean isSidebarTocWidgetVisible(); boolean isSidebarTocWidgetVisibleInFullscreen(); boolean isSidebarOpacLinkVisible(); boolean getSidebarTocPageNumbersVisible(); int getSidebarTocLengthBeforeCut(); int getSidebarTocInitialCollapseLevel(); int getSidebarTocCollapseLengthThreshold(); int getSidebarTocLowestLevelToCollapseForLength(); boolean isSidebarTocTreeView(); boolean isTocTreeView(String docStructType); List<String> getAllDrillDownFields(); List<String> getDrillDownFields(); List<String> getHierarchicalDrillDownFields(); int getInitialDrillDownElementNumber(String field); String getSortOrder(String field); List<String> getPriorityValuesForDrillDownField(String field); String getLabelFieldForDrillDownField(String facetField); @SuppressWarnings("static-method") List<String> getRangeFacetFields(); boolean isSortingEnabled(); String getDefaultSortField(); List<String> getSortFields(); List<String> getStaticSortFields(); String getUrnResolverUrl(); int getUnconditionalImageAccessMaxWidth(); boolean isFullAccessForLocalhost(); boolean isGeneratePdfInTaskManager(); boolean isPdfApiDisabled(); boolean isTitlePdfEnabled(); boolean isTocPdfEnabled(); boolean isMetadataPdfEnabled(); boolean isPagePdfEnabled(); boolean isDocHierarchyPdfEnabled(); boolean isTitleEpubEnabled(); boolean isTocEpubEnabled(); boolean isMetadataEpubEnabled(); String getDownloadFolder(String type); int getRssFeedItems(); String getRssTitle(); String getRssDescription(); String getRssCopyrightText(); String getRulesetFilePath(); String getDefaultCollection(); int getThumbnailsWidth(); int getThumbnailsHeight(); int getThumbnailsCompression(); String getAnchorThumbnailMode(); int getMultivolumeThumbnailWidth(); int getMultivolumeThumbnailHeight(); boolean getDisplayBreadcrumbs(); boolean getDisplayMetadataPageLinkBlock(); boolean isAddDublinCoreMetaTags(); boolean isAddHighwirePressMetaTags(); int getMetadataParamNumber(); boolean useTiles(); boolean useTilesFullscreen(); boolean useTiles(PageType view, ImageType image); int getFooterHeight(); int getFullscreenFooterHeight(); int getFooterHeight(PageType view, ImageType image); String getImageViewType(); String getZoomFullscreenViewType(); String getZoomImageViewType(PageType view, ImageType image); boolean useOpenSeadragon(); List<String> getImageViewZoomScales(); List<String> getImageViewZoomScales(String view); List<String> getImageViewZoomScales(PageType view, ImageType image); Map<Integer, List<Integer>> getTileSizes(); Map<Integer, List<Integer>> getTileSizes(PageType view, ImageType image); SubnodeConfiguration getZoomImageViewConfig(PageType pageType, ImageType imageType); int getBreadcrumbsClipping(); boolean isDisplayTopstructLabel(); boolean getDisplayStructType(); int getSearchHitMetadataValueNumber(); int getSearchHitMetadataValueLength(); List<String> getWatermarkTextConfiguration(); String getWatermarkFormat(); boolean isOriginalContentDownload(); String getStopwordsFilePath(); String getPageType(PageType type); String getDocstructTargetPageType(String docstruct); String getPageTypeExitView(PageType type); int getFulltextPercentageWarningThreshold(); boolean isUseViewerLocaleAsRecordLanguage(); String getFeedbackEmailAddress(); boolean isBookmarksEnabled(); boolean isForceJpegConversion(); int getPageLoaderThreshold(); boolean isPreventProxyCaching(); boolean isSolrCompressionEnabled(); boolean isSolrBackwardsCompatible(); boolean isUserCommentsEnabled(); String getUserCommentsConditionalQuery(); List<String> getUserCommentsNotificationEmailAddresses(); String getViewerHome(); List<String> getWatermarkIdField(); String getSubthemeMainTheme(); String getSubthemeDiscriminatorField(); int getTagCloudSampleSize(String fieldName); List<StringPair> getTocVolumeSortFieldsForTemplate(String template); String getTocVolumeGroupFieldForTemplate(String template); boolean getDisplayTitleBreadcrumbs(); boolean isDisplayTitlePURL(); int getTitleBreadcrumbsMaxTitleLength(); boolean getIncludeAnchorInTitleBreadcrumbs(); boolean isDisplaySearchRssLinks(); boolean showThumbnailsInToc(); String getStartYearForTimeline(); String getEndYearForTimeline(); String getTimelineHits(); boolean isPiwikTrackingEnabled(); String getPiwikBaseURL(); String getPiwikSiteID(); boolean isSearchSavingEnabled(); boolean isBoostTopLevelDocstructs(); boolean isGroupDuplicateHits(); List<String> getRecordGroupIdentifierFields(); List<String> getAncestorIdentifierFields(); boolean isTocListSiblingRecords(); List<SearchFilter> getSearchFilters(); List<Map<String, String>> getWebApiFields(); String getDbPersistenceUnit(); boolean useCustomNavBar(); String getCmsTemplateFolder(); String getCmsMediaFolder(); String getTempMediaFolder(); List<String> getCmsClassifications(); int getCmsMediaDisplayWidth(); int getCmsMediaDisplayHeight(); boolean isTranskribusEnabled(); String getTranskribusUserName(); String getTranskribusPassword(); String getTranskribusDefaultCollection(); String getTranskribusRestApiUrl(); List<String> getTranskribusAllowedDocumentTypes(); int getTocIndentation(); boolean isPageBrowseEnabled(); List<Integer> getPageBrowseSteps(); String getTaskManagerServiceUrl(); String getTaskManagerRestUrl(); String getReCaptchaSiteKey(); boolean isUseReCaptcha(); boolean isSearchInItemEnabled(); String getDefaultBrowseIcon(String field); boolean isSearchExcelExportEnabled(); List<String> getSearchExcelExportFields(); int getExcelDownloadTimeout(); boolean isDisplayEmptyTocInSidebar(); boolean isDoublePageModeEnabled(); List<String> getRestrictedImageUrls(); List<String> getIIIFLicenses(); List<String> getIIIFMetadataFields(); List<String> getIIIFEventFields(); String getIIIFMetadataLabel(String field); int getIIIFDiscoveryAvtivitiesPerPage(); List<String> getIIIFLogo(); String getIIIFNavDateField(); List<String> getIIIFAttribution(); List<String> getIIIFDescriptionFields(); String getSitelinksField(); String getSitelinksFilterQuery(); List<String> getConfiguredCollections(); String getWebApiToken(); boolean isAllowRedirectCollectionToWork(); String getTwitterUserName(); float getLimitImageHeightUpperRatioThreshold(); float getLimitImageHeightLowerRatioThreshold(); boolean isLimitImageHeight(); boolean isAddCORSHeader(); String getCORSHeaderValue(); boolean isDiscloseImageContentLocation(); String getAccessConditionDisplayField(); String getCopyrightDisplayField(); boolean isDisplayCopyrightInfo(); boolean isDisplaySocialMediaShareLinks(); boolean isDisplayAnchorLabelInTitleBar(String template); String getAnchorLabelInTitleBarPrefix(String template); String getAnchorLabelInTitleBarSuffix(String template); String getMapBoxToken(); GeoMapMarker getGeoMapMarker(String name); List<String> getGeoMapMarkerFields(); List<GeoMapMarker> getGeoMapMarkers(); static GeoMapMarker readGeoMapMarker(HierarchicalConfiguration config); List<LicenseDescription> getLicenseDescriptions(); }
@Test public void getStopwordsFilePath_shouldReturnCorrectValue() throws Exception { Assert.assertEquals("src/test/resources/stopwords.txt", DataManager.getInstance().getConfiguration().getStopwordsFilePath()); }
public String getStopwordsFilePath() { return getLocalString("stopwordsFile"); }
Configuration extends AbstractConfiguration { public String getStopwordsFilePath() { return getLocalString("stopwordsFile"); } }
Configuration extends AbstractConfiguration { public String getStopwordsFilePath() { return getLocalString("stopwordsFile"); } Configuration(String configFilePath); }
Configuration extends AbstractConfiguration { public String getStopwordsFilePath() { return getLocalString("stopwordsFile"); } Configuration(String configFilePath); Set<String> getStopwords(); boolean reloadingRequired(); String getConfigLocalPath(); String getLocalRessourceBundleFile(); int getViewerThumbnailsPerPage(); int getViewerMaxImageWidth(); int getViewerMaxImageHeight(); int getViewerMaxImageScale(); boolean isRememberImageZoom(); boolean isRememberImageRotation(); String getDfgViewerUrl(); String getConnectorVersionUrl(); List<Metadata> getTitleBarMetadata(); List<Metadata> getSearchHitMetadataForTemplate(String template); List<Metadata> getMainMetadataForTemplate(String template); List<Metadata> getSidebarMetadataForTemplate(String template); List<String> getNormdataFieldsForTemplate(String template); List<Metadata> getTocLabelConfiguration(String template); int getTocAnchorGroupElementsPerPage(); boolean isDisplaySidebarBrowsingTerms(); boolean isDisplaySidebarRssFeed(); boolean isDisplayWidgetUsage(); Metadata getWidgetUsageLicenceTextMetadata(); boolean isDisplaySidebarUsageWidgetLinkToJpegImage(); boolean isDisplaySidebarUsageWidgetLinkToMasterImage(); String getWidgetUsageMaxJpegSize(); String getWidgetUsageMaxMasterImageSize(); List<String> getCalendarDocStructTypes(); boolean isBrowsingMenuEnabled(); int getBrowsingMenuHitsPerPage(); List<BrowsingMenuFieldConfig> getBrowsingMenuFields(); String getBrowsingMenuSortingIgnoreLeadingChars(); String getDocstrctWhitelistFilterQuery(); String getCollectionSplittingChar(String field); List<DcSortingList> getCollectionSorting(String field); List<String> getCollectionBlacklist(String field); String getCollectionDefaultSortField(String field, String name); int getCollectionDisplayNumberOfVolumesLevel(String field); int getCollectionDisplayDepthForSearch(String field); String getCollectionHierarchyField(); boolean isAddCollectionHierarchyToBreadcrumbs(String field); String getSolrUrl(); String getContentServerWrapperUrl(); String getDownloadUrl(); String getRestApiUrl(); String getIIIFApiUrl(); boolean isUseIIIFApiUrlForCmsMediaUrls(); String getContentServerRealUrl(); String getMetsUrl(); String getMarcUrl(); String getDcUrl(); String getEseUrl(); List<Integer> getSearchHitsPerPageValues(); int getSearchHitsPerPageDefaultValue(); int getFulltextFragmentLength(); boolean isAdvancedSearchEnabled(); int getAdvancedSearchDefaultItemNumber(); List<AdvancedSearchFieldConfiguration> getAdvancedSearchFields(); boolean isAggregateHits(); boolean isDisplayAdditionalMetadataEnabled(); List<String> getDisplayAdditionalMetadataIgnoreFields(); List<String> getDisplayAdditionalMetadataTranslateFields(); boolean isAdvancedSearchFieldHierarchical(String field); boolean isAdvancedSearchFieldRange(String field); boolean isAdvancedSearchFieldUntokenizeForPhraseSearch(String field); String getAdvancedSearchFieldSeparatorLabel(String field); boolean isTimelineSearchEnabled(); boolean isCalendarSearchEnabled(); String getStaticQuerySuffix(); String getPreviousVersionIdentifierField(); String getNextVersionIdentifierField(); String getVersionLabelField(); String getIndexedMetsFolder(); String getIndexedLidoFolder(); String getIndexedDenkxwebFolder(); String getIndexedDublinCoreFolder(); String getPageSelectionFormat(); String getMediaFolder(); String getPdfFolder(); String getVocabulariesFolder(); String getOrigContentFolder(); String getCmsTextFolder(); String getAltoFolder(); String getAbbyyFolder(); String getFulltextFolder(); String getTeiFolder(); String getCmdiFolder(); String getWcFolder(); String getAnnotationFolder(); String getHotfolder(); @SuppressWarnings("static-method") String getTempFolder(); boolean isUrnDoRedirect(); boolean isUserRegistrationEnabled(); List<SecurityQuestion> getSecurityQuestions(); boolean isShowOpenIdConnect(); List<IAuthenticationProvider> getAuthenticationProviders(); String getSmtpServer(); String getSmtpUser(); String getSmtpPassword(); String getSmtpSenderAddress(); String getSmtpSenderName(); String getSmtpSecurity(); String getAnonymousUserEmailAddress(); boolean isDisplayCollectionBrowsing(); boolean isDisplayUserNavigation(); boolean isDisplayTagCloudNavigation(); boolean isDisplayStatistics(); boolean isDisplayTimeMatrix(); boolean isDisplayCrowdsourcingModuleLinks(); String getTheme(); String getThemeRootPath(); String getName(); String getDescription(); boolean isDisplayTagCloudStartpage(); boolean isDisplaySearchResultNavigation(); boolean isFoldout(String sidebarElement); boolean isSidebarPageViewLinkVisible(); boolean isSidebarCalendarViewLinkVisible(); boolean isSidebarTocViewLinkVisible(); boolean isSidebarThumbsViewLinkVisible(); boolean isSidebarMetadataViewLinkVisible(); boolean isShowSidebarEventMetadata(); boolean isShowRecordLabelIfNoOtherViews(); boolean isSidebarFulltextLinkVisible(); boolean isSidebarTocWidgetVisible(); boolean isSidebarTocWidgetVisibleInFullscreen(); boolean isSidebarOpacLinkVisible(); boolean getSidebarTocPageNumbersVisible(); int getSidebarTocLengthBeforeCut(); int getSidebarTocInitialCollapseLevel(); int getSidebarTocCollapseLengthThreshold(); int getSidebarTocLowestLevelToCollapseForLength(); boolean isSidebarTocTreeView(); boolean isTocTreeView(String docStructType); List<String> getAllDrillDownFields(); List<String> getDrillDownFields(); List<String> getHierarchicalDrillDownFields(); int getInitialDrillDownElementNumber(String field); String getSortOrder(String field); List<String> getPriorityValuesForDrillDownField(String field); String getLabelFieldForDrillDownField(String facetField); @SuppressWarnings("static-method") List<String> getRangeFacetFields(); boolean isSortingEnabled(); String getDefaultSortField(); List<String> getSortFields(); List<String> getStaticSortFields(); String getUrnResolverUrl(); int getUnconditionalImageAccessMaxWidth(); boolean isFullAccessForLocalhost(); boolean isGeneratePdfInTaskManager(); boolean isPdfApiDisabled(); boolean isTitlePdfEnabled(); boolean isTocPdfEnabled(); boolean isMetadataPdfEnabled(); boolean isPagePdfEnabled(); boolean isDocHierarchyPdfEnabled(); boolean isTitleEpubEnabled(); boolean isTocEpubEnabled(); boolean isMetadataEpubEnabled(); String getDownloadFolder(String type); int getRssFeedItems(); String getRssTitle(); String getRssDescription(); String getRssCopyrightText(); String getRulesetFilePath(); String getDefaultCollection(); int getThumbnailsWidth(); int getThumbnailsHeight(); int getThumbnailsCompression(); String getAnchorThumbnailMode(); int getMultivolumeThumbnailWidth(); int getMultivolumeThumbnailHeight(); boolean getDisplayBreadcrumbs(); boolean getDisplayMetadataPageLinkBlock(); boolean isAddDublinCoreMetaTags(); boolean isAddHighwirePressMetaTags(); int getMetadataParamNumber(); boolean useTiles(); boolean useTilesFullscreen(); boolean useTiles(PageType view, ImageType image); int getFooterHeight(); int getFullscreenFooterHeight(); int getFooterHeight(PageType view, ImageType image); String getImageViewType(); String getZoomFullscreenViewType(); String getZoomImageViewType(PageType view, ImageType image); boolean useOpenSeadragon(); List<String> getImageViewZoomScales(); List<String> getImageViewZoomScales(String view); List<String> getImageViewZoomScales(PageType view, ImageType image); Map<Integer, List<Integer>> getTileSizes(); Map<Integer, List<Integer>> getTileSizes(PageType view, ImageType image); SubnodeConfiguration getZoomImageViewConfig(PageType pageType, ImageType imageType); int getBreadcrumbsClipping(); boolean isDisplayTopstructLabel(); boolean getDisplayStructType(); int getSearchHitMetadataValueNumber(); int getSearchHitMetadataValueLength(); List<String> getWatermarkTextConfiguration(); String getWatermarkFormat(); boolean isOriginalContentDownload(); String getStopwordsFilePath(); String getPageType(PageType type); String getDocstructTargetPageType(String docstruct); String getPageTypeExitView(PageType type); int getFulltextPercentageWarningThreshold(); boolean isUseViewerLocaleAsRecordLanguage(); String getFeedbackEmailAddress(); boolean isBookmarksEnabled(); boolean isForceJpegConversion(); int getPageLoaderThreshold(); boolean isPreventProxyCaching(); boolean isSolrCompressionEnabled(); boolean isSolrBackwardsCompatible(); boolean isUserCommentsEnabled(); String getUserCommentsConditionalQuery(); List<String> getUserCommentsNotificationEmailAddresses(); String getViewerHome(); List<String> getWatermarkIdField(); String getSubthemeMainTheme(); String getSubthemeDiscriminatorField(); int getTagCloudSampleSize(String fieldName); List<StringPair> getTocVolumeSortFieldsForTemplate(String template); String getTocVolumeGroupFieldForTemplate(String template); boolean getDisplayTitleBreadcrumbs(); boolean isDisplayTitlePURL(); int getTitleBreadcrumbsMaxTitleLength(); boolean getIncludeAnchorInTitleBreadcrumbs(); boolean isDisplaySearchRssLinks(); boolean showThumbnailsInToc(); String getStartYearForTimeline(); String getEndYearForTimeline(); String getTimelineHits(); boolean isPiwikTrackingEnabled(); String getPiwikBaseURL(); String getPiwikSiteID(); boolean isSearchSavingEnabled(); boolean isBoostTopLevelDocstructs(); boolean isGroupDuplicateHits(); List<String> getRecordGroupIdentifierFields(); List<String> getAncestorIdentifierFields(); boolean isTocListSiblingRecords(); List<SearchFilter> getSearchFilters(); List<Map<String, String>> getWebApiFields(); String getDbPersistenceUnit(); boolean useCustomNavBar(); String getCmsTemplateFolder(); String getCmsMediaFolder(); String getTempMediaFolder(); List<String> getCmsClassifications(); int getCmsMediaDisplayWidth(); int getCmsMediaDisplayHeight(); boolean isTranskribusEnabled(); String getTranskribusUserName(); String getTranskribusPassword(); String getTranskribusDefaultCollection(); String getTranskribusRestApiUrl(); List<String> getTranskribusAllowedDocumentTypes(); int getTocIndentation(); boolean isPageBrowseEnabled(); List<Integer> getPageBrowseSteps(); String getTaskManagerServiceUrl(); String getTaskManagerRestUrl(); String getReCaptchaSiteKey(); boolean isUseReCaptcha(); boolean isSearchInItemEnabled(); String getDefaultBrowseIcon(String field); boolean isSearchExcelExportEnabled(); List<String> getSearchExcelExportFields(); int getExcelDownloadTimeout(); boolean isDisplayEmptyTocInSidebar(); boolean isDoublePageModeEnabled(); List<String> getRestrictedImageUrls(); List<String> getIIIFLicenses(); List<String> getIIIFMetadataFields(); List<String> getIIIFEventFields(); String getIIIFMetadataLabel(String field); int getIIIFDiscoveryAvtivitiesPerPage(); List<String> getIIIFLogo(); String getIIIFNavDateField(); List<String> getIIIFAttribution(); List<String> getIIIFDescriptionFields(); String getSitelinksField(); String getSitelinksFilterQuery(); List<String> getConfiguredCollections(); String getWebApiToken(); boolean isAllowRedirectCollectionToWork(); String getTwitterUserName(); float getLimitImageHeightUpperRatioThreshold(); float getLimitImageHeightLowerRatioThreshold(); boolean isLimitImageHeight(); boolean isAddCORSHeader(); String getCORSHeaderValue(); boolean isDiscloseImageContentLocation(); String getAccessConditionDisplayField(); String getCopyrightDisplayField(); boolean isDisplayCopyrightInfo(); boolean isDisplaySocialMediaShareLinks(); boolean isDisplayAnchorLabelInTitleBar(String template); String getAnchorLabelInTitleBarPrefix(String template); String getAnchorLabelInTitleBarSuffix(String template); String getMapBoxToken(); GeoMapMarker getGeoMapMarker(String name); List<String> getGeoMapMarkerFields(); List<GeoMapMarker> getGeoMapMarkers(); static GeoMapMarker readGeoMapMarker(HierarchicalConfiguration config); List<LicenseDescription> getLicenseDescriptions(); }
Configuration extends AbstractConfiguration { public String getStopwordsFilePath() { return getLocalString("stopwordsFile"); } Configuration(String configFilePath); Set<String> getStopwords(); boolean reloadingRequired(); String getConfigLocalPath(); String getLocalRessourceBundleFile(); int getViewerThumbnailsPerPage(); int getViewerMaxImageWidth(); int getViewerMaxImageHeight(); int getViewerMaxImageScale(); boolean isRememberImageZoom(); boolean isRememberImageRotation(); String getDfgViewerUrl(); String getConnectorVersionUrl(); List<Metadata> getTitleBarMetadata(); List<Metadata> getSearchHitMetadataForTemplate(String template); List<Metadata> getMainMetadataForTemplate(String template); List<Metadata> getSidebarMetadataForTemplate(String template); List<String> getNormdataFieldsForTemplate(String template); List<Metadata> getTocLabelConfiguration(String template); int getTocAnchorGroupElementsPerPage(); boolean isDisplaySidebarBrowsingTerms(); boolean isDisplaySidebarRssFeed(); boolean isDisplayWidgetUsage(); Metadata getWidgetUsageLicenceTextMetadata(); boolean isDisplaySidebarUsageWidgetLinkToJpegImage(); boolean isDisplaySidebarUsageWidgetLinkToMasterImage(); String getWidgetUsageMaxJpegSize(); String getWidgetUsageMaxMasterImageSize(); List<String> getCalendarDocStructTypes(); boolean isBrowsingMenuEnabled(); int getBrowsingMenuHitsPerPage(); List<BrowsingMenuFieldConfig> getBrowsingMenuFields(); String getBrowsingMenuSortingIgnoreLeadingChars(); String getDocstrctWhitelistFilterQuery(); String getCollectionSplittingChar(String field); List<DcSortingList> getCollectionSorting(String field); List<String> getCollectionBlacklist(String field); String getCollectionDefaultSortField(String field, String name); int getCollectionDisplayNumberOfVolumesLevel(String field); int getCollectionDisplayDepthForSearch(String field); String getCollectionHierarchyField(); boolean isAddCollectionHierarchyToBreadcrumbs(String field); String getSolrUrl(); String getContentServerWrapperUrl(); String getDownloadUrl(); String getRestApiUrl(); String getIIIFApiUrl(); boolean isUseIIIFApiUrlForCmsMediaUrls(); String getContentServerRealUrl(); String getMetsUrl(); String getMarcUrl(); String getDcUrl(); String getEseUrl(); List<Integer> getSearchHitsPerPageValues(); int getSearchHitsPerPageDefaultValue(); int getFulltextFragmentLength(); boolean isAdvancedSearchEnabled(); int getAdvancedSearchDefaultItemNumber(); List<AdvancedSearchFieldConfiguration> getAdvancedSearchFields(); boolean isAggregateHits(); boolean isDisplayAdditionalMetadataEnabled(); List<String> getDisplayAdditionalMetadataIgnoreFields(); List<String> getDisplayAdditionalMetadataTranslateFields(); boolean isAdvancedSearchFieldHierarchical(String field); boolean isAdvancedSearchFieldRange(String field); boolean isAdvancedSearchFieldUntokenizeForPhraseSearch(String field); String getAdvancedSearchFieldSeparatorLabel(String field); boolean isTimelineSearchEnabled(); boolean isCalendarSearchEnabled(); String getStaticQuerySuffix(); String getPreviousVersionIdentifierField(); String getNextVersionIdentifierField(); String getVersionLabelField(); String getIndexedMetsFolder(); String getIndexedLidoFolder(); String getIndexedDenkxwebFolder(); String getIndexedDublinCoreFolder(); String getPageSelectionFormat(); String getMediaFolder(); String getPdfFolder(); String getVocabulariesFolder(); String getOrigContentFolder(); String getCmsTextFolder(); String getAltoFolder(); String getAbbyyFolder(); String getFulltextFolder(); String getTeiFolder(); String getCmdiFolder(); String getWcFolder(); String getAnnotationFolder(); String getHotfolder(); @SuppressWarnings("static-method") String getTempFolder(); boolean isUrnDoRedirect(); boolean isUserRegistrationEnabled(); List<SecurityQuestion> getSecurityQuestions(); boolean isShowOpenIdConnect(); List<IAuthenticationProvider> getAuthenticationProviders(); String getSmtpServer(); String getSmtpUser(); String getSmtpPassword(); String getSmtpSenderAddress(); String getSmtpSenderName(); String getSmtpSecurity(); String getAnonymousUserEmailAddress(); boolean isDisplayCollectionBrowsing(); boolean isDisplayUserNavigation(); boolean isDisplayTagCloudNavigation(); boolean isDisplayStatistics(); boolean isDisplayTimeMatrix(); boolean isDisplayCrowdsourcingModuleLinks(); String getTheme(); String getThemeRootPath(); String getName(); String getDescription(); boolean isDisplayTagCloudStartpage(); boolean isDisplaySearchResultNavigation(); boolean isFoldout(String sidebarElement); boolean isSidebarPageViewLinkVisible(); boolean isSidebarCalendarViewLinkVisible(); boolean isSidebarTocViewLinkVisible(); boolean isSidebarThumbsViewLinkVisible(); boolean isSidebarMetadataViewLinkVisible(); boolean isShowSidebarEventMetadata(); boolean isShowRecordLabelIfNoOtherViews(); boolean isSidebarFulltextLinkVisible(); boolean isSidebarTocWidgetVisible(); boolean isSidebarTocWidgetVisibleInFullscreen(); boolean isSidebarOpacLinkVisible(); boolean getSidebarTocPageNumbersVisible(); int getSidebarTocLengthBeforeCut(); int getSidebarTocInitialCollapseLevel(); int getSidebarTocCollapseLengthThreshold(); int getSidebarTocLowestLevelToCollapseForLength(); boolean isSidebarTocTreeView(); boolean isTocTreeView(String docStructType); List<String> getAllDrillDownFields(); List<String> getDrillDownFields(); List<String> getHierarchicalDrillDownFields(); int getInitialDrillDownElementNumber(String field); String getSortOrder(String field); List<String> getPriorityValuesForDrillDownField(String field); String getLabelFieldForDrillDownField(String facetField); @SuppressWarnings("static-method") List<String> getRangeFacetFields(); boolean isSortingEnabled(); String getDefaultSortField(); List<String> getSortFields(); List<String> getStaticSortFields(); String getUrnResolverUrl(); int getUnconditionalImageAccessMaxWidth(); boolean isFullAccessForLocalhost(); boolean isGeneratePdfInTaskManager(); boolean isPdfApiDisabled(); boolean isTitlePdfEnabled(); boolean isTocPdfEnabled(); boolean isMetadataPdfEnabled(); boolean isPagePdfEnabled(); boolean isDocHierarchyPdfEnabled(); boolean isTitleEpubEnabled(); boolean isTocEpubEnabled(); boolean isMetadataEpubEnabled(); String getDownloadFolder(String type); int getRssFeedItems(); String getRssTitle(); String getRssDescription(); String getRssCopyrightText(); String getRulesetFilePath(); String getDefaultCollection(); int getThumbnailsWidth(); int getThumbnailsHeight(); int getThumbnailsCompression(); String getAnchorThumbnailMode(); int getMultivolumeThumbnailWidth(); int getMultivolumeThumbnailHeight(); boolean getDisplayBreadcrumbs(); boolean getDisplayMetadataPageLinkBlock(); boolean isAddDublinCoreMetaTags(); boolean isAddHighwirePressMetaTags(); int getMetadataParamNumber(); boolean useTiles(); boolean useTilesFullscreen(); boolean useTiles(PageType view, ImageType image); int getFooterHeight(); int getFullscreenFooterHeight(); int getFooterHeight(PageType view, ImageType image); String getImageViewType(); String getZoomFullscreenViewType(); String getZoomImageViewType(PageType view, ImageType image); boolean useOpenSeadragon(); List<String> getImageViewZoomScales(); List<String> getImageViewZoomScales(String view); List<String> getImageViewZoomScales(PageType view, ImageType image); Map<Integer, List<Integer>> getTileSizes(); Map<Integer, List<Integer>> getTileSizes(PageType view, ImageType image); SubnodeConfiguration getZoomImageViewConfig(PageType pageType, ImageType imageType); int getBreadcrumbsClipping(); boolean isDisplayTopstructLabel(); boolean getDisplayStructType(); int getSearchHitMetadataValueNumber(); int getSearchHitMetadataValueLength(); List<String> getWatermarkTextConfiguration(); String getWatermarkFormat(); boolean isOriginalContentDownload(); String getStopwordsFilePath(); String getPageType(PageType type); String getDocstructTargetPageType(String docstruct); String getPageTypeExitView(PageType type); int getFulltextPercentageWarningThreshold(); boolean isUseViewerLocaleAsRecordLanguage(); String getFeedbackEmailAddress(); boolean isBookmarksEnabled(); boolean isForceJpegConversion(); int getPageLoaderThreshold(); boolean isPreventProxyCaching(); boolean isSolrCompressionEnabled(); boolean isSolrBackwardsCompatible(); boolean isUserCommentsEnabled(); String getUserCommentsConditionalQuery(); List<String> getUserCommentsNotificationEmailAddresses(); String getViewerHome(); List<String> getWatermarkIdField(); String getSubthemeMainTheme(); String getSubthemeDiscriminatorField(); int getTagCloudSampleSize(String fieldName); List<StringPair> getTocVolumeSortFieldsForTemplate(String template); String getTocVolumeGroupFieldForTemplate(String template); boolean getDisplayTitleBreadcrumbs(); boolean isDisplayTitlePURL(); int getTitleBreadcrumbsMaxTitleLength(); boolean getIncludeAnchorInTitleBreadcrumbs(); boolean isDisplaySearchRssLinks(); boolean showThumbnailsInToc(); String getStartYearForTimeline(); String getEndYearForTimeline(); String getTimelineHits(); boolean isPiwikTrackingEnabled(); String getPiwikBaseURL(); String getPiwikSiteID(); boolean isSearchSavingEnabled(); boolean isBoostTopLevelDocstructs(); boolean isGroupDuplicateHits(); List<String> getRecordGroupIdentifierFields(); List<String> getAncestorIdentifierFields(); boolean isTocListSiblingRecords(); List<SearchFilter> getSearchFilters(); List<Map<String, String>> getWebApiFields(); String getDbPersistenceUnit(); boolean useCustomNavBar(); String getCmsTemplateFolder(); String getCmsMediaFolder(); String getTempMediaFolder(); List<String> getCmsClassifications(); int getCmsMediaDisplayWidth(); int getCmsMediaDisplayHeight(); boolean isTranskribusEnabled(); String getTranskribusUserName(); String getTranskribusPassword(); String getTranskribusDefaultCollection(); String getTranskribusRestApiUrl(); List<String> getTranskribusAllowedDocumentTypes(); int getTocIndentation(); boolean isPageBrowseEnabled(); List<Integer> getPageBrowseSteps(); String getTaskManagerServiceUrl(); String getTaskManagerRestUrl(); String getReCaptchaSiteKey(); boolean isUseReCaptcha(); boolean isSearchInItemEnabled(); String getDefaultBrowseIcon(String field); boolean isSearchExcelExportEnabled(); List<String> getSearchExcelExportFields(); int getExcelDownloadTimeout(); boolean isDisplayEmptyTocInSidebar(); boolean isDoublePageModeEnabled(); List<String> getRestrictedImageUrls(); List<String> getIIIFLicenses(); List<String> getIIIFMetadataFields(); List<String> getIIIFEventFields(); String getIIIFMetadataLabel(String field); int getIIIFDiscoveryAvtivitiesPerPage(); List<String> getIIIFLogo(); String getIIIFNavDateField(); List<String> getIIIFAttribution(); List<String> getIIIFDescriptionFields(); String getSitelinksField(); String getSitelinksFilterQuery(); List<String> getConfiguredCollections(); String getWebApiToken(); boolean isAllowRedirectCollectionToWork(); String getTwitterUserName(); float getLimitImageHeightUpperRatioThreshold(); float getLimitImageHeightLowerRatioThreshold(); boolean isLimitImageHeight(); boolean isAddCORSHeader(); String getCORSHeaderValue(); boolean isDiscloseImageContentLocation(); String getAccessConditionDisplayField(); String getCopyrightDisplayField(); boolean isDisplayCopyrightInfo(); boolean isDisplaySocialMediaShareLinks(); boolean isDisplayAnchorLabelInTitleBar(String template); String getAnchorLabelInTitleBarPrefix(String template); String getAnchorLabelInTitleBarSuffix(String template); String getMapBoxToken(); GeoMapMarker getGeoMapMarker(String name); List<String> getGeoMapMarkerFields(); List<GeoMapMarker> getGeoMapMarkers(); static GeoMapMarker readGeoMapMarker(HierarchicalConfiguration config); List<LicenseDescription> getLicenseDescriptions(); }
@Test public void getSubthemeMainTheme_shouldReturnCorrectValue() throws Exception { Assert.assertEquals("mainTheme_value", DataManager.getInstance().getConfiguration().getSubthemeMainTheme()); }
public String getSubthemeMainTheme() { String theme = getLocalString("viewer.theme[@mainTheme]"); if (StringUtils.isEmpty(theme)) { logger.error("Theme name could not be read - config_viewer.xml may not be well-formed."); } return getLocalString("viewer.theme[@mainTheme]"); }
Configuration extends AbstractConfiguration { public String getSubthemeMainTheme() { String theme = getLocalString("viewer.theme[@mainTheme]"); if (StringUtils.isEmpty(theme)) { logger.error("Theme name could not be read - config_viewer.xml may not be well-formed."); } return getLocalString("viewer.theme[@mainTheme]"); } }
Configuration extends AbstractConfiguration { public String getSubthemeMainTheme() { String theme = getLocalString("viewer.theme[@mainTheme]"); if (StringUtils.isEmpty(theme)) { logger.error("Theme name could not be read - config_viewer.xml may not be well-formed."); } return getLocalString("viewer.theme[@mainTheme]"); } Configuration(String configFilePath); }
Configuration extends AbstractConfiguration { public String getSubthemeMainTheme() { String theme = getLocalString("viewer.theme[@mainTheme]"); if (StringUtils.isEmpty(theme)) { logger.error("Theme name could not be read - config_viewer.xml may not be well-formed."); } return getLocalString("viewer.theme[@mainTheme]"); } Configuration(String configFilePath); Set<String> getStopwords(); boolean reloadingRequired(); String getConfigLocalPath(); String getLocalRessourceBundleFile(); int getViewerThumbnailsPerPage(); int getViewerMaxImageWidth(); int getViewerMaxImageHeight(); int getViewerMaxImageScale(); boolean isRememberImageZoom(); boolean isRememberImageRotation(); String getDfgViewerUrl(); String getConnectorVersionUrl(); List<Metadata> getTitleBarMetadata(); List<Metadata> getSearchHitMetadataForTemplate(String template); List<Metadata> getMainMetadataForTemplate(String template); List<Metadata> getSidebarMetadataForTemplate(String template); List<String> getNormdataFieldsForTemplate(String template); List<Metadata> getTocLabelConfiguration(String template); int getTocAnchorGroupElementsPerPage(); boolean isDisplaySidebarBrowsingTerms(); boolean isDisplaySidebarRssFeed(); boolean isDisplayWidgetUsage(); Metadata getWidgetUsageLicenceTextMetadata(); boolean isDisplaySidebarUsageWidgetLinkToJpegImage(); boolean isDisplaySidebarUsageWidgetLinkToMasterImage(); String getWidgetUsageMaxJpegSize(); String getWidgetUsageMaxMasterImageSize(); List<String> getCalendarDocStructTypes(); boolean isBrowsingMenuEnabled(); int getBrowsingMenuHitsPerPage(); List<BrowsingMenuFieldConfig> getBrowsingMenuFields(); String getBrowsingMenuSortingIgnoreLeadingChars(); String getDocstrctWhitelistFilterQuery(); String getCollectionSplittingChar(String field); List<DcSortingList> getCollectionSorting(String field); List<String> getCollectionBlacklist(String field); String getCollectionDefaultSortField(String field, String name); int getCollectionDisplayNumberOfVolumesLevel(String field); int getCollectionDisplayDepthForSearch(String field); String getCollectionHierarchyField(); boolean isAddCollectionHierarchyToBreadcrumbs(String field); String getSolrUrl(); String getContentServerWrapperUrl(); String getDownloadUrl(); String getRestApiUrl(); String getIIIFApiUrl(); boolean isUseIIIFApiUrlForCmsMediaUrls(); String getContentServerRealUrl(); String getMetsUrl(); String getMarcUrl(); String getDcUrl(); String getEseUrl(); List<Integer> getSearchHitsPerPageValues(); int getSearchHitsPerPageDefaultValue(); int getFulltextFragmentLength(); boolean isAdvancedSearchEnabled(); int getAdvancedSearchDefaultItemNumber(); List<AdvancedSearchFieldConfiguration> getAdvancedSearchFields(); boolean isAggregateHits(); boolean isDisplayAdditionalMetadataEnabled(); List<String> getDisplayAdditionalMetadataIgnoreFields(); List<String> getDisplayAdditionalMetadataTranslateFields(); boolean isAdvancedSearchFieldHierarchical(String field); boolean isAdvancedSearchFieldRange(String field); boolean isAdvancedSearchFieldUntokenizeForPhraseSearch(String field); String getAdvancedSearchFieldSeparatorLabel(String field); boolean isTimelineSearchEnabled(); boolean isCalendarSearchEnabled(); String getStaticQuerySuffix(); String getPreviousVersionIdentifierField(); String getNextVersionIdentifierField(); String getVersionLabelField(); String getIndexedMetsFolder(); String getIndexedLidoFolder(); String getIndexedDenkxwebFolder(); String getIndexedDublinCoreFolder(); String getPageSelectionFormat(); String getMediaFolder(); String getPdfFolder(); String getVocabulariesFolder(); String getOrigContentFolder(); String getCmsTextFolder(); String getAltoFolder(); String getAbbyyFolder(); String getFulltextFolder(); String getTeiFolder(); String getCmdiFolder(); String getWcFolder(); String getAnnotationFolder(); String getHotfolder(); @SuppressWarnings("static-method") String getTempFolder(); boolean isUrnDoRedirect(); boolean isUserRegistrationEnabled(); List<SecurityQuestion> getSecurityQuestions(); boolean isShowOpenIdConnect(); List<IAuthenticationProvider> getAuthenticationProviders(); String getSmtpServer(); String getSmtpUser(); String getSmtpPassword(); String getSmtpSenderAddress(); String getSmtpSenderName(); String getSmtpSecurity(); String getAnonymousUserEmailAddress(); boolean isDisplayCollectionBrowsing(); boolean isDisplayUserNavigation(); boolean isDisplayTagCloudNavigation(); boolean isDisplayStatistics(); boolean isDisplayTimeMatrix(); boolean isDisplayCrowdsourcingModuleLinks(); String getTheme(); String getThemeRootPath(); String getName(); String getDescription(); boolean isDisplayTagCloudStartpage(); boolean isDisplaySearchResultNavigation(); boolean isFoldout(String sidebarElement); boolean isSidebarPageViewLinkVisible(); boolean isSidebarCalendarViewLinkVisible(); boolean isSidebarTocViewLinkVisible(); boolean isSidebarThumbsViewLinkVisible(); boolean isSidebarMetadataViewLinkVisible(); boolean isShowSidebarEventMetadata(); boolean isShowRecordLabelIfNoOtherViews(); boolean isSidebarFulltextLinkVisible(); boolean isSidebarTocWidgetVisible(); boolean isSidebarTocWidgetVisibleInFullscreen(); boolean isSidebarOpacLinkVisible(); boolean getSidebarTocPageNumbersVisible(); int getSidebarTocLengthBeforeCut(); int getSidebarTocInitialCollapseLevel(); int getSidebarTocCollapseLengthThreshold(); int getSidebarTocLowestLevelToCollapseForLength(); boolean isSidebarTocTreeView(); boolean isTocTreeView(String docStructType); List<String> getAllDrillDownFields(); List<String> getDrillDownFields(); List<String> getHierarchicalDrillDownFields(); int getInitialDrillDownElementNumber(String field); String getSortOrder(String field); List<String> getPriorityValuesForDrillDownField(String field); String getLabelFieldForDrillDownField(String facetField); @SuppressWarnings("static-method") List<String> getRangeFacetFields(); boolean isSortingEnabled(); String getDefaultSortField(); List<String> getSortFields(); List<String> getStaticSortFields(); String getUrnResolverUrl(); int getUnconditionalImageAccessMaxWidth(); boolean isFullAccessForLocalhost(); boolean isGeneratePdfInTaskManager(); boolean isPdfApiDisabled(); boolean isTitlePdfEnabled(); boolean isTocPdfEnabled(); boolean isMetadataPdfEnabled(); boolean isPagePdfEnabled(); boolean isDocHierarchyPdfEnabled(); boolean isTitleEpubEnabled(); boolean isTocEpubEnabled(); boolean isMetadataEpubEnabled(); String getDownloadFolder(String type); int getRssFeedItems(); String getRssTitle(); String getRssDescription(); String getRssCopyrightText(); String getRulesetFilePath(); String getDefaultCollection(); int getThumbnailsWidth(); int getThumbnailsHeight(); int getThumbnailsCompression(); String getAnchorThumbnailMode(); int getMultivolumeThumbnailWidth(); int getMultivolumeThumbnailHeight(); boolean getDisplayBreadcrumbs(); boolean getDisplayMetadataPageLinkBlock(); boolean isAddDublinCoreMetaTags(); boolean isAddHighwirePressMetaTags(); int getMetadataParamNumber(); boolean useTiles(); boolean useTilesFullscreen(); boolean useTiles(PageType view, ImageType image); int getFooterHeight(); int getFullscreenFooterHeight(); int getFooterHeight(PageType view, ImageType image); String getImageViewType(); String getZoomFullscreenViewType(); String getZoomImageViewType(PageType view, ImageType image); boolean useOpenSeadragon(); List<String> getImageViewZoomScales(); List<String> getImageViewZoomScales(String view); List<String> getImageViewZoomScales(PageType view, ImageType image); Map<Integer, List<Integer>> getTileSizes(); Map<Integer, List<Integer>> getTileSizes(PageType view, ImageType image); SubnodeConfiguration getZoomImageViewConfig(PageType pageType, ImageType imageType); int getBreadcrumbsClipping(); boolean isDisplayTopstructLabel(); boolean getDisplayStructType(); int getSearchHitMetadataValueNumber(); int getSearchHitMetadataValueLength(); List<String> getWatermarkTextConfiguration(); String getWatermarkFormat(); boolean isOriginalContentDownload(); String getStopwordsFilePath(); String getPageType(PageType type); String getDocstructTargetPageType(String docstruct); String getPageTypeExitView(PageType type); int getFulltextPercentageWarningThreshold(); boolean isUseViewerLocaleAsRecordLanguage(); String getFeedbackEmailAddress(); boolean isBookmarksEnabled(); boolean isForceJpegConversion(); int getPageLoaderThreshold(); boolean isPreventProxyCaching(); boolean isSolrCompressionEnabled(); boolean isSolrBackwardsCompatible(); boolean isUserCommentsEnabled(); String getUserCommentsConditionalQuery(); List<String> getUserCommentsNotificationEmailAddresses(); String getViewerHome(); List<String> getWatermarkIdField(); String getSubthemeMainTheme(); String getSubthemeDiscriminatorField(); int getTagCloudSampleSize(String fieldName); List<StringPair> getTocVolumeSortFieldsForTemplate(String template); String getTocVolumeGroupFieldForTemplate(String template); boolean getDisplayTitleBreadcrumbs(); boolean isDisplayTitlePURL(); int getTitleBreadcrumbsMaxTitleLength(); boolean getIncludeAnchorInTitleBreadcrumbs(); boolean isDisplaySearchRssLinks(); boolean showThumbnailsInToc(); String getStartYearForTimeline(); String getEndYearForTimeline(); String getTimelineHits(); boolean isPiwikTrackingEnabled(); String getPiwikBaseURL(); String getPiwikSiteID(); boolean isSearchSavingEnabled(); boolean isBoostTopLevelDocstructs(); boolean isGroupDuplicateHits(); List<String> getRecordGroupIdentifierFields(); List<String> getAncestorIdentifierFields(); boolean isTocListSiblingRecords(); List<SearchFilter> getSearchFilters(); List<Map<String, String>> getWebApiFields(); String getDbPersistenceUnit(); boolean useCustomNavBar(); String getCmsTemplateFolder(); String getCmsMediaFolder(); String getTempMediaFolder(); List<String> getCmsClassifications(); int getCmsMediaDisplayWidth(); int getCmsMediaDisplayHeight(); boolean isTranskribusEnabled(); String getTranskribusUserName(); String getTranskribusPassword(); String getTranskribusDefaultCollection(); String getTranskribusRestApiUrl(); List<String> getTranskribusAllowedDocumentTypes(); int getTocIndentation(); boolean isPageBrowseEnabled(); List<Integer> getPageBrowseSteps(); String getTaskManagerServiceUrl(); String getTaskManagerRestUrl(); String getReCaptchaSiteKey(); boolean isUseReCaptcha(); boolean isSearchInItemEnabled(); String getDefaultBrowseIcon(String field); boolean isSearchExcelExportEnabled(); List<String> getSearchExcelExportFields(); int getExcelDownloadTimeout(); boolean isDisplayEmptyTocInSidebar(); boolean isDoublePageModeEnabled(); List<String> getRestrictedImageUrls(); List<String> getIIIFLicenses(); List<String> getIIIFMetadataFields(); List<String> getIIIFEventFields(); String getIIIFMetadataLabel(String field); int getIIIFDiscoveryAvtivitiesPerPage(); List<String> getIIIFLogo(); String getIIIFNavDateField(); List<String> getIIIFAttribution(); List<String> getIIIFDescriptionFields(); String getSitelinksField(); String getSitelinksFilterQuery(); List<String> getConfiguredCollections(); String getWebApiToken(); boolean isAllowRedirectCollectionToWork(); String getTwitterUserName(); float getLimitImageHeightUpperRatioThreshold(); float getLimitImageHeightLowerRatioThreshold(); boolean isLimitImageHeight(); boolean isAddCORSHeader(); String getCORSHeaderValue(); boolean isDiscloseImageContentLocation(); String getAccessConditionDisplayField(); String getCopyrightDisplayField(); boolean isDisplayCopyrightInfo(); boolean isDisplaySocialMediaShareLinks(); boolean isDisplayAnchorLabelInTitleBar(String template); String getAnchorLabelInTitleBarPrefix(String template); String getAnchorLabelInTitleBarSuffix(String template); String getMapBoxToken(); GeoMapMarker getGeoMapMarker(String name); List<String> getGeoMapMarkerFields(); List<GeoMapMarker> getGeoMapMarkers(); static GeoMapMarker readGeoMapMarker(HierarchicalConfiguration config); List<LicenseDescription> getLicenseDescriptions(); }
Configuration extends AbstractConfiguration { public String getSubthemeMainTheme() { String theme = getLocalString("viewer.theme[@mainTheme]"); if (StringUtils.isEmpty(theme)) { logger.error("Theme name could not be read - config_viewer.xml may not be well-formed."); } return getLocalString("viewer.theme[@mainTheme]"); } Configuration(String configFilePath); Set<String> getStopwords(); boolean reloadingRequired(); String getConfigLocalPath(); String getLocalRessourceBundleFile(); int getViewerThumbnailsPerPage(); int getViewerMaxImageWidth(); int getViewerMaxImageHeight(); int getViewerMaxImageScale(); boolean isRememberImageZoom(); boolean isRememberImageRotation(); String getDfgViewerUrl(); String getConnectorVersionUrl(); List<Metadata> getTitleBarMetadata(); List<Metadata> getSearchHitMetadataForTemplate(String template); List<Metadata> getMainMetadataForTemplate(String template); List<Metadata> getSidebarMetadataForTemplate(String template); List<String> getNormdataFieldsForTemplate(String template); List<Metadata> getTocLabelConfiguration(String template); int getTocAnchorGroupElementsPerPage(); boolean isDisplaySidebarBrowsingTerms(); boolean isDisplaySidebarRssFeed(); boolean isDisplayWidgetUsage(); Metadata getWidgetUsageLicenceTextMetadata(); boolean isDisplaySidebarUsageWidgetLinkToJpegImage(); boolean isDisplaySidebarUsageWidgetLinkToMasterImage(); String getWidgetUsageMaxJpegSize(); String getWidgetUsageMaxMasterImageSize(); List<String> getCalendarDocStructTypes(); boolean isBrowsingMenuEnabled(); int getBrowsingMenuHitsPerPage(); List<BrowsingMenuFieldConfig> getBrowsingMenuFields(); String getBrowsingMenuSortingIgnoreLeadingChars(); String getDocstrctWhitelistFilterQuery(); String getCollectionSplittingChar(String field); List<DcSortingList> getCollectionSorting(String field); List<String> getCollectionBlacklist(String field); String getCollectionDefaultSortField(String field, String name); int getCollectionDisplayNumberOfVolumesLevel(String field); int getCollectionDisplayDepthForSearch(String field); String getCollectionHierarchyField(); boolean isAddCollectionHierarchyToBreadcrumbs(String field); String getSolrUrl(); String getContentServerWrapperUrl(); String getDownloadUrl(); String getRestApiUrl(); String getIIIFApiUrl(); boolean isUseIIIFApiUrlForCmsMediaUrls(); String getContentServerRealUrl(); String getMetsUrl(); String getMarcUrl(); String getDcUrl(); String getEseUrl(); List<Integer> getSearchHitsPerPageValues(); int getSearchHitsPerPageDefaultValue(); int getFulltextFragmentLength(); boolean isAdvancedSearchEnabled(); int getAdvancedSearchDefaultItemNumber(); List<AdvancedSearchFieldConfiguration> getAdvancedSearchFields(); boolean isAggregateHits(); boolean isDisplayAdditionalMetadataEnabled(); List<String> getDisplayAdditionalMetadataIgnoreFields(); List<String> getDisplayAdditionalMetadataTranslateFields(); boolean isAdvancedSearchFieldHierarchical(String field); boolean isAdvancedSearchFieldRange(String field); boolean isAdvancedSearchFieldUntokenizeForPhraseSearch(String field); String getAdvancedSearchFieldSeparatorLabel(String field); boolean isTimelineSearchEnabled(); boolean isCalendarSearchEnabled(); String getStaticQuerySuffix(); String getPreviousVersionIdentifierField(); String getNextVersionIdentifierField(); String getVersionLabelField(); String getIndexedMetsFolder(); String getIndexedLidoFolder(); String getIndexedDenkxwebFolder(); String getIndexedDublinCoreFolder(); String getPageSelectionFormat(); String getMediaFolder(); String getPdfFolder(); String getVocabulariesFolder(); String getOrigContentFolder(); String getCmsTextFolder(); String getAltoFolder(); String getAbbyyFolder(); String getFulltextFolder(); String getTeiFolder(); String getCmdiFolder(); String getWcFolder(); String getAnnotationFolder(); String getHotfolder(); @SuppressWarnings("static-method") String getTempFolder(); boolean isUrnDoRedirect(); boolean isUserRegistrationEnabled(); List<SecurityQuestion> getSecurityQuestions(); boolean isShowOpenIdConnect(); List<IAuthenticationProvider> getAuthenticationProviders(); String getSmtpServer(); String getSmtpUser(); String getSmtpPassword(); String getSmtpSenderAddress(); String getSmtpSenderName(); String getSmtpSecurity(); String getAnonymousUserEmailAddress(); boolean isDisplayCollectionBrowsing(); boolean isDisplayUserNavigation(); boolean isDisplayTagCloudNavigation(); boolean isDisplayStatistics(); boolean isDisplayTimeMatrix(); boolean isDisplayCrowdsourcingModuleLinks(); String getTheme(); String getThemeRootPath(); String getName(); String getDescription(); boolean isDisplayTagCloudStartpage(); boolean isDisplaySearchResultNavigation(); boolean isFoldout(String sidebarElement); boolean isSidebarPageViewLinkVisible(); boolean isSidebarCalendarViewLinkVisible(); boolean isSidebarTocViewLinkVisible(); boolean isSidebarThumbsViewLinkVisible(); boolean isSidebarMetadataViewLinkVisible(); boolean isShowSidebarEventMetadata(); boolean isShowRecordLabelIfNoOtherViews(); boolean isSidebarFulltextLinkVisible(); boolean isSidebarTocWidgetVisible(); boolean isSidebarTocWidgetVisibleInFullscreen(); boolean isSidebarOpacLinkVisible(); boolean getSidebarTocPageNumbersVisible(); int getSidebarTocLengthBeforeCut(); int getSidebarTocInitialCollapseLevel(); int getSidebarTocCollapseLengthThreshold(); int getSidebarTocLowestLevelToCollapseForLength(); boolean isSidebarTocTreeView(); boolean isTocTreeView(String docStructType); List<String> getAllDrillDownFields(); List<String> getDrillDownFields(); List<String> getHierarchicalDrillDownFields(); int getInitialDrillDownElementNumber(String field); String getSortOrder(String field); List<String> getPriorityValuesForDrillDownField(String field); String getLabelFieldForDrillDownField(String facetField); @SuppressWarnings("static-method") List<String> getRangeFacetFields(); boolean isSortingEnabled(); String getDefaultSortField(); List<String> getSortFields(); List<String> getStaticSortFields(); String getUrnResolverUrl(); int getUnconditionalImageAccessMaxWidth(); boolean isFullAccessForLocalhost(); boolean isGeneratePdfInTaskManager(); boolean isPdfApiDisabled(); boolean isTitlePdfEnabled(); boolean isTocPdfEnabled(); boolean isMetadataPdfEnabled(); boolean isPagePdfEnabled(); boolean isDocHierarchyPdfEnabled(); boolean isTitleEpubEnabled(); boolean isTocEpubEnabled(); boolean isMetadataEpubEnabled(); String getDownloadFolder(String type); int getRssFeedItems(); String getRssTitle(); String getRssDescription(); String getRssCopyrightText(); String getRulesetFilePath(); String getDefaultCollection(); int getThumbnailsWidth(); int getThumbnailsHeight(); int getThumbnailsCompression(); String getAnchorThumbnailMode(); int getMultivolumeThumbnailWidth(); int getMultivolumeThumbnailHeight(); boolean getDisplayBreadcrumbs(); boolean getDisplayMetadataPageLinkBlock(); boolean isAddDublinCoreMetaTags(); boolean isAddHighwirePressMetaTags(); int getMetadataParamNumber(); boolean useTiles(); boolean useTilesFullscreen(); boolean useTiles(PageType view, ImageType image); int getFooterHeight(); int getFullscreenFooterHeight(); int getFooterHeight(PageType view, ImageType image); String getImageViewType(); String getZoomFullscreenViewType(); String getZoomImageViewType(PageType view, ImageType image); boolean useOpenSeadragon(); List<String> getImageViewZoomScales(); List<String> getImageViewZoomScales(String view); List<String> getImageViewZoomScales(PageType view, ImageType image); Map<Integer, List<Integer>> getTileSizes(); Map<Integer, List<Integer>> getTileSizes(PageType view, ImageType image); SubnodeConfiguration getZoomImageViewConfig(PageType pageType, ImageType imageType); int getBreadcrumbsClipping(); boolean isDisplayTopstructLabel(); boolean getDisplayStructType(); int getSearchHitMetadataValueNumber(); int getSearchHitMetadataValueLength(); List<String> getWatermarkTextConfiguration(); String getWatermarkFormat(); boolean isOriginalContentDownload(); String getStopwordsFilePath(); String getPageType(PageType type); String getDocstructTargetPageType(String docstruct); String getPageTypeExitView(PageType type); int getFulltextPercentageWarningThreshold(); boolean isUseViewerLocaleAsRecordLanguage(); String getFeedbackEmailAddress(); boolean isBookmarksEnabled(); boolean isForceJpegConversion(); int getPageLoaderThreshold(); boolean isPreventProxyCaching(); boolean isSolrCompressionEnabled(); boolean isSolrBackwardsCompatible(); boolean isUserCommentsEnabled(); String getUserCommentsConditionalQuery(); List<String> getUserCommentsNotificationEmailAddresses(); String getViewerHome(); List<String> getWatermarkIdField(); String getSubthemeMainTheme(); String getSubthemeDiscriminatorField(); int getTagCloudSampleSize(String fieldName); List<StringPair> getTocVolumeSortFieldsForTemplate(String template); String getTocVolumeGroupFieldForTemplate(String template); boolean getDisplayTitleBreadcrumbs(); boolean isDisplayTitlePURL(); int getTitleBreadcrumbsMaxTitleLength(); boolean getIncludeAnchorInTitleBreadcrumbs(); boolean isDisplaySearchRssLinks(); boolean showThumbnailsInToc(); String getStartYearForTimeline(); String getEndYearForTimeline(); String getTimelineHits(); boolean isPiwikTrackingEnabled(); String getPiwikBaseURL(); String getPiwikSiteID(); boolean isSearchSavingEnabled(); boolean isBoostTopLevelDocstructs(); boolean isGroupDuplicateHits(); List<String> getRecordGroupIdentifierFields(); List<String> getAncestorIdentifierFields(); boolean isTocListSiblingRecords(); List<SearchFilter> getSearchFilters(); List<Map<String, String>> getWebApiFields(); String getDbPersistenceUnit(); boolean useCustomNavBar(); String getCmsTemplateFolder(); String getCmsMediaFolder(); String getTempMediaFolder(); List<String> getCmsClassifications(); int getCmsMediaDisplayWidth(); int getCmsMediaDisplayHeight(); boolean isTranskribusEnabled(); String getTranskribusUserName(); String getTranskribusPassword(); String getTranskribusDefaultCollection(); String getTranskribusRestApiUrl(); List<String> getTranskribusAllowedDocumentTypes(); int getTocIndentation(); boolean isPageBrowseEnabled(); List<Integer> getPageBrowseSteps(); String getTaskManagerServiceUrl(); String getTaskManagerRestUrl(); String getReCaptchaSiteKey(); boolean isUseReCaptcha(); boolean isSearchInItemEnabled(); String getDefaultBrowseIcon(String field); boolean isSearchExcelExportEnabled(); List<String> getSearchExcelExportFields(); int getExcelDownloadTimeout(); boolean isDisplayEmptyTocInSidebar(); boolean isDoublePageModeEnabled(); List<String> getRestrictedImageUrls(); List<String> getIIIFLicenses(); List<String> getIIIFMetadataFields(); List<String> getIIIFEventFields(); String getIIIFMetadataLabel(String field); int getIIIFDiscoveryAvtivitiesPerPage(); List<String> getIIIFLogo(); String getIIIFNavDateField(); List<String> getIIIFAttribution(); List<String> getIIIFDescriptionFields(); String getSitelinksField(); String getSitelinksFilterQuery(); List<String> getConfiguredCollections(); String getWebApiToken(); boolean isAllowRedirectCollectionToWork(); String getTwitterUserName(); float getLimitImageHeightUpperRatioThreshold(); float getLimitImageHeightLowerRatioThreshold(); boolean isLimitImageHeight(); boolean isAddCORSHeader(); String getCORSHeaderValue(); boolean isDiscloseImageContentLocation(); String getAccessConditionDisplayField(); String getCopyrightDisplayField(); boolean isDisplayCopyrightInfo(); boolean isDisplaySocialMediaShareLinks(); boolean isDisplayAnchorLabelInTitleBar(String template); String getAnchorLabelInTitleBarPrefix(String template); String getAnchorLabelInTitleBarSuffix(String template); String getMapBoxToken(); GeoMapMarker getGeoMapMarker(String name); List<String> getGeoMapMarkerFields(); List<GeoMapMarker> getGeoMapMarkers(); static GeoMapMarker readGeoMapMarker(HierarchicalConfiguration config); List<LicenseDescription> getLicenseDescriptions(); }
@Test public void generateAccessCheckQuery_shouldUseCorrectFieldNameForAVFiles() throws Exception { { String[] result = AccessConditionUtils.generateAccessCheckQuery("PPN123456789", "00000001.tif"); Assert.assertEquals("+" + SolrConstants.PI_TOPSTRUCT + ":PPN123456789 +" + SolrConstants.FILENAME + ":\"00000001.tif\"", result[0]); Assert.assertEquals(SolrConstants.FILENAME, result[1]); } { String[] result = AccessConditionUtils.generateAccessCheckQuery("PPN123456789", "00000001.webm"); Assert.assertEquals("+" + SolrConstants.PI_TOPSTRUCT + ":PPN123456789 +" + SolrConstants.FILENAME + ":\"00000001.webm\"", result[0]); Assert.assertEquals(SolrConstants.FILENAME, result[1]); } { String[] result = AccessConditionUtils.generateAccessCheckQuery("PPN123456789", "00000001.mp4"); Assert.assertEquals("+" + SolrConstants.PI_TOPSTRUCT + ":PPN123456789 +" + SolrConstants.FILENAME + ":\"00000001.mp4\"", result[0]); Assert.assertEquals(SolrConstants.FILENAME, result[1]); } { String[] result = AccessConditionUtils.generateAccessCheckQuery("PPN123456789", "00000001.mp3"); Assert.assertEquals("+" + SolrConstants.PI_TOPSTRUCT + ":PPN123456789 +" + SolrConstants.FILENAME + ":\"00000001.mp3\"", result[0]); Assert.assertEquals(SolrConstants.FILENAME, result[1]); } { String[] result = AccessConditionUtils.generateAccessCheckQuery("PPN123456789", "00000001.ogg"); Assert.assertEquals("+" + SolrConstants.PI_TOPSTRUCT + ":PPN123456789 +" + SolrConstants.FILENAME + ":\"00000001.ogg\"", result[0]); Assert.assertEquals(SolrConstants.FILENAME, result[1]); } }
static String[] generateAccessCheckQuery(String identifier, String fileName) { if (StringUtils.isEmpty(fileName)) { return new String[2]; } String[] ret = new String[2]; StringBuilder sbQuery = new StringBuilder(); String useFileField = SolrConstants.FILENAME; String useFileName = FileTools.getPathFromUrlString(fileName).getFileName().toString(); boolean wildcard = false; String extension = FilenameUtils.getExtension(fileName).toLowerCase(); switch (extension) { case "webm": case "mp4": case "mp3": case "ogg": case "ogv": break; case "txt": case "xml": useFileName = useFileName.replace("." + extension, ""); wildcard = true; break; case "": wildcard = true; default: break; } sbQuery.append('+').append(SolrConstants.PI_TOPSTRUCT).append(':').append(identifier).append(" +").append(useFileField).append(':'); if (wildcard) { useFileName = ClientUtils.escapeQueryChars(useFileName) + ".*"; sbQuery.append(useFileName); } else { sbQuery.append('"').append(useFileName).append('"'); } ret[0] = sbQuery.toString(); ret[1] = useFileField; return ret; }
AccessConditionUtils { static String[] generateAccessCheckQuery(String identifier, String fileName) { if (StringUtils.isEmpty(fileName)) { return new String[2]; } String[] ret = new String[2]; StringBuilder sbQuery = new StringBuilder(); String useFileField = SolrConstants.FILENAME; String useFileName = FileTools.getPathFromUrlString(fileName).getFileName().toString(); boolean wildcard = false; String extension = FilenameUtils.getExtension(fileName).toLowerCase(); switch (extension) { case "webm": case "mp4": case "mp3": case "ogg": case "ogv": break; case "txt": case "xml": useFileName = useFileName.replace("." + extension, ""); wildcard = true; break; case "": wildcard = true; default: break; } sbQuery.append('+').append(SolrConstants.PI_TOPSTRUCT).append(':').append(identifier).append(" +").append(useFileField).append(':'); if (wildcard) { useFileName = ClientUtils.escapeQueryChars(useFileName) + ".*"; sbQuery.append(useFileName); } else { sbQuery.append('"').append(useFileName).append('"'); } ret[0] = sbQuery.toString(); ret[1] = useFileField; return ret; } }
AccessConditionUtils { static String[] generateAccessCheckQuery(String identifier, String fileName) { if (StringUtils.isEmpty(fileName)) { return new String[2]; } String[] ret = new String[2]; StringBuilder sbQuery = new StringBuilder(); String useFileField = SolrConstants.FILENAME; String useFileName = FileTools.getPathFromUrlString(fileName).getFileName().toString(); boolean wildcard = false; String extension = FilenameUtils.getExtension(fileName).toLowerCase(); switch (extension) { case "webm": case "mp4": case "mp3": case "ogg": case "ogv": break; case "txt": case "xml": useFileName = useFileName.replace("." + extension, ""); wildcard = true; break; case "": wildcard = true; default: break; } sbQuery.append('+').append(SolrConstants.PI_TOPSTRUCT).append(':').append(identifier).append(" +").append(useFileField).append(':'); if (wildcard) { useFileName = ClientUtils.escapeQueryChars(useFileName) + ".*"; sbQuery.append(useFileName); } else { sbQuery.append('"').append(useFileName).append('"'); } ret[0] = sbQuery.toString(); ret[1] = useFileField; return ret; } }
AccessConditionUtils { static String[] generateAccessCheckQuery(String identifier, String fileName) { if (StringUtils.isEmpty(fileName)) { return new String[2]; } String[] ret = new String[2]; StringBuilder sbQuery = new StringBuilder(); String useFileField = SolrConstants.FILENAME; String useFileName = FileTools.getPathFromUrlString(fileName).getFileName().toString(); boolean wildcard = false; String extension = FilenameUtils.getExtension(fileName).toLowerCase(); switch (extension) { case "webm": case "mp4": case "mp3": case "ogg": case "ogv": break; case "txt": case "xml": useFileName = useFileName.replace("." + extension, ""); wildcard = true; break; case "": wildcard = true; default: break; } sbQuery.append('+').append(SolrConstants.PI_TOPSTRUCT).append(':').append(identifier).append(" +").append(useFileField).append(':'); if (wildcard) { useFileName = ClientUtils.escapeQueryChars(useFileName) + ".*"; sbQuery.append(useFileName); } else { sbQuery.append('"').append(useFileName).append('"'); } ret[0] = sbQuery.toString(); ret[1] = useFileField; return ret; } static boolean checkAccess(HttpServletRequest request, String action, String pi, String contentFileName, boolean isThumbnail); static boolean checkAccessPermissionByIdentifierAndLogId(String identifier, String logId, String privilegeName, HttpServletRequest request); @SuppressWarnings("unchecked") static Map<String, Boolean> checkAccessPermissionByIdentiferForAllLogids(String identifier, String privilegeName, HttpServletRequest request); @SuppressWarnings("unchecked") static Map<String, Boolean> checkContentFileAccessPermission(String identifier, HttpServletRequest request, List<Path> files); static boolean checkAccessPermissionByImageUrn(String imageUrn, String privilegeName, HttpServletRequest request); static boolean checkAccessPermission(Set<String> requiredAccessConditions, String privilegeName, String query, HttpServletRequest request); static boolean checkAccessPermissionForImage(HttpServletRequest request, String pi, String contentFileName); static boolean checkAccessPermissionForThumbnail(HttpServletRequest request, String pi, String contentFileName); static boolean checkAccessPermissionForPagePdf(HttpServletRequest request, PhysicalElement page); static boolean checkAccessPermissionByIdentifierAndFilePathWithSessionMap(HttpServletRequest request, String filePath, String privilegeType); @SuppressWarnings("unchecked") static boolean checkAccessPermissionByIdentifierAndFileNameWithSessionMap(HttpServletRequest request, String pi, String contentFileName, String privilegeType); static boolean checkAccessPermission(List<LicenseType> allLicenseTypes, Set<String> requiredAccessConditions, String privilegeName, User user, String remoteAddress, String query); static boolean isFreeOpenAccess(Set<String> requiredAccessConditions, Collection<LicenseType> allLicenseTypes); static int getPdfDownloadQuotaForRecord(String pi); static boolean isConcurrentViewsLimitEnabledForAnyAccessCondition(List<String> accessConditions); }
AccessConditionUtils { static String[] generateAccessCheckQuery(String identifier, String fileName) { if (StringUtils.isEmpty(fileName)) { return new String[2]; } String[] ret = new String[2]; StringBuilder sbQuery = new StringBuilder(); String useFileField = SolrConstants.FILENAME; String useFileName = FileTools.getPathFromUrlString(fileName).getFileName().toString(); boolean wildcard = false; String extension = FilenameUtils.getExtension(fileName).toLowerCase(); switch (extension) { case "webm": case "mp4": case "mp3": case "ogg": case "ogv": break; case "txt": case "xml": useFileName = useFileName.replace("." + extension, ""); wildcard = true; break; case "": wildcard = true; default: break; } sbQuery.append('+').append(SolrConstants.PI_TOPSTRUCT).append(':').append(identifier).append(" +").append(useFileField).append(':'); if (wildcard) { useFileName = ClientUtils.escapeQueryChars(useFileName) + ".*"; sbQuery.append(useFileName); } else { sbQuery.append('"').append(useFileName).append('"'); } ret[0] = sbQuery.toString(); ret[1] = useFileField; return ret; } static boolean checkAccess(HttpServletRequest request, String action, String pi, String contentFileName, boolean isThumbnail); static boolean checkAccessPermissionByIdentifierAndLogId(String identifier, String logId, String privilegeName, HttpServletRequest request); @SuppressWarnings("unchecked") static Map<String, Boolean> checkAccessPermissionByIdentiferForAllLogids(String identifier, String privilegeName, HttpServletRequest request); @SuppressWarnings("unchecked") static Map<String, Boolean> checkContentFileAccessPermission(String identifier, HttpServletRequest request, List<Path> files); static boolean checkAccessPermissionByImageUrn(String imageUrn, String privilegeName, HttpServletRequest request); static boolean checkAccessPermission(Set<String> requiredAccessConditions, String privilegeName, String query, HttpServletRequest request); static boolean checkAccessPermissionForImage(HttpServletRequest request, String pi, String contentFileName); static boolean checkAccessPermissionForThumbnail(HttpServletRequest request, String pi, String contentFileName); static boolean checkAccessPermissionForPagePdf(HttpServletRequest request, PhysicalElement page); static boolean checkAccessPermissionByIdentifierAndFilePathWithSessionMap(HttpServletRequest request, String filePath, String privilegeType); @SuppressWarnings("unchecked") static boolean checkAccessPermissionByIdentifierAndFileNameWithSessionMap(HttpServletRequest request, String pi, String contentFileName, String privilegeType); static boolean checkAccessPermission(List<LicenseType> allLicenseTypes, Set<String> requiredAccessConditions, String privilegeName, User user, String remoteAddress, String query); static boolean isFreeOpenAccess(Set<String> requiredAccessConditions, Collection<LicenseType> allLicenseTypes); static int getPdfDownloadQuotaForRecord(String pi); static boolean isConcurrentViewsLimitEnabledForAnyAccessCondition(List<String> accessConditions); }
@Test public void testGetLocalesFromFile() throws FileNotFoundException, IOException, JDOMException { Path configPath = Paths.get("src/test/resources/localConfig/faces-config.xml"); assumeTrue(Files.isRegularFile(configPath)); List<Locale> locales = ViewerResourceBundle.getLocalesFromFile(configPath); assertEquals(6, locales.size()); assertEquals(Locale.ENGLISH, locales.get(1)); assertEquals(Locale.FRENCH, locales.get(3)); }
public static List<Locale> getLocalesFromFile(Path facesConfigPath) throws FileNotFoundException, IOException, JDOMException { Document doc = XmlTools.readXmlFile(facesConfigPath); Namespace xsi = Namespace.getNamespace("xsi", "http: Namespace javaee = Namespace.getNamespace("ee", "http: List<Namespace> namespaces = Arrays.asList(xsi, javaee); List<Element> localeElements = XmlTools.evaluateToElements(" return localeElements.stream().map(ele -> ele.getText()).map(Locale::forLanguageTag).collect(Collectors.toList()); }
ViewerResourceBundle extends ResourceBundle { public static List<Locale> getLocalesFromFile(Path facesConfigPath) throws FileNotFoundException, IOException, JDOMException { Document doc = XmlTools.readXmlFile(facesConfigPath); Namespace xsi = Namespace.getNamespace("xsi", "http: Namespace javaee = Namespace.getNamespace("ee", "http: List<Namespace> namespaces = Arrays.asList(xsi, javaee); List<Element> localeElements = XmlTools.evaluateToElements(" return localeElements.stream().map(ele -> ele.getText()).map(Locale::forLanguageTag).collect(Collectors.toList()); } }
ViewerResourceBundle extends ResourceBundle { public static List<Locale> getLocalesFromFile(Path facesConfigPath) throws FileNotFoundException, IOException, JDOMException { Document doc = XmlTools.readXmlFile(facesConfigPath); Namespace xsi = Namespace.getNamespace("xsi", "http: Namespace javaee = Namespace.getNamespace("ee", "http: List<Namespace> namespaces = Arrays.asList(xsi, javaee); List<Element> localeElements = XmlTools.evaluateToElements(" return localeElements.stream().map(ele -> ele.getText()).map(Locale::forLanguageTag).collect(Collectors.toList()); } ViewerResourceBundle(); }
ViewerResourceBundle extends ResourceBundle { public static List<Locale> getLocalesFromFile(Path facesConfigPath) throws FileNotFoundException, IOException, JDOMException { Document doc = XmlTools.readXmlFile(facesConfigPath); Namespace xsi = Namespace.getNamespace("xsi", "http: Namespace javaee = Namespace.getNamespace("ee", "http: List<Namespace> namespaces = Arrays.asList(xsi, javaee); List<Element> localeElements = XmlTools.evaluateToElements(" return localeElements.stream().map(ele -> ele.getText()).map(Locale::forLanguageTag).collect(Collectors.toList()); } ViewerResourceBundle(); static Locale getDefaultLocale(); static String getTranslation(final String key, Locale locale); static String getTranslationWithParameters(final String key, final Locale locale, final String... params); static String getTranslation(final String key, Locale locale, boolean useFallback); static String cleanUpTranslation(String value); static List<String> getMessagesValues(Locale locale, String keyPrefix); @Override Enumeration<String> getKeys(); static List<Locale> getAllLocales(); static List<Locale> getFacesLocales(); static IMetadataValue getTranslations(String key); static IMetadataValue getTranslations(String key, boolean allowKeyAsTranslation); static List<Locale> getLocalesFromFacesConfig(); static List<Locale> getLocalesFromFile(Path facesConfigPath); }
ViewerResourceBundle extends ResourceBundle { public static List<Locale> getLocalesFromFile(Path facesConfigPath) throws FileNotFoundException, IOException, JDOMException { Document doc = XmlTools.readXmlFile(facesConfigPath); Namespace xsi = Namespace.getNamespace("xsi", "http: Namespace javaee = Namespace.getNamespace("ee", "http: List<Namespace> namespaces = Arrays.asList(xsi, javaee); List<Element> localeElements = XmlTools.evaluateToElements(" return localeElements.stream().map(ele -> ele.getText()).map(Locale::forLanguageTag).collect(Collectors.toList()); } ViewerResourceBundle(); static Locale getDefaultLocale(); static String getTranslation(final String key, Locale locale); static String getTranslationWithParameters(final String key, final Locale locale, final String... params); static String getTranslation(final String key, Locale locale, boolean useFallback); static String cleanUpTranslation(String value); static List<String> getMessagesValues(Locale locale, String keyPrefix); @Override Enumeration<String> getKeys(); static List<Locale> getAllLocales(); static List<Locale> getFacesLocales(); static IMetadataValue getTranslations(String key); static IMetadataValue getTranslations(String key, boolean allowKeyAsTranslation); static List<Locale> getLocalesFromFacesConfig(); static List<Locale> getLocalesFromFile(Path facesConfigPath); static Thread backgroundThread; }
@Test public void getSubthemeDiscriminatorField_shouldReturnCorrectValue() throws Exception { Assert.assertEquals("FACET_VIEWERSUBTHEME", DataManager.getInstance().getConfiguration().getSubthemeDiscriminatorField()); }
public String getSubthemeDiscriminatorField() { return getLocalString("viewer.theme[@discriminatorField]", ""); }
Configuration extends AbstractConfiguration { public String getSubthemeDiscriminatorField() { return getLocalString("viewer.theme[@discriminatorField]", ""); } }
Configuration extends AbstractConfiguration { public String getSubthemeDiscriminatorField() { return getLocalString("viewer.theme[@discriminatorField]", ""); } Configuration(String configFilePath); }
Configuration extends AbstractConfiguration { public String getSubthemeDiscriminatorField() { return getLocalString("viewer.theme[@discriminatorField]", ""); } Configuration(String configFilePath); Set<String> getStopwords(); boolean reloadingRequired(); String getConfigLocalPath(); String getLocalRessourceBundleFile(); int getViewerThumbnailsPerPage(); int getViewerMaxImageWidth(); int getViewerMaxImageHeight(); int getViewerMaxImageScale(); boolean isRememberImageZoom(); boolean isRememberImageRotation(); String getDfgViewerUrl(); String getConnectorVersionUrl(); List<Metadata> getTitleBarMetadata(); List<Metadata> getSearchHitMetadataForTemplate(String template); List<Metadata> getMainMetadataForTemplate(String template); List<Metadata> getSidebarMetadataForTemplate(String template); List<String> getNormdataFieldsForTemplate(String template); List<Metadata> getTocLabelConfiguration(String template); int getTocAnchorGroupElementsPerPage(); boolean isDisplaySidebarBrowsingTerms(); boolean isDisplaySidebarRssFeed(); boolean isDisplayWidgetUsage(); Metadata getWidgetUsageLicenceTextMetadata(); boolean isDisplaySidebarUsageWidgetLinkToJpegImage(); boolean isDisplaySidebarUsageWidgetLinkToMasterImage(); String getWidgetUsageMaxJpegSize(); String getWidgetUsageMaxMasterImageSize(); List<String> getCalendarDocStructTypes(); boolean isBrowsingMenuEnabled(); int getBrowsingMenuHitsPerPage(); List<BrowsingMenuFieldConfig> getBrowsingMenuFields(); String getBrowsingMenuSortingIgnoreLeadingChars(); String getDocstrctWhitelistFilterQuery(); String getCollectionSplittingChar(String field); List<DcSortingList> getCollectionSorting(String field); List<String> getCollectionBlacklist(String field); String getCollectionDefaultSortField(String field, String name); int getCollectionDisplayNumberOfVolumesLevel(String field); int getCollectionDisplayDepthForSearch(String field); String getCollectionHierarchyField(); boolean isAddCollectionHierarchyToBreadcrumbs(String field); String getSolrUrl(); String getContentServerWrapperUrl(); String getDownloadUrl(); String getRestApiUrl(); String getIIIFApiUrl(); boolean isUseIIIFApiUrlForCmsMediaUrls(); String getContentServerRealUrl(); String getMetsUrl(); String getMarcUrl(); String getDcUrl(); String getEseUrl(); List<Integer> getSearchHitsPerPageValues(); int getSearchHitsPerPageDefaultValue(); int getFulltextFragmentLength(); boolean isAdvancedSearchEnabled(); int getAdvancedSearchDefaultItemNumber(); List<AdvancedSearchFieldConfiguration> getAdvancedSearchFields(); boolean isAggregateHits(); boolean isDisplayAdditionalMetadataEnabled(); List<String> getDisplayAdditionalMetadataIgnoreFields(); List<String> getDisplayAdditionalMetadataTranslateFields(); boolean isAdvancedSearchFieldHierarchical(String field); boolean isAdvancedSearchFieldRange(String field); boolean isAdvancedSearchFieldUntokenizeForPhraseSearch(String field); String getAdvancedSearchFieldSeparatorLabel(String field); boolean isTimelineSearchEnabled(); boolean isCalendarSearchEnabled(); String getStaticQuerySuffix(); String getPreviousVersionIdentifierField(); String getNextVersionIdentifierField(); String getVersionLabelField(); String getIndexedMetsFolder(); String getIndexedLidoFolder(); String getIndexedDenkxwebFolder(); String getIndexedDublinCoreFolder(); String getPageSelectionFormat(); String getMediaFolder(); String getPdfFolder(); String getVocabulariesFolder(); String getOrigContentFolder(); String getCmsTextFolder(); String getAltoFolder(); String getAbbyyFolder(); String getFulltextFolder(); String getTeiFolder(); String getCmdiFolder(); String getWcFolder(); String getAnnotationFolder(); String getHotfolder(); @SuppressWarnings("static-method") String getTempFolder(); boolean isUrnDoRedirect(); boolean isUserRegistrationEnabled(); List<SecurityQuestion> getSecurityQuestions(); boolean isShowOpenIdConnect(); List<IAuthenticationProvider> getAuthenticationProviders(); String getSmtpServer(); String getSmtpUser(); String getSmtpPassword(); String getSmtpSenderAddress(); String getSmtpSenderName(); String getSmtpSecurity(); String getAnonymousUserEmailAddress(); boolean isDisplayCollectionBrowsing(); boolean isDisplayUserNavigation(); boolean isDisplayTagCloudNavigation(); boolean isDisplayStatistics(); boolean isDisplayTimeMatrix(); boolean isDisplayCrowdsourcingModuleLinks(); String getTheme(); String getThemeRootPath(); String getName(); String getDescription(); boolean isDisplayTagCloudStartpage(); boolean isDisplaySearchResultNavigation(); boolean isFoldout(String sidebarElement); boolean isSidebarPageViewLinkVisible(); boolean isSidebarCalendarViewLinkVisible(); boolean isSidebarTocViewLinkVisible(); boolean isSidebarThumbsViewLinkVisible(); boolean isSidebarMetadataViewLinkVisible(); boolean isShowSidebarEventMetadata(); boolean isShowRecordLabelIfNoOtherViews(); boolean isSidebarFulltextLinkVisible(); boolean isSidebarTocWidgetVisible(); boolean isSidebarTocWidgetVisibleInFullscreen(); boolean isSidebarOpacLinkVisible(); boolean getSidebarTocPageNumbersVisible(); int getSidebarTocLengthBeforeCut(); int getSidebarTocInitialCollapseLevel(); int getSidebarTocCollapseLengthThreshold(); int getSidebarTocLowestLevelToCollapseForLength(); boolean isSidebarTocTreeView(); boolean isTocTreeView(String docStructType); List<String> getAllDrillDownFields(); List<String> getDrillDownFields(); List<String> getHierarchicalDrillDownFields(); int getInitialDrillDownElementNumber(String field); String getSortOrder(String field); List<String> getPriorityValuesForDrillDownField(String field); String getLabelFieldForDrillDownField(String facetField); @SuppressWarnings("static-method") List<String> getRangeFacetFields(); boolean isSortingEnabled(); String getDefaultSortField(); List<String> getSortFields(); List<String> getStaticSortFields(); String getUrnResolverUrl(); int getUnconditionalImageAccessMaxWidth(); boolean isFullAccessForLocalhost(); boolean isGeneratePdfInTaskManager(); boolean isPdfApiDisabled(); boolean isTitlePdfEnabled(); boolean isTocPdfEnabled(); boolean isMetadataPdfEnabled(); boolean isPagePdfEnabled(); boolean isDocHierarchyPdfEnabled(); boolean isTitleEpubEnabled(); boolean isTocEpubEnabled(); boolean isMetadataEpubEnabled(); String getDownloadFolder(String type); int getRssFeedItems(); String getRssTitle(); String getRssDescription(); String getRssCopyrightText(); String getRulesetFilePath(); String getDefaultCollection(); int getThumbnailsWidth(); int getThumbnailsHeight(); int getThumbnailsCompression(); String getAnchorThumbnailMode(); int getMultivolumeThumbnailWidth(); int getMultivolumeThumbnailHeight(); boolean getDisplayBreadcrumbs(); boolean getDisplayMetadataPageLinkBlock(); boolean isAddDublinCoreMetaTags(); boolean isAddHighwirePressMetaTags(); int getMetadataParamNumber(); boolean useTiles(); boolean useTilesFullscreen(); boolean useTiles(PageType view, ImageType image); int getFooterHeight(); int getFullscreenFooterHeight(); int getFooterHeight(PageType view, ImageType image); String getImageViewType(); String getZoomFullscreenViewType(); String getZoomImageViewType(PageType view, ImageType image); boolean useOpenSeadragon(); List<String> getImageViewZoomScales(); List<String> getImageViewZoomScales(String view); List<String> getImageViewZoomScales(PageType view, ImageType image); Map<Integer, List<Integer>> getTileSizes(); Map<Integer, List<Integer>> getTileSizes(PageType view, ImageType image); SubnodeConfiguration getZoomImageViewConfig(PageType pageType, ImageType imageType); int getBreadcrumbsClipping(); boolean isDisplayTopstructLabel(); boolean getDisplayStructType(); int getSearchHitMetadataValueNumber(); int getSearchHitMetadataValueLength(); List<String> getWatermarkTextConfiguration(); String getWatermarkFormat(); boolean isOriginalContentDownload(); String getStopwordsFilePath(); String getPageType(PageType type); String getDocstructTargetPageType(String docstruct); String getPageTypeExitView(PageType type); int getFulltextPercentageWarningThreshold(); boolean isUseViewerLocaleAsRecordLanguage(); String getFeedbackEmailAddress(); boolean isBookmarksEnabled(); boolean isForceJpegConversion(); int getPageLoaderThreshold(); boolean isPreventProxyCaching(); boolean isSolrCompressionEnabled(); boolean isSolrBackwardsCompatible(); boolean isUserCommentsEnabled(); String getUserCommentsConditionalQuery(); List<String> getUserCommentsNotificationEmailAddresses(); String getViewerHome(); List<String> getWatermarkIdField(); String getSubthemeMainTheme(); String getSubthemeDiscriminatorField(); int getTagCloudSampleSize(String fieldName); List<StringPair> getTocVolumeSortFieldsForTemplate(String template); String getTocVolumeGroupFieldForTemplate(String template); boolean getDisplayTitleBreadcrumbs(); boolean isDisplayTitlePURL(); int getTitleBreadcrumbsMaxTitleLength(); boolean getIncludeAnchorInTitleBreadcrumbs(); boolean isDisplaySearchRssLinks(); boolean showThumbnailsInToc(); String getStartYearForTimeline(); String getEndYearForTimeline(); String getTimelineHits(); boolean isPiwikTrackingEnabled(); String getPiwikBaseURL(); String getPiwikSiteID(); boolean isSearchSavingEnabled(); boolean isBoostTopLevelDocstructs(); boolean isGroupDuplicateHits(); List<String> getRecordGroupIdentifierFields(); List<String> getAncestorIdentifierFields(); boolean isTocListSiblingRecords(); List<SearchFilter> getSearchFilters(); List<Map<String, String>> getWebApiFields(); String getDbPersistenceUnit(); boolean useCustomNavBar(); String getCmsTemplateFolder(); String getCmsMediaFolder(); String getTempMediaFolder(); List<String> getCmsClassifications(); int getCmsMediaDisplayWidth(); int getCmsMediaDisplayHeight(); boolean isTranskribusEnabled(); String getTranskribusUserName(); String getTranskribusPassword(); String getTranskribusDefaultCollection(); String getTranskribusRestApiUrl(); List<String> getTranskribusAllowedDocumentTypes(); int getTocIndentation(); boolean isPageBrowseEnabled(); List<Integer> getPageBrowseSteps(); String getTaskManagerServiceUrl(); String getTaskManagerRestUrl(); String getReCaptchaSiteKey(); boolean isUseReCaptcha(); boolean isSearchInItemEnabled(); String getDefaultBrowseIcon(String field); boolean isSearchExcelExportEnabled(); List<String> getSearchExcelExportFields(); int getExcelDownloadTimeout(); boolean isDisplayEmptyTocInSidebar(); boolean isDoublePageModeEnabled(); List<String> getRestrictedImageUrls(); List<String> getIIIFLicenses(); List<String> getIIIFMetadataFields(); List<String> getIIIFEventFields(); String getIIIFMetadataLabel(String field); int getIIIFDiscoveryAvtivitiesPerPage(); List<String> getIIIFLogo(); String getIIIFNavDateField(); List<String> getIIIFAttribution(); List<String> getIIIFDescriptionFields(); String getSitelinksField(); String getSitelinksFilterQuery(); List<String> getConfiguredCollections(); String getWebApiToken(); boolean isAllowRedirectCollectionToWork(); String getTwitterUserName(); float getLimitImageHeightUpperRatioThreshold(); float getLimitImageHeightLowerRatioThreshold(); boolean isLimitImageHeight(); boolean isAddCORSHeader(); String getCORSHeaderValue(); boolean isDiscloseImageContentLocation(); String getAccessConditionDisplayField(); String getCopyrightDisplayField(); boolean isDisplayCopyrightInfo(); boolean isDisplaySocialMediaShareLinks(); boolean isDisplayAnchorLabelInTitleBar(String template); String getAnchorLabelInTitleBarPrefix(String template); String getAnchorLabelInTitleBarSuffix(String template); String getMapBoxToken(); GeoMapMarker getGeoMapMarker(String name); List<String> getGeoMapMarkerFields(); List<GeoMapMarker> getGeoMapMarkers(); static GeoMapMarker readGeoMapMarker(HierarchicalConfiguration config); List<LicenseDescription> getLicenseDescriptions(); }
Configuration extends AbstractConfiguration { public String getSubthemeDiscriminatorField() { return getLocalString("viewer.theme[@discriminatorField]", ""); } Configuration(String configFilePath); Set<String> getStopwords(); boolean reloadingRequired(); String getConfigLocalPath(); String getLocalRessourceBundleFile(); int getViewerThumbnailsPerPage(); int getViewerMaxImageWidth(); int getViewerMaxImageHeight(); int getViewerMaxImageScale(); boolean isRememberImageZoom(); boolean isRememberImageRotation(); String getDfgViewerUrl(); String getConnectorVersionUrl(); List<Metadata> getTitleBarMetadata(); List<Metadata> getSearchHitMetadataForTemplate(String template); List<Metadata> getMainMetadataForTemplate(String template); List<Metadata> getSidebarMetadataForTemplate(String template); List<String> getNormdataFieldsForTemplate(String template); List<Metadata> getTocLabelConfiguration(String template); int getTocAnchorGroupElementsPerPage(); boolean isDisplaySidebarBrowsingTerms(); boolean isDisplaySidebarRssFeed(); boolean isDisplayWidgetUsage(); Metadata getWidgetUsageLicenceTextMetadata(); boolean isDisplaySidebarUsageWidgetLinkToJpegImage(); boolean isDisplaySidebarUsageWidgetLinkToMasterImage(); String getWidgetUsageMaxJpegSize(); String getWidgetUsageMaxMasterImageSize(); List<String> getCalendarDocStructTypes(); boolean isBrowsingMenuEnabled(); int getBrowsingMenuHitsPerPage(); List<BrowsingMenuFieldConfig> getBrowsingMenuFields(); String getBrowsingMenuSortingIgnoreLeadingChars(); String getDocstrctWhitelistFilterQuery(); String getCollectionSplittingChar(String field); List<DcSortingList> getCollectionSorting(String field); List<String> getCollectionBlacklist(String field); String getCollectionDefaultSortField(String field, String name); int getCollectionDisplayNumberOfVolumesLevel(String field); int getCollectionDisplayDepthForSearch(String field); String getCollectionHierarchyField(); boolean isAddCollectionHierarchyToBreadcrumbs(String field); String getSolrUrl(); String getContentServerWrapperUrl(); String getDownloadUrl(); String getRestApiUrl(); String getIIIFApiUrl(); boolean isUseIIIFApiUrlForCmsMediaUrls(); String getContentServerRealUrl(); String getMetsUrl(); String getMarcUrl(); String getDcUrl(); String getEseUrl(); List<Integer> getSearchHitsPerPageValues(); int getSearchHitsPerPageDefaultValue(); int getFulltextFragmentLength(); boolean isAdvancedSearchEnabled(); int getAdvancedSearchDefaultItemNumber(); List<AdvancedSearchFieldConfiguration> getAdvancedSearchFields(); boolean isAggregateHits(); boolean isDisplayAdditionalMetadataEnabled(); List<String> getDisplayAdditionalMetadataIgnoreFields(); List<String> getDisplayAdditionalMetadataTranslateFields(); boolean isAdvancedSearchFieldHierarchical(String field); boolean isAdvancedSearchFieldRange(String field); boolean isAdvancedSearchFieldUntokenizeForPhraseSearch(String field); String getAdvancedSearchFieldSeparatorLabel(String field); boolean isTimelineSearchEnabled(); boolean isCalendarSearchEnabled(); String getStaticQuerySuffix(); String getPreviousVersionIdentifierField(); String getNextVersionIdentifierField(); String getVersionLabelField(); String getIndexedMetsFolder(); String getIndexedLidoFolder(); String getIndexedDenkxwebFolder(); String getIndexedDublinCoreFolder(); String getPageSelectionFormat(); String getMediaFolder(); String getPdfFolder(); String getVocabulariesFolder(); String getOrigContentFolder(); String getCmsTextFolder(); String getAltoFolder(); String getAbbyyFolder(); String getFulltextFolder(); String getTeiFolder(); String getCmdiFolder(); String getWcFolder(); String getAnnotationFolder(); String getHotfolder(); @SuppressWarnings("static-method") String getTempFolder(); boolean isUrnDoRedirect(); boolean isUserRegistrationEnabled(); List<SecurityQuestion> getSecurityQuestions(); boolean isShowOpenIdConnect(); List<IAuthenticationProvider> getAuthenticationProviders(); String getSmtpServer(); String getSmtpUser(); String getSmtpPassword(); String getSmtpSenderAddress(); String getSmtpSenderName(); String getSmtpSecurity(); String getAnonymousUserEmailAddress(); boolean isDisplayCollectionBrowsing(); boolean isDisplayUserNavigation(); boolean isDisplayTagCloudNavigation(); boolean isDisplayStatistics(); boolean isDisplayTimeMatrix(); boolean isDisplayCrowdsourcingModuleLinks(); String getTheme(); String getThemeRootPath(); String getName(); String getDescription(); boolean isDisplayTagCloudStartpage(); boolean isDisplaySearchResultNavigation(); boolean isFoldout(String sidebarElement); boolean isSidebarPageViewLinkVisible(); boolean isSidebarCalendarViewLinkVisible(); boolean isSidebarTocViewLinkVisible(); boolean isSidebarThumbsViewLinkVisible(); boolean isSidebarMetadataViewLinkVisible(); boolean isShowSidebarEventMetadata(); boolean isShowRecordLabelIfNoOtherViews(); boolean isSidebarFulltextLinkVisible(); boolean isSidebarTocWidgetVisible(); boolean isSidebarTocWidgetVisibleInFullscreen(); boolean isSidebarOpacLinkVisible(); boolean getSidebarTocPageNumbersVisible(); int getSidebarTocLengthBeforeCut(); int getSidebarTocInitialCollapseLevel(); int getSidebarTocCollapseLengthThreshold(); int getSidebarTocLowestLevelToCollapseForLength(); boolean isSidebarTocTreeView(); boolean isTocTreeView(String docStructType); List<String> getAllDrillDownFields(); List<String> getDrillDownFields(); List<String> getHierarchicalDrillDownFields(); int getInitialDrillDownElementNumber(String field); String getSortOrder(String field); List<String> getPriorityValuesForDrillDownField(String field); String getLabelFieldForDrillDownField(String facetField); @SuppressWarnings("static-method") List<String> getRangeFacetFields(); boolean isSortingEnabled(); String getDefaultSortField(); List<String> getSortFields(); List<String> getStaticSortFields(); String getUrnResolverUrl(); int getUnconditionalImageAccessMaxWidth(); boolean isFullAccessForLocalhost(); boolean isGeneratePdfInTaskManager(); boolean isPdfApiDisabled(); boolean isTitlePdfEnabled(); boolean isTocPdfEnabled(); boolean isMetadataPdfEnabled(); boolean isPagePdfEnabled(); boolean isDocHierarchyPdfEnabled(); boolean isTitleEpubEnabled(); boolean isTocEpubEnabled(); boolean isMetadataEpubEnabled(); String getDownloadFolder(String type); int getRssFeedItems(); String getRssTitle(); String getRssDescription(); String getRssCopyrightText(); String getRulesetFilePath(); String getDefaultCollection(); int getThumbnailsWidth(); int getThumbnailsHeight(); int getThumbnailsCompression(); String getAnchorThumbnailMode(); int getMultivolumeThumbnailWidth(); int getMultivolumeThumbnailHeight(); boolean getDisplayBreadcrumbs(); boolean getDisplayMetadataPageLinkBlock(); boolean isAddDublinCoreMetaTags(); boolean isAddHighwirePressMetaTags(); int getMetadataParamNumber(); boolean useTiles(); boolean useTilesFullscreen(); boolean useTiles(PageType view, ImageType image); int getFooterHeight(); int getFullscreenFooterHeight(); int getFooterHeight(PageType view, ImageType image); String getImageViewType(); String getZoomFullscreenViewType(); String getZoomImageViewType(PageType view, ImageType image); boolean useOpenSeadragon(); List<String> getImageViewZoomScales(); List<String> getImageViewZoomScales(String view); List<String> getImageViewZoomScales(PageType view, ImageType image); Map<Integer, List<Integer>> getTileSizes(); Map<Integer, List<Integer>> getTileSizes(PageType view, ImageType image); SubnodeConfiguration getZoomImageViewConfig(PageType pageType, ImageType imageType); int getBreadcrumbsClipping(); boolean isDisplayTopstructLabel(); boolean getDisplayStructType(); int getSearchHitMetadataValueNumber(); int getSearchHitMetadataValueLength(); List<String> getWatermarkTextConfiguration(); String getWatermarkFormat(); boolean isOriginalContentDownload(); String getStopwordsFilePath(); String getPageType(PageType type); String getDocstructTargetPageType(String docstruct); String getPageTypeExitView(PageType type); int getFulltextPercentageWarningThreshold(); boolean isUseViewerLocaleAsRecordLanguage(); String getFeedbackEmailAddress(); boolean isBookmarksEnabled(); boolean isForceJpegConversion(); int getPageLoaderThreshold(); boolean isPreventProxyCaching(); boolean isSolrCompressionEnabled(); boolean isSolrBackwardsCompatible(); boolean isUserCommentsEnabled(); String getUserCommentsConditionalQuery(); List<String> getUserCommentsNotificationEmailAddresses(); String getViewerHome(); List<String> getWatermarkIdField(); String getSubthemeMainTheme(); String getSubthemeDiscriminatorField(); int getTagCloudSampleSize(String fieldName); List<StringPair> getTocVolumeSortFieldsForTemplate(String template); String getTocVolumeGroupFieldForTemplate(String template); boolean getDisplayTitleBreadcrumbs(); boolean isDisplayTitlePURL(); int getTitleBreadcrumbsMaxTitleLength(); boolean getIncludeAnchorInTitleBreadcrumbs(); boolean isDisplaySearchRssLinks(); boolean showThumbnailsInToc(); String getStartYearForTimeline(); String getEndYearForTimeline(); String getTimelineHits(); boolean isPiwikTrackingEnabled(); String getPiwikBaseURL(); String getPiwikSiteID(); boolean isSearchSavingEnabled(); boolean isBoostTopLevelDocstructs(); boolean isGroupDuplicateHits(); List<String> getRecordGroupIdentifierFields(); List<String> getAncestorIdentifierFields(); boolean isTocListSiblingRecords(); List<SearchFilter> getSearchFilters(); List<Map<String, String>> getWebApiFields(); String getDbPersistenceUnit(); boolean useCustomNavBar(); String getCmsTemplateFolder(); String getCmsMediaFolder(); String getTempMediaFolder(); List<String> getCmsClassifications(); int getCmsMediaDisplayWidth(); int getCmsMediaDisplayHeight(); boolean isTranskribusEnabled(); String getTranskribusUserName(); String getTranskribusPassword(); String getTranskribusDefaultCollection(); String getTranskribusRestApiUrl(); List<String> getTranskribusAllowedDocumentTypes(); int getTocIndentation(); boolean isPageBrowseEnabled(); List<Integer> getPageBrowseSteps(); String getTaskManagerServiceUrl(); String getTaskManagerRestUrl(); String getReCaptchaSiteKey(); boolean isUseReCaptcha(); boolean isSearchInItemEnabled(); String getDefaultBrowseIcon(String field); boolean isSearchExcelExportEnabled(); List<String> getSearchExcelExportFields(); int getExcelDownloadTimeout(); boolean isDisplayEmptyTocInSidebar(); boolean isDoublePageModeEnabled(); List<String> getRestrictedImageUrls(); List<String> getIIIFLicenses(); List<String> getIIIFMetadataFields(); List<String> getIIIFEventFields(); String getIIIFMetadataLabel(String field); int getIIIFDiscoveryAvtivitiesPerPage(); List<String> getIIIFLogo(); String getIIIFNavDateField(); List<String> getIIIFAttribution(); List<String> getIIIFDescriptionFields(); String getSitelinksField(); String getSitelinksFilterQuery(); List<String> getConfiguredCollections(); String getWebApiToken(); boolean isAllowRedirectCollectionToWork(); String getTwitterUserName(); float getLimitImageHeightUpperRatioThreshold(); float getLimitImageHeightLowerRatioThreshold(); boolean isLimitImageHeight(); boolean isAddCORSHeader(); String getCORSHeaderValue(); boolean isDiscloseImageContentLocation(); String getAccessConditionDisplayField(); String getCopyrightDisplayField(); boolean isDisplayCopyrightInfo(); boolean isDisplaySocialMediaShareLinks(); boolean isDisplayAnchorLabelInTitleBar(String template); String getAnchorLabelInTitleBarPrefix(String template); String getAnchorLabelInTitleBarSuffix(String template); String getMapBoxToken(); GeoMapMarker getGeoMapMarker(String name); List<String> getGeoMapMarkerFields(); List<GeoMapMarker> getGeoMapMarkers(); static GeoMapMarker readGeoMapMarker(HierarchicalConfiguration config); List<LicenseDescription> getLicenseDescriptions(); }
@Test public void getTagCloudSampleSize_shouldReturnCorrectValueForExistingFields() throws Exception { Assert.assertEquals(20, DataManager.getInstance().getConfiguration().getTagCloudSampleSize("MD_TITLE")); }
public int getTagCloudSampleSize(String fieldName) { return getLocalInt("tagclouds.sampleSizes." + fieldName, Integer.MAX_VALUE); }
Configuration extends AbstractConfiguration { public int getTagCloudSampleSize(String fieldName) { return getLocalInt("tagclouds.sampleSizes." + fieldName, Integer.MAX_VALUE); } }
Configuration extends AbstractConfiguration { public int getTagCloudSampleSize(String fieldName) { return getLocalInt("tagclouds.sampleSizes." + fieldName, Integer.MAX_VALUE); } Configuration(String configFilePath); }
Configuration extends AbstractConfiguration { public int getTagCloudSampleSize(String fieldName) { return getLocalInt("tagclouds.sampleSizes." + fieldName, Integer.MAX_VALUE); } Configuration(String configFilePath); Set<String> getStopwords(); boolean reloadingRequired(); String getConfigLocalPath(); String getLocalRessourceBundleFile(); int getViewerThumbnailsPerPage(); int getViewerMaxImageWidth(); int getViewerMaxImageHeight(); int getViewerMaxImageScale(); boolean isRememberImageZoom(); boolean isRememberImageRotation(); String getDfgViewerUrl(); String getConnectorVersionUrl(); List<Metadata> getTitleBarMetadata(); List<Metadata> getSearchHitMetadataForTemplate(String template); List<Metadata> getMainMetadataForTemplate(String template); List<Metadata> getSidebarMetadataForTemplate(String template); List<String> getNormdataFieldsForTemplate(String template); List<Metadata> getTocLabelConfiguration(String template); int getTocAnchorGroupElementsPerPage(); boolean isDisplaySidebarBrowsingTerms(); boolean isDisplaySidebarRssFeed(); boolean isDisplayWidgetUsage(); Metadata getWidgetUsageLicenceTextMetadata(); boolean isDisplaySidebarUsageWidgetLinkToJpegImage(); boolean isDisplaySidebarUsageWidgetLinkToMasterImage(); String getWidgetUsageMaxJpegSize(); String getWidgetUsageMaxMasterImageSize(); List<String> getCalendarDocStructTypes(); boolean isBrowsingMenuEnabled(); int getBrowsingMenuHitsPerPage(); List<BrowsingMenuFieldConfig> getBrowsingMenuFields(); String getBrowsingMenuSortingIgnoreLeadingChars(); String getDocstrctWhitelistFilterQuery(); String getCollectionSplittingChar(String field); List<DcSortingList> getCollectionSorting(String field); List<String> getCollectionBlacklist(String field); String getCollectionDefaultSortField(String field, String name); int getCollectionDisplayNumberOfVolumesLevel(String field); int getCollectionDisplayDepthForSearch(String field); String getCollectionHierarchyField(); boolean isAddCollectionHierarchyToBreadcrumbs(String field); String getSolrUrl(); String getContentServerWrapperUrl(); String getDownloadUrl(); String getRestApiUrl(); String getIIIFApiUrl(); boolean isUseIIIFApiUrlForCmsMediaUrls(); String getContentServerRealUrl(); String getMetsUrl(); String getMarcUrl(); String getDcUrl(); String getEseUrl(); List<Integer> getSearchHitsPerPageValues(); int getSearchHitsPerPageDefaultValue(); int getFulltextFragmentLength(); boolean isAdvancedSearchEnabled(); int getAdvancedSearchDefaultItemNumber(); List<AdvancedSearchFieldConfiguration> getAdvancedSearchFields(); boolean isAggregateHits(); boolean isDisplayAdditionalMetadataEnabled(); List<String> getDisplayAdditionalMetadataIgnoreFields(); List<String> getDisplayAdditionalMetadataTranslateFields(); boolean isAdvancedSearchFieldHierarchical(String field); boolean isAdvancedSearchFieldRange(String field); boolean isAdvancedSearchFieldUntokenizeForPhraseSearch(String field); String getAdvancedSearchFieldSeparatorLabel(String field); boolean isTimelineSearchEnabled(); boolean isCalendarSearchEnabled(); String getStaticQuerySuffix(); String getPreviousVersionIdentifierField(); String getNextVersionIdentifierField(); String getVersionLabelField(); String getIndexedMetsFolder(); String getIndexedLidoFolder(); String getIndexedDenkxwebFolder(); String getIndexedDublinCoreFolder(); String getPageSelectionFormat(); String getMediaFolder(); String getPdfFolder(); String getVocabulariesFolder(); String getOrigContentFolder(); String getCmsTextFolder(); String getAltoFolder(); String getAbbyyFolder(); String getFulltextFolder(); String getTeiFolder(); String getCmdiFolder(); String getWcFolder(); String getAnnotationFolder(); String getHotfolder(); @SuppressWarnings("static-method") String getTempFolder(); boolean isUrnDoRedirect(); boolean isUserRegistrationEnabled(); List<SecurityQuestion> getSecurityQuestions(); boolean isShowOpenIdConnect(); List<IAuthenticationProvider> getAuthenticationProviders(); String getSmtpServer(); String getSmtpUser(); String getSmtpPassword(); String getSmtpSenderAddress(); String getSmtpSenderName(); String getSmtpSecurity(); String getAnonymousUserEmailAddress(); boolean isDisplayCollectionBrowsing(); boolean isDisplayUserNavigation(); boolean isDisplayTagCloudNavigation(); boolean isDisplayStatistics(); boolean isDisplayTimeMatrix(); boolean isDisplayCrowdsourcingModuleLinks(); String getTheme(); String getThemeRootPath(); String getName(); String getDescription(); boolean isDisplayTagCloudStartpage(); boolean isDisplaySearchResultNavigation(); boolean isFoldout(String sidebarElement); boolean isSidebarPageViewLinkVisible(); boolean isSidebarCalendarViewLinkVisible(); boolean isSidebarTocViewLinkVisible(); boolean isSidebarThumbsViewLinkVisible(); boolean isSidebarMetadataViewLinkVisible(); boolean isShowSidebarEventMetadata(); boolean isShowRecordLabelIfNoOtherViews(); boolean isSidebarFulltextLinkVisible(); boolean isSidebarTocWidgetVisible(); boolean isSidebarTocWidgetVisibleInFullscreen(); boolean isSidebarOpacLinkVisible(); boolean getSidebarTocPageNumbersVisible(); int getSidebarTocLengthBeforeCut(); int getSidebarTocInitialCollapseLevel(); int getSidebarTocCollapseLengthThreshold(); int getSidebarTocLowestLevelToCollapseForLength(); boolean isSidebarTocTreeView(); boolean isTocTreeView(String docStructType); List<String> getAllDrillDownFields(); List<String> getDrillDownFields(); List<String> getHierarchicalDrillDownFields(); int getInitialDrillDownElementNumber(String field); String getSortOrder(String field); List<String> getPriorityValuesForDrillDownField(String field); String getLabelFieldForDrillDownField(String facetField); @SuppressWarnings("static-method") List<String> getRangeFacetFields(); boolean isSortingEnabled(); String getDefaultSortField(); List<String> getSortFields(); List<String> getStaticSortFields(); String getUrnResolverUrl(); int getUnconditionalImageAccessMaxWidth(); boolean isFullAccessForLocalhost(); boolean isGeneratePdfInTaskManager(); boolean isPdfApiDisabled(); boolean isTitlePdfEnabled(); boolean isTocPdfEnabled(); boolean isMetadataPdfEnabled(); boolean isPagePdfEnabled(); boolean isDocHierarchyPdfEnabled(); boolean isTitleEpubEnabled(); boolean isTocEpubEnabled(); boolean isMetadataEpubEnabled(); String getDownloadFolder(String type); int getRssFeedItems(); String getRssTitle(); String getRssDescription(); String getRssCopyrightText(); String getRulesetFilePath(); String getDefaultCollection(); int getThumbnailsWidth(); int getThumbnailsHeight(); int getThumbnailsCompression(); String getAnchorThumbnailMode(); int getMultivolumeThumbnailWidth(); int getMultivolumeThumbnailHeight(); boolean getDisplayBreadcrumbs(); boolean getDisplayMetadataPageLinkBlock(); boolean isAddDublinCoreMetaTags(); boolean isAddHighwirePressMetaTags(); int getMetadataParamNumber(); boolean useTiles(); boolean useTilesFullscreen(); boolean useTiles(PageType view, ImageType image); int getFooterHeight(); int getFullscreenFooterHeight(); int getFooterHeight(PageType view, ImageType image); String getImageViewType(); String getZoomFullscreenViewType(); String getZoomImageViewType(PageType view, ImageType image); boolean useOpenSeadragon(); List<String> getImageViewZoomScales(); List<String> getImageViewZoomScales(String view); List<String> getImageViewZoomScales(PageType view, ImageType image); Map<Integer, List<Integer>> getTileSizes(); Map<Integer, List<Integer>> getTileSizes(PageType view, ImageType image); SubnodeConfiguration getZoomImageViewConfig(PageType pageType, ImageType imageType); int getBreadcrumbsClipping(); boolean isDisplayTopstructLabel(); boolean getDisplayStructType(); int getSearchHitMetadataValueNumber(); int getSearchHitMetadataValueLength(); List<String> getWatermarkTextConfiguration(); String getWatermarkFormat(); boolean isOriginalContentDownload(); String getStopwordsFilePath(); String getPageType(PageType type); String getDocstructTargetPageType(String docstruct); String getPageTypeExitView(PageType type); int getFulltextPercentageWarningThreshold(); boolean isUseViewerLocaleAsRecordLanguage(); String getFeedbackEmailAddress(); boolean isBookmarksEnabled(); boolean isForceJpegConversion(); int getPageLoaderThreshold(); boolean isPreventProxyCaching(); boolean isSolrCompressionEnabled(); boolean isSolrBackwardsCompatible(); boolean isUserCommentsEnabled(); String getUserCommentsConditionalQuery(); List<String> getUserCommentsNotificationEmailAddresses(); String getViewerHome(); List<String> getWatermarkIdField(); String getSubthemeMainTheme(); String getSubthemeDiscriminatorField(); int getTagCloudSampleSize(String fieldName); List<StringPair> getTocVolumeSortFieldsForTemplate(String template); String getTocVolumeGroupFieldForTemplate(String template); boolean getDisplayTitleBreadcrumbs(); boolean isDisplayTitlePURL(); int getTitleBreadcrumbsMaxTitleLength(); boolean getIncludeAnchorInTitleBreadcrumbs(); boolean isDisplaySearchRssLinks(); boolean showThumbnailsInToc(); String getStartYearForTimeline(); String getEndYearForTimeline(); String getTimelineHits(); boolean isPiwikTrackingEnabled(); String getPiwikBaseURL(); String getPiwikSiteID(); boolean isSearchSavingEnabled(); boolean isBoostTopLevelDocstructs(); boolean isGroupDuplicateHits(); List<String> getRecordGroupIdentifierFields(); List<String> getAncestorIdentifierFields(); boolean isTocListSiblingRecords(); List<SearchFilter> getSearchFilters(); List<Map<String, String>> getWebApiFields(); String getDbPersistenceUnit(); boolean useCustomNavBar(); String getCmsTemplateFolder(); String getCmsMediaFolder(); String getTempMediaFolder(); List<String> getCmsClassifications(); int getCmsMediaDisplayWidth(); int getCmsMediaDisplayHeight(); boolean isTranskribusEnabled(); String getTranskribusUserName(); String getTranskribusPassword(); String getTranskribusDefaultCollection(); String getTranskribusRestApiUrl(); List<String> getTranskribusAllowedDocumentTypes(); int getTocIndentation(); boolean isPageBrowseEnabled(); List<Integer> getPageBrowseSteps(); String getTaskManagerServiceUrl(); String getTaskManagerRestUrl(); String getReCaptchaSiteKey(); boolean isUseReCaptcha(); boolean isSearchInItemEnabled(); String getDefaultBrowseIcon(String field); boolean isSearchExcelExportEnabled(); List<String> getSearchExcelExportFields(); int getExcelDownloadTimeout(); boolean isDisplayEmptyTocInSidebar(); boolean isDoublePageModeEnabled(); List<String> getRestrictedImageUrls(); List<String> getIIIFLicenses(); List<String> getIIIFMetadataFields(); List<String> getIIIFEventFields(); String getIIIFMetadataLabel(String field); int getIIIFDiscoveryAvtivitiesPerPage(); List<String> getIIIFLogo(); String getIIIFNavDateField(); List<String> getIIIFAttribution(); List<String> getIIIFDescriptionFields(); String getSitelinksField(); String getSitelinksFilterQuery(); List<String> getConfiguredCollections(); String getWebApiToken(); boolean isAllowRedirectCollectionToWork(); String getTwitterUserName(); float getLimitImageHeightUpperRatioThreshold(); float getLimitImageHeightLowerRatioThreshold(); boolean isLimitImageHeight(); boolean isAddCORSHeader(); String getCORSHeaderValue(); boolean isDiscloseImageContentLocation(); String getAccessConditionDisplayField(); String getCopyrightDisplayField(); boolean isDisplayCopyrightInfo(); boolean isDisplaySocialMediaShareLinks(); boolean isDisplayAnchorLabelInTitleBar(String template); String getAnchorLabelInTitleBarPrefix(String template); String getAnchorLabelInTitleBarSuffix(String template); String getMapBoxToken(); GeoMapMarker getGeoMapMarker(String name); List<String> getGeoMapMarkerFields(); List<GeoMapMarker> getGeoMapMarkers(); static GeoMapMarker readGeoMapMarker(HierarchicalConfiguration config); List<LicenseDescription> getLicenseDescriptions(); }
Configuration extends AbstractConfiguration { public int getTagCloudSampleSize(String fieldName) { return getLocalInt("tagclouds.sampleSizes." + fieldName, Integer.MAX_VALUE); } Configuration(String configFilePath); Set<String> getStopwords(); boolean reloadingRequired(); String getConfigLocalPath(); String getLocalRessourceBundleFile(); int getViewerThumbnailsPerPage(); int getViewerMaxImageWidth(); int getViewerMaxImageHeight(); int getViewerMaxImageScale(); boolean isRememberImageZoom(); boolean isRememberImageRotation(); String getDfgViewerUrl(); String getConnectorVersionUrl(); List<Metadata> getTitleBarMetadata(); List<Metadata> getSearchHitMetadataForTemplate(String template); List<Metadata> getMainMetadataForTemplate(String template); List<Metadata> getSidebarMetadataForTemplate(String template); List<String> getNormdataFieldsForTemplate(String template); List<Metadata> getTocLabelConfiguration(String template); int getTocAnchorGroupElementsPerPage(); boolean isDisplaySidebarBrowsingTerms(); boolean isDisplaySidebarRssFeed(); boolean isDisplayWidgetUsage(); Metadata getWidgetUsageLicenceTextMetadata(); boolean isDisplaySidebarUsageWidgetLinkToJpegImage(); boolean isDisplaySidebarUsageWidgetLinkToMasterImage(); String getWidgetUsageMaxJpegSize(); String getWidgetUsageMaxMasterImageSize(); List<String> getCalendarDocStructTypes(); boolean isBrowsingMenuEnabled(); int getBrowsingMenuHitsPerPage(); List<BrowsingMenuFieldConfig> getBrowsingMenuFields(); String getBrowsingMenuSortingIgnoreLeadingChars(); String getDocstrctWhitelistFilterQuery(); String getCollectionSplittingChar(String field); List<DcSortingList> getCollectionSorting(String field); List<String> getCollectionBlacklist(String field); String getCollectionDefaultSortField(String field, String name); int getCollectionDisplayNumberOfVolumesLevel(String field); int getCollectionDisplayDepthForSearch(String field); String getCollectionHierarchyField(); boolean isAddCollectionHierarchyToBreadcrumbs(String field); String getSolrUrl(); String getContentServerWrapperUrl(); String getDownloadUrl(); String getRestApiUrl(); String getIIIFApiUrl(); boolean isUseIIIFApiUrlForCmsMediaUrls(); String getContentServerRealUrl(); String getMetsUrl(); String getMarcUrl(); String getDcUrl(); String getEseUrl(); List<Integer> getSearchHitsPerPageValues(); int getSearchHitsPerPageDefaultValue(); int getFulltextFragmentLength(); boolean isAdvancedSearchEnabled(); int getAdvancedSearchDefaultItemNumber(); List<AdvancedSearchFieldConfiguration> getAdvancedSearchFields(); boolean isAggregateHits(); boolean isDisplayAdditionalMetadataEnabled(); List<String> getDisplayAdditionalMetadataIgnoreFields(); List<String> getDisplayAdditionalMetadataTranslateFields(); boolean isAdvancedSearchFieldHierarchical(String field); boolean isAdvancedSearchFieldRange(String field); boolean isAdvancedSearchFieldUntokenizeForPhraseSearch(String field); String getAdvancedSearchFieldSeparatorLabel(String field); boolean isTimelineSearchEnabled(); boolean isCalendarSearchEnabled(); String getStaticQuerySuffix(); String getPreviousVersionIdentifierField(); String getNextVersionIdentifierField(); String getVersionLabelField(); String getIndexedMetsFolder(); String getIndexedLidoFolder(); String getIndexedDenkxwebFolder(); String getIndexedDublinCoreFolder(); String getPageSelectionFormat(); String getMediaFolder(); String getPdfFolder(); String getVocabulariesFolder(); String getOrigContentFolder(); String getCmsTextFolder(); String getAltoFolder(); String getAbbyyFolder(); String getFulltextFolder(); String getTeiFolder(); String getCmdiFolder(); String getWcFolder(); String getAnnotationFolder(); String getHotfolder(); @SuppressWarnings("static-method") String getTempFolder(); boolean isUrnDoRedirect(); boolean isUserRegistrationEnabled(); List<SecurityQuestion> getSecurityQuestions(); boolean isShowOpenIdConnect(); List<IAuthenticationProvider> getAuthenticationProviders(); String getSmtpServer(); String getSmtpUser(); String getSmtpPassword(); String getSmtpSenderAddress(); String getSmtpSenderName(); String getSmtpSecurity(); String getAnonymousUserEmailAddress(); boolean isDisplayCollectionBrowsing(); boolean isDisplayUserNavigation(); boolean isDisplayTagCloudNavigation(); boolean isDisplayStatistics(); boolean isDisplayTimeMatrix(); boolean isDisplayCrowdsourcingModuleLinks(); String getTheme(); String getThemeRootPath(); String getName(); String getDescription(); boolean isDisplayTagCloudStartpage(); boolean isDisplaySearchResultNavigation(); boolean isFoldout(String sidebarElement); boolean isSidebarPageViewLinkVisible(); boolean isSidebarCalendarViewLinkVisible(); boolean isSidebarTocViewLinkVisible(); boolean isSidebarThumbsViewLinkVisible(); boolean isSidebarMetadataViewLinkVisible(); boolean isShowSidebarEventMetadata(); boolean isShowRecordLabelIfNoOtherViews(); boolean isSidebarFulltextLinkVisible(); boolean isSidebarTocWidgetVisible(); boolean isSidebarTocWidgetVisibleInFullscreen(); boolean isSidebarOpacLinkVisible(); boolean getSidebarTocPageNumbersVisible(); int getSidebarTocLengthBeforeCut(); int getSidebarTocInitialCollapseLevel(); int getSidebarTocCollapseLengthThreshold(); int getSidebarTocLowestLevelToCollapseForLength(); boolean isSidebarTocTreeView(); boolean isTocTreeView(String docStructType); List<String> getAllDrillDownFields(); List<String> getDrillDownFields(); List<String> getHierarchicalDrillDownFields(); int getInitialDrillDownElementNumber(String field); String getSortOrder(String field); List<String> getPriorityValuesForDrillDownField(String field); String getLabelFieldForDrillDownField(String facetField); @SuppressWarnings("static-method") List<String> getRangeFacetFields(); boolean isSortingEnabled(); String getDefaultSortField(); List<String> getSortFields(); List<String> getStaticSortFields(); String getUrnResolverUrl(); int getUnconditionalImageAccessMaxWidth(); boolean isFullAccessForLocalhost(); boolean isGeneratePdfInTaskManager(); boolean isPdfApiDisabled(); boolean isTitlePdfEnabled(); boolean isTocPdfEnabled(); boolean isMetadataPdfEnabled(); boolean isPagePdfEnabled(); boolean isDocHierarchyPdfEnabled(); boolean isTitleEpubEnabled(); boolean isTocEpubEnabled(); boolean isMetadataEpubEnabled(); String getDownloadFolder(String type); int getRssFeedItems(); String getRssTitle(); String getRssDescription(); String getRssCopyrightText(); String getRulesetFilePath(); String getDefaultCollection(); int getThumbnailsWidth(); int getThumbnailsHeight(); int getThumbnailsCompression(); String getAnchorThumbnailMode(); int getMultivolumeThumbnailWidth(); int getMultivolumeThumbnailHeight(); boolean getDisplayBreadcrumbs(); boolean getDisplayMetadataPageLinkBlock(); boolean isAddDublinCoreMetaTags(); boolean isAddHighwirePressMetaTags(); int getMetadataParamNumber(); boolean useTiles(); boolean useTilesFullscreen(); boolean useTiles(PageType view, ImageType image); int getFooterHeight(); int getFullscreenFooterHeight(); int getFooterHeight(PageType view, ImageType image); String getImageViewType(); String getZoomFullscreenViewType(); String getZoomImageViewType(PageType view, ImageType image); boolean useOpenSeadragon(); List<String> getImageViewZoomScales(); List<String> getImageViewZoomScales(String view); List<String> getImageViewZoomScales(PageType view, ImageType image); Map<Integer, List<Integer>> getTileSizes(); Map<Integer, List<Integer>> getTileSizes(PageType view, ImageType image); SubnodeConfiguration getZoomImageViewConfig(PageType pageType, ImageType imageType); int getBreadcrumbsClipping(); boolean isDisplayTopstructLabel(); boolean getDisplayStructType(); int getSearchHitMetadataValueNumber(); int getSearchHitMetadataValueLength(); List<String> getWatermarkTextConfiguration(); String getWatermarkFormat(); boolean isOriginalContentDownload(); String getStopwordsFilePath(); String getPageType(PageType type); String getDocstructTargetPageType(String docstruct); String getPageTypeExitView(PageType type); int getFulltextPercentageWarningThreshold(); boolean isUseViewerLocaleAsRecordLanguage(); String getFeedbackEmailAddress(); boolean isBookmarksEnabled(); boolean isForceJpegConversion(); int getPageLoaderThreshold(); boolean isPreventProxyCaching(); boolean isSolrCompressionEnabled(); boolean isSolrBackwardsCompatible(); boolean isUserCommentsEnabled(); String getUserCommentsConditionalQuery(); List<String> getUserCommentsNotificationEmailAddresses(); String getViewerHome(); List<String> getWatermarkIdField(); String getSubthemeMainTheme(); String getSubthemeDiscriminatorField(); int getTagCloudSampleSize(String fieldName); List<StringPair> getTocVolumeSortFieldsForTemplate(String template); String getTocVolumeGroupFieldForTemplate(String template); boolean getDisplayTitleBreadcrumbs(); boolean isDisplayTitlePURL(); int getTitleBreadcrumbsMaxTitleLength(); boolean getIncludeAnchorInTitleBreadcrumbs(); boolean isDisplaySearchRssLinks(); boolean showThumbnailsInToc(); String getStartYearForTimeline(); String getEndYearForTimeline(); String getTimelineHits(); boolean isPiwikTrackingEnabled(); String getPiwikBaseURL(); String getPiwikSiteID(); boolean isSearchSavingEnabled(); boolean isBoostTopLevelDocstructs(); boolean isGroupDuplicateHits(); List<String> getRecordGroupIdentifierFields(); List<String> getAncestorIdentifierFields(); boolean isTocListSiblingRecords(); List<SearchFilter> getSearchFilters(); List<Map<String, String>> getWebApiFields(); String getDbPersistenceUnit(); boolean useCustomNavBar(); String getCmsTemplateFolder(); String getCmsMediaFolder(); String getTempMediaFolder(); List<String> getCmsClassifications(); int getCmsMediaDisplayWidth(); int getCmsMediaDisplayHeight(); boolean isTranskribusEnabled(); String getTranskribusUserName(); String getTranskribusPassword(); String getTranskribusDefaultCollection(); String getTranskribusRestApiUrl(); List<String> getTranskribusAllowedDocumentTypes(); int getTocIndentation(); boolean isPageBrowseEnabled(); List<Integer> getPageBrowseSteps(); String getTaskManagerServiceUrl(); String getTaskManagerRestUrl(); String getReCaptchaSiteKey(); boolean isUseReCaptcha(); boolean isSearchInItemEnabled(); String getDefaultBrowseIcon(String field); boolean isSearchExcelExportEnabled(); List<String> getSearchExcelExportFields(); int getExcelDownloadTimeout(); boolean isDisplayEmptyTocInSidebar(); boolean isDoublePageModeEnabled(); List<String> getRestrictedImageUrls(); List<String> getIIIFLicenses(); List<String> getIIIFMetadataFields(); List<String> getIIIFEventFields(); String getIIIFMetadataLabel(String field); int getIIIFDiscoveryAvtivitiesPerPage(); List<String> getIIIFLogo(); String getIIIFNavDateField(); List<String> getIIIFAttribution(); List<String> getIIIFDescriptionFields(); String getSitelinksField(); String getSitelinksFilterQuery(); List<String> getConfiguredCollections(); String getWebApiToken(); boolean isAllowRedirectCollectionToWork(); String getTwitterUserName(); float getLimitImageHeightUpperRatioThreshold(); float getLimitImageHeightLowerRatioThreshold(); boolean isLimitImageHeight(); boolean isAddCORSHeader(); String getCORSHeaderValue(); boolean isDiscloseImageContentLocation(); String getAccessConditionDisplayField(); String getCopyrightDisplayField(); boolean isDisplayCopyrightInfo(); boolean isDisplaySocialMediaShareLinks(); boolean isDisplayAnchorLabelInTitleBar(String template); String getAnchorLabelInTitleBarPrefix(String template); String getAnchorLabelInTitleBarSuffix(String template); String getMapBoxToken(); GeoMapMarker getGeoMapMarker(String name); List<String> getGeoMapMarkerFields(); List<GeoMapMarker> getGeoMapMarkers(); static GeoMapMarker readGeoMapMarker(HierarchicalConfiguration config); List<LicenseDescription> getLicenseDescriptions(); }
@Test public void getTagCloudSampleSize_shouldReturnINT_MAXForOtherFields() throws Exception { Assert.assertEquals(Integer.MAX_VALUE, DataManager.getInstance().getConfiguration().getTagCloudSampleSize("NONEXISTING_FIELD")); }
public int getTagCloudSampleSize(String fieldName) { return getLocalInt("tagclouds.sampleSizes." + fieldName, Integer.MAX_VALUE); }
Configuration extends AbstractConfiguration { public int getTagCloudSampleSize(String fieldName) { return getLocalInt("tagclouds.sampleSizes." + fieldName, Integer.MAX_VALUE); } }
Configuration extends AbstractConfiguration { public int getTagCloudSampleSize(String fieldName) { return getLocalInt("tagclouds.sampleSizes." + fieldName, Integer.MAX_VALUE); } Configuration(String configFilePath); }
Configuration extends AbstractConfiguration { public int getTagCloudSampleSize(String fieldName) { return getLocalInt("tagclouds.sampleSizes." + fieldName, Integer.MAX_VALUE); } Configuration(String configFilePath); Set<String> getStopwords(); boolean reloadingRequired(); String getConfigLocalPath(); String getLocalRessourceBundleFile(); int getViewerThumbnailsPerPage(); int getViewerMaxImageWidth(); int getViewerMaxImageHeight(); int getViewerMaxImageScale(); boolean isRememberImageZoom(); boolean isRememberImageRotation(); String getDfgViewerUrl(); String getConnectorVersionUrl(); List<Metadata> getTitleBarMetadata(); List<Metadata> getSearchHitMetadataForTemplate(String template); List<Metadata> getMainMetadataForTemplate(String template); List<Metadata> getSidebarMetadataForTemplate(String template); List<String> getNormdataFieldsForTemplate(String template); List<Metadata> getTocLabelConfiguration(String template); int getTocAnchorGroupElementsPerPage(); boolean isDisplaySidebarBrowsingTerms(); boolean isDisplaySidebarRssFeed(); boolean isDisplayWidgetUsage(); Metadata getWidgetUsageLicenceTextMetadata(); boolean isDisplaySidebarUsageWidgetLinkToJpegImage(); boolean isDisplaySidebarUsageWidgetLinkToMasterImage(); String getWidgetUsageMaxJpegSize(); String getWidgetUsageMaxMasterImageSize(); List<String> getCalendarDocStructTypes(); boolean isBrowsingMenuEnabled(); int getBrowsingMenuHitsPerPage(); List<BrowsingMenuFieldConfig> getBrowsingMenuFields(); String getBrowsingMenuSortingIgnoreLeadingChars(); String getDocstrctWhitelistFilterQuery(); String getCollectionSplittingChar(String field); List<DcSortingList> getCollectionSorting(String field); List<String> getCollectionBlacklist(String field); String getCollectionDefaultSortField(String field, String name); int getCollectionDisplayNumberOfVolumesLevel(String field); int getCollectionDisplayDepthForSearch(String field); String getCollectionHierarchyField(); boolean isAddCollectionHierarchyToBreadcrumbs(String field); String getSolrUrl(); String getContentServerWrapperUrl(); String getDownloadUrl(); String getRestApiUrl(); String getIIIFApiUrl(); boolean isUseIIIFApiUrlForCmsMediaUrls(); String getContentServerRealUrl(); String getMetsUrl(); String getMarcUrl(); String getDcUrl(); String getEseUrl(); List<Integer> getSearchHitsPerPageValues(); int getSearchHitsPerPageDefaultValue(); int getFulltextFragmentLength(); boolean isAdvancedSearchEnabled(); int getAdvancedSearchDefaultItemNumber(); List<AdvancedSearchFieldConfiguration> getAdvancedSearchFields(); boolean isAggregateHits(); boolean isDisplayAdditionalMetadataEnabled(); List<String> getDisplayAdditionalMetadataIgnoreFields(); List<String> getDisplayAdditionalMetadataTranslateFields(); boolean isAdvancedSearchFieldHierarchical(String field); boolean isAdvancedSearchFieldRange(String field); boolean isAdvancedSearchFieldUntokenizeForPhraseSearch(String field); String getAdvancedSearchFieldSeparatorLabel(String field); boolean isTimelineSearchEnabled(); boolean isCalendarSearchEnabled(); String getStaticQuerySuffix(); String getPreviousVersionIdentifierField(); String getNextVersionIdentifierField(); String getVersionLabelField(); String getIndexedMetsFolder(); String getIndexedLidoFolder(); String getIndexedDenkxwebFolder(); String getIndexedDublinCoreFolder(); String getPageSelectionFormat(); String getMediaFolder(); String getPdfFolder(); String getVocabulariesFolder(); String getOrigContentFolder(); String getCmsTextFolder(); String getAltoFolder(); String getAbbyyFolder(); String getFulltextFolder(); String getTeiFolder(); String getCmdiFolder(); String getWcFolder(); String getAnnotationFolder(); String getHotfolder(); @SuppressWarnings("static-method") String getTempFolder(); boolean isUrnDoRedirect(); boolean isUserRegistrationEnabled(); List<SecurityQuestion> getSecurityQuestions(); boolean isShowOpenIdConnect(); List<IAuthenticationProvider> getAuthenticationProviders(); String getSmtpServer(); String getSmtpUser(); String getSmtpPassword(); String getSmtpSenderAddress(); String getSmtpSenderName(); String getSmtpSecurity(); String getAnonymousUserEmailAddress(); boolean isDisplayCollectionBrowsing(); boolean isDisplayUserNavigation(); boolean isDisplayTagCloudNavigation(); boolean isDisplayStatistics(); boolean isDisplayTimeMatrix(); boolean isDisplayCrowdsourcingModuleLinks(); String getTheme(); String getThemeRootPath(); String getName(); String getDescription(); boolean isDisplayTagCloudStartpage(); boolean isDisplaySearchResultNavigation(); boolean isFoldout(String sidebarElement); boolean isSidebarPageViewLinkVisible(); boolean isSidebarCalendarViewLinkVisible(); boolean isSidebarTocViewLinkVisible(); boolean isSidebarThumbsViewLinkVisible(); boolean isSidebarMetadataViewLinkVisible(); boolean isShowSidebarEventMetadata(); boolean isShowRecordLabelIfNoOtherViews(); boolean isSidebarFulltextLinkVisible(); boolean isSidebarTocWidgetVisible(); boolean isSidebarTocWidgetVisibleInFullscreen(); boolean isSidebarOpacLinkVisible(); boolean getSidebarTocPageNumbersVisible(); int getSidebarTocLengthBeforeCut(); int getSidebarTocInitialCollapseLevel(); int getSidebarTocCollapseLengthThreshold(); int getSidebarTocLowestLevelToCollapseForLength(); boolean isSidebarTocTreeView(); boolean isTocTreeView(String docStructType); List<String> getAllDrillDownFields(); List<String> getDrillDownFields(); List<String> getHierarchicalDrillDownFields(); int getInitialDrillDownElementNumber(String field); String getSortOrder(String field); List<String> getPriorityValuesForDrillDownField(String field); String getLabelFieldForDrillDownField(String facetField); @SuppressWarnings("static-method") List<String> getRangeFacetFields(); boolean isSortingEnabled(); String getDefaultSortField(); List<String> getSortFields(); List<String> getStaticSortFields(); String getUrnResolverUrl(); int getUnconditionalImageAccessMaxWidth(); boolean isFullAccessForLocalhost(); boolean isGeneratePdfInTaskManager(); boolean isPdfApiDisabled(); boolean isTitlePdfEnabled(); boolean isTocPdfEnabled(); boolean isMetadataPdfEnabled(); boolean isPagePdfEnabled(); boolean isDocHierarchyPdfEnabled(); boolean isTitleEpubEnabled(); boolean isTocEpubEnabled(); boolean isMetadataEpubEnabled(); String getDownloadFolder(String type); int getRssFeedItems(); String getRssTitle(); String getRssDescription(); String getRssCopyrightText(); String getRulesetFilePath(); String getDefaultCollection(); int getThumbnailsWidth(); int getThumbnailsHeight(); int getThumbnailsCompression(); String getAnchorThumbnailMode(); int getMultivolumeThumbnailWidth(); int getMultivolumeThumbnailHeight(); boolean getDisplayBreadcrumbs(); boolean getDisplayMetadataPageLinkBlock(); boolean isAddDublinCoreMetaTags(); boolean isAddHighwirePressMetaTags(); int getMetadataParamNumber(); boolean useTiles(); boolean useTilesFullscreen(); boolean useTiles(PageType view, ImageType image); int getFooterHeight(); int getFullscreenFooterHeight(); int getFooterHeight(PageType view, ImageType image); String getImageViewType(); String getZoomFullscreenViewType(); String getZoomImageViewType(PageType view, ImageType image); boolean useOpenSeadragon(); List<String> getImageViewZoomScales(); List<String> getImageViewZoomScales(String view); List<String> getImageViewZoomScales(PageType view, ImageType image); Map<Integer, List<Integer>> getTileSizes(); Map<Integer, List<Integer>> getTileSizes(PageType view, ImageType image); SubnodeConfiguration getZoomImageViewConfig(PageType pageType, ImageType imageType); int getBreadcrumbsClipping(); boolean isDisplayTopstructLabel(); boolean getDisplayStructType(); int getSearchHitMetadataValueNumber(); int getSearchHitMetadataValueLength(); List<String> getWatermarkTextConfiguration(); String getWatermarkFormat(); boolean isOriginalContentDownload(); String getStopwordsFilePath(); String getPageType(PageType type); String getDocstructTargetPageType(String docstruct); String getPageTypeExitView(PageType type); int getFulltextPercentageWarningThreshold(); boolean isUseViewerLocaleAsRecordLanguage(); String getFeedbackEmailAddress(); boolean isBookmarksEnabled(); boolean isForceJpegConversion(); int getPageLoaderThreshold(); boolean isPreventProxyCaching(); boolean isSolrCompressionEnabled(); boolean isSolrBackwardsCompatible(); boolean isUserCommentsEnabled(); String getUserCommentsConditionalQuery(); List<String> getUserCommentsNotificationEmailAddresses(); String getViewerHome(); List<String> getWatermarkIdField(); String getSubthemeMainTheme(); String getSubthemeDiscriminatorField(); int getTagCloudSampleSize(String fieldName); List<StringPair> getTocVolumeSortFieldsForTemplate(String template); String getTocVolumeGroupFieldForTemplate(String template); boolean getDisplayTitleBreadcrumbs(); boolean isDisplayTitlePURL(); int getTitleBreadcrumbsMaxTitleLength(); boolean getIncludeAnchorInTitleBreadcrumbs(); boolean isDisplaySearchRssLinks(); boolean showThumbnailsInToc(); String getStartYearForTimeline(); String getEndYearForTimeline(); String getTimelineHits(); boolean isPiwikTrackingEnabled(); String getPiwikBaseURL(); String getPiwikSiteID(); boolean isSearchSavingEnabled(); boolean isBoostTopLevelDocstructs(); boolean isGroupDuplicateHits(); List<String> getRecordGroupIdentifierFields(); List<String> getAncestorIdentifierFields(); boolean isTocListSiblingRecords(); List<SearchFilter> getSearchFilters(); List<Map<String, String>> getWebApiFields(); String getDbPersistenceUnit(); boolean useCustomNavBar(); String getCmsTemplateFolder(); String getCmsMediaFolder(); String getTempMediaFolder(); List<String> getCmsClassifications(); int getCmsMediaDisplayWidth(); int getCmsMediaDisplayHeight(); boolean isTranskribusEnabled(); String getTranskribusUserName(); String getTranskribusPassword(); String getTranskribusDefaultCollection(); String getTranskribusRestApiUrl(); List<String> getTranskribusAllowedDocumentTypes(); int getTocIndentation(); boolean isPageBrowseEnabled(); List<Integer> getPageBrowseSteps(); String getTaskManagerServiceUrl(); String getTaskManagerRestUrl(); String getReCaptchaSiteKey(); boolean isUseReCaptcha(); boolean isSearchInItemEnabled(); String getDefaultBrowseIcon(String field); boolean isSearchExcelExportEnabled(); List<String> getSearchExcelExportFields(); int getExcelDownloadTimeout(); boolean isDisplayEmptyTocInSidebar(); boolean isDoublePageModeEnabled(); List<String> getRestrictedImageUrls(); List<String> getIIIFLicenses(); List<String> getIIIFMetadataFields(); List<String> getIIIFEventFields(); String getIIIFMetadataLabel(String field); int getIIIFDiscoveryAvtivitiesPerPage(); List<String> getIIIFLogo(); String getIIIFNavDateField(); List<String> getIIIFAttribution(); List<String> getIIIFDescriptionFields(); String getSitelinksField(); String getSitelinksFilterQuery(); List<String> getConfiguredCollections(); String getWebApiToken(); boolean isAllowRedirectCollectionToWork(); String getTwitterUserName(); float getLimitImageHeightUpperRatioThreshold(); float getLimitImageHeightLowerRatioThreshold(); boolean isLimitImageHeight(); boolean isAddCORSHeader(); String getCORSHeaderValue(); boolean isDiscloseImageContentLocation(); String getAccessConditionDisplayField(); String getCopyrightDisplayField(); boolean isDisplayCopyrightInfo(); boolean isDisplaySocialMediaShareLinks(); boolean isDisplayAnchorLabelInTitleBar(String template); String getAnchorLabelInTitleBarPrefix(String template); String getAnchorLabelInTitleBarSuffix(String template); String getMapBoxToken(); GeoMapMarker getGeoMapMarker(String name); List<String> getGeoMapMarkerFields(); List<GeoMapMarker> getGeoMapMarkers(); static GeoMapMarker readGeoMapMarker(HierarchicalConfiguration config); List<LicenseDescription> getLicenseDescriptions(); }
Configuration extends AbstractConfiguration { public int getTagCloudSampleSize(String fieldName) { return getLocalInt("tagclouds.sampleSizes." + fieldName, Integer.MAX_VALUE); } Configuration(String configFilePath); Set<String> getStopwords(); boolean reloadingRequired(); String getConfigLocalPath(); String getLocalRessourceBundleFile(); int getViewerThumbnailsPerPage(); int getViewerMaxImageWidth(); int getViewerMaxImageHeight(); int getViewerMaxImageScale(); boolean isRememberImageZoom(); boolean isRememberImageRotation(); String getDfgViewerUrl(); String getConnectorVersionUrl(); List<Metadata> getTitleBarMetadata(); List<Metadata> getSearchHitMetadataForTemplate(String template); List<Metadata> getMainMetadataForTemplate(String template); List<Metadata> getSidebarMetadataForTemplate(String template); List<String> getNormdataFieldsForTemplate(String template); List<Metadata> getTocLabelConfiguration(String template); int getTocAnchorGroupElementsPerPage(); boolean isDisplaySidebarBrowsingTerms(); boolean isDisplaySidebarRssFeed(); boolean isDisplayWidgetUsage(); Metadata getWidgetUsageLicenceTextMetadata(); boolean isDisplaySidebarUsageWidgetLinkToJpegImage(); boolean isDisplaySidebarUsageWidgetLinkToMasterImage(); String getWidgetUsageMaxJpegSize(); String getWidgetUsageMaxMasterImageSize(); List<String> getCalendarDocStructTypes(); boolean isBrowsingMenuEnabled(); int getBrowsingMenuHitsPerPage(); List<BrowsingMenuFieldConfig> getBrowsingMenuFields(); String getBrowsingMenuSortingIgnoreLeadingChars(); String getDocstrctWhitelistFilterQuery(); String getCollectionSplittingChar(String field); List<DcSortingList> getCollectionSorting(String field); List<String> getCollectionBlacklist(String field); String getCollectionDefaultSortField(String field, String name); int getCollectionDisplayNumberOfVolumesLevel(String field); int getCollectionDisplayDepthForSearch(String field); String getCollectionHierarchyField(); boolean isAddCollectionHierarchyToBreadcrumbs(String field); String getSolrUrl(); String getContentServerWrapperUrl(); String getDownloadUrl(); String getRestApiUrl(); String getIIIFApiUrl(); boolean isUseIIIFApiUrlForCmsMediaUrls(); String getContentServerRealUrl(); String getMetsUrl(); String getMarcUrl(); String getDcUrl(); String getEseUrl(); List<Integer> getSearchHitsPerPageValues(); int getSearchHitsPerPageDefaultValue(); int getFulltextFragmentLength(); boolean isAdvancedSearchEnabled(); int getAdvancedSearchDefaultItemNumber(); List<AdvancedSearchFieldConfiguration> getAdvancedSearchFields(); boolean isAggregateHits(); boolean isDisplayAdditionalMetadataEnabled(); List<String> getDisplayAdditionalMetadataIgnoreFields(); List<String> getDisplayAdditionalMetadataTranslateFields(); boolean isAdvancedSearchFieldHierarchical(String field); boolean isAdvancedSearchFieldRange(String field); boolean isAdvancedSearchFieldUntokenizeForPhraseSearch(String field); String getAdvancedSearchFieldSeparatorLabel(String field); boolean isTimelineSearchEnabled(); boolean isCalendarSearchEnabled(); String getStaticQuerySuffix(); String getPreviousVersionIdentifierField(); String getNextVersionIdentifierField(); String getVersionLabelField(); String getIndexedMetsFolder(); String getIndexedLidoFolder(); String getIndexedDenkxwebFolder(); String getIndexedDublinCoreFolder(); String getPageSelectionFormat(); String getMediaFolder(); String getPdfFolder(); String getVocabulariesFolder(); String getOrigContentFolder(); String getCmsTextFolder(); String getAltoFolder(); String getAbbyyFolder(); String getFulltextFolder(); String getTeiFolder(); String getCmdiFolder(); String getWcFolder(); String getAnnotationFolder(); String getHotfolder(); @SuppressWarnings("static-method") String getTempFolder(); boolean isUrnDoRedirect(); boolean isUserRegistrationEnabled(); List<SecurityQuestion> getSecurityQuestions(); boolean isShowOpenIdConnect(); List<IAuthenticationProvider> getAuthenticationProviders(); String getSmtpServer(); String getSmtpUser(); String getSmtpPassword(); String getSmtpSenderAddress(); String getSmtpSenderName(); String getSmtpSecurity(); String getAnonymousUserEmailAddress(); boolean isDisplayCollectionBrowsing(); boolean isDisplayUserNavigation(); boolean isDisplayTagCloudNavigation(); boolean isDisplayStatistics(); boolean isDisplayTimeMatrix(); boolean isDisplayCrowdsourcingModuleLinks(); String getTheme(); String getThemeRootPath(); String getName(); String getDescription(); boolean isDisplayTagCloudStartpage(); boolean isDisplaySearchResultNavigation(); boolean isFoldout(String sidebarElement); boolean isSidebarPageViewLinkVisible(); boolean isSidebarCalendarViewLinkVisible(); boolean isSidebarTocViewLinkVisible(); boolean isSidebarThumbsViewLinkVisible(); boolean isSidebarMetadataViewLinkVisible(); boolean isShowSidebarEventMetadata(); boolean isShowRecordLabelIfNoOtherViews(); boolean isSidebarFulltextLinkVisible(); boolean isSidebarTocWidgetVisible(); boolean isSidebarTocWidgetVisibleInFullscreen(); boolean isSidebarOpacLinkVisible(); boolean getSidebarTocPageNumbersVisible(); int getSidebarTocLengthBeforeCut(); int getSidebarTocInitialCollapseLevel(); int getSidebarTocCollapseLengthThreshold(); int getSidebarTocLowestLevelToCollapseForLength(); boolean isSidebarTocTreeView(); boolean isTocTreeView(String docStructType); List<String> getAllDrillDownFields(); List<String> getDrillDownFields(); List<String> getHierarchicalDrillDownFields(); int getInitialDrillDownElementNumber(String field); String getSortOrder(String field); List<String> getPriorityValuesForDrillDownField(String field); String getLabelFieldForDrillDownField(String facetField); @SuppressWarnings("static-method") List<String> getRangeFacetFields(); boolean isSortingEnabled(); String getDefaultSortField(); List<String> getSortFields(); List<String> getStaticSortFields(); String getUrnResolverUrl(); int getUnconditionalImageAccessMaxWidth(); boolean isFullAccessForLocalhost(); boolean isGeneratePdfInTaskManager(); boolean isPdfApiDisabled(); boolean isTitlePdfEnabled(); boolean isTocPdfEnabled(); boolean isMetadataPdfEnabled(); boolean isPagePdfEnabled(); boolean isDocHierarchyPdfEnabled(); boolean isTitleEpubEnabled(); boolean isTocEpubEnabled(); boolean isMetadataEpubEnabled(); String getDownloadFolder(String type); int getRssFeedItems(); String getRssTitle(); String getRssDescription(); String getRssCopyrightText(); String getRulesetFilePath(); String getDefaultCollection(); int getThumbnailsWidth(); int getThumbnailsHeight(); int getThumbnailsCompression(); String getAnchorThumbnailMode(); int getMultivolumeThumbnailWidth(); int getMultivolumeThumbnailHeight(); boolean getDisplayBreadcrumbs(); boolean getDisplayMetadataPageLinkBlock(); boolean isAddDublinCoreMetaTags(); boolean isAddHighwirePressMetaTags(); int getMetadataParamNumber(); boolean useTiles(); boolean useTilesFullscreen(); boolean useTiles(PageType view, ImageType image); int getFooterHeight(); int getFullscreenFooterHeight(); int getFooterHeight(PageType view, ImageType image); String getImageViewType(); String getZoomFullscreenViewType(); String getZoomImageViewType(PageType view, ImageType image); boolean useOpenSeadragon(); List<String> getImageViewZoomScales(); List<String> getImageViewZoomScales(String view); List<String> getImageViewZoomScales(PageType view, ImageType image); Map<Integer, List<Integer>> getTileSizes(); Map<Integer, List<Integer>> getTileSizes(PageType view, ImageType image); SubnodeConfiguration getZoomImageViewConfig(PageType pageType, ImageType imageType); int getBreadcrumbsClipping(); boolean isDisplayTopstructLabel(); boolean getDisplayStructType(); int getSearchHitMetadataValueNumber(); int getSearchHitMetadataValueLength(); List<String> getWatermarkTextConfiguration(); String getWatermarkFormat(); boolean isOriginalContentDownload(); String getStopwordsFilePath(); String getPageType(PageType type); String getDocstructTargetPageType(String docstruct); String getPageTypeExitView(PageType type); int getFulltextPercentageWarningThreshold(); boolean isUseViewerLocaleAsRecordLanguage(); String getFeedbackEmailAddress(); boolean isBookmarksEnabled(); boolean isForceJpegConversion(); int getPageLoaderThreshold(); boolean isPreventProxyCaching(); boolean isSolrCompressionEnabled(); boolean isSolrBackwardsCompatible(); boolean isUserCommentsEnabled(); String getUserCommentsConditionalQuery(); List<String> getUserCommentsNotificationEmailAddresses(); String getViewerHome(); List<String> getWatermarkIdField(); String getSubthemeMainTheme(); String getSubthemeDiscriminatorField(); int getTagCloudSampleSize(String fieldName); List<StringPair> getTocVolumeSortFieldsForTemplate(String template); String getTocVolumeGroupFieldForTemplate(String template); boolean getDisplayTitleBreadcrumbs(); boolean isDisplayTitlePURL(); int getTitleBreadcrumbsMaxTitleLength(); boolean getIncludeAnchorInTitleBreadcrumbs(); boolean isDisplaySearchRssLinks(); boolean showThumbnailsInToc(); String getStartYearForTimeline(); String getEndYearForTimeline(); String getTimelineHits(); boolean isPiwikTrackingEnabled(); String getPiwikBaseURL(); String getPiwikSiteID(); boolean isSearchSavingEnabled(); boolean isBoostTopLevelDocstructs(); boolean isGroupDuplicateHits(); List<String> getRecordGroupIdentifierFields(); List<String> getAncestorIdentifierFields(); boolean isTocListSiblingRecords(); List<SearchFilter> getSearchFilters(); List<Map<String, String>> getWebApiFields(); String getDbPersistenceUnit(); boolean useCustomNavBar(); String getCmsTemplateFolder(); String getCmsMediaFolder(); String getTempMediaFolder(); List<String> getCmsClassifications(); int getCmsMediaDisplayWidth(); int getCmsMediaDisplayHeight(); boolean isTranskribusEnabled(); String getTranskribusUserName(); String getTranskribusPassword(); String getTranskribusDefaultCollection(); String getTranskribusRestApiUrl(); List<String> getTranskribusAllowedDocumentTypes(); int getTocIndentation(); boolean isPageBrowseEnabled(); List<Integer> getPageBrowseSteps(); String getTaskManagerServiceUrl(); String getTaskManagerRestUrl(); String getReCaptchaSiteKey(); boolean isUseReCaptcha(); boolean isSearchInItemEnabled(); String getDefaultBrowseIcon(String field); boolean isSearchExcelExportEnabled(); List<String> getSearchExcelExportFields(); int getExcelDownloadTimeout(); boolean isDisplayEmptyTocInSidebar(); boolean isDoublePageModeEnabled(); List<String> getRestrictedImageUrls(); List<String> getIIIFLicenses(); List<String> getIIIFMetadataFields(); List<String> getIIIFEventFields(); String getIIIFMetadataLabel(String field); int getIIIFDiscoveryAvtivitiesPerPage(); List<String> getIIIFLogo(); String getIIIFNavDateField(); List<String> getIIIFAttribution(); List<String> getIIIFDescriptionFields(); String getSitelinksField(); String getSitelinksFilterQuery(); List<String> getConfiguredCollections(); String getWebApiToken(); boolean isAllowRedirectCollectionToWork(); String getTwitterUserName(); float getLimitImageHeightUpperRatioThreshold(); float getLimitImageHeightLowerRatioThreshold(); boolean isLimitImageHeight(); boolean isAddCORSHeader(); String getCORSHeaderValue(); boolean isDiscloseImageContentLocation(); String getAccessConditionDisplayField(); String getCopyrightDisplayField(); boolean isDisplayCopyrightInfo(); boolean isDisplaySocialMediaShareLinks(); boolean isDisplayAnchorLabelInTitleBar(String template); String getAnchorLabelInTitleBarPrefix(String template); String getAnchorLabelInTitleBarSuffix(String template); String getMapBoxToken(); GeoMapMarker getGeoMapMarker(String name); List<String> getGeoMapMarkerFields(); List<GeoMapMarker> getGeoMapMarkers(); static GeoMapMarker readGeoMapMarker(HierarchicalConfiguration config); List<LicenseDescription> getLicenseDescriptions(); }
@Test public void getTheme_shouldReturnCorrectValue() throws Exception { Assert.assertEquals("mainTheme_value", DataManager.getInstance().getConfiguration().getTheme()); }
public String getTheme() { return getSubthemeMainTheme(); }
Configuration extends AbstractConfiguration { public String getTheme() { return getSubthemeMainTheme(); } }
Configuration extends AbstractConfiguration { public String getTheme() { return getSubthemeMainTheme(); } Configuration(String configFilePath); }
Configuration extends AbstractConfiguration { public String getTheme() { return getSubthemeMainTheme(); } Configuration(String configFilePath); Set<String> getStopwords(); boolean reloadingRequired(); String getConfigLocalPath(); String getLocalRessourceBundleFile(); int getViewerThumbnailsPerPage(); int getViewerMaxImageWidth(); int getViewerMaxImageHeight(); int getViewerMaxImageScale(); boolean isRememberImageZoom(); boolean isRememberImageRotation(); String getDfgViewerUrl(); String getConnectorVersionUrl(); List<Metadata> getTitleBarMetadata(); List<Metadata> getSearchHitMetadataForTemplate(String template); List<Metadata> getMainMetadataForTemplate(String template); List<Metadata> getSidebarMetadataForTemplate(String template); List<String> getNormdataFieldsForTemplate(String template); List<Metadata> getTocLabelConfiguration(String template); int getTocAnchorGroupElementsPerPage(); boolean isDisplaySidebarBrowsingTerms(); boolean isDisplaySidebarRssFeed(); boolean isDisplayWidgetUsage(); Metadata getWidgetUsageLicenceTextMetadata(); boolean isDisplaySidebarUsageWidgetLinkToJpegImage(); boolean isDisplaySidebarUsageWidgetLinkToMasterImage(); String getWidgetUsageMaxJpegSize(); String getWidgetUsageMaxMasterImageSize(); List<String> getCalendarDocStructTypes(); boolean isBrowsingMenuEnabled(); int getBrowsingMenuHitsPerPage(); List<BrowsingMenuFieldConfig> getBrowsingMenuFields(); String getBrowsingMenuSortingIgnoreLeadingChars(); String getDocstrctWhitelistFilterQuery(); String getCollectionSplittingChar(String field); List<DcSortingList> getCollectionSorting(String field); List<String> getCollectionBlacklist(String field); String getCollectionDefaultSortField(String field, String name); int getCollectionDisplayNumberOfVolumesLevel(String field); int getCollectionDisplayDepthForSearch(String field); String getCollectionHierarchyField(); boolean isAddCollectionHierarchyToBreadcrumbs(String field); String getSolrUrl(); String getContentServerWrapperUrl(); String getDownloadUrl(); String getRestApiUrl(); String getIIIFApiUrl(); boolean isUseIIIFApiUrlForCmsMediaUrls(); String getContentServerRealUrl(); String getMetsUrl(); String getMarcUrl(); String getDcUrl(); String getEseUrl(); List<Integer> getSearchHitsPerPageValues(); int getSearchHitsPerPageDefaultValue(); int getFulltextFragmentLength(); boolean isAdvancedSearchEnabled(); int getAdvancedSearchDefaultItemNumber(); List<AdvancedSearchFieldConfiguration> getAdvancedSearchFields(); boolean isAggregateHits(); boolean isDisplayAdditionalMetadataEnabled(); List<String> getDisplayAdditionalMetadataIgnoreFields(); List<String> getDisplayAdditionalMetadataTranslateFields(); boolean isAdvancedSearchFieldHierarchical(String field); boolean isAdvancedSearchFieldRange(String field); boolean isAdvancedSearchFieldUntokenizeForPhraseSearch(String field); String getAdvancedSearchFieldSeparatorLabel(String field); boolean isTimelineSearchEnabled(); boolean isCalendarSearchEnabled(); String getStaticQuerySuffix(); String getPreviousVersionIdentifierField(); String getNextVersionIdentifierField(); String getVersionLabelField(); String getIndexedMetsFolder(); String getIndexedLidoFolder(); String getIndexedDenkxwebFolder(); String getIndexedDublinCoreFolder(); String getPageSelectionFormat(); String getMediaFolder(); String getPdfFolder(); String getVocabulariesFolder(); String getOrigContentFolder(); String getCmsTextFolder(); String getAltoFolder(); String getAbbyyFolder(); String getFulltextFolder(); String getTeiFolder(); String getCmdiFolder(); String getWcFolder(); String getAnnotationFolder(); String getHotfolder(); @SuppressWarnings("static-method") String getTempFolder(); boolean isUrnDoRedirect(); boolean isUserRegistrationEnabled(); List<SecurityQuestion> getSecurityQuestions(); boolean isShowOpenIdConnect(); List<IAuthenticationProvider> getAuthenticationProviders(); String getSmtpServer(); String getSmtpUser(); String getSmtpPassword(); String getSmtpSenderAddress(); String getSmtpSenderName(); String getSmtpSecurity(); String getAnonymousUserEmailAddress(); boolean isDisplayCollectionBrowsing(); boolean isDisplayUserNavigation(); boolean isDisplayTagCloudNavigation(); boolean isDisplayStatistics(); boolean isDisplayTimeMatrix(); boolean isDisplayCrowdsourcingModuleLinks(); String getTheme(); String getThemeRootPath(); String getName(); String getDescription(); boolean isDisplayTagCloudStartpage(); boolean isDisplaySearchResultNavigation(); boolean isFoldout(String sidebarElement); boolean isSidebarPageViewLinkVisible(); boolean isSidebarCalendarViewLinkVisible(); boolean isSidebarTocViewLinkVisible(); boolean isSidebarThumbsViewLinkVisible(); boolean isSidebarMetadataViewLinkVisible(); boolean isShowSidebarEventMetadata(); boolean isShowRecordLabelIfNoOtherViews(); boolean isSidebarFulltextLinkVisible(); boolean isSidebarTocWidgetVisible(); boolean isSidebarTocWidgetVisibleInFullscreen(); boolean isSidebarOpacLinkVisible(); boolean getSidebarTocPageNumbersVisible(); int getSidebarTocLengthBeforeCut(); int getSidebarTocInitialCollapseLevel(); int getSidebarTocCollapseLengthThreshold(); int getSidebarTocLowestLevelToCollapseForLength(); boolean isSidebarTocTreeView(); boolean isTocTreeView(String docStructType); List<String> getAllDrillDownFields(); List<String> getDrillDownFields(); List<String> getHierarchicalDrillDownFields(); int getInitialDrillDownElementNumber(String field); String getSortOrder(String field); List<String> getPriorityValuesForDrillDownField(String field); String getLabelFieldForDrillDownField(String facetField); @SuppressWarnings("static-method") List<String> getRangeFacetFields(); boolean isSortingEnabled(); String getDefaultSortField(); List<String> getSortFields(); List<String> getStaticSortFields(); String getUrnResolverUrl(); int getUnconditionalImageAccessMaxWidth(); boolean isFullAccessForLocalhost(); boolean isGeneratePdfInTaskManager(); boolean isPdfApiDisabled(); boolean isTitlePdfEnabled(); boolean isTocPdfEnabled(); boolean isMetadataPdfEnabled(); boolean isPagePdfEnabled(); boolean isDocHierarchyPdfEnabled(); boolean isTitleEpubEnabled(); boolean isTocEpubEnabled(); boolean isMetadataEpubEnabled(); String getDownloadFolder(String type); int getRssFeedItems(); String getRssTitle(); String getRssDescription(); String getRssCopyrightText(); String getRulesetFilePath(); String getDefaultCollection(); int getThumbnailsWidth(); int getThumbnailsHeight(); int getThumbnailsCompression(); String getAnchorThumbnailMode(); int getMultivolumeThumbnailWidth(); int getMultivolumeThumbnailHeight(); boolean getDisplayBreadcrumbs(); boolean getDisplayMetadataPageLinkBlock(); boolean isAddDublinCoreMetaTags(); boolean isAddHighwirePressMetaTags(); int getMetadataParamNumber(); boolean useTiles(); boolean useTilesFullscreen(); boolean useTiles(PageType view, ImageType image); int getFooterHeight(); int getFullscreenFooterHeight(); int getFooterHeight(PageType view, ImageType image); String getImageViewType(); String getZoomFullscreenViewType(); String getZoomImageViewType(PageType view, ImageType image); boolean useOpenSeadragon(); List<String> getImageViewZoomScales(); List<String> getImageViewZoomScales(String view); List<String> getImageViewZoomScales(PageType view, ImageType image); Map<Integer, List<Integer>> getTileSizes(); Map<Integer, List<Integer>> getTileSizes(PageType view, ImageType image); SubnodeConfiguration getZoomImageViewConfig(PageType pageType, ImageType imageType); int getBreadcrumbsClipping(); boolean isDisplayTopstructLabel(); boolean getDisplayStructType(); int getSearchHitMetadataValueNumber(); int getSearchHitMetadataValueLength(); List<String> getWatermarkTextConfiguration(); String getWatermarkFormat(); boolean isOriginalContentDownload(); String getStopwordsFilePath(); String getPageType(PageType type); String getDocstructTargetPageType(String docstruct); String getPageTypeExitView(PageType type); int getFulltextPercentageWarningThreshold(); boolean isUseViewerLocaleAsRecordLanguage(); String getFeedbackEmailAddress(); boolean isBookmarksEnabled(); boolean isForceJpegConversion(); int getPageLoaderThreshold(); boolean isPreventProxyCaching(); boolean isSolrCompressionEnabled(); boolean isSolrBackwardsCompatible(); boolean isUserCommentsEnabled(); String getUserCommentsConditionalQuery(); List<String> getUserCommentsNotificationEmailAddresses(); String getViewerHome(); List<String> getWatermarkIdField(); String getSubthemeMainTheme(); String getSubthemeDiscriminatorField(); int getTagCloudSampleSize(String fieldName); List<StringPair> getTocVolumeSortFieldsForTemplate(String template); String getTocVolumeGroupFieldForTemplate(String template); boolean getDisplayTitleBreadcrumbs(); boolean isDisplayTitlePURL(); int getTitleBreadcrumbsMaxTitleLength(); boolean getIncludeAnchorInTitleBreadcrumbs(); boolean isDisplaySearchRssLinks(); boolean showThumbnailsInToc(); String getStartYearForTimeline(); String getEndYearForTimeline(); String getTimelineHits(); boolean isPiwikTrackingEnabled(); String getPiwikBaseURL(); String getPiwikSiteID(); boolean isSearchSavingEnabled(); boolean isBoostTopLevelDocstructs(); boolean isGroupDuplicateHits(); List<String> getRecordGroupIdentifierFields(); List<String> getAncestorIdentifierFields(); boolean isTocListSiblingRecords(); List<SearchFilter> getSearchFilters(); List<Map<String, String>> getWebApiFields(); String getDbPersistenceUnit(); boolean useCustomNavBar(); String getCmsTemplateFolder(); String getCmsMediaFolder(); String getTempMediaFolder(); List<String> getCmsClassifications(); int getCmsMediaDisplayWidth(); int getCmsMediaDisplayHeight(); boolean isTranskribusEnabled(); String getTranskribusUserName(); String getTranskribusPassword(); String getTranskribusDefaultCollection(); String getTranskribusRestApiUrl(); List<String> getTranskribusAllowedDocumentTypes(); int getTocIndentation(); boolean isPageBrowseEnabled(); List<Integer> getPageBrowseSteps(); String getTaskManagerServiceUrl(); String getTaskManagerRestUrl(); String getReCaptchaSiteKey(); boolean isUseReCaptcha(); boolean isSearchInItemEnabled(); String getDefaultBrowseIcon(String field); boolean isSearchExcelExportEnabled(); List<String> getSearchExcelExportFields(); int getExcelDownloadTimeout(); boolean isDisplayEmptyTocInSidebar(); boolean isDoublePageModeEnabled(); List<String> getRestrictedImageUrls(); List<String> getIIIFLicenses(); List<String> getIIIFMetadataFields(); List<String> getIIIFEventFields(); String getIIIFMetadataLabel(String field); int getIIIFDiscoveryAvtivitiesPerPage(); List<String> getIIIFLogo(); String getIIIFNavDateField(); List<String> getIIIFAttribution(); List<String> getIIIFDescriptionFields(); String getSitelinksField(); String getSitelinksFilterQuery(); List<String> getConfiguredCollections(); String getWebApiToken(); boolean isAllowRedirectCollectionToWork(); String getTwitterUserName(); float getLimitImageHeightUpperRatioThreshold(); float getLimitImageHeightLowerRatioThreshold(); boolean isLimitImageHeight(); boolean isAddCORSHeader(); String getCORSHeaderValue(); boolean isDiscloseImageContentLocation(); String getAccessConditionDisplayField(); String getCopyrightDisplayField(); boolean isDisplayCopyrightInfo(); boolean isDisplaySocialMediaShareLinks(); boolean isDisplayAnchorLabelInTitleBar(String template); String getAnchorLabelInTitleBarPrefix(String template); String getAnchorLabelInTitleBarSuffix(String template); String getMapBoxToken(); GeoMapMarker getGeoMapMarker(String name); List<String> getGeoMapMarkerFields(); List<GeoMapMarker> getGeoMapMarkers(); static GeoMapMarker readGeoMapMarker(HierarchicalConfiguration config); List<LicenseDescription> getLicenseDescriptions(); }
Configuration extends AbstractConfiguration { public String getTheme() { return getSubthemeMainTheme(); } Configuration(String configFilePath); Set<String> getStopwords(); boolean reloadingRequired(); String getConfigLocalPath(); String getLocalRessourceBundleFile(); int getViewerThumbnailsPerPage(); int getViewerMaxImageWidth(); int getViewerMaxImageHeight(); int getViewerMaxImageScale(); boolean isRememberImageZoom(); boolean isRememberImageRotation(); String getDfgViewerUrl(); String getConnectorVersionUrl(); List<Metadata> getTitleBarMetadata(); List<Metadata> getSearchHitMetadataForTemplate(String template); List<Metadata> getMainMetadataForTemplate(String template); List<Metadata> getSidebarMetadataForTemplate(String template); List<String> getNormdataFieldsForTemplate(String template); List<Metadata> getTocLabelConfiguration(String template); int getTocAnchorGroupElementsPerPage(); boolean isDisplaySidebarBrowsingTerms(); boolean isDisplaySidebarRssFeed(); boolean isDisplayWidgetUsage(); Metadata getWidgetUsageLicenceTextMetadata(); boolean isDisplaySidebarUsageWidgetLinkToJpegImage(); boolean isDisplaySidebarUsageWidgetLinkToMasterImage(); String getWidgetUsageMaxJpegSize(); String getWidgetUsageMaxMasterImageSize(); List<String> getCalendarDocStructTypes(); boolean isBrowsingMenuEnabled(); int getBrowsingMenuHitsPerPage(); List<BrowsingMenuFieldConfig> getBrowsingMenuFields(); String getBrowsingMenuSortingIgnoreLeadingChars(); String getDocstrctWhitelistFilterQuery(); String getCollectionSplittingChar(String field); List<DcSortingList> getCollectionSorting(String field); List<String> getCollectionBlacklist(String field); String getCollectionDefaultSortField(String field, String name); int getCollectionDisplayNumberOfVolumesLevel(String field); int getCollectionDisplayDepthForSearch(String field); String getCollectionHierarchyField(); boolean isAddCollectionHierarchyToBreadcrumbs(String field); String getSolrUrl(); String getContentServerWrapperUrl(); String getDownloadUrl(); String getRestApiUrl(); String getIIIFApiUrl(); boolean isUseIIIFApiUrlForCmsMediaUrls(); String getContentServerRealUrl(); String getMetsUrl(); String getMarcUrl(); String getDcUrl(); String getEseUrl(); List<Integer> getSearchHitsPerPageValues(); int getSearchHitsPerPageDefaultValue(); int getFulltextFragmentLength(); boolean isAdvancedSearchEnabled(); int getAdvancedSearchDefaultItemNumber(); List<AdvancedSearchFieldConfiguration> getAdvancedSearchFields(); boolean isAggregateHits(); boolean isDisplayAdditionalMetadataEnabled(); List<String> getDisplayAdditionalMetadataIgnoreFields(); List<String> getDisplayAdditionalMetadataTranslateFields(); boolean isAdvancedSearchFieldHierarchical(String field); boolean isAdvancedSearchFieldRange(String field); boolean isAdvancedSearchFieldUntokenizeForPhraseSearch(String field); String getAdvancedSearchFieldSeparatorLabel(String field); boolean isTimelineSearchEnabled(); boolean isCalendarSearchEnabled(); String getStaticQuerySuffix(); String getPreviousVersionIdentifierField(); String getNextVersionIdentifierField(); String getVersionLabelField(); String getIndexedMetsFolder(); String getIndexedLidoFolder(); String getIndexedDenkxwebFolder(); String getIndexedDublinCoreFolder(); String getPageSelectionFormat(); String getMediaFolder(); String getPdfFolder(); String getVocabulariesFolder(); String getOrigContentFolder(); String getCmsTextFolder(); String getAltoFolder(); String getAbbyyFolder(); String getFulltextFolder(); String getTeiFolder(); String getCmdiFolder(); String getWcFolder(); String getAnnotationFolder(); String getHotfolder(); @SuppressWarnings("static-method") String getTempFolder(); boolean isUrnDoRedirect(); boolean isUserRegistrationEnabled(); List<SecurityQuestion> getSecurityQuestions(); boolean isShowOpenIdConnect(); List<IAuthenticationProvider> getAuthenticationProviders(); String getSmtpServer(); String getSmtpUser(); String getSmtpPassword(); String getSmtpSenderAddress(); String getSmtpSenderName(); String getSmtpSecurity(); String getAnonymousUserEmailAddress(); boolean isDisplayCollectionBrowsing(); boolean isDisplayUserNavigation(); boolean isDisplayTagCloudNavigation(); boolean isDisplayStatistics(); boolean isDisplayTimeMatrix(); boolean isDisplayCrowdsourcingModuleLinks(); String getTheme(); String getThemeRootPath(); String getName(); String getDescription(); boolean isDisplayTagCloudStartpage(); boolean isDisplaySearchResultNavigation(); boolean isFoldout(String sidebarElement); boolean isSidebarPageViewLinkVisible(); boolean isSidebarCalendarViewLinkVisible(); boolean isSidebarTocViewLinkVisible(); boolean isSidebarThumbsViewLinkVisible(); boolean isSidebarMetadataViewLinkVisible(); boolean isShowSidebarEventMetadata(); boolean isShowRecordLabelIfNoOtherViews(); boolean isSidebarFulltextLinkVisible(); boolean isSidebarTocWidgetVisible(); boolean isSidebarTocWidgetVisibleInFullscreen(); boolean isSidebarOpacLinkVisible(); boolean getSidebarTocPageNumbersVisible(); int getSidebarTocLengthBeforeCut(); int getSidebarTocInitialCollapseLevel(); int getSidebarTocCollapseLengthThreshold(); int getSidebarTocLowestLevelToCollapseForLength(); boolean isSidebarTocTreeView(); boolean isTocTreeView(String docStructType); List<String> getAllDrillDownFields(); List<String> getDrillDownFields(); List<String> getHierarchicalDrillDownFields(); int getInitialDrillDownElementNumber(String field); String getSortOrder(String field); List<String> getPriorityValuesForDrillDownField(String field); String getLabelFieldForDrillDownField(String facetField); @SuppressWarnings("static-method") List<String> getRangeFacetFields(); boolean isSortingEnabled(); String getDefaultSortField(); List<String> getSortFields(); List<String> getStaticSortFields(); String getUrnResolverUrl(); int getUnconditionalImageAccessMaxWidth(); boolean isFullAccessForLocalhost(); boolean isGeneratePdfInTaskManager(); boolean isPdfApiDisabled(); boolean isTitlePdfEnabled(); boolean isTocPdfEnabled(); boolean isMetadataPdfEnabled(); boolean isPagePdfEnabled(); boolean isDocHierarchyPdfEnabled(); boolean isTitleEpubEnabled(); boolean isTocEpubEnabled(); boolean isMetadataEpubEnabled(); String getDownloadFolder(String type); int getRssFeedItems(); String getRssTitle(); String getRssDescription(); String getRssCopyrightText(); String getRulesetFilePath(); String getDefaultCollection(); int getThumbnailsWidth(); int getThumbnailsHeight(); int getThumbnailsCompression(); String getAnchorThumbnailMode(); int getMultivolumeThumbnailWidth(); int getMultivolumeThumbnailHeight(); boolean getDisplayBreadcrumbs(); boolean getDisplayMetadataPageLinkBlock(); boolean isAddDublinCoreMetaTags(); boolean isAddHighwirePressMetaTags(); int getMetadataParamNumber(); boolean useTiles(); boolean useTilesFullscreen(); boolean useTiles(PageType view, ImageType image); int getFooterHeight(); int getFullscreenFooterHeight(); int getFooterHeight(PageType view, ImageType image); String getImageViewType(); String getZoomFullscreenViewType(); String getZoomImageViewType(PageType view, ImageType image); boolean useOpenSeadragon(); List<String> getImageViewZoomScales(); List<String> getImageViewZoomScales(String view); List<String> getImageViewZoomScales(PageType view, ImageType image); Map<Integer, List<Integer>> getTileSizes(); Map<Integer, List<Integer>> getTileSizes(PageType view, ImageType image); SubnodeConfiguration getZoomImageViewConfig(PageType pageType, ImageType imageType); int getBreadcrumbsClipping(); boolean isDisplayTopstructLabel(); boolean getDisplayStructType(); int getSearchHitMetadataValueNumber(); int getSearchHitMetadataValueLength(); List<String> getWatermarkTextConfiguration(); String getWatermarkFormat(); boolean isOriginalContentDownload(); String getStopwordsFilePath(); String getPageType(PageType type); String getDocstructTargetPageType(String docstruct); String getPageTypeExitView(PageType type); int getFulltextPercentageWarningThreshold(); boolean isUseViewerLocaleAsRecordLanguage(); String getFeedbackEmailAddress(); boolean isBookmarksEnabled(); boolean isForceJpegConversion(); int getPageLoaderThreshold(); boolean isPreventProxyCaching(); boolean isSolrCompressionEnabled(); boolean isSolrBackwardsCompatible(); boolean isUserCommentsEnabled(); String getUserCommentsConditionalQuery(); List<String> getUserCommentsNotificationEmailAddresses(); String getViewerHome(); List<String> getWatermarkIdField(); String getSubthemeMainTheme(); String getSubthemeDiscriminatorField(); int getTagCloudSampleSize(String fieldName); List<StringPair> getTocVolumeSortFieldsForTemplate(String template); String getTocVolumeGroupFieldForTemplate(String template); boolean getDisplayTitleBreadcrumbs(); boolean isDisplayTitlePURL(); int getTitleBreadcrumbsMaxTitleLength(); boolean getIncludeAnchorInTitleBreadcrumbs(); boolean isDisplaySearchRssLinks(); boolean showThumbnailsInToc(); String getStartYearForTimeline(); String getEndYearForTimeline(); String getTimelineHits(); boolean isPiwikTrackingEnabled(); String getPiwikBaseURL(); String getPiwikSiteID(); boolean isSearchSavingEnabled(); boolean isBoostTopLevelDocstructs(); boolean isGroupDuplicateHits(); List<String> getRecordGroupIdentifierFields(); List<String> getAncestorIdentifierFields(); boolean isTocListSiblingRecords(); List<SearchFilter> getSearchFilters(); List<Map<String, String>> getWebApiFields(); String getDbPersistenceUnit(); boolean useCustomNavBar(); String getCmsTemplateFolder(); String getCmsMediaFolder(); String getTempMediaFolder(); List<String> getCmsClassifications(); int getCmsMediaDisplayWidth(); int getCmsMediaDisplayHeight(); boolean isTranskribusEnabled(); String getTranskribusUserName(); String getTranskribusPassword(); String getTranskribusDefaultCollection(); String getTranskribusRestApiUrl(); List<String> getTranskribusAllowedDocumentTypes(); int getTocIndentation(); boolean isPageBrowseEnabled(); List<Integer> getPageBrowseSteps(); String getTaskManagerServiceUrl(); String getTaskManagerRestUrl(); String getReCaptchaSiteKey(); boolean isUseReCaptcha(); boolean isSearchInItemEnabled(); String getDefaultBrowseIcon(String field); boolean isSearchExcelExportEnabled(); List<String> getSearchExcelExportFields(); int getExcelDownloadTimeout(); boolean isDisplayEmptyTocInSidebar(); boolean isDoublePageModeEnabled(); List<String> getRestrictedImageUrls(); List<String> getIIIFLicenses(); List<String> getIIIFMetadataFields(); List<String> getIIIFEventFields(); String getIIIFMetadataLabel(String field); int getIIIFDiscoveryAvtivitiesPerPage(); List<String> getIIIFLogo(); String getIIIFNavDateField(); List<String> getIIIFAttribution(); List<String> getIIIFDescriptionFields(); String getSitelinksField(); String getSitelinksFilterQuery(); List<String> getConfiguredCollections(); String getWebApiToken(); boolean isAllowRedirectCollectionToWork(); String getTwitterUserName(); float getLimitImageHeightUpperRatioThreshold(); float getLimitImageHeightLowerRatioThreshold(); boolean isLimitImageHeight(); boolean isAddCORSHeader(); String getCORSHeaderValue(); boolean isDiscloseImageContentLocation(); String getAccessConditionDisplayField(); String getCopyrightDisplayField(); boolean isDisplayCopyrightInfo(); boolean isDisplaySocialMediaShareLinks(); boolean isDisplayAnchorLabelInTitleBar(String template); String getAnchorLabelInTitleBarPrefix(String template); String getAnchorLabelInTitleBarSuffix(String template); String getMapBoxToken(); GeoMapMarker getGeoMapMarker(String name); List<String> getGeoMapMarkerFields(); List<GeoMapMarker> getGeoMapMarkers(); static GeoMapMarker readGeoMapMarker(HierarchicalConfiguration config); List<LicenseDescription> getLicenseDescriptions(); }
@Test public void getName_shouldReturnCorrectValue() throws Exception { Assert.assertEquals("Goobi viewer TEST", DataManager.getInstance().getConfiguration().getName()); }
public String getName() { return getLocalString("viewer.name", "Goobi viewer"); }
Configuration extends AbstractConfiguration { public String getName() { return getLocalString("viewer.name", "Goobi viewer"); } }
Configuration extends AbstractConfiguration { public String getName() { return getLocalString("viewer.name", "Goobi viewer"); } Configuration(String configFilePath); }
Configuration extends AbstractConfiguration { public String getName() { return getLocalString("viewer.name", "Goobi viewer"); } Configuration(String configFilePath); Set<String> getStopwords(); boolean reloadingRequired(); String getConfigLocalPath(); String getLocalRessourceBundleFile(); int getViewerThumbnailsPerPage(); int getViewerMaxImageWidth(); int getViewerMaxImageHeight(); int getViewerMaxImageScale(); boolean isRememberImageZoom(); boolean isRememberImageRotation(); String getDfgViewerUrl(); String getConnectorVersionUrl(); List<Metadata> getTitleBarMetadata(); List<Metadata> getSearchHitMetadataForTemplate(String template); List<Metadata> getMainMetadataForTemplate(String template); List<Metadata> getSidebarMetadataForTemplate(String template); List<String> getNormdataFieldsForTemplate(String template); List<Metadata> getTocLabelConfiguration(String template); int getTocAnchorGroupElementsPerPage(); boolean isDisplaySidebarBrowsingTerms(); boolean isDisplaySidebarRssFeed(); boolean isDisplayWidgetUsage(); Metadata getWidgetUsageLicenceTextMetadata(); boolean isDisplaySidebarUsageWidgetLinkToJpegImage(); boolean isDisplaySidebarUsageWidgetLinkToMasterImage(); String getWidgetUsageMaxJpegSize(); String getWidgetUsageMaxMasterImageSize(); List<String> getCalendarDocStructTypes(); boolean isBrowsingMenuEnabled(); int getBrowsingMenuHitsPerPage(); List<BrowsingMenuFieldConfig> getBrowsingMenuFields(); String getBrowsingMenuSortingIgnoreLeadingChars(); String getDocstrctWhitelistFilterQuery(); String getCollectionSplittingChar(String field); List<DcSortingList> getCollectionSorting(String field); List<String> getCollectionBlacklist(String field); String getCollectionDefaultSortField(String field, String name); int getCollectionDisplayNumberOfVolumesLevel(String field); int getCollectionDisplayDepthForSearch(String field); String getCollectionHierarchyField(); boolean isAddCollectionHierarchyToBreadcrumbs(String field); String getSolrUrl(); String getContentServerWrapperUrl(); String getDownloadUrl(); String getRestApiUrl(); String getIIIFApiUrl(); boolean isUseIIIFApiUrlForCmsMediaUrls(); String getContentServerRealUrl(); String getMetsUrl(); String getMarcUrl(); String getDcUrl(); String getEseUrl(); List<Integer> getSearchHitsPerPageValues(); int getSearchHitsPerPageDefaultValue(); int getFulltextFragmentLength(); boolean isAdvancedSearchEnabled(); int getAdvancedSearchDefaultItemNumber(); List<AdvancedSearchFieldConfiguration> getAdvancedSearchFields(); boolean isAggregateHits(); boolean isDisplayAdditionalMetadataEnabled(); List<String> getDisplayAdditionalMetadataIgnoreFields(); List<String> getDisplayAdditionalMetadataTranslateFields(); boolean isAdvancedSearchFieldHierarchical(String field); boolean isAdvancedSearchFieldRange(String field); boolean isAdvancedSearchFieldUntokenizeForPhraseSearch(String field); String getAdvancedSearchFieldSeparatorLabel(String field); boolean isTimelineSearchEnabled(); boolean isCalendarSearchEnabled(); String getStaticQuerySuffix(); String getPreviousVersionIdentifierField(); String getNextVersionIdentifierField(); String getVersionLabelField(); String getIndexedMetsFolder(); String getIndexedLidoFolder(); String getIndexedDenkxwebFolder(); String getIndexedDublinCoreFolder(); String getPageSelectionFormat(); String getMediaFolder(); String getPdfFolder(); String getVocabulariesFolder(); String getOrigContentFolder(); String getCmsTextFolder(); String getAltoFolder(); String getAbbyyFolder(); String getFulltextFolder(); String getTeiFolder(); String getCmdiFolder(); String getWcFolder(); String getAnnotationFolder(); String getHotfolder(); @SuppressWarnings("static-method") String getTempFolder(); boolean isUrnDoRedirect(); boolean isUserRegistrationEnabled(); List<SecurityQuestion> getSecurityQuestions(); boolean isShowOpenIdConnect(); List<IAuthenticationProvider> getAuthenticationProviders(); String getSmtpServer(); String getSmtpUser(); String getSmtpPassword(); String getSmtpSenderAddress(); String getSmtpSenderName(); String getSmtpSecurity(); String getAnonymousUserEmailAddress(); boolean isDisplayCollectionBrowsing(); boolean isDisplayUserNavigation(); boolean isDisplayTagCloudNavigation(); boolean isDisplayStatistics(); boolean isDisplayTimeMatrix(); boolean isDisplayCrowdsourcingModuleLinks(); String getTheme(); String getThemeRootPath(); String getName(); String getDescription(); boolean isDisplayTagCloudStartpage(); boolean isDisplaySearchResultNavigation(); boolean isFoldout(String sidebarElement); boolean isSidebarPageViewLinkVisible(); boolean isSidebarCalendarViewLinkVisible(); boolean isSidebarTocViewLinkVisible(); boolean isSidebarThumbsViewLinkVisible(); boolean isSidebarMetadataViewLinkVisible(); boolean isShowSidebarEventMetadata(); boolean isShowRecordLabelIfNoOtherViews(); boolean isSidebarFulltextLinkVisible(); boolean isSidebarTocWidgetVisible(); boolean isSidebarTocWidgetVisibleInFullscreen(); boolean isSidebarOpacLinkVisible(); boolean getSidebarTocPageNumbersVisible(); int getSidebarTocLengthBeforeCut(); int getSidebarTocInitialCollapseLevel(); int getSidebarTocCollapseLengthThreshold(); int getSidebarTocLowestLevelToCollapseForLength(); boolean isSidebarTocTreeView(); boolean isTocTreeView(String docStructType); List<String> getAllDrillDownFields(); List<String> getDrillDownFields(); List<String> getHierarchicalDrillDownFields(); int getInitialDrillDownElementNumber(String field); String getSortOrder(String field); List<String> getPriorityValuesForDrillDownField(String field); String getLabelFieldForDrillDownField(String facetField); @SuppressWarnings("static-method") List<String> getRangeFacetFields(); boolean isSortingEnabled(); String getDefaultSortField(); List<String> getSortFields(); List<String> getStaticSortFields(); String getUrnResolverUrl(); int getUnconditionalImageAccessMaxWidth(); boolean isFullAccessForLocalhost(); boolean isGeneratePdfInTaskManager(); boolean isPdfApiDisabled(); boolean isTitlePdfEnabled(); boolean isTocPdfEnabled(); boolean isMetadataPdfEnabled(); boolean isPagePdfEnabled(); boolean isDocHierarchyPdfEnabled(); boolean isTitleEpubEnabled(); boolean isTocEpubEnabled(); boolean isMetadataEpubEnabled(); String getDownloadFolder(String type); int getRssFeedItems(); String getRssTitle(); String getRssDescription(); String getRssCopyrightText(); String getRulesetFilePath(); String getDefaultCollection(); int getThumbnailsWidth(); int getThumbnailsHeight(); int getThumbnailsCompression(); String getAnchorThumbnailMode(); int getMultivolumeThumbnailWidth(); int getMultivolumeThumbnailHeight(); boolean getDisplayBreadcrumbs(); boolean getDisplayMetadataPageLinkBlock(); boolean isAddDublinCoreMetaTags(); boolean isAddHighwirePressMetaTags(); int getMetadataParamNumber(); boolean useTiles(); boolean useTilesFullscreen(); boolean useTiles(PageType view, ImageType image); int getFooterHeight(); int getFullscreenFooterHeight(); int getFooterHeight(PageType view, ImageType image); String getImageViewType(); String getZoomFullscreenViewType(); String getZoomImageViewType(PageType view, ImageType image); boolean useOpenSeadragon(); List<String> getImageViewZoomScales(); List<String> getImageViewZoomScales(String view); List<String> getImageViewZoomScales(PageType view, ImageType image); Map<Integer, List<Integer>> getTileSizes(); Map<Integer, List<Integer>> getTileSizes(PageType view, ImageType image); SubnodeConfiguration getZoomImageViewConfig(PageType pageType, ImageType imageType); int getBreadcrumbsClipping(); boolean isDisplayTopstructLabel(); boolean getDisplayStructType(); int getSearchHitMetadataValueNumber(); int getSearchHitMetadataValueLength(); List<String> getWatermarkTextConfiguration(); String getWatermarkFormat(); boolean isOriginalContentDownload(); String getStopwordsFilePath(); String getPageType(PageType type); String getDocstructTargetPageType(String docstruct); String getPageTypeExitView(PageType type); int getFulltextPercentageWarningThreshold(); boolean isUseViewerLocaleAsRecordLanguage(); String getFeedbackEmailAddress(); boolean isBookmarksEnabled(); boolean isForceJpegConversion(); int getPageLoaderThreshold(); boolean isPreventProxyCaching(); boolean isSolrCompressionEnabled(); boolean isSolrBackwardsCompatible(); boolean isUserCommentsEnabled(); String getUserCommentsConditionalQuery(); List<String> getUserCommentsNotificationEmailAddresses(); String getViewerHome(); List<String> getWatermarkIdField(); String getSubthemeMainTheme(); String getSubthemeDiscriminatorField(); int getTagCloudSampleSize(String fieldName); List<StringPair> getTocVolumeSortFieldsForTemplate(String template); String getTocVolumeGroupFieldForTemplate(String template); boolean getDisplayTitleBreadcrumbs(); boolean isDisplayTitlePURL(); int getTitleBreadcrumbsMaxTitleLength(); boolean getIncludeAnchorInTitleBreadcrumbs(); boolean isDisplaySearchRssLinks(); boolean showThumbnailsInToc(); String getStartYearForTimeline(); String getEndYearForTimeline(); String getTimelineHits(); boolean isPiwikTrackingEnabled(); String getPiwikBaseURL(); String getPiwikSiteID(); boolean isSearchSavingEnabled(); boolean isBoostTopLevelDocstructs(); boolean isGroupDuplicateHits(); List<String> getRecordGroupIdentifierFields(); List<String> getAncestorIdentifierFields(); boolean isTocListSiblingRecords(); List<SearchFilter> getSearchFilters(); List<Map<String, String>> getWebApiFields(); String getDbPersistenceUnit(); boolean useCustomNavBar(); String getCmsTemplateFolder(); String getCmsMediaFolder(); String getTempMediaFolder(); List<String> getCmsClassifications(); int getCmsMediaDisplayWidth(); int getCmsMediaDisplayHeight(); boolean isTranskribusEnabled(); String getTranskribusUserName(); String getTranskribusPassword(); String getTranskribusDefaultCollection(); String getTranskribusRestApiUrl(); List<String> getTranskribusAllowedDocumentTypes(); int getTocIndentation(); boolean isPageBrowseEnabled(); List<Integer> getPageBrowseSteps(); String getTaskManagerServiceUrl(); String getTaskManagerRestUrl(); String getReCaptchaSiteKey(); boolean isUseReCaptcha(); boolean isSearchInItemEnabled(); String getDefaultBrowseIcon(String field); boolean isSearchExcelExportEnabled(); List<String> getSearchExcelExportFields(); int getExcelDownloadTimeout(); boolean isDisplayEmptyTocInSidebar(); boolean isDoublePageModeEnabled(); List<String> getRestrictedImageUrls(); List<String> getIIIFLicenses(); List<String> getIIIFMetadataFields(); List<String> getIIIFEventFields(); String getIIIFMetadataLabel(String field); int getIIIFDiscoveryAvtivitiesPerPage(); List<String> getIIIFLogo(); String getIIIFNavDateField(); List<String> getIIIFAttribution(); List<String> getIIIFDescriptionFields(); String getSitelinksField(); String getSitelinksFilterQuery(); List<String> getConfiguredCollections(); String getWebApiToken(); boolean isAllowRedirectCollectionToWork(); String getTwitterUserName(); float getLimitImageHeightUpperRatioThreshold(); float getLimitImageHeightLowerRatioThreshold(); boolean isLimitImageHeight(); boolean isAddCORSHeader(); String getCORSHeaderValue(); boolean isDiscloseImageContentLocation(); String getAccessConditionDisplayField(); String getCopyrightDisplayField(); boolean isDisplayCopyrightInfo(); boolean isDisplaySocialMediaShareLinks(); boolean isDisplayAnchorLabelInTitleBar(String template); String getAnchorLabelInTitleBarPrefix(String template); String getAnchorLabelInTitleBarSuffix(String template); String getMapBoxToken(); GeoMapMarker getGeoMapMarker(String name); List<String> getGeoMapMarkerFields(); List<GeoMapMarker> getGeoMapMarkers(); static GeoMapMarker readGeoMapMarker(HierarchicalConfiguration config); List<LicenseDescription> getLicenseDescriptions(); }
Configuration extends AbstractConfiguration { public String getName() { return getLocalString("viewer.name", "Goobi viewer"); } Configuration(String configFilePath); Set<String> getStopwords(); boolean reloadingRequired(); String getConfigLocalPath(); String getLocalRessourceBundleFile(); int getViewerThumbnailsPerPage(); int getViewerMaxImageWidth(); int getViewerMaxImageHeight(); int getViewerMaxImageScale(); boolean isRememberImageZoom(); boolean isRememberImageRotation(); String getDfgViewerUrl(); String getConnectorVersionUrl(); List<Metadata> getTitleBarMetadata(); List<Metadata> getSearchHitMetadataForTemplate(String template); List<Metadata> getMainMetadataForTemplate(String template); List<Metadata> getSidebarMetadataForTemplate(String template); List<String> getNormdataFieldsForTemplate(String template); List<Metadata> getTocLabelConfiguration(String template); int getTocAnchorGroupElementsPerPage(); boolean isDisplaySidebarBrowsingTerms(); boolean isDisplaySidebarRssFeed(); boolean isDisplayWidgetUsage(); Metadata getWidgetUsageLicenceTextMetadata(); boolean isDisplaySidebarUsageWidgetLinkToJpegImage(); boolean isDisplaySidebarUsageWidgetLinkToMasterImage(); String getWidgetUsageMaxJpegSize(); String getWidgetUsageMaxMasterImageSize(); List<String> getCalendarDocStructTypes(); boolean isBrowsingMenuEnabled(); int getBrowsingMenuHitsPerPage(); List<BrowsingMenuFieldConfig> getBrowsingMenuFields(); String getBrowsingMenuSortingIgnoreLeadingChars(); String getDocstrctWhitelistFilterQuery(); String getCollectionSplittingChar(String field); List<DcSortingList> getCollectionSorting(String field); List<String> getCollectionBlacklist(String field); String getCollectionDefaultSortField(String field, String name); int getCollectionDisplayNumberOfVolumesLevel(String field); int getCollectionDisplayDepthForSearch(String field); String getCollectionHierarchyField(); boolean isAddCollectionHierarchyToBreadcrumbs(String field); String getSolrUrl(); String getContentServerWrapperUrl(); String getDownloadUrl(); String getRestApiUrl(); String getIIIFApiUrl(); boolean isUseIIIFApiUrlForCmsMediaUrls(); String getContentServerRealUrl(); String getMetsUrl(); String getMarcUrl(); String getDcUrl(); String getEseUrl(); List<Integer> getSearchHitsPerPageValues(); int getSearchHitsPerPageDefaultValue(); int getFulltextFragmentLength(); boolean isAdvancedSearchEnabled(); int getAdvancedSearchDefaultItemNumber(); List<AdvancedSearchFieldConfiguration> getAdvancedSearchFields(); boolean isAggregateHits(); boolean isDisplayAdditionalMetadataEnabled(); List<String> getDisplayAdditionalMetadataIgnoreFields(); List<String> getDisplayAdditionalMetadataTranslateFields(); boolean isAdvancedSearchFieldHierarchical(String field); boolean isAdvancedSearchFieldRange(String field); boolean isAdvancedSearchFieldUntokenizeForPhraseSearch(String field); String getAdvancedSearchFieldSeparatorLabel(String field); boolean isTimelineSearchEnabled(); boolean isCalendarSearchEnabled(); String getStaticQuerySuffix(); String getPreviousVersionIdentifierField(); String getNextVersionIdentifierField(); String getVersionLabelField(); String getIndexedMetsFolder(); String getIndexedLidoFolder(); String getIndexedDenkxwebFolder(); String getIndexedDublinCoreFolder(); String getPageSelectionFormat(); String getMediaFolder(); String getPdfFolder(); String getVocabulariesFolder(); String getOrigContentFolder(); String getCmsTextFolder(); String getAltoFolder(); String getAbbyyFolder(); String getFulltextFolder(); String getTeiFolder(); String getCmdiFolder(); String getWcFolder(); String getAnnotationFolder(); String getHotfolder(); @SuppressWarnings("static-method") String getTempFolder(); boolean isUrnDoRedirect(); boolean isUserRegistrationEnabled(); List<SecurityQuestion> getSecurityQuestions(); boolean isShowOpenIdConnect(); List<IAuthenticationProvider> getAuthenticationProviders(); String getSmtpServer(); String getSmtpUser(); String getSmtpPassword(); String getSmtpSenderAddress(); String getSmtpSenderName(); String getSmtpSecurity(); String getAnonymousUserEmailAddress(); boolean isDisplayCollectionBrowsing(); boolean isDisplayUserNavigation(); boolean isDisplayTagCloudNavigation(); boolean isDisplayStatistics(); boolean isDisplayTimeMatrix(); boolean isDisplayCrowdsourcingModuleLinks(); String getTheme(); String getThemeRootPath(); String getName(); String getDescription(); boolean isDisplayTagCloudStartpage(); boolean isDisplaySearchResultNavigation(); boolean isFoldout(String sidebarElement); boolean isSidebarPageViewLinkVisible(); boolean isSidebarCalendarViewLinkVisible(); boolean isSidebarTocViewLinkVisible(); boolean isSidebarThumbsViewLinkVisible(); boolean isSidebarMetadataViewLinkVisible(); boolean isShowSidebarEventMetadata(); boolean isShowRecordLabelIfNoOtherViews(); boolean isSidebarFulltextLinkVisible(); boolean isSidebarTocWidgetVisible(); boolean isSidebarTocWidgetVisibleInFullscreen(); boolean isSidebarOpacLinkVisible(); boolean getSidebarTocPageNumbersVisible(); int getSidebarTocLengthBeforeCut(); int getSidebarTocInitialCollapseLevel(); int getSidebarTocCollapseLengthThreshold(); int getSidebarTocLowestLevelToCollapseForLength(); boolean isSidebarTocTreeView(); boolean isTocTreeView(String docStructType); List<String> getAllDrillDownFields(); List<String> getDrillDownFields(); List<String> getHierarchicalDrillDownFields(); int getInitialDrillDownElementNumber(String field); String getSortOrder(String field); List<String> getPriorityValuesForDrillDownField(String field); String getLabelFieldForDrillDownField(String facetField); @SuppressWarnings("static-method") List<String> getRangeFacetFields(); boolean isSortingEnabled(); String getDefaultSortField(); List<String> getSortFields(); List<String> getStaticSortFields(); String getUrnResolverUrl(); int getUnconditionalImageAccessMaxWidth(); boolean isFullAccessForLocalhost(); boolean isGeneratePdfInTaskManager(); boolean isPdfApiDisabled(); boolean isTitlePdfEnabled(); boolean isTocPdfEnabled(); boolean isMetadataPdfEnabled(); boolean isPagePdfEnabled(); boolean isDocHierarchyPdfEnabled(); boolean isTitleEpubEnabled(); boolean isTocEpubEnabled(); boolean isMetadataEpubEnabled(); String getDownloadFolder(String type); int getRssFeedItems(); String getRssTitle(); String getRssDescription(); String getRssCopyrightText(); String getRulesetFilePath(); String getDefaultCollection(); int getThumbnailsWidth(); int getThumbnailsHeight(); int getThumbnailsCompression(); String getAnchorThumbnailMode(); int getMultivolumeThumbnailWidth(); int getMultivolumeThumbnailHeight(); boolean getDisplayBreadcrumbs(); boolean getDisplayMetadataPageLinkBlock(); boolean isAddDublinCoreMetaTags(); boolean isAddHighwirePressMetaTags(); int getMetadataParamNumber(); boolean useTiles(); boolean useTilesFullscreen(); boolean useTiles(PageType view, ImageType image); int getFooterHeight(); int getFullscreenFooterHeight(); int getFooterHeight(PageType view, ImageType image); String getImageViewType(); String getZoomFullscreenViewType(); String getZoomImageViewType(PageType view, ImageType image); boolean useOpenSeadragon(); List<String> getImageViewZoomScales(); List<String> getImageViewZoomScales(String view); List<String> getImageViewZoomScales(PageType view, ImageType image); Map<Integer, List<Integer>> getTileSizes(); Map<Integer, List<Integer>> getTileSizes(PageType view, ImageType image); SubnodeConfiguration getZoomImageViewConfig(PageType pageType, ImageType imageType); int getBreadcrumbsClipping(); boolean isDisplayTopstructLabel(); boolean getDisplayStructType(); int getSearchHitMetadataValueNumber(); int getSearchHitMetadataValueLength(); List<String> getWatermarkTextConfiguration(); String getWatermarkFormat(); boolean isOriginalContentDownload(); String getStopwordsFilePath(); String getPageType(PageType type); String getDocstructTargetPageType(String docstruct); String getPageTypeExitView(PageType type); int getFulltextPercentageWarningThreshold(); boolean isUseViewerLocaleAsRecordLanguage(); String getFeedbackEmailAddress(); boolean isBookmarksEnabled(); boolean isForceJpegConversion(); int getPageLoaderThreshold(); boolean isPreventProxyCaching(); boolean isSolrCompressionEnabled(); boolean isSolrBackwardsCompatible(); boolean isUserCommentsEnabled(); String getUserCommentsConditionalQuery(); List<String> getUserCommentsNotificationEmailAddresses(); String getViewerHome(); List<String> getWatermarkIdField(); String getSubthemeMainTheme(); String getSubthemeDiscriminatorField(); int getTagCloudSampleSize(String fieldName); List<StringPair> getTocVolumeSortFieldsForTemplate(String template); String getTocVolumeGroupFieldForTemplate(String template); boolean getDisplayTitleBreadcrumbs(); boolean isDisplayTitlePURL(); int getTitleBreadcrumbsMaxTitleLength(); boolean getIncludeAnchorInTitleBreadcrumbs(); boolean isDisplaySearchRssLinks(); boolean showThumbnailsInToc(); String getStartYearForTimeline(); String getEndYearForTimeline(); String getTimelineHits(); boolean isPiwikTrackingEnabled(); String getPiwikBaseURL(); String getPiwikSiteID(); boolean isSearchSavingEnabled(); boolean isBoostTopLevelDocstructs(); boolean isGroupDuplicateHits(); List<String> getRecordGroupIdentifierFields(); List<String> getAncestorIdentifierFields(); boolean isTocListSiblingRecords(); List<SearchFilter> getSearchFilters(); List<Map<String, String>> getWebApiFields(); String getDbPersistenceUnit(); boolean useCustomNavBar(); String getCmsTemplateFolder(); String getCmsMediaFolder(); String getTempMediaFolder(); List<String> getCmsClassifications(); int getCmsMediaDisplayWidth(); int getCmsMediaDisplayHeight(); boolean isTranskribusEnabled(); String getTranskribusUserName(); String getTranskribusPassword(); String getTranskribusDefaultCollection(); String getTranskribusRestApiUrl(); List<String> getTranskribusAllowedDocumentTypes(); int getTocIndentation(); boolean isPageBrowseEnabled(); List<Integer> getPageBrowseSteps(); String getTaskManagerServiceUrl(); String getTaskManagerRestUrl(); String getReCaptchaSiteKey(); boolean isUseReCaptcha(); boolean isSearchInItemEnabled(); String getDefaultBrowseIcon(String field); boolean isSearchExcelExportEnabled(); List<String> getSearchExcelExportFields(); int getExcelDownloadTimeout(); boolean isDisplayEmptyTocInSidebar(); boolean isDoublePageModeEnabled(); List<String> getRestrictedImageUrls(); List<String> getIIIFLicenses(); List<String> getIIIFMetadataFields(); List<String> getIIIFEventFields(); String getIIIFMetadataLabel(String field); int getIIIFDiscoveryAvtivitiesPerPage(); List<String> getIIIFLogo(); String getIIIFNavDateField(); List<String> getIIIFAttribution(); List<String> getIIIFDescriptionFields(); String getSitelinksField(); String getSitelinksFilterQuery(); List<String> getConfiguredCollections(); String getWebApiToken(); boolean isAllowRedirectCollectionToWork(); String getTwitterUserName(); float getLimitImageHeightUpperRatioThreshold(); float getLimitImageHeightLowerRatioThreshold(); boolean isLimitImageHeight(); boolean isAddCORSHeader(); String getCORSHeaderValue(); boolean isDiscloseImageContentLocation(); String getAccessConditionDisplayField(); String getCopyrightDisplayField(); boolean isDisplayCopyrightInfo(); boolean isDisplaySocialMediaShareLinks(); boolean isDisplayAnchorLabelInTitleBar(String template); String getAnchorLabelInTitleBarPrefix(String template); String getAnchorLabelInTitleBarSuffix(String template); String getMapBoxToken(); GeoMapMarker getGeoMapMarker(String name); List<String> getGeoMapMarkerFields(); List<GeoMapMarker> getGeoMapMarkers(); static GeoMapMarker readGeoMapMarker(HierarchicalConfiguration config); List<LicenseDescription> getLicenseDescriptions(); }
@Test public void getDescription_shouldReturnCorrectValue() throws Exception { Assert.assertEquals("Goobi viewer TEST desc", DataManager.getInstance().getConfiguration().getDescription()); }
public String getDescription() { return getLocalString("viewer.description", "Goobi viewer"); }
Configuration extends AbstractConfiguration { public String getDescription() { return getLocalString("viewer.description", "Goobi viewer"); } }
Configuration extends AbstractConfiguration { public String getDescription() { return getLocalString("viewer.description", "Goobi viewer"); } Configuration(String configFilePath); }
Configuration extends AbstractConfiguration { public String getDescription() { return getLocalString("viewer.description", "Goobi viewer"); } Configuration(String configFilePath); Set<String> getStopwords(); boolean reloadingRequired(); String getConfigLocalPath(); String getLocalRessourceBundleFile(); int getViewerThumbnailsPerPage(); int getViewerMaxImageWidth(); int getViewerMaxImageHeight(); int getViewerMaxImageScale(); boolean isRememberImageZoom(); boolean isRememberImageRotation(); String getDfgViewerUrl(); String getConnectorVersionUrl(); List<Metadata> getTitleBarMetadata(); List<Metadata> getSearchHitMetadataForTemplate(String template); List<Metadata> getMainMetadataForTemplate(String template); List<Metadata> getSidebarMetadataForTemplate(String template); List<String> getNormdataFieldsForTemplate(String template); List<Metadata> getTocLabelConfiguration(String template); int getTocAnchorGroupElementsPerPage(); boolean isDisplaySidebarBrowsingTerms(); boolean isDisplaySidebarRssFeed(); boolean isDisplayWidgetUsage(); Metadata getWidgetUsageLicenceTextMetadata(); boolean isDisplaySidebarUsageWidgetLinkToJpegImage(); boolean isDisplaySidebarUsageWidgetLinkToMasterImage(); String getWidgetUsageMaxJpegSize(); String getWidgetUsageMaxMasterImageSize(); List<String> getCalendarDocStructTypes(); boolean isBrowsingMenuEnabled(); int getBrowsingMenuHitsPerPage(); List<BrowsingMenuFieldConfig> getBrowsingMenuFields(); String getBrowsingMenuSortingIgnoreLeadingChars(); String getDocstrctWhitelistFilterQuery(); String getCollectionSplittingChar(String field); List<DcSortingList> getCollectionSorting(String field); List<String> getCollectionBlacklist(String field); String getCollectionDefaultSortField(String field, String name); int getCollectionDisplayNumberOfVolumesLevel(String field); int getCollectionDisplayDepthForSearch(String field); String getCollectionHierarchyField(); boolean isAddCollectionHierarchyToBreadcrumbs(String field); String getSolrUrl(); String getContentServerWrapperUrl(); String getDownloadUrl(); String getRestApiUrl(); String getIIIFApiUrl(); boolean isUseIIIFApiUrlForCmsMediaUrls(); String getContentServerRealUrl(); String getMetsUrl(); String getMarcUrl(); String getDcUrl(); String getEseUrl(); List<Integer> getSearchHitsPerPageValues(); int getSearchHitsPerPageDefaultValue(); int getFulltextFragmentLength(); boolean isAdvancedSearchEnabled(); int getAdvancedSearchDefaultItemNumber(); List<AdvancedSearchFieldConfiguration> getAdvancedSearchFields(); boolean isAggregateHits(); boolean isDisplayAdditionalMetadataEnabled(); List<String> getDisplayAdditionalMetadataIgnoreFields(); List<String> getDisplayAdditionalMetadataTranslateFields(); boolean isAdvancedSearchFieldHierarchical(String field); boolean isAdvancedSearchFieldRange(String field); boolean isAdvancedSearchFieldUntokenizeForPhraseSearch(String field); String getAdvancedSearchFieldSeparatorLabel(String field); boolean isTimelineSearchEnabled(); boolean isCalendarSearchEnabled(); String getStaticQuerySuffix(); String getPreviousVersionIdentifierField(); String getNextVersionIdentifierField(); String getVersionLabelField(); String getIndexedMetsFolder(); String getIndexedLidoFolder(); String getIndexedDenkxwebFolder(); String getIndexedDublinCoreFolder(); String getPageSelectionFormat(); String getMediaFolder(); String getPdfFolder(); String getVocabulariesFolder(); String getOrigContentFolder(); String getCmsTextFolder(); String getAltoFolder(); String getAbbyyFolder(); String getFulltextFolder(); String getTeiFolder(); String getCmdiFolder(); String getWcFolder(); String getAnnotationFolder(); String getHotfolder(); @SuppressWarnings("static-method") String getTempFolder(); boolean isUrnDoRedirect(); boolean isUserRegistrationEnabled(); List<SecurityQuestion> getSecurityQuestions(); boolean isShowOpenIdConnect(); List<IAuthenticationProvider> getAuthenticationProviders(); String getSmtpServer(); String getSmtpUser(); String getSmtpPassword(); String getSmtpSenderAddress(); String getSmtpSenderName(); String getSmtpSecurity(); String getAnonymousUserEmailAddress(); boolean isDisplayCollectionBrowsing(); boolean isDisplayUserNavigation(); boolean isDisplayTagCloudNavigation(); boolean isDisplayStatistics(); boolean isDisplayTimeMatrix(); boolean isDisplayCrowdsourcingModuleLinks(); String getTheme(); String getThemeRootPath(); String getName(); String getDescription(); boolean isDisplayTagCloudStartpage(); boolean isDisplaySearchResultNavigation(); boolean isFoldout(String sidebarElement); boolean isSidebarPageViewLinkVisible(); boolean isSidebarCalendarViewLinkVisible(); boolean isSidebarTocViewLinkVisible(); boolean isSidebarThumbsViewLinkVisible(); boolean isSidebarMetadataViewLinkVisible(); boolean isShowSidebarEventMetadata(); boolean isShowRecordLabelIfNoOtherViews(); boolean isSidebarFulltextLinkVisible(); boolean isSidebarTocWidgetVisible(); boolean isSidebarTocWidgetVisibleInFullscreen(); boolean isSidebarOpacLinkVisible(); boolean getSidebarTocPageNumbersVisible(); int getSidebarTocLengthBeforeCut(); int getSidebarTocInitialCollapseLevel(); int getSidebarTocCollapseLengthThreshold(); int getSidebarTocLowestLevelToCollapseForLength(); boolean isSidebarTocTreeView(); boolean isTocTreeView(String docStructType); List<String> getAllDrillDownFields(); List<String> getDrillDownFields(); List<String> getHierarchicalDrillDownFields(); int getInitialDrillDownElementNumber(String field); String getSortOrder(String field); List<String> getPriorityValuesForDrillDownField(String field); String getLabelFieldForDrillDownField(String facetField); @SuppressWarnings("static-method") List<String> getRangeFacetFields(); boolean isSortingEnabled(); String getDefaultSortField(); List<String> getSortFields(); List<String> getStaticSortFields(); String getUrnResolverUrl(); int getUnconditionalImageAccessMaxWidth(); boolean isFullAccessForLocalhost(); boolean isGeneratePdfInTaskManager(); boolean isPdfApiDisabled(); boolean isTitlePdfEnabled(); boolean isTocPdfEnabled(); boolean isMetadataPdfEnabled(); boolean isPagePdfEnabled(); boolean isDocHierarchyPdfEnabled(); boolean isTitleEpubEnabled(); boolean isTocEpubEnabled(); boolean isMetadataEpubEnabled(); String getDownloadFolder(String type); int getRssFeedItems(); String getRssTitle(); String getRssDescription(); String getRssCopyrightText(); String getRulesetFilePath(); String getDefaultCollection(); int getThumbnailsWidth(); int getThumbnailsHeight(); int getThumbnailsCompression(); String getAnchorThumbnailMode(); int getMultivolumeThumbnailWidth(); int getMultivolumeThumbnailHeight(); boolean getDisplayBreadcrumbs(); boolean getDisplayMetadataPageLinkBlock(); boolean isAddDublinCoreMetaTags(); boolean isAddHighwirePressMetaTags(); int getMetadataParamNumber(); boolean useTiles(); boolean useTilesFullscreen(); boolean useTiles(PageType view, ImageType image); int getFooterHeight(); int getFullscreenFooterHeight(); int getFooterHeight(PageType view, ImageType image); String getImageViewType(); String getZoomFullscreenViewType(); String getZoomImageViewType(PageType view, ImageType image); boolean useOpenSeadragon(); List<String> getImageViewZoomScales(); List<String> getImageViewZoomScales(String view); List<String> getImageViewZoomScales(PageType view, ImageType image); Map<Integer, List<Integer>> getTileSizes(); Map<Integer, List<Integer>> getTileSizes(PageType view, ImageType image); SubnodeConfiguration getZoomImageViewConfig(PageType pageType, ImageType imageType); int getBreadcrumbsClipping(); boolean isDisplayTopstructLabel(); boolean getDisplayStructType(); int getSearchHitMetadataValueNumber(); int getSearchHitMetadataValueLength(); List<String> getWatermarkTextConfiguration(); String getWatermarkFormat(); boolean isOriginalContentDownload(); String getStopwordsFilePath(); String getPageType(PageType type); String getDocstructTargetPageType(String docstruct); String getPageTypeExitView(PageType type); int getFulltextPercentageWarningThreshold(); boolean isUseViewerLocaleAsRecordLanguage(); String getFeedbackEmailAddress(); boolean isBookmarksEnabled(); boolean isForceJpegConversion(); int getPageLoaderThreshold(); boolean isPreventProxyCaching(); boolean isSolrCompressionEnabled(); boolean isSolrBackwardsCompatible(); boolean isUserCommentsEnabled(); String getUserCommentsConditionalQuery(); List<String> getUserCommentsNotificationEmailAddresses(); String getViewerHome(); List<String> getWatermarkIdField(); String getSubthemeMainTheme(); String getSubthemeDiscriminatorField(); int getTagCloudSampleSize(String fieldName); List<StringPair> getTocVolumeSortFieldsForTemplate(String template); String getTocVolumeGroupFieldForTemplate(String template); boolean getDisplayTitleBreadcrumbs(); boolean isDisplayTitlePURL(); int getTitleBreadcrumbsMaxTitleLength(); boolean getIncludeAnchorInTitleBreadcrumbs(); boolean isDisplaySearchRssLinks(); boolean showThumbnailsInToc(); String getStartYearForTimeline(); String getEndYearForTimeline(); String getTimelineHits(); boolean isPiwikTrackingEnabled(); String getPiwikBaseURL(); String getPiwikSiteID(); boolean isSearchSavingEnabled(); boolean isBoostTopLevelDocstructs(); boolean isGroupDuplicateHits(); List<String> getRecordGroupIdentifierFields(); List<String> getAncestorIdentifierFields(); boolean isTocListSiblingRecords(); List<SearchFilter> getSearchFilters(); List<Map<String, String>> getWebApiFields(); String getDbPersistenceUnit(); boolean useCustomNavBar(); String getCmsTemplateFolder(); String getCmsMediaFolder(); String getTempMediaFolder(); List<String> getCmsClassifications(); int getCmsMediaDisplayWidth(); int getCmsMediaDisplayHeight(); boolean isTranskribusEnabled(); String getTranskribusUserName(); String getTranskribusPassword(); String getTranskribusDefaultCollection(); String getTranskribusRestApiUrl(); List<String> getTranskribusAllowedDocumentTypes(); int getTocIndentation(); boolean isPageBrowseEnabled(); List<Integer> getPageBrowseSteps(); String getTaskManagerServiceUrl(); String getTaskManagerRestUrl(); String getReCaptchaSiteKey(); boolean isUseReCaptcha(); boolean isSearchInItemEnabled(); String getDefaultBrowseIcon(String field); boolean isSearchExcelExportEnabled(); List<String> getSearchExcelExportFields(); int getExcelDownloadTimeout(); boolean isDisplayEmptyTocInSidebar(); boolean isDoublePageModeEnabled(); List<String> getRestrictedImageUrls(); List<String> getIIIFLicenses(); List<String> getIIIFMetadataFields(); List<String> getIIIFEventFields(); String getIIIFMetadataLabel(String field); int getIIIFDiscoveryAvtivitiesPerPage(); List<String> getIIIFLogo(); String getIIIFNavDateField(); List<String> getIIIFAttribution(); List<String> getIIIFDescriptionFields(); String getSitelinksField(); String getSitelinksFilterQuery(); List<String> getConfiguredCollections(); String getWebApiToken(); boolean isAllowRedirectCollectionToWork(); String getTwitterUserName(); float getLimitImageHeightUpperRatioThreshold(); float getLimitImageHeightLowerRatioThreshold(); boolean isLimitImageHeight(); boolean isAddCORSHeader(); String getCORSHeaderValue(); boolean isDiscloseImageContentLocation(); String getAccessConditionDisplayField(); String getCopyrightDisplayField(); boolean isDisplayCopyrightInfo(); boolean isDisplaySocialMediaShareLinks(); boolean isDisplayAnchorLabelInTitleBar(String template); String getAnchorLabelInTitleBarPrefix(String template); String getAnchorLabelInTitleBarSuffix(String template); String getMapBoxToken(); GeoMapMarker getGeoMapMarker(String name); List<String> getGeoMapMarkerFields(); List<GeoMapMarker> getGeoMapMarkers(); static GeoMapMarker readGeoMapMarker(HierarchicalConfiguration config); List<LicenseDescription> getLicenseDescriptions(); }
Configuration extends AbstractConfiguration { public String getDescription() { return getLocalString("viewer.description", "Goobi viewer"); } Configuration(String configFilePath); Set<String> getStopwords(); boolean reloadingRequired(); String getConfigLocalPath(); String getLocalRessourceBundleFile(); int getViewerThumbnailsPerPage(); int getViewerMaxImageWidth(); int getViewerMaxImageHeight(); int getViewerMaxImageScale(); boolean isRememberImageZoom(); boolean isRememberImageRotation(); String getDfgViewerUrl(); String getConnectorVersionUrl(); List<Metadata> getTitleBarMetadata(); List<Metadata> getSearchHitMetadataForTemplate(String template); List<Metadata> getMainMetadataForTemplate(String template); List<Metadata> getSidebarMetadataForTemplate(String template); List<String> getNormdataFieldsForTemplate(String template); List<Metadata> getTocLabelConfiguration(String template); int getTocAnchorGroupElementsPerPage(); boolean isDisplaySidebarBrowsingTerms(); boolean isDisplaySidebarRssFeed(); boolean isDisplayWidgetUsage(); Metadata getWidgetUsageLicenceTextMetadata(); boolean isDisplaySidebarUsageWidgetLinkToJpegImage(); boolean isDisplaySidebarUsageWidgetLinkToMasterImage(); String getWidgetUsageMaxJpegSize(); String getWidgetUsageMaxMasterImageSize(); List<String> getCalendarDocStructTypes(); boolean isBrowsingMenuEnabled(); int getBrowsingMenuHitsPerPage(); List<BrowsingMenuFieldConfig> getBrowsingMenuFields(); String getBrowsingMenuSortingIgnoreLeadingChars(); String getDocstrctWhitelistFilterQuery(); String getCollectionSplittingChar(String field); List<DcSortingList> getCollectionSorting(String field); List<String> getCollectionBlacklist(String field); String getCollectionDefaultSortField(String field, String name); int getCollectionDisplayNumberOfVolumesLevel(String field); int getCollectionDisplayDepthForSearch(String field); String getCollectionHierarchyField(); boolean isAddCollectionHierarchyToBreadcrumbs(String field); String getSolrUrl(); String getContentServerWrapperUrl(); String getDownloadUrl(); String getRestApiUrl(); String getIIIFApiUrl(); boolean isUseIIIFApiUrlForCmsMediaUrls(); String getContentServerRealUrl(); String getMetsUrl(); String getMarcUrl(); String getDcUrl(); String getEseUrl(); List<Integer> getSearchHitsPerPageValues(); int getSearchHitsPerPageDefaultValue(); int getFulltextFragmentLength(); boolean isAdvancedSearchEnabled(); int getAdvancedSearchDefaultItemNumber(); List<AdvancedSearchFieldConfiguration> getAdvancedSearchFields(); boolean isAggregateHits(); boolean isDisplayAdditionalMetadataEnabled(); List<String> getDisplayAdditionalMetadataIgnoreFields(); List<String> getDisplayAdditionalMetadataTranslateFields(); boolean isAdvancedSearchFieldHierarchical(String field); boolean isAdvancedSearchFieldRange(String field); boolean isAdvancedSearchFieldUntokenizeForPhraseSearch(String field); String getAdvancedSearchFieldSeparatorLabel(String field); boolean isTimelineSearchEnabled(); boolean isCalendarSearchEnabled(); String getStaticQuerySuffix(); String getPreviousVersionIdentifierField(); String getNextVersionIdentifierField(); String getVersionLabelField(); String getIndexedMetsFolder(); String getIndexedLidoFolder(); String getIndexedDenkxwebFolder(); String getIndexedDublinCoreFolder(); String getPageSelectionFormat(); String getMediaFolder(); String getPdfFolder(); String getVocabulariesFolder(); String getOrigContentFolder(); String getCmsTextFolder(); String getAltoFolder(); String getAbbyyFolder(); String getFulltextFolder(); String getTeiFolder(); String getCmdiFolder(); String getWcFolder(); String getAnnotationFolder(); String getHotfolder(); @SuppressWarnings("static-method") String getTempFolder(); boolean isUrnDoRedirect(); boolean isUserRegistrationEnabled(); List<SecurityQuestion> getSecurityQuestions(); boolean isShowOpenIdConnect(); List<IAuthenticationProvider> getAuthenticationProviders(); String getSmtpServer(); String getSmtpUser(); String getSmtpPassword(); String getSmtpSenderAddress(); String getSmtpSenderName(); String getSmtpSecurity(); String getAnonymousUserEmailAddress(); boolean isDisplayCollectionBrowsing(); boolean isDisplayUserNavigation(); boolean isDisplayTagCloudNavigation(); boolean isDisplayStatistics(); boolean isDisplayTimeMatrix(); boolean isDisplayCrowdsourcingModuleLinks(); String getTheme(); String getThemeRootPath(); String getName(); String getDescription(); boolean isDisplayTagCloudStartpage(); boolean isDisplaySearchResultNavigation(); boolean isFoldout(String sidebarElement); boolean isSidebarPageViewLinkVisible(); boolean isSidebarCalendarViewLinkVisible(); boolean isSidebarTocViewLinkVisible(); boolean isSidebarThumbsViewLinkVisible(); boolean isSidebarMetadataViewLinkVisible(); boolean isShowSidebarEventMetadata(); boolean isShowRecordLabelIfNoOtherViews(); boolean isSidebarFulltextLinkVisible(); boolean isSidebarTocWidgetVisible(); boolean isSidebarTocWidgetVisibleInFullscreen(); boolean isSidebarOpacLinkVisible(); boolean getSidebarTocPageNumbersVisible(); int getSidebarTocLengthBeforeCut(); int getSidebarTocInitialCollapseLevel(); int getSidebarTocCollapseLengthThreshold(); int getSidebarTocLowestLevelToCollapseForLength(); boolean isSidebarTocTreeView(); boolean isTocTreeView(String docStructType); List<String> getAllDrillDownFields(); List<String> getDrillDownFields(); List<String> getHierarchicalDrillDownFields(); int getInitialDrillDownElementNumber(String field); String getSortOrder(String field); List<String> getPriorityValuesForDrillDownField(String field); String getLabelFieldForDrillDownField(String facetField); @SuppressWarnings("static-method") List<String> getRangeFacetFields(); boolean isSortingEnabled(); String getDefaultSortField(); List<String> getSortFields(); List<String> getStaticSortFields(); String getUrnResolverUrl(); int getUnconditionalImageAccessMaxWidth(); boolean isFullAccessForLocalhost(); boolean isGeneratePdfInTaskManager(); boolean isPdfApiDisabled(); boolean isTitlePdfEnabled(); boolean isTocPdfEnabled(); boolean isMetadataPdfEnabled(); boolean isPagePdfEnabled(); boolean isDocHierarchyPdfEnabled(); boolean isTitleEpubEnabled(); boolean isTocEpubEnabled(); boolean isMetadataEpubEnabled(); String getDownloadFolder(String type); int getRssFeedItems(); String getRssTitle(); String getRssDescription(); String getRssCopyrightText(); String getRulesetFilePath(); String getDefaultCollection(); int getThumbnailsWidth(); int getThumbnailsHeight(); int getThumbnailsCompression(); String getAnchorThumbnailMode(); int getMultivolumeThumbnailWidth(); int getMultivolumeThumbnailHeight(); boolean getDisplayBreadcrumbs(); boolean getDisplayMetadataPageLinkBlock(); boolean isAddDublinCoreMetaTags(); boolean isAddHighwirePressMetaTags(); int getMetadataParamNumber(); boolean useTiles(); boolean useTilesFullscreen(); boolean useTiles(PageType view, ImageType image); int getFooterHeight(); int getFullscreenFooterHeight(); int getFooterHeight(PageType view, ImageType image); String getImageViewType(); String getZoomFullscreenViewType(); String getZoomImageViewType(PageType view, ImageType image); boolean useOpenSeadragon(); List<String> getImageViewZoomScales(); List<String> getImageViewZoomScales(String view); List<String> getImageViewZoomScales(PageType view, ImageType image); Map<Integer, List<Integer>> getTileSizes(); Map<Integer, List<Integer>> getTileSizes(PageType view, ImageType image); SubnodeConfiguration getZoomImageViewConfig(PageType pageType, ImageType imageType); int getBreadcrumbsClipping(); boolean isDisplayTopstructLabel(); boolean getDisplayStructType(); int getSearchHitMetadataValueNumber(); int getSearchHitMetadataValueLength(); List<String> getWatermarkTextConfiguration(); String getWatermarkFormat(); boolean isOriginalContentDownload(); String getStopwordsFilePath(); String getPageType(PageType type); String getDocstructTargetPageType(String docstruct); String getPageTypeExitView(PageType type); int getFulltextPercentageWarningThreshold(); boolean isUseViewerLocaleAsRecordLanguage(); String getFeedbackEmailAddress(); boolean isBookmarksEnabled(); boolean isForceJpegConversion(); int getPageLoaderThreshold(); boolean isPreventProxyCaching(); boolean isSolrCompressionEnabled(); boolean isSolrBackwardsCompatible(); boolean isUserCommentsEnabled(); String getUserCommentsConditionalQuery(); List<String> getUserCommentsNotificationEmailAddresses(); String getViewerHome(); List<String> getWatermarkIdField(); String getSubthemeMainTheme(); String getSubthemeDiscriminatorField(); int getTagCloudSampleSize(String fieldName); List<StringPair> getTocVolumeSortFieldsForTemplate(String template); String getTocVolumeGroupFieldForTemplate(String template); boolean getDisplayTitleBreadcrumbs(); boolean isDisplayTitlePURL(); int getTitleBreadcrumbsMaxTitleLength(); boolean getIncludeAnchorInTitleBreadcrumbs(); boolean isDisplaySearchRssLinks(); boolean showThumbnailsInToc(); String getStartYearForTimeline(); String getEndYearForTimeline(); String getTimelineHits(); boolean isPiwikTrackingEnabled(); String getPiwikBaseURL(); String getPiwikSiteID(); boolean isSearchSavingEnabled(); boolean isBoostTopLevelDocstructs(); boolean isGroupDuplicateHits(); List<String> getRecordGroupIdentifierFields(); List<String> getAncestorIdentifierFields(); boolean isTocListSiblingRecords(); List<SearchFilter> getSearchFilters(); List<Map<String, String>> getWebApiFields(); String getDbPersistenceUnit(); boolean useCustomNavBar(); String getCmsTemplateFolder(); String getCmsMediaFolder(); String getTempMediaFolder(); List<String> getCmsClassifications(); int getCmsMediaDisplayWidth(); int getCmsMediaDisplayHeight(); boolean isTranskribusEnabled(); String getTranskribusUserName(); String getTranskribusPassword(); String getTranskribusDefaultCollection(); String getTranskribusRestApiUrl(); List<String> getTranskribusAllowedDocumentTypes(); int getTocIndentation(); boolean isPageBrowseEnabled(); List<Integer> getPageBrowseSteps(); String getTaskManagerServiceUrl(); String getTaskManagerRestUrl(); String getReCaptchaSiteKey(); boolean isUseReCaptcha(); boolean isSearchInItemEnabled(); String getDefaultBrowseIcon(String field); boolean isSearchExcelExportEnabled(); List<String> getSearchExcelExportFields(); int getExcelDownloadTimeout(); boolean isDisplayEmptyTocInSidebar(); boolean isDoublePageModeEnabled(); List<String> getRestrictedImageUrls(); List<String> getIIIFLicenses(); List<String> getIIIFMetadataFields(); List<String> getIIIFEventFields(); String getIIIFMetadataLabel(String field); int getIIIFDiscoveryAvtivitiesPerPage(); List<String> getIIIFLogo(); String getIIIFNavDateField(); List<String> getIIIFAttribution(); List<String> getIIIFDescriptionFields(); String getSitelinksField(); String getSitelinksFilterQuery(); List<String> getConfiguredCollections(); String getWebApiToken(); boolean isAllowRedirectCollectionToWork(); String getTwitterUserName(); float getLimitImageHeightUpperRatioThreshold(); float getLimitImageHeightLowerRatioThreshold(); boolean isLimitImageHeight(); boolean isAddCORSHeader(); String getCORSHeaderValue(); boolean isDiscloseImageContentLocation(); String getAccessConditionDisplayField(); String getCopyrightDisplayField(); boolean isDisplayCopyrightInfo(); boolean isDisplaySocialMediaShareLinks(); boolean isDisplayAnchorLabelInTitleBar(String template); String getAnchorLabelInTitleBarPrefix(String template); String getAnchorLabelInTitleBarSuffix(String template); String getMapBoxToken(); GeoMapMarker getGeoMapMarker(String name); List<String> getGeoMapMarkerFields(); List<GeoMapMarker> getGeoMapMarkers(); static GeoMapMarker readGeoMapMarker(HierarchicalConfiguration config); List<LicenseDescription> getLicenseDescriptions(); }
@Test public void getThumbnailsHeight_shouldReturnCorrectValue() throws Exception { Assert.assertEquals(11, DataManager.getInstance().getConfiguration().getThumbnailsHeight()); }
public int getThumbnailsHeight() { return getLocalInt("viewer.thumbnailsHeight", 120); }
Configuration extends AbstractConfiguration { public int getThumbnailsHeight() { return getLocalInt("viewer.thumbnailsHeight", 120); } }
Configuration extends AbstractConfiguration { public int getThumbnailsHeight() { return getLocalInt("viewer.thumbnailsHeight", 120); } Configuration(String configFilePath); }
Configuration extends AbstractConfiguration { public int getThumbnailsHeight() { return getLocalInt("viewer.thumbnailsHeight", 120); } Configuration(String configFilePath); Set<String> getStopwords(); boolean reloadingRequired(); String getConfigLocalPath(); String getLocalRessourceBundleFile(); int getViewerThumbnailsPerPage(); int getViewerMaxImageWidth(); int getViewerMaxImageHeight(); int getViewerMaxImageScale(); boolean isRememberImageZoom(); boolean isRememberImageRotation(); String getDfgViewerUrl(); String getConnectorVersionUrl(); List<Metadata> getTitleBarMetadata(); List<Metadata> getSearchHitMetadataForTemplate(String template); List<Metadata> getMainMetadataForTemplate(String template); List<Metadata> getSidebarMetadataForTemplate(String template); List<String> getNormdataFieldsForTemplate(String template); List<Metadata> getTocLabelConfiguration(String template); int getTocAnchorGroupElementsPerPage(); boolean isDisplaySidebarBrowsingTerms(); boolean isDisplaySidebarRssFeed(); boolean isDisplayWidgetUsage(); Metadata getWidgetUsageLicenceTextMetadata(); boolean isDisplaySidebarUsageWidgetLinkToJpegImage(); boolean isDisplaySidebarUsageWidgetLinkToMasterImage(); String getWidgetUsageMaxJpegSize(); String getWidgetUsageMaxMasterImageSize(); List<String> getCalendarDocStructTypes(); boolean isBrowsingMenuEnabled(); int getBrowsingMenuHitsPerPage(); List<BrowsingMenuFieldConfig> getBrowsingMenuFields(); String getBrowsingMenuSortingIgnoreLeadingChars(); String getDocstrctWhitelistFilterQuery(); String getCollectionSplittingChar(String field); List<DcSortingList> getCollectionSorting(String field); List<String> getCollectionBlacklist(String field); String getCollectionDefaultSortField(String field, String name); int getCollectionDisplayNumberOfVolumesLevel(String field); int getCollectionDisplayDepthForSearch(String field); String getCollectionHierarchyField(); boolean isAddCollectionHierarchyToBreadcrumbs(String field); String getSolrUrl(); String getContentServerWrapperUrl(); String getDownloadUrl(); String getRestApiUrl(); String getIIIFApiUrl(); boolean isUseIIIFApiUrlForCmsMediaUrls(); String getContentServerRealUrl(); String getMetsUrl(); String getMarcUrl(); String getDcUrl(); String getEseUrl(); List<Integer> getSearchHitsPerPageValues(); int getSearchHitsPerPageDefaultValue(); int getFulltextFragmentLength(); boolean isAdvancedSearchEnabled(); int getAdvancedSearchDefaultItemNumber(); List<AdvancedSearchFieldConfiguration> getAdvancedSearchFields(); boolean isAggregateHits(); boolean isDisplayAdditionalMetadataEnabled(); List<String> getDisplayAdditionalMetadataIgnoreFields(); List<String> getDisplayAdditionalMetadataTranslateFields(); boolean isAdvancedSearchFieldHierarchical(String field); boolean isAdvancedSearchFieldRange(String field); boolean isAdvancedSearchFieldUntokenizeForPhraseSearch(String field); String getAdvancedSearchFieldSeparatorLabel(String field); boolean isTimelineSearchEnabled(); boolean isCalendarSearchEnabled(); String getStaticQuerySuffix(); String getPreviousVersionIdentifierField(); String getNextVersionIdentifierField(); String getVersionLabelField(); String getIndexedMetsFolder(); String getIndexedLidoFolder(); String getIndexedDenkxwebFolder(); String getIndexedDublinCoreFolder(); String getPageSelectionFormat(); String getMediaFolder(); String getPdfFolder(); String getVocabulariesFolder(); String getOrigContentFolder(); String getCmsTextFolder(); String getAltoFolder(); String getAbbyyFolder(); String getFulltextFolder(); String getTeiFolder(); String getCmdiFolder(); String getWcFolder(); String getAnnotationFolder(); String getHotfolder(); @SuppressWarnings("static-method") String getTempFolder(); boolean isUrnDoRedirect(); boolean isUserRegistrationEnabled(); List<SecurityQuestion> getSecurityQuestions(); boolean isShowOpenIdConnect(); List<IAuthenticationProvider> getAuthenticationProviders(); String getSmtpServer(); String getSmtpUser(); String getSmtpPassword(); String getSmtpSenderAddress(); String getSmtpSenderName(); String getSmtpSecurity(); String getAnonymousUserEmailAddress(); boolean isDisplayCollectionBrowsing(); boolean isDisplayUserNavigation(); boolean isDisplayTagCloudNavigation(); boolean isDisplayStatistics(); boolean isDisplayTimeMatrix(); boolean isDisplayCrowdsourcingModuleLinks(); String getTheme(); String getThemeRootPath(); String getName(); String getDescription(); boolean isDisplayTagCloudStartpage(); boolean isDisplaySearchResultNavigation(); boolean isFoldout(String sidebarElement); boolean isSidebarPageViewLinkVisible(); boolean isSidebarCalendarViewLinkVisible(); boolean isSidebarTocViewLinkVisible(); boolean isSidebarThumbsViewLinkVisible(); boolean isSidebarMetadataViewLinkVisible(); boolean isShowSidebarEventMetadata(); boolean isShowRecordLabelIfNoOtherViews(); boolean isSidebarFulltextLinkVisible(); boolean isSidebarTocWidgetVisible(); boolean isSidebarTocWidgetVisibleInFullscreen(); boolean isSidebarOpacLinkVisible(); boolean getSidebarTocPageNumbersVisible(); int getSidebarTocLengthBeforeCut(); int getSidebarTocInitialCollapseLevel(); int getSidebarTocCollapseLengthThreshold(); int getSidebarTocLowestLevelToCollapseForLength(); boolean isSidebarTocTreeView(); boolean isTocTreeView(String docStructType); List<String> getAllDrillDownFields(); List<String> getDrillDownFields(); List<String> getHierarchicalDrillDownFields(); int getInitialDrillDownElementNumber(String field); String getSortOrder(String field); List<String> getPriorityValuesForDrillDownField(String field); String getLabelFieldForDrillDownField(String facetField); @SuppressWarnings("static-method") List<String> getRangeFacetFields(); boolean isSortingEnabled(); String getDefaultSortField(); List<String> getSortFields(); List<String> getStaticSortFields(); String getUrnResolverUrl(); int getUnconditionalImageAccessMaxWidth(); boolean isFullAccessForLocalhost(); boolean isGeneratePdfInTaskManager(); boolean isPdfApiDisabled(); boolean isTitlePdfEnabled(); boolean isTocPdfEnabled(); boolean isMetadataPdfEnabled(); boolean isPagePdfEnabled(); boolean isDocHierarchyPdfEnabled(); boolean isTitleEpubEnabled(); boolean isTocEpubEnabled(); boolean isMetadataEpubEnabled(); String getDownloadFolder(String type); int getRssFeedItems(); String getRssTitle(); String getRssDescription(); String getRssCopyrightText(); String getRulesetFilePath(); String getDefaultCollection(); int getThumbnailsWidth(); int getThumbnailsHeight(); int getThumbnailsCompression(); String getAnchorThumbnailMode(); int getMultivolumeThumbnailWidth(); int getMultivolumeThumbnailHeight(); boolean getDisplayBreadcrumbs(); boolean getDisplayMetadataPageLinkBlock(); boolean isAddDublinCoreMetaTags(); boolean isAddHighwirePressMetaTags(); int getMetadataParamNumber(); boolean useTiles(); boolean useTilesFullscreen(); boolean useTiles(PageType view, ImageType image); int getFooterHeight(); int getFullscreenFooterHeight(); int getFooterHeight(PageType view, ImageType image); String getImageViewType(); String getZoomFullscreenViewType(); String getZoomImageViewType(PageType view, ImageType image); boolean useOpenSeadragon(); List<String> getImageViewZoomScales(); List<String> getImageViewZoomScales(String view); List<String> getImageViewZoomScales(PageType view, ImageType image); Map<Integer, List<Integer>> getTileSizes(); Map<Integer, List<Integer>> getTileSizes(PageType view, ImageType image); SubnodeConfiguration getZoomImageViewConfig(PageType pageType, ImageType imageType); int getBreadcrumbsClipping(); boolean isDisplayTopstructLabel(); boolean getDisplayStructType(); int getSearchHitMetadataValueNumber(); int getSearchHitMetadataValueLength(); List<String> getWatermarkTextConfiguration(); String getWatermarkFormat(); boolean isOriginalContentDownload(); String getStopwordsFilePath(); String getPageType(PageType type); String getDocstructTargetPageType(String docstruct); String getPageTypeExitView(PageType type); int getFulltextPercentageWarningThreshold(); boolean isUseViewerLocaleAsRecordLanguage(); String getFeedbackEmailAddress(); boolean isBookmarksEnabled(); boolean isForceJpegConversion(); int getPageLoaderThreshold(); boolean isPreventProxyCaching(); boolean isSolrCompressionEnabled(); boolean isSolrBackwardsCompatible(); boolean isUserCommentsEnabled(); String getUserCommentsConditionalQuery(); List<String> getUserCommentsNotificationEmailAddresses(); String getViewerHome(); List<String> getWatermarkIdField(); String getSubthemeMainTheme(); String getSubthemeDiscriminatorField(); int getTagCloudSampleSize(String fieldName); List<StringPair> getTocVolumeSortFieldsForTemplate(String template); String getTocVolumeGroupFieldForTemplate(String template); boolean getDisplayTitleBreadcrumbs(); boolean isDisplayTitlePURL(); int getTitleBreadcrumbsMaxTitleLength(); boolean getIncludeAnchorInTitleBreadcrumbs(); boolean isDisplaySearchRssLinks(); boolean showThumbnailsInToc(); String getStartYearForTimeline(); String getEndYearForTimeline(); String getTimelineHits(); boolean isPiwikTrackingEnabled(); String getPiwikBaseURL(); String getPiwikSiteID(); boolean isSearchSavingEnabled(); boolean isBoostTopLevelDocstructs(); boolean isGroupDuplicateHits(); List<String> getRecordGroupIdentifierFields(); List<String> getAncestorIdentifierFields(); boolean isTocListSiblingRecords(); List<SearchFilter> getSearchFilters(); List<Map<String, String>> getWebApiFields(); String getDbPersistenceUnit(); boolean useCustomNavBar(); String getCmsTemplateFolder(); String getCmsMediaFolder(); String getTempMediaFolder(); List<String> getCmsClassifications(); int getCmsMediaDisplayWidth(); int getCmsMediaDisplayHeight(); boolean isTranskribusEnabled(); String getTranskribusUserName(); String getTranskribusPassword(); String getTranskribusDefaultCollection(); String getTranskribusRestApiUrl(); List<String> getTranskribusAllowedDocumentTypes(); int getTocIndentation(); boolean isPageBrowseEnabled(); List<Integer> getPageBrowseSteps(); String getTaskManagerServiceUrl(); String getTaskManagerRestUrl(); String getReCaptchaSiteKey(); boolean isUseReCaptcha(); boolean isSearchInItemEnabled(); String getDefaultBrowseIcon(String field); boolean isSearchExcelExportEnabled(); List<String> getSearchExcelExportFields(); int getExcelDownloadTimeout(); boolean isDisplayEmptyTocInSidebar(); boolean isDoublePageModeEnabled(); List<String> getRestrictedImageUrls(); List<String> getIIIFLicenses(); List<String> getIIIFMetadataFields(); List<String> getIIIFEventFields(); String getIIIFMetadataLabel(String field); int getIIIFDiscoveryAvtivitiesPerPage(); List<String> getIIIFLogo(); String getIIIFNavDateField(); List<String> getIIIFAttribution(); List<String> getIIIFDescriptionFields(); String getSitelinksField(); String getSitelinksFilterQuery(); List<String> getConfiguredCollections(); String getWebApiToken(); boolean isAllowRedirectCollectionToWork(); String getTwitterUserName(); float getLimitImageHeightUpperRatioThreshold(); float getLimitImageHeightLowerRatioThreshold(); boolean isLimitImageHeight(); boolean isAddCORSHeader(); String getCORSHeaderValue(); boolean isDiscloseImageContentLocation(); String getAccessConditionDisplayField(); String getCopyrightDisplayField(); boolean isDisplayCopyrightInfo(); boolean isDisplaySocialMediaShareLinks(); boolean isDisplayAnchorLabelInTitleBar(String template); String getAnchorLabelInTitleBarPrefix(String template); String getAnchorLabelInTitleBarSuffix(String template); String getMapBoxToken(); GeoMapMarker getGeoMapMarker(String name); List<String> getGeoMapMarkerFields(); List<GeoMapMarker> getGeoMapMarkers(); static GeoMapMarker readGeoMapMarker(HierarchicalConfiguration config); List<LicenseDescription> getLicenseDescriptions(); }
Configuration extends AbstractConfiguration { public int getThumbnailsHeight() { return getLocalInt("viewer.thumbnailsHeight", 120); } Configuration(String configFilePath); Set<String> getStopwords(); boolean reloadingRequired(); String getConfigLocalPath(); String getLocalRessourceBundleFile(); int getViewerThumbnailsPerPage(); int getViewerMaxImageWidth(); int getViewerMaxImageHeight(); int getViewerMaxImageScale(); boolean isRememberImageZoom(); boolean isRememberImageRotation(); String getDfgViewerUrl(); String getConnectorVersionUrl(); List<Metadata> getTitleBarMetadata(); List<Metadata> getSearchHitMetadataForTemplate(String template); List<Metadata> getMainMetadataForTemplate(String template); List<Metadata> getSidebarMetadataForTemplate(String template); List<String> getNormdataFieldsForTemplate(String template); List<Metadata> getTocLabelConfiguration(String template); int getTocAnchorGroupElementsPerPage(); boolean isDisplaySidebarBrowsingTerms(); boolean isDisplaySidebarRssFeed(); boolean isDisplayWidgetUsage(); Metadata getWidgetUsageLicenceTextMetadata(); boolean isDisplaySidebarUsageWidgetLinkToJpegImage(); boolean isDisplaySidebarUsageWidgetLinkToMasterImage(); String getWidgetUsageMaxJpegSize(); String getWidgetUsageMaxMasterImageSize(); List<String> getCalendarDocStructTypes(); boolean isBrowsingMenuEnabled(); int getBrowsingMenuHitsPerPage(); List<BrowsingMenuFieldConfig> getBrowsingMenuFields(); String getBrowsingMenuSortingIgnoreLeadingChars(); String getDocstrctWhitelistFilterQuery(); String getCollectionSplittingChar(String field); List<DcSortingList> getCollectionSorting(String field); List<String> getCollectionBlacklist(String field); String getCollectionDefaultSortField(String field, String name); int getCollectionDisplayNumberOfVolumesLevel(String field); int getCollectionDisplayDepthForSearch(String field); String getCollectionHierarchyField(); boolean isAddCollectionHierarchyToBreadcrumbs(String field); String getSolrUrl(); String getContentServerWrapperUrl(); String getDownloadUrl(); String getRestApiUrl(); String getIIIFApiUrl(); boolean isUseIIIFApiUrlForCmsMediaUrls(); String getContentServerRealUrl(); String getMetsUrl(); String getMarcUrl(); String getDcUrl(); String getEseUrl(); List<Integer> getSearchHitsPerPageValues(); int getSearchHitsPerPageDefaultValue(); int getFulltextFragmentLength(); boolean isAdvancedSearchEnabled(); int getAdvancedSearchDefaultItemNumber(); List<AdvancedSearchFieldConfiguration> getAdvancedSearchFields(); boolean isAggregateHits(); boolean isDisplayAdditionalMetadataEnabled(); List<String> getDisplayAdditionalMetadataIgnoreFields(); List<String> getDisplayAdditionalMetadataTranslateFields(); boolean isAdvancedSearchFieldHierarchical(String field); boolean isAdvancedSearchFieldRange(String field); boolean isAdvancedSearchFieldUntokenizeForPhraseSearch(String field); String getAdvancedSearchFieldSeparatorLabel(String field); boolean isTimelineSearchEnabled(); boolean isCalendarSearchEnabled(); String getStaticQuerySuffix(); String getPreviousVersionIdentifierField(); String getNextVersionIdentifierField(); String getVersionLabelField(); String getIndexedMetsFolder(); String getIndexedLidoFolder(); String getIndexedDenkxwebFolder(); String getIndexedDublinCoreFolder(); String getPageSelectionFormat(); String getMediaFolder(); String getPdfFolder(); String getVocabulariesFolder(); String getOrigContentFolder(); String getCmsTextFolder(); String getAltoFolder(); String getAbbyyFolder(); String getFulltextFolder(); String getTeiFolder(); String getCmdiFolder(); String getWcFolder(); String getAnnotationFolder(); String getHotfolder(); @SuppressWarnings("static-method") String getTempFolder(); boolean isUrnDoRedirect(); boolean isUserRegistrationEnabled(); List<SecurityQuestion> getSecurityQuestions(); boolean isShowOpenIdConnect(); List<IAuthenticationProvider> getAuthenticationProviders(); String getSmtpServer(); String getSmtpUser(); String getSmtpPassword(); String getSmtpSenderAddress(); String getSmtpSenderName(); String getSmtpSecurity(); String getAnonymousUserEmailAddress(); boolean isDisplayCollectionBrowsing(); boolean isDisplayUserNavigation(); boolean isDisplayTagCloudNavigation(); boolean isDisplayStatistics(); boolean isDisplayTimeMatrix(); boolean isDisplayCrowdsourcingModuleLinks(); String getTheme(); String getThemeRootPath(); String getName(); String getDescription(); boolean isDisplayTagCloudStartpage(); boolean isDisplaySearchResultNavigation(); boolean isFoldout(String sidebarElement); boolean isSidebarPageViewLinkVisible(); boolean isSidebarCalendarViewLinkVisible(); boolean isSidebarTocViewLinkVisible(); boolean isSidebarThumbsViewLinkVisible(); boolean isSidebarMetadataViewLinkVisible(); boolean isShowSidebarEventMetadata(); boolean isShowRecordLabelIfNoOtherViews(); boolean isSidebarFulltextLinkVisible(); boolean isSidebarTocWidgetVisible(); boolean isSidebarTocWidgetVisibleInFullscreen(); boolean isSidebarOpacLinkVisible(); boolean getSidebarTocPageNumbersVisible(); int getSidebarTocLengthBeforeCut(); int getSidebarTocInitialCollapseLevel(); int getSidebarTocCollapseLengthThreshold(); int getSidebarTocLowestLevelToCollapseForLength(); boolean isSidebarTocTreeView(); boolean isTocTreeView(String docStructType); List<String> getAllDrillDownFields(); List<String> getDrillDownFields(); List<String> getHierarchicalDrillDownFields(); int getInitialDrillDownElementNumber(String field); String getSortOrder(String field); List<String> getPriorityValuesForDrillDownField(String field); String getLabelFieldForDrillDownField(String facetField); @SuppressWarnings("static-method") List<String> getRangeFacetFields(); boolean isSortingEnabled(); String getDefaultSortField(); List<String> getSortFields(); List<String> getStaticSortFields(); String getUrnResolverUrl(); int getUnconditionalImageAccessMaxWidth(); boolean isFullAccessForLocalhost(); boolean isGeneratePdfInTaskManager(); boolean isPdfApiDisabled(); boolean isTitlePdfEnabled(); boolean isTocPdfEnabled(); boolean isMetadataPdfEnabled(); boolean isPagePdfEnabled(); boolean isDocHierarchyPdfEnabled(); boolean isTitleEpubEnabled(); boolean isTocEpubEnabled(); boolean isMetadataEpubEnabled(); String getDownloadFolder(String type); int getRssFeedItems(); String getRssTitle(); String getRssDescription(); String getRssCopyrightText(); String getRulesetFilePath(); String getDefaultCollection(); int getThumbnailsWidth(); int getThumbnailsHeight(); int getThumbnailsCompression(); String getAnchorThumbnailMode(); int getMultivolumeThumbnailWidth(); int getMultivolumeThumbnailHeight(); boolean getDisplayBreadcrumbs(); boolean getDisplayMetadataPageLinkBlock(); boolean isAddDublinCoreMetaTags(); boolean isAddHighwirePressMetaTags(); int getMetadataParamNumber(); boolean useTiles(); boolean useTilesFullscreen(); boolean useTiles(PageType view, ImageType image); int getFooterHeight(); int getFullscreenFooterHeight(); int getFooterHeight(PageType view, ImageType image); String getImageViewType(); String getZoomFullscreenViewType(); String getZoomImageViewType(PageType view, ImageType image); boolean useOpenSeadragon(); List<String> getImageViewZoomScales(); List<String> getImageViewZoomScales(String view); List<String> getImageViewZoomScales(PageType view, ImageType image); Map<Integer, List<Integer>> getTileSizes(); Map<Integer, List<Integer>> getTileSizes(PageType view, ImageType image); SubnodeConfiguration getZoomImageViewConfig(PageType pageType, ImageType imageType); int getBreadcrumbsClipping(); boolean isDisplayTopstructLabel(); boolean getDisplayStructType(); int getSearchHitMetadataValueNumber(); int getSearchHitMetadataValueLength(); List<String> getWatermarkTextConfiguration(); String getWatermarkFormat(); boolean isOriginalContentDownload(); String getStopwordsFilePath(); String getPageType(PageType type); String getDocstructTargetPageType(String docstruct); String getPageTypeExitView(PageType type); int getFulltextPercentageWarningThreshold(); boolean isUseViewerLocaleAsRecordLanguage(); String getFeedbackEmailAddress(); boolean isBookmarksEnabled(); boolean isForceJpegConversion(); int getPageLoaderThreshold(); boolean isPreventProxyCaching(); boolean isSolrCompressionEnabled(); boolean isSolrBackwardsCompatible(); boolean isUserCommentsEnabled(); String getUserCommentsConditionalQuery(); List<String> getUserCommentsNotificationEmailAddresses(); String getViewerHome(); List<String> getWatermarkIdField(); String getSubthemeMainTheme(); String getSubthemeDiscriminatorField(); int getTagCloudSampleSize(String fieldName); List<StringPair> getTocVolumeSortFieldsForTemplate(String template); String getTocVolumeGroupFieldForTemplate(String template); boolean getDisplayTitleBreadcrumbs(); boolean isDisplayTitlePURL(); int getTitleBreadcrumbsMaxTitleLength(); boolean getIncludeAnchorInTitleBreadcrumbs(); boolean isDisplaySearchRssLinks(); boolean showThumbnailsInToc(); String getStartYearForTimeline(); String getEndYearForTimeline(); String getTimelineHits(); boolean isPiwikTrackingEnabled(); String getPiwikBaseURL(); String getPiwikSiteID(); boolean isSearchSavingEnabled(); boolean isBoostTopLevelDocstructs(); boolean isGroupDuplicateHits(); List<String> getRecordGroupIdentifierFields(); List<String> getAncestorIdentifierFields(); boolean isTocListSiblingRecords(); List<SearchFilter> getSearchFilters(); List<Map<String, String>> getWebApiFields(); String getDbPersistenceUnit(); boolean useCustomNavBar(); String getCmsTemplateFolder(); String getCmsMediaFolder(); String getTempMediaFolder(); List<String> getCmsClassifications(); int getCmsMediaDisplayWidth(); int getCmsMediaDisplayHeight(); boolean isTranskribusEnabled(); String getTranskribusUserName(); String getTranskribusPassword(); String getTranskribusDefaultCollection(); String getTranskribusRestApiUrl(); List<String> getTranskribusAllowedDocumentTypes(); int getTocIndentation(); boolean isPageBrowseEnabled(); List<Integer> getPageBrowseSteps(); String getTaskManagerServiceUrl(); String getTaskManagerRestUrl(); String getReCaptchaSiteKey(); boolean isUseReCaptcha(); boolean isSearchInItemEnabled(); String getDefaultBrowseIcon(String field); boolean isSearchExcelExportEnabled(); List<String> getSearchExcelExportFields(); int getExcelDownloadTimeout(); boolean isDisplayEmptyTocInSidebar(); boolean isDoublePageModeEnabled(); List<String> getRestrictedImageUrls(); List<String> getIIIFLicenses(); List<String> getIIIFMetadataFields(); List<String> getIIIFEventFields(); String getIIIFMetadataLabel(String field); int getIIIFDiscoveryAvtivitiesPerPage(); List<String> getIIIFLogo(); String getIIIFNavDateField(); List<String> getIIIFAttribution(); List<String> getIIIFDescriptionFields(); String getSitelinksField(); String getSitelinksFilterQuery(); List<String> getConfiguredCollections(); String getWebApiToken(); boolean isAllowRedirectCollectionToWork(); String getTwitterUserName(); float getLimitImageHeightUpperRatioThreshold(); float getLimitImageHeightLowerRatioThreshold(); boolean isLimitImageHeight(); boolean isAddCORSHeader(); String getCORSHeaderValue(); boolean isDiscloseImageContentLocation(); String getAccessConditionDisplayField(); String getCopyrightDisplayField(); boolean isDisplayCopyrightInfo(); boolean isDisplaySocialMediaShareLinks(); boolean isDisplayAnchorLabelInTitleBar(String template); String getAnchorLabelInTitleBarPrefix(String template); String getAnchorLabelInTitleBarSuffix(String template); String getMapBoxToken(); GeoMapMarker getGeoMapMarker(String name); List<String> getGeoMapMarkerFields(); List<GeoMapMarker> getGeoMapMarkers(); static GeoMapMarker readGeoMapMarker(HierarchicalConfiguration config); List<LicenseDescription> getLicenseDescriptions(); }
@Test public void getThumbnailsWidth_shouldReturnCorrectValue() throws Exception { Assert.assertEquals(10, DataManager.getInstance().getConfiguration().getThumbnailsWidth()); }
public int getThumbnailsWidth() { return getLocalInt("viewer.thumbnailsWidth", 100); }
Configuration extends AbstractConfiguration { public int getThumbnailsWidth() { return getLocalInt("viewer.thumbnailsWidth", 100); } }
Configuration extends AbstractConfiguration { public int getThumbnailsWidth() { return getLocalInt("viewer.thumbnailsWidth", 100); } Configuration(String configFilePath); }
Configuration extends AbstractConfiguration { public int getThumbnailsWidth() { return getLocalInt("viewer.thumbnailsWidth", 100); } Configuration(String configFilePath); Set<String> getStopwords(); boolean reloadingRequired(); String getConfigLocalPath(); String getLocalRessourceBundleFile(); int getViewerThumbnailsPerPage(); int getViewerMaxImageWidth(); int getViewerMaxImageHeight(); int getViewerMaxImageScale(); boolean isRememberImageZoom(); boolean isRememberImageRotation(); String getDfgViewerUrl(); String getConnectorVersionUrl(); List<Metadata> getTitleBarMetadata(); List<Metadata> getSearchHitMetadataForTemplate(String template); List<Metadata> getMainMetadataForTemplate(String template); List<Metadata> getSidebarMetadataForTemplate(String template); List<String> getNormdataFieldsForTemplate(String template); List<Metadata> getTocLabelConfiguration(String template); int getTocAnchorGroupElementsPerPage(); boolean isDisplaySidebarBrowsingTerms(); boolean isDisplaySidebarRssFeed(); boolean isDisplayWidgetUsage(); Metadata getWidgetUsageLicenceTextMetadata(); boolean isDisplaySidebarUsageWidgetLinkToJpegImage(); boolean isDisplaySidebarUsageWidgetLinkToMasterImage(); String getWidgetUsageMaxJpegSize(); String getWidgetUsageMaxMasterImageSize(); List<String> getCalendarDocStructTypes(); boolean isBrowsingMenuEnabled(); int getBrowsingMenuHitsPerPage(); List<BrowsingMenuFieldConfig> getBrowsingMenuFields(); String getBrowsingMenuSortingIgnoreLeadingChars(); String getDocstrctWhitelistFilterQuery(); String getCollectionSplittingChar(String field); List<DcSortingList> getCollectionSorting(String field); List<String> getCollectionBlacklist(String field); String getCollectionDefaultSortField(String field, String name); int getCollectionDisplayNumberOfVolumesLevel(String field); int getCollectionDisplayDepthForSearch(String field); String getCollectionHierarchyField(); boolean isAddCollectionHierarchyToBreadcrumbs(String field); String getSolrUrl(); String getContentServerWrapperUrl(); String getDownloadUrl(); String getRestApiUrl(); String getIIIFApiUrl(); boolean isUseIIIFApiUrlForCmsMediaUrls(); String getContentServerRealUrl(); String getMetsUrl(); String getMarcUrl(); String getDcUrl(); String getEseUrl(); List<Integer> getSearchHitsPerPageValues(); int getSearchHitsPerPageDefaultValue(); int getFulltextFragmentLength(); boolean isAdvancedSearchEnabled(); int getAdvancedSearchDefaultItemNumber(); List<AdvancedSearchFieldConfiguration> getAdvancedSearchFields(); boolean isAggregateHits(); boolean isDisplayAdditionalMetadataEnabled(); List<String> getDisplayAdditionalMetadataIgnoreFields(); List<String> getDisplayAdditionalMetadataTranslateFields(); boolean isAdvancedSearchFieldHierarchical(String field); boolean isAdvancedSearchFieldRange(String field); boolean isAdvancedSearchFieldUntokenizeForPhraseSearch(String field); String getAdvancedSearchFieldSeparatorLabel(String field); boolean isTimelineSearchEnabled(); boolean isCalendarSearchEnabled(); String getStaticQuerySuffix(); String getPreviousVersionIdentifierField(); String getNextVersionIdentifierField(); String getVersionLabelField(); String getIndexedMetsFolder(); String getIndexedLidoFolder(); String getIndexedDenkxwebFolder(); String getIndexedDublinCoreFolder(); String getPageSelectionFormat(); String getMediaFolder(); String getPdfFolder(); String getVocabulariesFolder(); String getOrigContentFolder(); String getCmsTextFolder(); String getAltoFolder(); String getAbbyyFolder(); String getFulltextFolder(); String getTeiFolder(); String getCmdiFolder(); String getWcFolder(); String getAnnotationFolder(); String getHotfolder(); @SuppressWarnings("static-method") String getTempFolder(); boolean isUrnDoRedirect(); boolean isUserRegistrationEnabled(); List<SecurityQuestion> getSecurityQuestions(); boolean isShowOpenIdConnect(); List<IAuthenticationProvider> getAuthenticationProviders(); String getSmtpServer(); String getSmtpUser(); String getSmtpPassword(); String getSmtpSenderAddress(); String getSmtpSenderName(); String getSmtpSecurity(); String getAnonymousUserEmailAddress(); boolean isDisplayCollectionBrowsing(); boolean isDisplayUserNavigation(); boolean isDisplayTagCloudNavigation(); boolean isDisplayStatistics(); boolean isDisplayTimeMatrix(); boolean isDisplayCrowdsourcingModuleLinks(); String getTheme(); String getThemeRootPath(); String getName(); String getDescription(); boolean isDisplayTagCloudStartpage(); boolean isDisplaySearchResultNavigation(); boolean isFoldout(String sidebarElement); boolean isSidebarPageViewLinkVisible(); boolean isSidebarCalendarViewLinkVisible(); boolean isSidebarTocViewLinkVisible(); boolean isSidebarThumbsViewLinkVisible(); boolean isSidebarMetadataViewLinkVisible(); boolean isShowSidebarEventMetadata(); boolean isShowRecordLabelIfNoOtherViews(); boolean isSidebarFulltextLinkVisible(); boolean isSidebarTocWidgetVisible(); boolean isSidebarTocWidgetVisibleInFullscreen(); boolean isSidebarOpacLinkVisible(); boolean getSidebarTocPageNumbersVisible(); int getSidebarTocLengthBeforeCut(); int getSidebarTocInitialCollapseLevel(); int getSidebarTocCollapseLengthThreshold(); int getSidebarTocLowestLevelToCollapseForLength(); boolean isSidebarTocTreeView(); boolean isTocTreeView(String docStructType); List<String> getAllDrillDownFields(); List<String> getDrillDownFields(); List<String> getHierarchicalDrillDownFields(); int getInitialDrillDownElementNumber(String field); String getSortOrder(String field); List<String> getPriorityValuesForDrillDownField(String field); String getLabelFieldForDrillDownField(String facetField); @SuppressWarnings("static-method") List<String> getRangeFacetFields(); boolean isSortingEnabled(); String getDefaultSortField(); List<String> getSortFields(); List<String> getStaticSortFields(); String getUrnResolverUrl(); int getUnconditionalImageAccessMaxWidth(); boolean isFullAccessForLocalhost(); boolean isGeneratePdfInTaskManager(); boolean isPdfApiDisabled(); boolean isTitlePdfEnabled(); boolean isTocPdfEnabled(); boolean isMetadataPdfEnabled(); boolean isPagePdfEnabled(); boolean isDocHierarchyPdfEnabled(); boolean isTitleEpubEnabled(); boolean isTocEpubEnabled(); boolean isMetadataEpubEnabled(); String getDownloadFolder(String type); int getRssFeedItems(); String getRssTitle(); String getRssDescription(); String getRssCopyrightText(); String getRulesetFilePath(); String getDefaultCollection(); int getThumbnailsWidth(); int getThumbnailsHeight(); int getThumbnailsCompression(); String getAnchorThumbnailMode(); int getMultivolumeThumbnailWidth(); int getMultivolumeThumbnailHeight(); boolean getDisplayBreadcrumbs(); boolean getDisplayMetadataPageLinkBlock(); boolean isAddDublinCoreMetaTags(); boolean isAddHighwirePressMetaTags(); int getMetadataParamNumber(); boolean useTiles(); boolean useTilesFullscreen(); boolean useTiles(PageType view, ImageType image); int getFooterHeight(); int getFullscreenFooterHeight(); int getFooterHeight(PageType view, ImageType image); String getImageViewType(); String getZoomFullscreenViewType(); String getZoomImageViewType(PageType view, ImageType image); boolean useOpenSeadragon(); List<String> getImageViewZoomScales(); List<String> getImageViewZoomScales(String view); List<String> getImageViewZoomScales(PageType view, ImageType image); Map<Integer, List<Integer>> getTileSizes(); Map<Integer, List<Integer>> getTileSizes(PageType view, ImageType image); SubnodeConfiguration getZoomImageViewConfig(PageType pageType, ImageType imageType); int getBreadcrumbsClipping(); boolean isDisplayTopstructLabel(); boolean getDisplayStructType(); int getSearchHitMetadataValueNumber(); int getSearchHitMetadataValueLength(); List<String> getWatermarkTextConfiguration(); String getWatermarkFormat(); boolean isOriginalContentDownload(); String getStopwordsFilePath(); String getPageType(PageType type); String getDocstructTargetPageType(String docstruct); String getPageTypeExitView(PageType type); int getFulltextPercentageWarningThreshold(); boolean isUseViewerLocaleAsRecordLanguage(); String getFeedbackEmailAddress(); boolean isBookmarksEnabled(); boolean isForceJpegConversion(); int getPageLoaderThreshold(); boolean isPreventProxyCaching(); boolean isSolrCompressionEnabled(); boolean isSolrBackwardsCompatible(); boolean isUserCommentsEnabled(); String getUserCommentsConditionalQuery(); List<String> getUserCommentsNotificationEmailAddresses(); String getViewerHome(); List<String> getWatermarkIdField(); String getSubthemeMainTheme(); String getSubthemeDiscriminatorField(); int getTagCloudSampleSize(String fieldName); List<StringPair> getTocVolumeSortFieldsForTemplate(String template); String getTocVolumeGroupFieldForTemplate(String template); boolean getDisplayTitleBreadcrumbs(); boolean isDisplayTitlePURL(); int getTitleBreadcrumbsMaxTitleLength(); boolean getIncludeAnchorInTitleBreadcrumbs(); boolean isDisplaySearchRssLinks(); boolean showThumbnailsInToc(); String getStartYearForTimeline(); String getEndYearForTimeline(); String getTimelineHits(); boolean isPiwikTrackingEnabled(); String getPiwikBaseURL(); String getPiwikSiteID(); boolean isSearchSavingEnabled(); boolean isBoostTopLevelDocstructs(); boolean isGroupDuplicateHits(); List<String> getRecordGroupIdentifierFields(); List<String> getAncestorIdentifierFields(); boolean isTocListSiblingRecords(); List<SearchFilter> getSearchFilters(); List<Map<String, String>> getWebApiFields(); String getDbPersistenceUnit(); boolean useCustomNavBar(); String getCmsTemplateFolder(); String getCmsMediaFolder(); String getTempMediaFolder(); List<String> getCmsClassifications(); int getCmsMediaDisplayWidth(); int getCmsMediaDisplayHeight(); boolean isTranskribusEnabled(); String getTranskribusUserName(); String getTranskribusPassword(); String getTranskribusDefaultCollection(); String getTranskribusRestApiUrl(); List<String> getTranskribusAllowedDocumentTypes(); int getTocIndentation(); boolean isPageBrowseEnabled(); List<Integer> getPageBrowseSteps(); String getTaskManagerServiceUrl(); String getTaskManagerRestUrl(); String getReCaptchaSiteKey(); boolean isUseReCaptcha(); boolean isSearchInItemEnabled(); String getDefaultBrowseIcon(String field); boolean isSearchExcelExportEnabled(); List<String> getSearchExcelExportFields(); int getExcelDownloadTimeout(); boolean isDisplayEmptyTocInSidebar(); boolean isDoublePageModeEnabled(); List<String> getRestrictedImageUrls(); List<String> getIIIFLicenses(); List<String> getIIIFMetadataFields(); List<String> getIIIFEventFields(); String getIIIFMetadataLabel(String field); int getIIIFDiscoveryAvtivitiesPerPage(); List<String> getIIIFLogo(); String getIIIFNavDateField(); List<String> getIIIFAttribution(); List<String> getIIIFDescriptionFields(); String getSitelinksField(); String getSitelinksFilterQuery(); List<String> getConfiguredCollections(); String getWebApiToken(); boolean isAllowRedirectCollectionToWork(); String getTwitterUserName(); float getLimitImageHeightUpperRatioThreshold(); float getLimitImageHeightLowerRatioThreshold(); boolean isLimitImageHeight(); boolean isAddCORSHeader(); String getCORSHeaderValue(); boolean isDiscloseImageContentLocation(); String getAccessConditionDisplayField(); String getCopyrightDisplayField(); boolean isDisplayCopyrightInfo(); boolean isDisplaySocialMediaShareLinks(); boolean isDisplayAnchorLabelInTitleBar(String template); String getAnchorLabelInTitleBarPrefix(String template); String getAnchorLabelInTitleBarSuffix(String template); String getMapBoxToken(); GeoMapMarker getGeoMapMarker(String name); List<String> getGeoMapMarkerFields(); List<GeoMapMarker> getGeoMapMarkers(); static GeoMapMarker readGeoMapMarker(HierarchicalConfiguration config); List<LicenseDescription> getLicenseDescriptions(); }
Configuration extends AbstractConfiguration { public int getThumbnailsWidth() { return getLocalInt("viewer.thumbnailsWidth", 100); } Configuration(String configFilePath); Set<String> getStopwords(); boolean reloadingRequired(); String getConfigLocalPath(); String getLocalRessourceBundleFile(); int getViewerThumbnailsPerPage(); int getViewerMaxImageWidth(); int getViewerMaxImageHeight(); int getViewerMaxImageScale(); boolean isRememberImageZoom(); boolean isRememberImageRotation(); String getDfgViewerUrl(); String getConnectorVersionUrl(); List<Metadata> getTitleBarMetadata(); List<Metadata> getSearchHitMetadataForTemplate(String template); List<Metadata> getMainMetadataForTemplate(String template); List<Metadata> getSidebarMetadataForTemplate(String template); List<String> getNormdataFieldsForTemplate(String template); List<Metadata> getTocLabelConfiguration(String template); int getTocAnchorGroupElementsPerPage(); boolean isDisplaySidebarBrowsingTerms(); boolean isDisplaySidebarRssFeed(); boolean isDisplayWidgetUsage(); Metadata getWidgetUsageLicenceTextMetadata(); boolean isDisplaySidebarUsageWidgetLinkToJpegImage(); boolean isDisplaySidebarUsageWidgetLinkToMasterImage(); String getWidgetUsageMaxJpegSize(); String getWidgetUsageMaxMasterImageSize(); List<String> getCalendarDocStructTypes(); boolean isBrowsingMenuEnabled(); int getBrowsingMenuHitsPerPage(); List<BrowsingMenuFieldConfig> getBrowsingMenuFields(); String getBrowsingMenuSortingIgnoreLeadingChars(); String getDocstrctWhitelistFilterQuery(); String getCollectionSplittingChar(String field); List<DcSortingList> getCollectionSorting(String field); List<String> getCollectionBlacklist(String field); String getCollectionDefaultSortField(String field, String name); int getCollectionDisplayNumberOfVolumesLevel(String field); int getCollectionDisplayDepthForSearch(String field); String getCollectionHierarchyField(); boolean isAddCollectionHierarchyToBreadcrumbs(String field); String getSolrUrl(); String getContentServerWrapperUrl(); String getDownloadUrl(); String getRestApiUrl(); String getIIIFApiUrl(); boolean isUseIIIFApiUrlForCmsMediaUrls(); String getContentServerRealUrl(); String getMetsUrl(); String getMarcUrl(); String getDcUrl(); String getEseUrl(); List<Integer> getSearchHitsPerPageValues(); int getSearchHitsPerPageDefaultValue(); int getFulltextFragmentLength(); boolean isAdvancedSearchEnabled(); int getAdvancedSearchDefaultItemNumber(); List<AdvancedSearchFieldConfiguration> getAdvancedSearchFields(); boolean isAggregateHits(); boolean isDisplayAdditionalMetadataEnabled(); List<String> getDisplayAdditionalMetadataIgnoreFields(); List<String> getDisplayAdditionalMetadataTranslateFields(); boolean isAdvancedSearchFieldHierarchical(String field); boolean isAdvancedSearchFieldRange(String field); boolean isAdvancedSearchFieldUntokenizeForPhraseSearch(String field); String getAdvancedSearchFieldSeparatorLabel(String field); boolean isTimelineSearchEnabled(); boolean isCalendarSearchEnabled(); String getStaticQuerySuffix(); String getPreviousVersionIdentifierField(); String getNextVersionIdentifierField(); String getVersionLabelField(); String getIndexedMetsFolder(); String getIndexedLidoFolder(); String getIndexedDenkxwebFolder(); String getIndexedDublinCoreFolder(); String getPageSelectionFormat(); String getMediaFolder(); String getPdfFolder(); String getVocabulariesFolder(); String getOrigContentFolder(); String getCmsTextFolder(); String getAltoFolder(); String getAbbyyFolder(); String getFulltextFolder(); String getTeiFolder(); String getCmdiFolder(); String getWcFolder(); String getAnnotationFolder(); String getHotfolder(); @SuppressWarnings("static-method") String getTempFolder(); boolean isUrnDoRedirect(); boolean isUserRegistrationEnabled(); List<SecurityQuestion> getSecurityQuestions(); boolean isShowOpenIdConnect(); List<IAuthenticationProvider> getAuthenticationProviders(); String getSmtpServer(); String getSmtpUser(); String getSmtpPassword(); String getSmtpSenderAddress(); String getSmtpSenderName(); String getSmtpSecurity(); String getAnonymousUserEmailAddress(); boolean isDisplayCollectionBrowsing(); boolean isDisplayUserNavigation(); boolean isDisplayTagCloudNavigation(); boolean isDisplayStatistics(); boolean isDisplayTimeMatrix(); boolean isDisplayCrowdsourcingModuleLinks(); String getTheme(); String getThemeRootPath(); String getName(); String getDescription(); boolean isDisplayTagCloudStartpage(); boolean isDisplaySearchResultNavigation(); boolean isFoldout(String sidebarElement); boolean isSidebarPageViewLinkVisible(); boolean isSidebarCalendarViewLinkVisible(); boolean isSidebarTocViewLinkVisible(); boolean isSidebarThumbsViewLinkVisible(); boolean isSidebarMetadataViewLinkVisible(); boolean isShowSidebarEventMetadata(); boolean isShowRecordLabelIfNoOtherViews(); boolean isSidebarFulltextLinkVisible(); boolean isSidebarTocWidgetVisible(); boolean isSidebarTocWidgetVisibleInFullscreen(); boolean isSidebarOpacLinkVisible(); boolean getSidebarTocPageNumbersVisible(); int getSidebarTocLengthBeforeCut(); int getSidebarTocInitialCollapseLevel(); int getSidebarTocCollapseLengthThreshold(); int getSidebarTocLowestLevelToCollapseForLength(); boolean isSidebarTocTreeView(); boolean isTocTreeView(String docStructType); List<String> getAllDrillDownFields(); List<String> getDrillDownFields(); List<String> getHierarchicalDrillDownFields(); int getInitialDrillDownElementNumber(String field); String getSortOrder(String field); List<String> getPriorityValuesForDrillDownField(String field); String getLabelFieldForDrillDownField(String facetField); @SuppressWarnings("static-method") List<String> getRangeFacetFields(); boolean isSortingEnabled(); String getDefaultSortField(); List<String> getSortFields(); List<String> getStaticSortFields(); String getUrnResolverUrl(); int getUnconditionalImageAccessMaxWidth(); boolean isFullAccessForLocalhost(); boolean isGeneratePdfInTaskManager(); boolean isPdfApiDisabled(); boolean isTitlePdfEnabled(); boolean isTocPdfEnabled(); boolean isMetadataPdfEnabled(); boolean isPagePdfEnabled(); boolean isDocHierarchyPdfEnabled(); boolean isTitleEpubEnabled(); boolean isTocEpubEnabled(); boolean isMetadataEpubEnabled(); String getDownloadFolder(String type); int getRssFeedItems(); String getRssTitle(); String getRssDescription(); String getRssCopyrightText(); String getRulesetFilePath(); String getDefaultCollection(); int getThumbnailsWidth(); int getThumbnailsHeight(); int getThumbnailsCompression(); String getAnchorThumbnailMode(); int getMultivolumeThumbnailWidth(); int getMultivolumeThumbnailHeight(); boolean getDisplayBreadcrumbs(); boolean getDisplayMetadataPageLinkBlock(); boolean isAddDublinCoreMetaTags(); boolean isAddHighwirePressMetaTags(); int getMetadataParamNumber(); boolean useTiles(); boolean useTilesFullscreen(); boolean useTiles(PageType view, ImageType image); int getFooterHeight(); int getFullscreenFooterHeight(); int getFooterHeight(PageType view, ImageType image); String getImageViewType(); String getZoomFullscreenViewType(); String getZoomImageViewType(PageType view, ImageType image); boolean useOpenSeadragon(); List<String> getImageViewZoomScales(); List<String> getImageViewZoomScales(String view); List<String> getImageViewZoomScales(PageType view, ImageType image); Map<Integer, List<Integer>> getTileSizes(); Map<Integer, List<Integer>> getTileSizes(PageType view, ImageType image); SubnodeConfiguration getZoomImageViewConfig(PageType pageType, ImageType imageType); int getBreadcrumbsClipping(); boolean isDisplayTopstructLabel(); boolean getDisplayStructType(); int getSearchHitMetadataValueNumber(); int getSearchHitMetadataValueLength(); List<String> getWatermarkTextConfiguration(); String getWatermarkFormat(); boolean isOriginalContentDownload(); String getStopwordsFilePath(); String getPageType(PageType type); String getDocstructTargetPageType(String docstruct); String getPageTypeExitView(PageType type); int getFulltextPercentageWarningThreshold(); boolean isUseViewerLocaleAsRecordLanguage(); String getFeedbackEmailAddress(); boolean isBookmarksEnabled(); boolean isForceJpegConversion(); int getPageLoaderThreshold(); boolean isPreventProxyCaching(); boolean isSolrCompressionEnabled(); boolean isSolrBackwardsCompatible(); boolean isUserCommentsEnabled(); String getUserCommentsConditionalQuery(); List<String> getUserCommentsNotificationEmailAddresses(); String getViewerHome(); List<String> getWatermarkIdField(); String getSubthemeMainTheme(); String getSubthemeDiscriminatorField(); int getTagCloudSampleSize(String fieldName); List<StringPair> getTocVolumeSortFieldsForTemplate(String template); String getTocVolumeGroupFieldForTemplate(String template); boolean getDisplayTitleBreadcrumbs(); boolean isDisplayTitlePURL(); int getTitleBreadcrumbsMaxTitleLength(); boolean getIncludeAnchorInTitleBreadcrumbs(); boolean isDisplaySearchRssLinks(); boolean showThumbnailsInToc(); String getStartYearForTimeline(); String getEndYearForTimeline(); String getTimelineHits(); boolean isPiwikTrackingEnabled(); String getPiwikBaseURL(); String getPiwikSiteID(); boolean isSearchSavingEnabled(); boolean isBoostTopLevelDocstructs(); boolean isGroupDuplicateHits(); List<String> getRecordGroupIdentifierFields(); List<String> getAncestorIdentifierFields(); boolean isTocListSiblingRecords(); List<SearchFilter> getSearchFilters(); List<Map<String, String>> getWebApiFields(); String getDbPersistenceUnit(); boolean useCustomNavBar(); String getCmsTemplateFolder(); String getCmsMediaFolder(); String getTempMediaFolder(); List<String> getCmsClassifications(); int getCmsMediaDisplayWidth(); int getCmsMediaDisplayHeight(); boolean isTranskribusEnabled(); String getTranskribusUserName(); String getTranskribusPassword(); String getTranskribusDefaultCollection(); String getTranskribusRestApiUrl(); List<String> getTranskribusAllowedDocumentTypes(); int getTocIndentation(); boolean isPageBrowseEnabled(); List<Integer> getPageBrowseSteps(); String getTaskManagerServiceUrl(); String getTaskManagerRestUrl(); String getReCaptchaSiteKey(); boolean isUseReCaptcha(); boolean isSearchInItemEnabled(); String getDefaultBrowseIcon(String field); boolean isSearchExcelExportEnabled(); List<String> getSearchExcelExportFields(); int getExcelDownloadTimeout(); boolean isDisplayEmptyTocInSidebar(); boolean isDoublePageModeEnabled(); List<String> getRestrictedImageUrls(); List<String> getIIIFLicenses(); List<String> getIIIFMetadataFields(); List<String> getIIIFEventFields(); String getIIIFMetadataLabel(String field); int getIIIFDiscoveryAvtivitiesPerPage(); List<String> getIIIFLogo(); String getIIIFNavDateField(); List<String> getIIIFAttribution(); List<String> getIIIFDescriptionFields(); String getSitelinksField(); String getSitelinksFilterQuery(); List<String> getConfiguredCollections(); String getWebApiToken(); boolean isAllowRedirectCollectionToWork(); String getTwitterUserName(); float getLimitImageHeightUpperRatioThreshold(); float getLimitImageHeightLowerRatioThreshold(); boolean isLimitImageHeight(); boolean isAddCORSHeader(); String getCORSHeaderValue(); boolean isDiscloseImageContentLocation(); String getAccessConditionDisplayField(); String getCopyrightDisplayField(); boolean isDisplayCopyrightInfo(); boolean isDisplaySocialMediaShareLinks(); boolean isDisplayAnchorLabelInTitleBar(String template); String getAnchorLabelInTitleBarPrefix(String template); String getAnchorLabelInTitleBarSuffix(String template); String getMapBoxToken(); GeoMapMarker getGeoMapMarker(String name); List<String> getGeoMapMarkerFields(); List<GeoMapMarker> getGeoMapMarkers(); static GeoMapMarker readGeoMapMarker(HierarchicalConfiguration config); List<LicenseDescription> getLicenseDescriptions(); }
@Test public void getThumbnailsCompressionTest() throws Exception { Assert.assertEquals(30, DataManager.getInstance().getConfiguration().getThumbnailsCompression()); }
public int getThumbnailsCompression() { return getLocalInt("viewer.thumbnailsCompression", 85); }
Configuration extends AbstractConfiguration { public int getThumbnailsCompression() { return getLocalInt("viewer.thumbnailsCompression", 85); } }
Configuration extends AbstractConfiguration { public int getThumbnailsCompression() { return getLocalInt("viewer.thumbnailsCompression", 85); } Configuration(String configFilePath); }
Configuration extends AbstractConfiguration { public int getThumbnailsCompression() { return getLocalInt("viewer.thumbnailsCompression", 85); } Configuration(String configFilePath); Set<String> getStopwords(); boolean reloadingRequired(); String getConfigLocalPath(); String getLocalRessourceBundleFile(); int getViewerThumbnailsPerPage(); int getViewerMaxImageWidth(); int getViewerMaxImageHeight(); int getViewerMaxImageScale(); boolean isRememberImageZoom(); boolean isRememberImageRotation(); String getDfgViewerUrl(); String getConnectorVersionUrl(); List<Metadata> getTitleBarMetadata(); List<Metadata> getSearchHitMetadataForTemplate(String template); List<Metadata> getMainMetadataForTemplate(String template); List<Metadata> getSidebarMetadataForTemplate(String template); List<String> getNormdataFieldsForTemplate(String template); List<Metadata> getTocLabelConfiguration(String template); int getTocAnchorGroupElementsPerPage(); boolean isDisplaySidebarBrowsingTerms(); boolean isDisplaySidebarRssFeed(); boolean isDisplayWidgetUsage(); Metadata getWidgetUsageLicenceTextMetadata(); boolean isDisplaySidebarUsageWidgetLinkToJpegImage(); boolean isDisplaySidebarUsageWidgetLinkToMasterImage(); String getWidgetUsageMaxJpegSize(); String getWidgetUsageMaxMasterImageSize(); List<String> getCalendarDocStructTypes(); boolean isBrowsingMenuEnabled(); int getBrowsingMenuHitsPerPage(); List<BrowsingMenuFieldConfig> getBrowsingMenuFields(); String getBrowsingMenuSortingIgnoreLeadingChars(); String getDocstrctWhitelistFilterQuery(); String getCollectionSplittingChar(String field); List<DcSortingList> getCollectionSorting(String field); List<String> getCollectionBlacklist(String field); String getCollectionDefaultSortField(String field, String name); int getCollectionDisplayNumberOfVolumesLevel(String field); int getCollectionDisplayDepthForSearch(String field); String getCollectionHierarchyField(); boolean isAddCollectionHierarchyToBreadcrumbs(String field); String getSolrUrl(); String getContentServerWrapperUrl(); String getDownloadUrl(); String getRestApiUrl(); String getIIIFApiUrl(); boolean isUseIIIFApiUrlForCmsMediaUrls(); String getContentServerRealUrl(); String getMetsUrl(); String getMarcUrl(); String getDcUrl(); String getEseUrl(); List<Integer> getSearchHitsPerPageValues(); int getSearchHitsPerPageDefaultValue(); int getFulltextFragmentLength(); boolean isAdvancedSearchEnabled(); int getAdvancedSearchDefaultItemNumber(); List<AdvancedSearchFieldConfiguration> getAdvancedSearchFields(); boolean isAggregateHits(); boolean isDisplayAdditionalMetadataEnabled(); List<String> getDisplayAdditionalMetadataIgnoreFields(); List<String> getDisplayAdditionalMetadataTranslateFields(); boolean isAdvancedSearchFieldHierarchical(String field); boolean isAdvancedSearchFieldRange(String field); boolean isAdvancedSearchFieldUntokenizeForPhraseSearch(String field); String getAdvancedSearchFieldSeparatorLabel(String field); boolean isTimelineSearchEnabled(); boolean isCalendarSearchEnabled(); String getStaticQuerySuffix(); String getPreviousVersionIdentifierField(); String getNextVersionIdentifierField(); String getVersionLabelField(); String getIndexedMetsFolder(); String getIndexedLidoFolder(); String getIndexedDenkxwebFolder(); String getIndexedDublinCoreFolder(); String getPageSelectionFormat(); String getMediaFolder(); String getPdfFolder(); String getVocabulariesFolder(); String getOrigContentFolder(); String getCmsTextFolder(); String getAltoFolder(); String getAbbyyFolder(); String getFulltextFolder(); String getTeiFolder(); String getCmdiFolder(); String getWcFolder(); String getAnnotationFolder(); String getHotfolder(); @SuppressWarnings("static-method") String getTempFolder(); boolean isUrnDoRedirect(); boolean isUserRegistrationEnabled(); List<SecurityQuestion> getSecurityQuestions(); boolean isShowOpenIdConnect(); List<IAuthenticationProvider> getAuthenticationProviders(); String getSmtpServer(); String getSmtpUser(); String getSmtpPassword(); String getSmtpSenderAddress(); String getSmtpSenderName(); String getSmtpSecurity(); String getAnonymousUserEmailAddress(); boolean isDisplayCollectionBrowsing(); boolean isDisplayUserNavigation(); boolean isDisplayTagCloudNavigation(); boolean isDisplayStatistics(); boolean isDisplayTimeMatrix(); boolean isDisplayCrowdsourcingModuleLinks(); String getTheme(); String getThemeRootPath(); String getName(); String getDescription(); boolean isDisplayTagCloudStartpage(); boolean isDisplaySearchResultNavigation(); boolean isFoldout(String sidebarElement); boolean isSidebarPageViewLinkVisible(); boolean isSidebarCalendarViewLinkVisible(); boolean isSidebarTocViewLinkVisible(); boolean isSidebarThumbsViewLinkVisible(); boolean isSidebarMetadataViewLinkVisible(); boolean isShowSidebarEventMetadata(); boolean isShowRecordLabelIfNoOtherViews(); boolean isSidebarFulltextLinkVisible(); boolean isSidebarTocWidgetVisible(); boolean isSidebarTocWidgetVisibleInFullscreen(); boolean isSidebarOpacLinkVisible(); boolean getSidebarTocPageNumbersVisible(); int getSidebarTocLengthBeforeCut(); int getSidebarTocInitialCollapseLevel(); int getSidebarTocCollapseLengthThreshold(); int getSidebarTocLowestLevelToCollapseForLength(); boolean isSidebarTocTreeView(); boolean isTocTreeView(String docStructType); List<String> getAllDrillDownFields(); List<String> getDrillDownFields(); List<String> getHierarchicalDrillDownFields(); int getInitialDrillDownElementNumber(String field); String getSortOrder(String field); List<String> getPriorityValuesForDrillDownField(String field); String getLabelFieldForDrillDownField(String facetField); @SuppressWarnings("static-method") List<String> getRangeFacetFields(); boolean isSortingEnabled(); String getDefaultSortField(); List<String> getSortFields(); List<String> getStaticSortFields(); String getUrnResolverUrl(); int getUnconditionalImageAccessMaxWidth(); boolean isFullAccessForLocalhost(); boolean isGeneratePdfInTaskManager(); boolean isPdfApiDisabled(); boolean isTitlePdfEnabled(); boolean isTocPdfEnabled(); boolean isMetadataPdfEnabled(); boolean isPagePdfEnabled(); boolean isDocHierarchyPdfEnabled(); boolean isTitleEpubEnabled(); boolean isTocEpubEnabled(); boolean isMetadataEpubEnabled(); String getDownloadFolder(String type); int getRssFeedItems(); String getRssTitle(); String getRssDescription(); String getRssCopyrightText(); String getRulesetFilePath(); String getDefaultCollection(); int getThumbnailsWidth(); int getThumbnailsHeight(); int getThumbnailsCompression(); String getAnchorThumbnailMode(); int getMultivolumeThumbnailWidth(); int getMultivolumeThumbnailHeight(); boolean getDisplayBreadcrumbs(); boolean getDisplayMetadataPageLinkBlock(); boolean isAddDublinCoreMetaTags(); boolean isAddHighwirePressMetaTags(); int getMetadataParamNumber(); boolean useTiles(); boolean useTilesFullscreen(); boolean useTiles(PageType view, ImageType image); int getFooterHeight(); int getFullscreenFooterHeight(); int getFooterHeight(PageType view, ImageType image); String getImageViewType(); String getZoomFullscreenViewType(); String getZoomImageViewType(PageType view, ImageType image); boolean useOpenSeadragon(); List<String> getImageViewZoomScales(); List<String> getImageViewZoomScales(String view); List<String> getImageViewZoomScales(PageType view, ImageType image); Map<Integer, List<Integer>> getTileSizes(); Map<Integer, List<Integer>> getTileSizes(PageType view, ImageType image); SubnodeConfiguration getZoomImageViewConfig(PageType pageType, ImageType imageType); int getBreadcrumbsClipping(); boolean isDisplayTopstructLabel(); boolean getDisplayStructType(); int getSearchHitMetadataValueNumber(); int getSearchHitMetadataValueLength(); List<String> getWatermarkTextConfiguration(); String getWatermarkFormat(); boolean isOriginalContentDownload(); String getStopwordsFilePath(); String getPageType(PageType type); String getDocstructTargetPageType(String docstruct); String getPageTypeExitView(PageType type); int getFulltextPercentageWarningThreshold(); boolean isUseViewerLocaleAsRecordLanguage(); String getFeedbackEmailAddress(); boolean isBookmarksEnabled(); boolean isForceJpegConversion(); int getPageLoaderThreshold(); boolean isPreventProxyCaching(); boolean isSolrCompressionEnabled(); boolean isSolrBackwardsCompatible(); boolean isUserCommentsEnabled(); String getUserCommentsConditionalQuery(); List<String> getUserCommentsNotificationEmailAddresses(); String getViewerHome(); List<String> getWatermarkIdField(); String getSubthemeMainTheme(); String getSubthemeDiscriminatorField(); int getTagCloudSampleSize(String fieldName); List<StringPair> getTocVolumeSortFieldsForTemplate(String template); String getTocVolumeGroupFieldForTemplate(String template); boolean getDisplayTitleBreadcrumbs(); boolean isDisplayTitlePURL(); int getTitleBreadcrumbsMaxTitleLength(); boolean getIncludeAnchorInTitleBreadcrumbs(); boolean isDisplaySearchRssLinks(); boolean showThumbnailsInToc(); String getStartYearForTimeline(); String getEndYearForTimeline(); String getTimelineHits(); boolean isPiwikTrackingEnabled(); String getPiwikBaseURL(); String getPiwikSiteID(); boolean isSearchSavingEnabled(); boolean isBoostTopLevelDocstructs(); boolean isGroupDuplicateHits(); List<String> getRecordGroupIdentifierFields(); List<String> getAncestorIdentifierFields(); boolean isTocListSiblingRecords(); List<SearchFilter> getSearchFilters(); List<Map<String, String>> getWebApiFields(); String getDbPersistenceUnit(); boolean useCustomNavBar(); String getCmsTemplateFolder(); String getCmsMediaFolder(); String getTempMediaFolder(); List<String> getCmsClassifications(); int getCmsMediaDisplayWidth(); int getCmsMediaDisplayHeight(); boolean isTranskribusEnabled(); String getTranskribusUserName(); String getTranskribusPassword(); String getTranskribusDefaultCollection(); String getTranskribusRestApiUrl(); List<String> getTranskribusAllowedDocumentTypes(); int getTocIndentation(); boolean isPageBrowseEnabled(); List<Integer> getPageBrowseSteps(); String getTaskManagerServiceUrl(); String getTaskManagerRestUrl(); String getReCaptchaSiteKey(); boolean isUseReCaptcha(); boolean isSearchInItemEnabled(); String getDefaultBrowseIcon(String field); boolean isSearchExcelExportEnabled(); List<String> getSearchExcelExportFields(); int getExcelDownloadTimeout(); boolean isDisplayEmptyTocInSidebar(); boolean isDoublePageModeEnabled(); List<String> getRestrictedImageUrls(); List<String> getIIIFLicenses(); List<String> getIIIFMetadataFields(); List<String> getIIIFEventFields(); String getIIIFMetadataLabel(String field); int getIIIFDiscoveryAvtivitiesPerPage(); List<String> getIIIFLogo(); String getIIIFNavDateField(); List<String> getIIIFAttribution(); List<String> getIIIFDescriptionFields(); String getSitelinksField(); String getSitelinksFilterQuery(); List<String> getConfiguredCollections(); String getWebApiToken(); boolean isAllowRedirectCollectionToWork(); String getTwitterUserName(); float getLimitImageHeightUpperRatioThreshold(); float getLimitImageHeightLowerRatioThreshold(); boolean isLimitImageHeight(); boolean isAddCORSHeader(); String getCORSHeaderValue(); boolean isDiscloseImageContentLocation(); String getAccessConditionDisplayField(); String getCopyrightDisplayField(); boolean isDisplayCopyrightInfo(); boolean isDisplaySocialMediaShareLinks(); boolean isDisplayAnchorLabelInTitleBar(String template); String getAnchorLabelInTitleBarPrefix(String template); String getAnchorLabelInTitleBarSuffix(String template); String getMapBoxToken(); GeoMapMarker getGeoMapMarker(String name); List<String> getGeoMapMarkerFields(); List<GeoMapMarker> getGeoMapMarkers(); static GeoMapMarker readGeoMapMarker(HierarchicalConfiguration config); List<LicenseDescription> getLicenseDescriptions(); }
Configuration extends AbstractConfiguration { public int getThumbnailsCompression() { return getLocalInt("viewer.thumbnailsCompression", 85); } Configuration(String configFilePath); Set<String> getStopwords(); boolean reloadingRequired(); String getConfigLocalPath(); String getLocalRessourceBundleFile(); int getViewerThumbnailsPerPage(); int getViewerMaxImageWidth(); int getViewerMaxImageHeight(); int getViewerMaxImageScale(); boolean isRememberImageZoom(); boolean isRememberImageRotation(); String getDfgViewerUrl(); String getConnectorVersionUrl(); List<Metadata> getTitleBarMetadata(); List<Metadata> getSearchHitMetadataForTemplate(String template); List<Metadata> getMainMetadataForTemplate(String template); List<Metadata> getSidebarMetadataForTemplate(String template); List<String> getNormdataFieldsForTemplate(String template); List<Metadata> getTocLabelConfiguration(String template); int getTocAnchorGroupElementsPerPage(); boolean isDisplaySidebarBrowsingTerms(); boolean isDisplaySidebarRssFeed(); boolean isDisplayWidgetUsage(); Metadata getWidgetUsageLicenceTextMetadata(); boolean isDisplaySidebarUsageWidgetLinkToJpegImage(); boolean isDisplaySidebarUsageWidgetLinkToMasterImage(); String getWidgetUsageMaxJpegSize(); String getWidgetUsageMaxMasterImageSize(); List<String> getCalendarDocStructTypes(); boolean isBrowsingMenuEnabled(); int getBrowsingMenuHitsPerPage(); List<BrowsingMenuFieldConfig> getBrowsingMenuFields(); String getBrowsingMenuSortingIgnoreLeadingChars(); String getDocstrctWhitelistFilterQuery(); String getCollectionSplittingChar(String field); List<DcSortingList> getCollectionSorting(String field); List<String> getCollectionBlacklist(String field); String getCollectionDefaultSortField(String field, String name); int getCollectionDisplayNumberOfVolumesLevel(String field); int getCollectionDisplayDepthForSearch(String field); String getCollectionHierarchyField(); boolean isAddCollectionHierarchyToBreadcrumbs(String field); String getSolrUrl(); String getContentServerWrapperUrl(); String getDownloadUrl(); String getRestApiUrl(); String getIIIFApiUrl(); boolean isUseIIIFApiUrlForCmsMediaUrls(); String getContentServerRealUrl(); String getMetsUrl(); String getMarcUrl(); String getDcUrl(); String getEseUrl(); List<Integer> getSearchHitsPerPageValues(); int getSearchHitsPerPageDefaultValue(); int getFulltextFragmentLength(); boolean isAdvancedSearchEnabled(); int getAdvancedSearchDefaultItemNumber(); List<AdvancedSearchFieldConfiguration> getAdvancedSearchFields(); boolean isAggregateHits(); boolean isDisplayAdditionalMetadataEnabled(); List<String> getDisplayAdditionalMetadataIgnoreFields(); List<String> getDisplayAdditionalMetadataTranslateFields(); boolean isAdvancedSearchFieldHierarchical(String field); boolean isAdvancedSearchFieldRange(String field); boolean isAdvancedSearchFieldUntokenizeForPhraseSearch(String field); String getAdvancedSearchFieldSeparatorLabel(String field); boolean isTimelineSearchEnabled(); boolean isCalendarSearchEnabled(); String getStaticQuerySuffix(); String getPreviousVersionIdentifierField(); String getNextVersionIdentifierField(); String getVersionLabelField(); String getIndexedMetsFolder(); String getIndexedLidoFolder(); String getIndexedDenkxwebFolder(); String getIndexedDublinCoreFolder(); String getPageSelectionFormat(); String getMediaFolder(); String getPdfFolder(); String getVocabulariesFolder(); String getOrigContentFolder(); String getCmsTextFolder(); String getAltoFolder(); String getAbbyyFolder(); String getFulltextFolder(); String getTeiFolder(); String getCmdiFolder(); String getWcFolder(); String getAnnotationFolder(); String getHotfolder(); @SuppressWarnings("static-method") String getTempFolder(); boolean isUrnDoRedirect(); boolean isUserRegistrationEnabled(); List<SecurityQuestion> getSecurityQuestions(); boolean isShowOpenIdConnect(); List<IAuthenticationProvider> getAuthenticationProviders(); String getSmtpServer(); String getSmtpUser(); String getSmtpPassword(); String getSmtpSenderAddress(); String getSmtpSenderName(); String getSmtpSecurity(); String getAnonymousUserEmailAddress(); boolean isDisplayCollectionBrowsing(); boolean isDisplayUserNavigation(); boolean isDisplayTagCloudNavigation(); boolean isDisplayStatistics(); boolean isDisplayTimeMatrix(); boolean isDisplayCrowdsourcingModuleLinks(); String getTheme(); String getThemeRootPath(); String getName(); String getDescription(); boolean isDisplayTagCloudStartpage(); boolean isDisplaySearchResultNavigation(); boolean isFoldout(String sidebarElement); boolean isSidebarPageViewLinkVisible(); boolean isSidebarCalendarViewLinkVisible(); boolean isSidebarTocViewLinkVisible(); boolean isSidebarThumbsViewLinkVisible(); boolean isSidebarMetadataViewLinkVisible(); boolean isShowSidebarEventMetadata(); boolean isShowRecordLabelIfNoOtherViews(); boolean isSidebarFulltextLinkVisible(); boolean isSidebarTocWidgetVisible(); boolean isSidebarTocWidgetVisibleInFullscreen(); boolean isSidebarOpacLinkVisible(); boolean getSidebarTocPageNumbersVisible(); int getSidebarTocLengthBeforeCut(); int getSidebarTocInitialCollapseLevel(); int getSidebarTocCollapseLengthThreshold(); int getSidebarTocLowestLevelToCollapseForLength(); boolean isSidebarTocTreeView(); boolean isTocTreeView(String docStructType); List<String> getAllDrillDownFields(); List<String> getDrillDownFields(); List<String> getHierarchicalDrillDownFields(); int getInitialDrillDownElementNumber(String field); String getSortOrder(String field); List<String> getPriorityValuesForDrillDownField(String field); String getLabelFieldForDrillDownField(String facetField); @SuppressWarnings("static-method") List<String> getRangeFacetFields(); boolean isSortingEnabled(); String getDefaultSortField(); List<String> getSortFields(); List<String> getStaticSortFields(); String getUrnResolverUrl(); int getUnconditionalImageAccessMaxWidth(); boolean isFullAccessForLocalhost(); boolean isGeneratePdfInTaskManager(); boolean isPdfApiDisabled(); boolean isTitlePdfEnabled(); boolean isTocPdfEnabled(); boolean isMetadataPdfEnabled(); boolean isPagePdfEnabled(); boolean isDocHierarchyPdfEnabled(); boolean isTitleEpubEnabled(); boolean isTocEpubEnabled(); boolean isMetadataEpubEnabled(); String getDownloadFolder(String type); int getRssFeedItems(); String getRssTitle(); String getRssDescription(); String getRssCopyrightText(); String getRulesetFilePath(); String getDefaultCollection(); int getThumbnailsWidth(); int getThumbnailsHeight(); int getThumbnailsCompression(); String getAnchorThumbnailMode(); int getMultivolumeThumbnailWidth(); int getMultivolumeThumbnailHeight(); boolean getDisplayBreadcrumbs(); boolean getDisplayMetadataPageLinkBlock(); boolean isAddDublinCoreMetaTags(); boolean isAddHighwirePressMetaTags(); int getMetadataParamNumber(); boolean useTiles(); boolean useTilesFullscreen(); boolean useTiles(PageType view, ImageType image); int getFooterHeight(); int getFullscreenFooterHeight(); int getFooterHeight(PageType view, ImageType image); String getImageViewType(); String getZoomFullscreenViewType(); String getZoomImageViewType(PageType view, ImageType image); boolean useOpenSeadragon(); List<String> getImageViewZoomScales(); List<String> getImageViewZoomScales(String view); List<String> getImageViewZoomScales(PageType view, ImageType image); Map<Integer, List<Integer>> getTileSizes(); Map<Integer, List<Integer>> getTileSizes(PageType view, ImageType image); SubnodeConfiguration getZoomImageViewConfig(PageType pageType, ImageType imageType); int getBreadcrumbsClipping(); boolean isDisplayTopstructLabel(); boolean getDisplayStructType(); int getSearchHitMetadataValueNumber(); int getSearchHitMetadataValueLength(); List<String> getWatermarkTextConfiguration(); String getWatermarkFormat(); boolean isOriginalContentDownload(); String getStopwordsFilePath(); String getPageType(PageType type); String getDocstructTargetPageType(String docstruct); String getPageTypeExitView(PageType type); int getFulltextPercentageWarningThreshold(); boolean isUseViewerLocaleAsRecordLanguage(); String getFeedbackEmailAddress(); boolean isBookmarksEnabled(); boolean isForceJpegConversion(); int getPageLoaderThreshold(); boolean isPreventProxyCaching(); boolean isSolrCompressionEnabled(); boolean isSolrBackwardsCompatible(); boolean isUserCommentsEnabled(); String getUserCommentsConditionalQuery(); List<String> getUserCommentsNotificationEmailAddresses(); String getViewerHome(); List<String> getWatermarkIdField(); String getSubthemeMainTheme(); String getSubthemeDiscriminatorField(); int getTagCloudSampleSize(String fieldName); List<StringPair> getTocVolumeSortFieldsForTemplate(String template); String getTocVolumeGroupFieldForTemplate(String template); boolean getDisplayTitleBreadcrumbs(); boolean isDisplayTitlePURL(); int getTitleBreadcrumbsMaxTitleLength(); boolean getIncludeAnchorInTitleBreadcrumbs(); boolean isDisplaySearchRssLinks(); boolean showThumbnailsInToc(); String getStartYearForTimeline(); String getEndYearForTimeline(); String getTimelineHits(); boolean isPiwikTrackingEnabled(); String getPiwikBaseURL(); String getPiwikSiteID(); boolean isSearchSavingEnabled(); boolean isBoostTopLevelDocstructs(); boolean isGroupDuplicateHits(); List<String> getRecordGroupIdentifierFields(); List<String> getAncestorIdentifierFields(); boolean isTocListSiblingRecords(); List<SearchFilter> getSearchFilters(); List<Map<String, String>> getWebApiFields(); String getDbPersistenceUnit(); boolean useCustomNavBar(); String getCmsTemplateFolder(); String getCmsMediaFolder(); String getTempMediaFolder(); List<String> getCmsClassifications(); int getCmsMediaDisplayWidth(); int getCmsMediaDisplayHeight(); boolean isTranskribusEnabled(); String getTranskribusUserName(); String getTranskribusPassword(); String getTranskribusDefaultCollection(); String getTranskribusRestApiUrl(); List<String> getTranskribusAllowedDocumentTypes(); int getTocIndentation(); boolean isPageBrowseEnabled(); List<Integer> getPageBrowseSteps(); String getTaskManagerServiceUrl(); String getTaskManagerRestUrl(); String getReCaptchaSiteKey(); boolean isUseReCaptcha(); boolean isSearchInItemEnabled(); String getDefaultBrowseIcon(String field); boolean isSearchExcelExportEnabled(); List<String> getSearchExcelExportFields(); int getExcelDownloadTimeout(); boolean isDisplayEmptyTocInSidebar(); boolean isDoublePageModeEnabled(); List<String> getRestrictedImageUrls(); List<String> getIIIFLicenses(); List<String> getIIIFMetadataFields(); List<String> getIIIFEventFields(); String getIIIFMetadataLabel(String field); int getIIIFDiscoveryAvtivitiesPerPage(); List<String> getIIIFLogo(); String getIIIFNavDateField(); List<String> getIIIFAttribution(); List<String> getIIIFDescriptionFields(); String getSitelinksField(); String getSitelinksFilterQuery(); List<String> getConfiguredCollections(); String getWebApiToken(); boolean isAllowRedirectCollectionToWork(); String getTwitterUserName(); float getLimitImageHeightUpperRatioThreshold(); float getLimitImageHeightLowerRatioThreshold(); boolean isLimitImageHeight(); boolean isAddCORSHeader(); String getCORSHeaderValue(); boolean isDiscloseImageContentLocation(); String getAccessConditionDisplayField(); String getCopyrightDisplayField(); boolean isDisplayCopyrightInfo(); boolean isDisplaySocialMediaShareLinks(); boolean isDisplayAnchorLabelInTitleBar(String template); String getAnchorLabelInTitleBarPrefix(String template); String getAnchorLabelInTitleBarSuffix(String template); String getMapBoxToken(); GeoMapMarker getGeoMapMarker(String name); List<String> getGeoMapMarkerFields(); List<GeoMapMarker> getGeoMapMarkers(); static GeoMapMarker readGeoMapMarker(HierarchicalConfiguration config); List<LicenseDescription> getLicenseDescriptions(); }
@Test public void getTitleBarMetadata_shouldReturnAllConfiguredMetadataElements() throws Exception { Assert.assertEquals(2, DataManager.getInstance().getConfiguration().getTitleBarMetadata().size()); }
public List<Metadata> getTitleBarMetadata() { List<HierarchicalConfiguration> elements = getLocalConfigurationsAt("metadata.titleBarMetadataList.metadata"); if (elements == null) { return Collections.emptyList(); } List<Metadata> ret = new ArrayList<>(elements.size()); for (Iterator<HierarchicalConfiguration> it = elements.iterator(); it.hasNext();) { HierarchicalConfiguration sub = it.next(); String label = sub.getString("[@label]"); String masterValue = sub.getString("[@value]"); boolean group = sub.getBoolean("[@group]", false); int type = sub.getInt("[@type]", 0); List<HierarchicalConfiguration> params = sub.configurationsAt("param"); List<MetadataParameter> paramList = null; if (params != null) { paramList = new ArrayList<>(); for (Iterator<HierarchicalConfiguration> it2 = params.iterator(); it2.hasNext();) { HierarchicalConfiguration sub2 = it2.next(); String fieldType = sub2.getString("[@type]"); String source = sub2.getString("[@source]", null); String key = sub2.getString("[@key]"); String altKey = sub2.getString("[@altKey]"); String masterValueFragment = sub2.getString("[@value]"); String defaultValue = sub2.getString("[@defaultValue]"); String prefix = sub2.getString("[@prefix]", "").replace("_SPACE_", " "); String suffix = sub2.getString("[@suffix]", "").replace("_SPACE_", " "); boolean addUrl = sub2.getBoolean("[@url]", false); boolean topstructValueFallback = sub2.getBoolean("[@topstructValueFallback]", false); boolean topstructOnly = sub2.getBoolean("[@topstructOnly]", false); paramList.add(new MetadataParameter().setType(MetadataParameterType.getByString(fieldType)) .setSource(source) .setKey(key) .setAltKey(altKey) .setMasterValueFragment(masterValueFragment) .setDefaultValue(defaultValue) .setPrefix(prefix) .setSuffix(suffix) .setAddUrl(addUrl) .setTopstructValueFallback(topstructValueFallback) .setTopstructOnly(topstructOnly)); } } ret.add(new Metadata(label, masterValue, type, paramList, group)); } return ret; }
Configuration extends AbstractConfiguration { public List<Metadata> getTitleBarMetadata() { List<HierarchicalConfiguration> elements = getLocalConfigurationsAt("metadata.titleBarMetadataList.metadata"); if (elements == null) { return Collections.emptyList(); } List<Metadata> ret = new ArrayList<>(elements.size()); for (Iterator<HierarchicalConfiguration> it = elements.iterator(); it.hasNext();) { HierarchicalConfiguration sub = it.next(); String label = sub.getString("[@label]"); String masterValue = sub.getString("[@value]"); boolean group = sub.getBoolean("[@group]", false); int type = sub.getInt("[@type]", 0); List<HierarchicalConfiguration> params = sub.configurationsAt("param"); List<MetadataParameter> paramList = null; if (params != null) { paramList = new ArrayList<>(); for (Iterator<HierarchicalConfiguration> it2 = params.iterator(); it2.hasNext();) { HierarchicalConfiguration sub2 = it2.next(); String fieldType = sub2.getString("[@type]"); String source = sub2.getString("[@source]", null); String key = sub2.getString("[@key]"); String altKey = sub2.getString("[@altKey]"); String masterValueFragment = sub2.getString("[@value]"); String defaultValue = sub2.getString("[@defaultValue]"); String prefix = sub2.getString("[@prefix]", "").replace("_SPACE_", " "); String suffix = sub2.getString("[@suffix]", "").replace("_SPACE_", " "); boolean addUrl = sub2.getBoolean("[@url]", false); boolean topstructValueFallback = sub2.getBoolean("[@topstructValueFallback]", false); boolean topstructOnly = sub2.getBoolean("[@topstructOnly]", false); paramList.add(new MetadataParameter().setType(MetadataParameterType.getByString(fieldType)) .setSource(source) .setKey(key) .setAltKey(altKey) .setMasterValueFragment(masterValueFragment) .setDefaultValue(defaultValue) .setPrefix(prefix) .setSuffix(suffix) .setAddUrl(addUrl) .setTopstructValueFallback(topstructValueFallback) .setTopstructOnly(topstructOnly)); } } ret.add(new Metadata(label, masterValue, type, paramList, group)); } return ret; } }
Configuration extends AbstractConfiguration { public List<Metadata> getTitleBarMetadata() { List<HierarchicalConfiguration> elements = getLocalConfigurationsAt("metadata.titleBarMetadataList.metadata"); if (elements == null) { return Collections.emptyList(); } List<Metadata> ret = new ArrayList<>(elements.size()); for (Iterator<HierarchicalConfiguration> it = elements.iterator(); it.hasNext();) { HierarchicalConfiguration sub = it.next(); String label = sub.getString("[@label]"); String masterValue = sub.getString("[@value]"); boolean group = sub.getBoolean("[@group]", false); int type = sub.getInt("[@type]", 0); List<HierarchicalConfiguration> params = sub.configurationsAt("param"); List<MetadataParameter> paramList = null; if (params != null) { paramList = new ArrayList<>(); for (Iterator<HierarchicalConfiguration> it2 = params.iterator(); it2.hasNext();) { HierarchicalConfiguration sub2 = it2.next(); String fieldType = sub2.getString("[@type]"); String source = sub2.getString("[@source]", null); String key = sub2.getString("[@key]"); String altKey = sub2.getString("[@altKey]"); String masterValueFragment = sub2.getString("[@value]"); String defaultValue = sub2.getString("[@defaultValue]"); String prefix = sub2.getString("[@prefix]", "").replace("_SPACE_", " "); String suffix = sub2.getString("[@suffix]", "").replace("_SPACE_", " "); boolean addUrl = sub2.getBoolean("[@url]", false); boolean topstructValueFallback = sub2.getBoolean("[@topstructValueFallback]", false); boolean topstructOnly = sub2.getBoolean("[@topstructOnly]", false); paramList.add(new MetadataParameter().setType(MetadataParameterType.getByString(fieldType)) .setSource(source) .setKey(key) .setAltKey(altKey) .setMasterValueFragment(masterValueFragment) .setDefaultValue(defaultValue) .setPrefix(prefix) .setSuffix(suffix) .setAddUrl(addUrl) .setTopstructValueFallback(topstructValueFallback) .setTopstructOnly(topstructOnly)); } } ret.add(new Metadata(label, masterValue, type, paramList, group)); } return ret; } Configuration(String configFilePath); }
Configuration extends AbstractConfiguration { public List<Metadata> getTitleBarMetadata() { List<HierarchicalConfiguration> elements = getLocalConfigurationsAt("metadata.titleBarMetadataList.metadata"); if (elements == null) { return Collections.emptyList(); } List<Metadata> ret = new ArrayList<>(elements.size()); for (Iterator<HierarchicalConfiguration> it = elements.iterator(); it.hasNext();) { HierarchicalConfiguration sub = it.next(); String label = sub.getString("[@label]"); String masterValue = sub.getString("[@value]"); boolean group = sub.getBoolean("[@group]", false); int type = sub.getInt("[@type]", 0); List<HierarchicalConfiguration> params = sub.configurationsAt("param"); List<MetadataParameter> paramList = null; if (params != null) { paramList = new ArrayList<>(); for (Iterator<HierarchicalConfiguration> it2 = params.iterator(); it2.hasNext();) { HierarchicalConfiguration sub2 = it2.next(); String fieldType = sub2.getString("[@type]"); String source = sub2.getString("[@source]", null); String key = sub2.getString("[@key]"); String altKey = sub2.getString("[@altKey]"); String masterValueFragment = sub2.getString("[@value]"); String defaultValue = sub2.getString("[@defaultValue]"); String prefix = sub2.getString("[@prefix]", "").replace("_SPACE_", " "); String suffix = sub2.getString("[@suffix]", "").replace("_SPACE_", " "); boolean addUrl = sub2.getBoolean("[@url]", false); boolean topstructValueFallback = sub2.getBoolean("[@topstructValueFallback]", false); boolean topstructOnly = sub2.getBoolean("[@topstructOnly]", false); paramList.add(new MetadataParameter().setType(MetadataParameterType.getByString(fieldType)) .setSource(source) .setKey(key) .setAltKey(altKey) .setMasterValueFragment(masterValueFragment) .setDefaultValue(defaultValue) .setPrefix(prefix) .setSuffix(suffix) .setAddUrl(addUrl) .setTopstructValueFallback(topstructValueFallback) .setTopstructOnly(topstructOnly)); } } ret.add(new Metadata(label, masterValue, type, paramList, group)); } return ret; } Configuration(String configFilePath); Set<String> getStopwords(); boolean reloadingRequired(); String getConfigLocalPath(); String getLocalRessourceBundleFile(); int getViewerThumbnailsPerPage(); int getViewerMaxImageWidth(); int getViewerMaxImageHeight(); int getViewerMaxImageScale(); boolean isRememberImageZoom(); boolean isRememberImageRotation(); String getDfgViewerUrl(); String getConnectorVersionUrl(); List<Metadata> getTitleBarMetadata(); List<Metadata> getSearchHitMetadataForTemplate(String template); List<Metadata> getMainMetadataForTemplate(String template); List<Metadata> getSidebarMetadataForTemplate(String template); List<String> getNormdataFieldsForTemplate(String template); List<Metadata> getTocLabelConfiguration(String template); int getTocAnchorGroupElementsPerPage(); boolean isDisplaySidebarBrowsingTerms(); boolean isDisplaySidebarRssFeed(); boolean isDisplayWidgetUsage(); Metadata getWidgetUsageLicenceTextMetadata(); boolean isDisplaySidebarUsageWidgetLinkToJpegImage(); boolean isDisplaySidebarUsageWidgetLinkToMasterImage(); String getWidgetUsageMaxJpegSize(); String getWidgetUsageMaxMasterImageSize(); List<String> getCalendarDocStructTypes(); boolean isBrowsingMenuEnabled(); int getBrowsingMenuHitsPerPage(); List<BrowsingMenuFieldConfig> getBrowsingMenuFields(); String getBrowsingMenuSortingIgnoreLeadingChars(); String getDocstrctWhitelistFilterQuery(); String getCollectionSplittingChar(String field); List<DcSortingList> getCollectionSorting(String field); List<String> getCollectionBlacklist(String field); String getCollectionDefaultSortField(String field, String name); int getCollectionDisplayNumberOfVolumesLevel(String field); int getCollectionDisplayDepthForSearch(String field); String getCollectionHierarchyField(); boolean isAddCollectionHierarchyToBreadcrumbs(String field); String getSolrUrl(); String getContentServerWrapperUrl(); String getDownloadUrl(); String getRestApiUrl(); String getIIIFApiUrl(); boolean isUseIIIFApiUrlForCmsMediaUrls(); String getContentServerRealUrl(); String getMetsUrl(); String getMarcUrl(); String getDcUrl(); String getEseUrl(); List<Integer> getSearchHitsPerPageValues(); int getSearchHitsPerPageDefaultValue(); int getFulltextFragmentLength(); boolean isAdvancedSearchEnabled(); int getAdvancedSearchDefaultItemNumber(); List<AdvancedSearchFieldConfiguration> getAdvancedSearchFields(); boolean isAggregateHits(); boolean isDisplayAdditionalMetadataEnabled(); List<String> getDisplayAdditionalMetadataIgnoreFields(); List<String> getDisplayAdditionalMetadataTranslateFields(); boolean isAdvancedSearchFieldHierarchical(String field); boolean isAdvancedSearchFieldRange(String field); boolean isAdvancedSearchFieldUntokenizeForPhraseSearch(String field); String getAdvancedSearchFieldSeparatorLabel(String field); boolean isTimelineSearchEnabled(); boolean isCalendarSearchEnabled(); String getStaticQuerySuffix(); String getPreviousVersionIdentifierField(); String getNextVersionIdentifierField(); String getVersionLabelField(); String getIndexedMetsFolder(); String getIndexedLidoFolder(); String getIndexedDenkxwebFolder(); String getIndexedDublinCoreFolder(); String getPageSelectionFormat(); String getMediaFolder(); String getPdfFolder(); String getVocabulariesFolder(); String getOrigContentFolder(); String getCmsTextFolder(); String getAltoFolder(); String getAbbyyFolder(); String getFulltextFolder(); String getTeiFolder(); String getCmdiFolder(); String getWcFolder(); String getAnnotationFolder(); String getHotfolder(); @SuppressWarnings("static-method") String getTempFolder(); boolean isUrnDoRedirect(); boolean isUserRegistrationEnabled(); List<SecurityQuestion> getSecurityQuestions(); boolean isShowOpenIdConnect(); List<IAuthenticationProvider> getAuthenticationProviders(); String getSmtpServer(); String getSmtpUser(); String getSmtpPassword(); String getSmtpSenderAddress(); String getSmtpSenderName(); String getSmtpSecurity(); String getAnonymousUserEmailAddress(); boolean isDisplayCollectionBrowsing(); boolean isDisplayUserNavigation(); boolean isDisplayTagCloudNavigation(); boolean isDisplayStatistics(); boolean isDisplayTimeMatrix(); boolean isDisplayCrowdsourcingModuleLinks(); String getTheme(); String getThemeRootPath(); String getName(); String getDescription(); boolean isDisplayTagCloudStartpage(); boolean isDisplaySearchResultNavigation(); boolean isFoldout(String sidebarElement); boolean isSidebarPageViewLinkVisible(); boolean isSidebarCalendarViewLinkVisible(); boolean isSidebarTocViewLinkVisible(); boolean isSidebarThumbsViewLinkVisible(); boolean isSidebarMetadataViewLinkVisible(); boolean isShowSidebarEventMetadata(); boolean isShowRecordLabelIfNoOtherViews(); boolean isSidebarFulltextLinkVisible(); boolean isSidebarTocWidgetVisible(); boolean isSidebarTocWidgetVisibleInFullscreen(); boolean isSidebarOpacLinkVisible(); boolean getSidebarTocPageNumbersVisible(); int getSidebarTocLengthBeforeCut(); int getSidebarTocInitialCollapseLevel(); int getSidebarTocCollapseLengthThreshold(); int getSidebarTocLowestLevelToCollapseForLength(); boolean isSidebarTocTreeView(); boolean isTocTreeView(String docStructType); List<String> getAllDrillDownFields(); List<String> getDrillDownFields(); List<String> getHierarchicalDrillDownFields(); int getInitialDrillDownElementNumber(String field); String getSortOrder(String field); List<String> getPriorityValuesForDrillDownField(String field); String getLabelFieldForDrillDownField(String facetField); @SuppressWarnings("static-method") List<String> getRangeFacetFields(); boolean isSortingEnabled(); String getDefaultSortField(); List<String> getSortFields(); List<String> getStaticSortFields(); String getUrnResolverUrl(); int getUnconditionalImageAccessMaxWidth(); boolean isFullAccessForLocalhost(); boolean isGeneratePdfInTaskManager(); boolean isPdfApiDisabled(); boolean isTitlePdfEnabled(); boolean isTocPdfEnabled(); boolean isMetadataPdfEnabled(); boolean isPagePdfEnabled(); boolean isDocHierarchyPdfEnabled(); boolean isTitleEpubEnabled(); boolean isTocEpubEnabled(); boolean isMetadataEpubEnabled(); String getDownloadFolder(String type); int getRssFeedItems(); String getRssTitle(); String getRssDescription(); String getRssCopyrightText(); String getRulesetFilePath(); String getDefaultCollection(); int getThumbnailsWidth(); int getThumbnailsHeight(); int getThumbnailsCompression(); String getAnchorThumbnailMode(); int getMultivolumeThumbnailWidth(); int getMultivolumeThumbnailHeight(); boolean getDisplayBreadcrumbs(); boolean getDisplayMetadataPageLinkBlock(); boolean isAddDublinCoreMetaTags(); boolean isAddHighwirePressMetaTags(); int getMetadataParamNumber(); boolean useTiles(); boolean useTilesFullscreen(); boolean useTiles(PageType view, ImageType image); int getFooterHeight(); int getFullscreenFooterHeight(); int getFooterHeight(PageType view, ImageType image); String getImageViewType(); String getZoomFullscreenViewType(); String getZoomImageViewType(PageType view, ImageType image); boolean useOpenSeadragon(); List<String> getImageViewZoomScales(); List<String> getImageViewZoomScales(String view); List<String> getImageViewZoomScales(PageType view, ImageType image); Map<Integer, List<Integer>> getTileSizes(); Map<Integer, List<Integer>> getTileSizes(PageType view, ImageType image); SubnodeConfiguration getZoomImageViewConfig(PageType pageType, ImageType imageType); int getBreadcrumbsClipping(); boolean isDisplayTopstructLabel(); boolean getDisplayStructType(); int getSearchHitMetadataValueNumber(); int getSearchHitMetadataValueLength(); List<String> getWatermarkTextConfiguration(); String getWatermarkFormat(); boolean isOriginalContentDownload(); String getStopwordsFilePath(); String getPageType(PageType type); String getDocstructTargetPageType(String docstruct); String getPageTypeExitView(PageType type); int getFulltextPercentageWarningThreshold(); boolean isUseViewerLocaleAsRecordLanguage(); String getFeedbackEmailAddress(); boolean isBookmarksEnabled(); boolean isForceJpegConversion(); int getPageLoaderThreshold(); boolean isPreventProxyCaching(); boolean isSolrCompressionEnabled(); boolean isSolrBackwardsCompatible(); boolean isUserCommentsEnabled(); String getUserCommentsConditionalQuery(); List<String> getUserCommentsNotificationEmailAddresses(); String getViewerHome(); List<String> getWatermarkIdField(); String getSubthemeMainTheme(); String getSubthemeDiscriminatorField(); int getTagCloudSampleSize(String fieldName); List<StringPair> getTocVolumeSortFieldsForTemplate(String template); String getTocVolumeGroupFieldForTemplate(String template); boolean getDisplayTitleBreadcrumbs(); boolean isDisplayTitlePURL(); int getTitleBreadcrumbsMaxTitleLength(); boolean getIncludeAnchorInTitleBreadcrumbs(); boolean isDisplaySearchRssLinks(); boolean showThumbnailsInToc(); String getStartYearForTimeline(); String getEndYearForTimeline(); String getTimelineHits(); boolean isPiwikTrackingEnabled(); String getPiwikBaseURL(); String getPiwikSiteID(); boolean isSearchSavingEnabled(); boolean isBoostTopLevelDocstructs(); boolean isGroupDuplicateHits(); List<String> getRecordGroupIdentifierFields(); List<String> getAncestorIdentifierFields(); boolean isTocListSiblingRecords(); List<SearchFilter> getSearchFilters(); List<Map<String, String>> getWebApiFields(); String getDbPersistenceUnit(); boolean useCustomNavBar(); String getCmsTemplateFolder(); String getCmsMediaFolder(); String getTempMediaFolder(); List<String> getCmsClassifications(); int getCmsMediaDisplayWidth(); int getCmsMediaDisplayHeight(); boolean isTranskribusEnabled(); String getTranskribusUserName(); String getTranskribusPassword(); String getTranskribusDefaultCollection(); String getTranskribusRestApiUrl(); List<String> getTranskribusAllowedDocumentTypes(); int getTocIndentation(); boolean isPageBrowseEnabled(); List<Integer> getPageBrowseSteps(); String getTaskManagerServiceUrl(); String getTaskManagerRestUrl(); String getReCaptchaSiteKey(); boolean isUseReCaptcha(); boolean isSearchInItemEnabled(); String getDefaultBrowseIcon(String field); boolean isSearchExcelExportEnabled(); List<String> getSearchExcelExportFields(); int getExcelDownloadTimeout(); boolean isDisplayEmptyTocInSidebar(); boolean isDoublePageModeEnabled(); List<String> getRestrictedImageUrls(); List<String> getIIIFLicenses(); List<String> getIIIFMetadataFields(); List<String> getIIIFEventFields(); String getIIIFMetadataLabel(String field); int getIIIFDiscoveryAvtivitiesPerPage(); List<String> getIIIFLogo(); String getIIIFNavDateField(); List<String> getIIIFAttribution(); List<String> getIIIFDescriptionFields(); String getSitelinksField(); String getSitelinksFilterQuery(); List<String> getConfiguredCollections(); String getWebApiToken(); boolean isAllowRedirectCollectionToWork(); String getTwitterUserName(); float getLimitImageHeightUpperRatioThreshold(); float getLimitImageHeightLowerRatioThreshold(); boolean isLimitImageHeight(); boolean isAddCORSHeader(); String getCORSHeaderValue(); boolean isDiscloseImageContentLocation(); String getAccessConditionDisplayField(); String getCopyrightDisplayField(); boolean isDisplayCopyrightInfo(); boolean isDisplaySocialMediaShareLinks(); boolean isDisplayAnchorLabelInTitleBar(String template); String getAnchorLabelInTitleBarPrefix(String template); String getAnchorLabelInTitleBarSuffix(String template); String getMapBoxToken(); GeoMapMarker getGeoMapMarker(String name); List<String> getGeoMapMarkerFields(); List<GeoMapMarker> getGeoMapMarkers(); static GeoMapMarker readGeoMapMarker(HierarchicalConfiguration config); List<LicenseDescription> getLicenseDescriptions(); }
Configuration extends AbstractConfiguration { public List<Metadata> getTitleBarMetadata() { List<HierarchicalConfiguration> elements = getLocalConfigurationsAt("metadata.titleBarMetadataList.metadata"); if (elements == null) { return Collections.emptyList(); } List<Metadata> ret = new ArrayList<>(elements.size()); for (Iterator<HierarchicalConfiguration> it = elements.iterator(); it.hasNext();) { HierarchicalConfiguration sub = it.next(); String label = sub.getString("[@label]"); String masterValue = sub.getString("[@value]"); boolean group = sub.getBoolean("[@group]", false); int type = sub.getInt("[@type]", 0); List<HierarchicalConfiguration> params = sub.configurationsAt("param"); List<MetadataParameter> paramList = null; if (params != null) { paramList = new ArrayList<>(); for (Iterator<HierarchicalConfiguration> it2 = params.iterator(); it2.hasNext();) { HierarchicalConfiguration sub2 = it2.next(); String fieldType = sub2.getString("[@type]"); String source = sub2.getString("[@source]", null); String key = sub2.getString("[@key]"); String altKey = sub2.getString("[@altKey]"); String masterValueFragment = sub2.getString("[@value]"); String defaultValue = sub2.getString("[@defaultValue]"); String prefix = sub2.getString("[@prefix]", "").replace("_SPACE_", " "); String suffix = sub2.getString("[@suffix]", "").replace("_SPACE_", " "); boolean addUrl = sub2.getBoolean("[@url]", false); boolean topstructValueFallback = sub2.getBoolean("[@topstructValueFallback]", false); boolean topstructOnly = sub2.getBoolean("[@topstructOnly]", false); paramList.add(new MetadataParameter().setType(MetadataParameterType.getByString(fieldType)) .setSource(source) .setKey(key) .setAltKey(altKey) .setMasterValueFragment(masterValueFragment) .setDefaultValue(defaultValue) .setPrefix(prefix) .setSuffix(suffix) .setAddUrl(addUrl) .setTopstructValueFallback(topstructValueFallback) .setTopstructOnly(topstructOnly)); } } ret.add(new Metadata(label, masterValue, type, paramList, group)); } return ret; } Configuration(String configFilePath); Set<String> getStopwords(); boolean reloadingRequired(); String getConfigLocalPath(); String getLocalRessourceBundleFile(); int getViewerThumbnailsPerPage(); int getViewerMaxImageWidth(); int getViewerMaxImageHeight(); int getViewerMaxImageScale(); boolean isRememberImageZoom(); boolean isRememberImageRotation(); String getDfgViewerUrl(); String getConnectorVersionUrl(); List<Metadata> getTitleBarMetadata(); List<Metadata> getSearchHitMetadataForTemplate(String template); List<Metadata> getMainMetadataForTemplate(String template); List<Metadata> getSidebarMetadataForTemplate(String template); List<String> getNormdataFieldsForTemplate(String template); List<Metadata> getTocLabelConfiguration(String template); int getTocAnchorGroupElementsPerPage(); boolean isDisplaySidebarBrowsingTerms(); boolean isDisplaySidebarRssFeed(); boolean isDisplayWidgetUsage(); Metadata getWidgetUsageLicenceTextMetadata(); boolean isDisplaySidebarUsageWidgetLinkToJpegImage(); boolean isDisplaySidebarUsageWidgetLinkToMasterImage(); String getWidgetUsageMaxJpegSize(); String getWidgetUsageMaxMasterImageSize(); List<String> getCalendarDocStructTypes(); boolean isBrowsingMenuEnabled(); int getBrowsingMenuHitsPerPage(); List<BrowsingMenuFieldConfig> getBrowsingMenuFields(); String getBrowsingMenuSortingIgnoreLeadingChars(); String getDocstrctWhitelistFilterQuery(); String getCollectionSplittingChar(String field); List<DcSortingList> getCollectionSorting(String field); List<String> getCollectionBlacklist(String field); String getCollectionDefaultSortField(String field, String name); int getCollectionDisplayNumberOfVolumesLevel(String field); int getCollectionDisplayDepthForSearch(String field); String getCollectionHierarchyField(); boolean isAddCollectionHierarchyToBreadcrumbs(String field); String getSolrUrl(); String getContentServerWrapperUrl(); String getDownloadUrl(); String getRestApiUrl(); String getIIIFApiUrl(); boolean isUseIIIFApiUrlForCmsMediaUrls(); String getContentServerRealUrl(); String getMetsUrl(); String getMarcUrl(); String getDcUrl(); String getEseUrl(); List<Integer> getSearchHitsPerPageValues(); int getSearchHitsPerPageDefaultValue(); int getFulltextFragmentLength(); boolean isAdvancedSearchEnabled(); int getAdvancedSearchDefaultItemNumber(); List<AdvancedSearchFieldConfiguration> getAdvancedSearchFields(); boolean isAggregateHits(); boolean isDisplayAdditionalMetadataEnabled(); List<String> getDisplayAdditionalMetadataIgnoreFields(); List<String> getDisplayAdditionalMetadataTranslateFields(); boolean isAdvancedSearchFieldHierarchical(String field); boolean isAdvancedSearchFieldRange(String field); boolean isAdvancedSearchFieldUntokenizeForPhraseSearch(String field); String getAdvancedSearchFieldSeparatorLabel(String field); boolean isTimelineSearchEnabled(); boolean isCalendarSearchEnabled(); String getStaticQuerySuffix(); String getPreviousVersionIdentifierField(); String getNextVersionIdentifierField(); String getVersionLabelField(); String getIndexedMetsFolder(); String getIndexedLidoFolder(); String getIndexedDenkxwebFolder(); String getIndexedDublinCoreFolder(); String getPageSelectionFormat(); String getMediaFolder(); String getPdfFolder(); String getVocabulariesFolder(); String getOrigContentFolder(); String getCmsTextFolder(); String getAltoFolder(); String getAbbyyFolder(); String getFulltextFolder(); String getTeiFolder(); String getCmdiFolder(); String getWcFolder(); String getAnnotationFolder(); String getHotfolder(); @SuppressWarnings("static-method") String getTempFolder(); boolean isUrnDoRedirect(); boolean isUserRegistrationEnabled(); List<SecurityQuestion> getSecurityQuestions(); boolean isShowOpenIdConnect(); List<IAuthenticationProvider> getAuthenticationProviders(); String getSmtpServer(); String getSmtpUser(); String getSmtpPassword(); String getSmtpSenderAddress(); String getSmtpSenderName(); String getSmtpSecurity(); String getAnonymousUserEmailAddress(); boolean isDisplayCollectionBrowsing(); boolean isDisplayUserNavigation(); boolean isDisplayTagCloudNavigation(); boolean isDisplayStatistics(); boolean isDisplayTimeMatrix(); boolean isDisplayCrowdsourcingModuleLinks(); String getTheme(); String getThemeRootPath(); String getName(); String getDescription(); boolean isDisplayTagCloudStartpage(); boolean isDisplaySearchResultNavigation(); boolean isFoldout(String sidebarElement); boolean isSidebarPageViewLinkVisible(); boolean isSidebarCalendarViewLinkVisible(); boolean isSidebarTocViewLinkVisible(); boolean isSidebarThumbsViewLinkVisible(); boolean isSidebarMetadataViewLinkVisible(); boolean isShowSidebarEventMetadata(); boolean isShowRecordLabelIfNoOtherViews(); boolean isSidebarFulltextLinkVisible(); boolean isSidebarTocWidgetVisible(); boolean isSidebarTocWidgetVisibleInFullscreen(); boolean isSidebarOpacLinkVisible(); boolean getSidebarTocPageNumbersVisible(); int getSidebarTocLengthBeforeCut(); int getSidebarTocInitialCollapseLevel(); int getSidebarTocCollapseLengthThreshold(); int getSidebarTocLowestLevelToCollapseForLength(); boolean isSidebarTocTreeView(); boolean isTocTreeView(String docStructType); List<String> getAllDrillDownFields(); List<String> getDrillDownFields(); List<String> getHierarchicalDrillDownFields(); int getInitialDrillDownElementNumber(String field); String getSortOrder(String field); List<String> getPriorityValuesForDrillDownField(String field); String getLabelFieldForDrillDownField(String facetField); @SuppressWarnings("static-method") List<String> getRangeFacetFields(); boolean isSortingEnabled(); String getDefaultSortField(); List<String> getSortFields(); List<String> getStaticSortFields(); String getUrnResolverUrl(); int getUnconditionalImageAccessMaxWidth(); boolean isFullAccessForLocalhost(); boolean isGeneratePdfInTaskManager(); boolean isPdfApiDisabled(); boolean isTitlePdfEnabled(); boolean isTocPdfEnabled(); boolean isMetadataPdfEnabled(); boolean isPagePdfEnabled(); boolean isDocHierarchyPdfEnabled(); boolean isTitleEpubEnabled(); boolean isTocEpubEnabled(); boolean isMetadataEpubEnabled(); String getDownloadFolder(String type); int getRssFeedItems(); String getRssTitle(); String getRssDescription(); String getRssCopyrightText(); String getRulesetFilePath(); String getDefaultCollection(); int getThumbnailsWidth(); int getThumbnailsHeight(); int getThumbnailsCompression(); String getAnchorThumbnailMode(); int getMultivolumeThumbnailWidth(); int getMultivolumeThumbnailHeight(); boolean getDisplayBreadcrumbs(); boolean getDisplayMetadataPageLinkBlock(); boolean isAddDublinCoreMetaTags(); boolean isAddHighwirePressMetaTags(); int getMetadataParamNumber(); boolean useTiles(); boolean useTilesFullscreen(); boolean useTiles(PageType view, ImageType image); int getFooterHeight(); int getFullscreenFooterHeight(); int getFooterHeight(PageType view, ImageType image); String getImageViewType(); String getZoomFullscreenViewType(); String getZoomImageViewType(PageType view, ImageType image); boolean useOpenSeadragon(); List<String> getImageViewZoomScales(); List<String> getImageViewZoomScales(String view); List<String> getImageViewZoomScales(PageType view, ImageType image); Map<Integer, List<Integer>> getTileSizes(); Map<Integer, List<Integer>> getTileSizes(PageType view, ImageType image); SubnodeConfiguration getZoomImageViewConfig(PageType pageType, ImageType imageType); int getBreadcrumbsClipping(); boolean isDisplayTopstructLabel(); boolean getDisplayStructType(); int getSearchHitMetadataValueNumber(); int getSearchHitMetadataValueLength(); List<String> getWatermarkTextConfiguration(); String getWatermarkFormat(); boolean isOriginalContentDownload(); String getStopwordsFilePath(); String getPageType(PageType type); String getDocstructTargetPageType(String docstruct); String getPageTypeExitView(PageType type); int getFulltextPercentageWarningThreshold(); boolean isUseViewerLocaleAsRecordLanguage(); String getFeedbackEmailAddress(); boolean isBookmarksEnabled(); boolean isForceJpegConversion(); int getPageLoaderThreshold(); boolean isPreventProxyCaching(); boolean isSolrCompressionEnabled(); boolean isSolrBackwardsCompatible(); boolean isUserCommentsEnabled(); String getUserCommentsConditionalQuery(); List<String> getUserCommentsNotificationEmailAddresses(); String getViewerHome(); List<String> getWatermarkIdField(); String getSubthemeMainTheme(); String getSubthemeDiscriminatorField(); int getTagCloudSampleSize(String fieldName); List<StringPair> getTocVolumeSortFieldsForTemplate(String template); String getTocVolumeGroupFieldForTemplate(String template); boolean getDisplayTitleBreadcrumbs(); boolean isDisplayTitlePURL(); int getTitleBreadcrumbsMaxTitleLength(); boolean getIncludeAnchorInTitleBreadcrumbs(); boolean isDisplaySearchRssLinks(); boolean showThumbnailsInToc(); String getStartYearForTimeline(); String getEndYearForTimeline(); String getTimelineHits(); boolean isPiwikTrackingEnabled(); String getPiwikBaseURL(); String getPiwikSiteID(); boolean isSearchSavingEnabled(); boolean isBoostTopLevelDocstructs(); boolean isGroupDuplicateHits(); List<String> getRecordGroupIdentifierFields(); List<String> getAncestorIdentifierFields(); boolean isTocListSiblingRecords(); List<SearchFilter> getSearchFilters(); List<Map<String, String>> getWebApiFields(); String getDbPersistenceUnit(); boolean useCustomNavBar(); String getCmsTemplateFolder(); String getCmsMediaFolder(); String getTempMediaFolder(); List<String> getCmsClassifications(); int getCmsMediaDisplayWidth(); int getCmsMediaDisplayHeight(); boolean isTranskribusEnabled(); String getTranskribusUserName(); String getTranskribusPassword(); String getTranskribusDefaultCollection(); String getTranskribusRestApiUrl(); List<String> getTranskribusAllowedDocumentTypes(); int getTocIndentation(); boolean isPageBrowseEnabled(); List<Integer> getPageBrowseSteps(); String getTaskManagerServiceUrl(); String getTaskManagerRestUrl(); String getReCaptchaSiteKey(); boolean isUseReCaptcha(); boolean isSearchInItemEnabled(); String getDefaultBrowseIcon(String field); boolean isSearchExcelExportEnabled(); List<String> getSearchExcelExportFields(); int getExcelDownloadTimeout(); boolean isDisplayEmptyTocInSidebar(); boolean isDoublePageModeEnabled(); List<String> getRestrictedImageUrls(); List<String> getIIIFLicenses(); List<String> getIIIFMetadataFields(); List<String> getIIIFEventFields(); String getIIIFMetadataLabel(String field); int getIIIFDiscoveryAvtivitiesPerPage(); List<String> getIIIFLogo(); String getIIIFNavDateField(); List<String> getIIIFAttribution(); List<String> getIIIFDescriptionFields(); String getSitelinksField(); String getSitelinksFilterQuery(); List<String> getConfiguredCollections(); String getWebApiToken(); boolean isAllowRedirectCollectionToWork(); String getTwitterUserName(); float getLimitImageHeightUpperRatioThreshold(); float getLimitImageHeightLowerRatioThreshold(); boolean isLimitImageHeight(); boolean isAddCORSHeader(); String getCORSHeaderValue(); boolean isDiscloseImageContentLocation(); String getAccessConditionDisplayField(); String getCopyrightDisplayField(); boolean isDisplayCopyrightInfo(); boolean isDisplaySocialMediaShareLinks(); boolean isDisplayAnchorLabelInTitleBar(String template); String getAnchorLabelInTitleBarPrefix(String template); String getAnchorLabelInTitleBarSuffix(String template); String getMapBoxToken(); GeoMapMarker getGeoMapMarker(String name); List<String> getGeoMapMarkerFields(); List<GeoMapMarker> getGeoMapMarkers(); static GeoMapMarker readGeoMapMarker(HierarchicalConfiguration config); List<LicenseDescription> getLicenseDescriptions(); }
@Test public void generateAccessCheckQuery_shouldUseCorrectFileNameForTextFiles() throws Exception { { String[] result = AccessConditionUtils.generateAccessCheckQuery("PPN123456789", "00000001.txt"); Assert.assertEquals("+" + SolrConstants.PI_TOPSTRUCT + ":PPN123456789 +" + SolrConstants.FILENAME + ":00000001.*", result[0]); Assert.assertEquals(SolrConstants.FILENAME, result[1]); } { String[] result = AccessConditionUtils.generateAccessCheckQuery("PPN123456789", "00000001.xml"); Assert.assertEquals("+" + SolrConstants.PI_TOPSTRUCT + ":PPN123456789 +" + SolrConstants.FILENAME + ":00000001.*", result[0]); Assert.assertEquals(SolrConstants.FILENAME, result[1]); } }
static String[] generateAccessCheckQuery(String identifier, String fileName) { if (StringUtils.isEmpty(fileName)) { return new String[2]; } String[] ret = new String[2]; StringBuilder sbQuery = new StringBuilder(); String useFileField = SolrConstants.FILENAME; String useFileName = FileTools.getPathFromUrlString(fileName).getFileName().toString(); boolean wildcard = false; String extension = FilenameUtils.getExtension(fileName).toLowerCase(); switch (extension) { case "webm": case "mp4": case "mp3": case "ogg": case "ogv": break; case "txt": case "xml": useFileName = useFileName.replace("." + extension, ""); wildcard = true; break; case "": wildcard = true; default: break; } sbQuery.append('+').append(SolrConstants.PI_TOPSTRUCT).append(':').append(identifier).append(" +").append(useFileField).append(':'); if (wildcard) { useFileName = ClientUtils.escapeQueryChars(useFileName) + ".*"; sbQuery.append(useFileName); } else { sbQuery.append('"').append(useFileName).append('"'); } ret[0] = sbQuery.toString(); ret[1] = useFileField; return ret; }
AccessConditionUtils { static String[] generateAccessCheckQuery(String identifier, String fileName) { if (StringUtils.isEmpty(fileName)) { return new String[2]; } String[] ret = new String[2]; StringBuilder sbQuery = new StringBuilder(); String useFileField = SolrConstants.FILENAME; String useFileName = FileTools.getPathFromUrlString(fileName).getFileName().toString(); boolean wildcard = false; String extension = FilenameUtils.getExtension(fileName).toLowerCase(); switch (extension) { case "webm": case "mp4": case "mp3": case "ogg": case "ogv": break; case "txt": case "xml": useFileName = useFileName.replace("." + extension, ""); wildcard = true; break; case "": wildcard = true; default: break; } sbQuery.append('+').append(SolrConstants.PI_TOPSTRUCT).append(':').append(identifier).append(" +").append(useFileField).append(':'); if (wildcard) { useFileName = ClientUtils.escapeQueryChars(useFileName) + ".*"; sbQuery.append(useFileName); } else { sbQuery.append('"').append(useFileName).append('"'); } ret[0] = sbQuery.toString(); ret[1] = useFileField; return ret; } }
AccessConditionUtils { static String[] generateAccessCheckQuery(String identifier, String fileName) { if (StringUtils.isEmpty(fileName)) { return new String[2]; } String[] ret = new String[2]; StringBuilder sbQuery = new StringBuilder(); String useFileField = SolrConstants.FILENAME; String useFileName = FileTools.getPathFromUrlString(fileName).getFileName().toString(); boolean wildcard = false; String extension = FilenameUtils.getExtension(fileName).toLowerCase(); switch (extension) { case "webm": case "mp4": case "mp3": case "ogg": case "ogv": break; case "txt": case "xml": useFileName = useFileName.replace("." + extension, ""); wildcard = true; break; case "": wildcard = true; default: break; } sbQuery.append('+').append(SolrConstants.PI_TOPSTRUCT).append(':').append(identifier).append(" +").append(useFileField).append(':'); if (wildcard) { useFileName = ClientUtils.escapeQueryChars(useFileName) + ".*"; sbQuery.append(useFileName); } else { sbQuery.append('"').append(useFileName).append('"'); } ret[0] = sbQuery.toString(); ret[1] = useFileField; return ret; } }
AccessConditionUtils { static String[] generateAccessCheckQuery(String identifier, String fileName) { if (StringUtils.isEmpty(fileName)) { return new String[2]; } String[] ret = new String[2]; StringBuilder sbQuery = new StringBuilder(); String useFileField = SolrConstants.FILENAME; String useFileName = FileTools.getPathFromUrlString(fileName).getFileName().toString(); boolean wildcard = false; String extension = FilenameUtils.getExtension(fileName).toLowerCase(); switch (extension) { case "webm": case "mp4": case "mp3": case "ogg": case "ogv": break; case "txt": case "xml": useFileName = useFileName.replace("." + extension, ""); wildcard = true; break; case "": wildcard = true; default: break; } sbQuery.append('+').append(SolrConstants.PI_TOPSTRUCT).append(':').append(identifier).append(" +").append(useFileField).append(':'); if (wildcard) { useFileName = ClientUtils.escapeQueryChars(useFileName) + ".*"; sbQuery.append(useFileName); } else { sbQuery.append('"').append(useFileName).append('"'); } ret[0] = sbQuery.toString(); ret[1] = useFileField; return ret; } static boolean checkAccess(HttpServletRequest request, String action, String pi, String contentFileName, boolean isThumbnail); static boolean checkAccessPermissionByIdentifierAndLogId(String identifier, String logId, String privilegeName, HttpServletRequest request); @SuppressWarnings("unchecked") static Map<String, Boolean> checkAccessPermissionByIdentiferForAllLogids(String identifier, String privilegeName, HttpServletRequest request); @SuppressWarnings("unchecked") static Map<String, Boolean> checkContentFileAccessPermission(String identifier, HttpServletRequest request, List<Path> files); static boolean checkAccessPermissionByImageUrn(String imageUrn, String privilegeName, HttpServletRequest request); static boolean checkAccessPermission(Set<String> requiredAccessConditions, String privilegeName, String query, HttpServletRequest request); static boolean checkAccessPermissionForImage(HttpServletRequest request, String pi, String contentFileName); static boolean checkAccessPermissionForThumbnail(HttpServletRequest request, String pi, String contentFileName); static boolean checkAccessPermissionForPagePdf(HttpServletRequest request, PhysicalElement page); static boolean checkAccessPermissionByIdentifierAndFilePathWithSessionMap(HttpServletRequest request, String filePath, String privilegeType); @SuppressWarnings("unchecked") static boolean checkAccessPermissionByIdentifierAndFileNameWithSessionMap(HttpServletRequest request, String pi, String contentFileName, String privilegeType); static boolean checkAccessPermission(List<LicenseType> allLicenseTypes, Set<String> requiredAccessConditions, String privilegeName, User user, String remoteAddress, String query); static boolean isFreeOpenAccess(Set<String> requiredAccessConditions, Collection<LicenseType> allLicenseTypes); static int getPdfDownloadQuotaForRecord(String pi); static boolean isConcurrentViewsLimitEnabledForAnyAccessCondition(List<String> accessConditions); }
AccessConditionUtils { static String[] generateAccessCheckQuery(String identifier, String fileName) { if (StringUtils.isEmpty(fileName)) { return new String[2]; } String[] ret = new String[2]; StringBuilder sbQuery = new StringBuilder(); String useFileField = SolrConstants.FILENAME; String useFileName = FileTools.getPathFromUrlString(fileName).getFileName().toString(); boolean wildcard = false; String extension = FilenameUtils.getExtension(fileName).toLowerCase(); switch (extension) { case "webm": case "mp4": case "mp3": case "ogg": case "ogv": break; case "txt": case "xml": useFileName = useFileName.replace("." + extension, ""); wildcard = true; break; case "": wildcard = true; default: break; } sbQuery.append('+').append(SolrConstants.PI_TOPSTRUCT).append(':').append(identifier).append(" +").append(useFileField).append(':'); if (wildcard) { useFileName = ClientUtils.escapeQueryChars(useFileName) + ".*"; sbQuery.append(useFileName); } else { sbQuery.append('"').append(useFileName).append('"'); } ret[0] = sbQuery.toString(); ret[1] = useFileField; return ret; } static boolean checkAccess(HttpServletRequest request, String action, String pi, String contentFileName, boolean isThumbnail); static boolean checkAccessPermissionByIdentifierAndLogId(String identifier, String logId, String privilegeName, HttpServletRequest request); @SuppressWarnings("unchecked") static Map<String, Boolean> checkAccessPermissionByIdentiferForAllLogids(String identifier, String privilegeName, HttpServletRequest request); @SuppressWarnings("unchecked") static Map<String, Boolean> checkContentFileAccessPermission(String identifier, HttpServletRequest request, List<Path> files); static boolean checkAccessPermissionByImageUrn(String imageUrn, String privilegeName, HttpServletRequest request); static boolean checkAccessPermission(Set<String> requiredAccessConditions, String privilegeName, String query, HttpServletRequest request); static boolean checkAccessPermissionForImage(HttpServletRequest request, String pi, String contentFileName); static boolean checkAccessPermissionForThumbnail(HttpServletRequest request, String pi, String contentFileName); static boolean checkAccessPermissionForPagePdf(HttpServletRequest request, PhysicalElement page); static boolean checkAccessPermissionByIdentifierAndFilePathWithSessionMap(HttpServletRequest request, String filePath, String privilegeType); @SuppressWarnings("unchecked") static boolean checkAccessPermissionByIdentifierAndFileNameWithSessionMap(HttpServletRequest request, String pi, String contentFileName, String privilegeType); static boolean checkAccessPermission(List<LicenseType> allLicenseTypes, Set<String> requiredAccessConditions, String privilegeName, User user, String remoteAddress, String query); static boolean isFreeOpenAccess(Set<String> requiredAccessConditions, Collection<LicenseType> allLicenseTypes); static int getPdfDownloadQuotaForRecord(String pi); static boolean isConcurrentViewsLimitEnabledForAnyAccessCondition(List<String> accessConditions); }
@Test public void getUnconditionalImageAccessMaxWidth_shouldReturnCorrectValue() throws Exception { Assert.assertEquals(1, DataManager.getInstance().getConfiguration().getUnconditionalImageAccessMaxWidth()); }
public int getUnconditionalImageAccessMaxWidth() { return getLocalInt("accessConditions.unconditionalImageAccessMaxWidth", 120); }
Configuration extends AbstractConfiguration { public int getUnconditionalImageAccessMaxWidth() { return getLocalInt("accessConditions.unconditionalImageAccessMaxWidth", 120); } }
Configuration extends AbstractConfiguration { public int getUnconditionalImageAccessMaxWidth() { return getLocalInt("accessConditions.unconditionalImageAccessMaxWidth", 120); } Configuration(String configFilePath); }
Configuration extends AbstractConfiguration { public int getUnconditionalImageAccessMaxWidth() { return getLocalInt("accessConditions.unconditionalImageAccessMaxWidth", 120); } Configuration(String configFilePath); Set<String> getStopwords(); boolean reloadingRequired(); String getConfigLocalPath(); String getLocalRessourceBundleFile(); int getViewerThumbnailsPerPage(); int getViewerMaxImageWidth(); int getViewerMaxImageHeight(); int getViewerMaxImageScale(); boolean isRememberImageZoom(); boolean isRememberImageRotation(); String getDfgViewerUrl(); String getConnectorVersionUrl(); List<Metadata> getTitleBarMetadata(); List<Metadata> getSearchHitMetadataForTemplate(String template); List<Metadata> getMainMetadataForTemplate(String template); List<Metadata> getSidebarMetadataForTemplate(String template); List<String> getNormdataFieldsForTemplate(String template); List<Metadata> getTocLabelConfiguration(String template); int getTocAnchorGroupElementsPerPage(); boolean isDisplaySidebarBrowsingTerms(); boolean isDisplaySidebarRssFeed(); boolean isDisplayWidgetUsage(); Metadata getWidgetUsageLicenceTextMetadata(); boolean isDisplaySidebarUsageWidgetLinkToJpegImage(); boolean isDisplaySidebarUsageWidgetLinkToMasterImage(); String getWidgetUsageMaxJpegSize(); String getWidgetUsageMaxMasterImageSize(); List<String> getCalendarDocStructTypes(); boolean isBrowsingMenuEnabled(); int getBrowsingMenuHitsPerPage(); List<BrowsingMenuFieldConfig> getBrowsingMenuFields(); String getBrowsingMenuSortingIgnoreLeadingChars(); String getDocstrctWhitelistFilterQuery(); String getCollectionSplittingChar(String field); List<DcSortingList> getCollectionSorting(String field); List<String> getCollectionBlacklist(String field); String getCollectionDefaultSortField(String field, String name); int getCollectionDisplayNumberOfVolumesLevel(String field); int getCollectionDisplayDepthForSearch(String field); String getCollectionHierarchyField(); boolean isAddCollectionHierarchyToBreadcrumbs(String field); String getSolrUrl(); String getContentServerWrapperUrl(); String getDownloadUrl(); String getRestApiUrl(); String getIIIFApiUrl(); boolean isUseIIIFApiUrlForCmsMediaUrls(); String getContentServerRealUrl(); String getMetsUrl(); String getMarcUrl(); String getDcUrl(); String getEseUrl(); List<Integer> getSearchHitsPerPageValues(); int getSearchHitsPerPageDefaultValue(); int getFulltextFragmentLength(); boolean isAdvancedSearchEnabled(); int getAdvancedSearchDefaultItemNumber(); List<AdvancedSearchFieldConfiguration> getAdvancedSearchFields(); boolean isAggregateHits(); boolean isDisplayAdditionalMetadataEnabled(); List<String> getDisplayAdditionalMetadataIgnoreFields(); List<String> getDisplayAdditionalMetadataTranslateFields(); boolean isAdvancedSearchFieldHierarchical(String field); boolean isAdvancedSearchFieldRange(String field); boolean isAdvancedSearchFieldUntokenizeForPhraseSearch(String field); String getAdvancedSearchFieldSeparatorLabel(String field); boolean isTimelineSearchEnabled(); boolean isCalendarSearchEnabled(); String getStaticQuerySuffix(); String getPreviousVersionIdentifierField(); String getNextVersionIdentifierField(); String getVersionLabelField(); String getIndexedMetsFolder(); String getIndexedLidoFolder(); String getIndexedDenkxwebFolder(); String getIndexedDublinCoreFolder(); String getPageSelectionFormat(); String getMediaFolder(); String getPdfFolder(); String getVocabulariesFolder(); String getOrigContentFolder(); String getCmsTextFolder(); String getAltoFolder(); String getAbbyyFolder(); String getFulltextFolder(); String getTeiFolder(); String getCmdiFolder(); String getWcFolder(); String getAnnotationFolder(); String getHotfolder(); @SuppressWarnings("static-method") String getTempFolder(); boolean isUrnDoRedirect(); boolean isUserRegistrationEnabled(); List<SecurityQuestion> getSecurityQuestions(); boolean isShowOpenIdConnect(); List<IAuthenticationProvider> getAuthenticationProviders(); String getSmtpServer(); String getSmtpUser(); String getSmtpPassword(); String getSmtpSenderAddress(); String getSmtpSenderName(); String getSmtpSecurity(); String getAnonymousUserEmailAddress(); boolean isDisplayCollectionBrowsing(); boolean isDisplayUserNavigation(); boolean isDisplayTagCloudNavigation(); boolean isDisplayStatistics(); boolean isDisplayTimeMatrix(); boolean isDisplayCrowdsourcingModuleLinks(); String getTheme(); String getThemeRootPath(); String getName(); String getDescription(); boolean isDisplayTagCloudStartpage(); boolean isDisplaySearchResultNavigation(); boolean isFoldout(String sidebarElement); boolean isSidebarPageViewLinkVisible(); boolean isSidebarCalendarViewLinkVisible(); boolean isSidebarTocViewLinkVisible(); boolean isSidebarThumbsViewLinkVisible(); boolean isSidebarMetadataViewLinkVisible(); boolean isShowSidebarEventMetadata(); boolean isShowRecordLabelIfNoOtherViews(); boolean isSidebarFulltextLinkVisible(); boolean isSidebarTocWidgetVisible(); boolean isSidebarTocWidgetVisibleInFullscreen(); boolean isSidebarOpacLinkVisible(); boolean getSidebarTocPageNumbersVisible(); int getSidebarTocLengthBeforeCut(); int getSidebarTocInitialCollapseLevel(); int getSidebarTocCollapseLengthThreshold(); int getSidebarTocLowestLevelToCollapseForLength(); boolean isSidebarTocTreeView(); boolean isTocTreeView(String docStructType); List<String> getAllDrillDownFields(); List<String> getDrillDownFields(); List<String> getHierarchicalDrillDownFields(); int getInitialDrillDownElementNumber(String field); String getSortOrder(String field); List<String> getPriorityValuesForDrillDownField(String field); String getLabelFieldForDrillDownField(String facetField); @SuppressWarnings("static-method") List<String> getRangeFacetFields(); boolean isSortingEnabled(); String getDefaultSortField(); List<String> getSortFields(); List<String> getStaticSortFields(); String getUrnResolverUrl(); int getUnconditionalImageAccessMaxWidth(); boolean isFullAccessForLocalhost(); boolean isGeneratePdfInTaskManager(); boolean isPdfApiDisabled(); boolean isTitlePdfEnabled(); boolean isTocPdfEnabled(); boolean isMetadataPdfEnabled(); boolean isPagePdfEnabled(); boolean isDocHierarchyPdfEnabled(); boolean isTitleEpubEnabled(); boolean isTocEpubEnabled(); boolean isMetadataEpubEnabled(); String getDownloadFolder(String type); int getRssFeedItems(); String getRssTitle(); String getRssDescription(); String getRssCopyrightText(); String getRulesetFilePath(); String getDefaultCollection(); int getThumbnailsWidth(); int getThumbnailsHeight(); int getThumbnailsCompression(); String getAnchorThumbnailMode(); int getMultivolumeThumbnailWidth(); int getMultivolumeThumbnailHeight(); boolean getDisplayBreadcrumbs(); boolean getDisplayMetadataPageLinkBlock(); boolean isAddDublinCoreMetaTags(); boolean isAddHighwirePressMetaTags(); int getMetadataParamNumber(); boolean useTiles(); boolean useTilesFullscreen(); boolean useTiles(PageType view, ImageType image); int getFooterHeight(); int getFullscreenFooterHeight(); int getFooterHeight(PageType view, ImageType image); String getImageViewType(); String getZoomFullscreenViewType(); String getZoomImageViewType(PageType view, ImageType image); boolean useOpenSeadragon(); List<String> getImageViewZoomScales(); List<String> getImageViewZoomScales(String view); List<String> getImageViewZoomScales(PageType view, ImageType image); Map<Integer, List<Integer>> getTileSizes(); Map<Integer, List<Integer>> getTileSizes(PageType view, ImageType image); SubnodeConfiguration getZoomImageViewConfig(PageType pageType, ImageType imageType); int getBreadcrumbsClipping(); boolean isDisplayTopstructLabel(); boolean getDisplayStructType(); int getSearchHitMetadataValueNumber(); int getSearchHitMetadataValueLength(); List<String> getWatermarkTextConfiguration(); String getWatermarkFormat(); boolean isOriginalContentDownload(); String getStopwordsFilePath(); String getPageType(PageType type); String getDocstructTargetPageType(String docstruct); String getPageTypeExitView(PageType type); int getFulltextPercentageWarningThreshold(); boolean isUseViewerLocaleAsRecordLanguage(); String getFeedbackEmailAddress(); boolean isBookmarksEnabled(); boolean isForceJpegConversion(); int getPageLoaderThreshold(); boolean isPreventProxyCaching(); boolean isSolrCompressionEnabled(); boolean isSolrBackwardsCompatible(); boolean isUserCommentsEnabled(); String getUserCommentsConditionalQuery(); List<String> getUserCommentsNotificationEmailAddresses(); String getViewerHome(); List<String> getWatermarkIdField(); String getSubthemeMainTheme(); String getSubthemeDiscriminatorField(); int getTagCloudSampleSize(String fieldName); List<StringPair> getTocVolumeSortFieldsForTemplate(String template); String getTocVolumeGroupFieldForTemplate(String template); boolean getDisplayTitleBreadcrumbs(); boolean isDisplayTitlePURL(); int getTitleBreadcrumbsMaxTitleLength(); boolean getIncludeAnchorInTitleBreadcrumbs(); boolean isDisplaySearchRssLinks(); boolean showThumbnailsInToc(); String getStartYearForTimeline(); String getEndYearForTimeline(); String getTimelineHits(); boolean isPiwikTrackingEnabled(); String getPiwikBaseURL(); String getPiwikSiteID(); boolean isSearchSavingEnabled(); boolean isBoostTopLevelDocstructs(); boolean isGroupDuplicateHits(); List<String> getRecordGroupIdentifierFields(); List<String> getAncestorIdentifierFields(); boolean isTocListSiblingRecords(); List<SearchFilter> getSearchFilters(); List<Map<String, String>> getWebApiFields(); String getDbPersistenceUnit(); boolean useCustomNavBar(); String getCmsTemplateFolder(); String getCmsMediaFolder(); String getTempMediaFolder(); List<String> getCmsClassifications(); int getCmsMediaDisplayWidth(); int getCmsMediaDisplayHeight(); boolean isTranskribusEnabled(); String getTranskribusUserName(); String getTranskribusPassword(); String getTranskribusDefaultCollection(); String getTranskribusRestApiUrl(); List<String> getTranskribusAllowedDocumentTypes(); int getTocIndentation(); boolean isPageBrowseEnabled(); List<Integer> getPageBrowseSteps(); String getTaskManagerServiceUrl(); String getTaskManagerRestUrl(); String getReCaptchaSiteKey(); boolean isUseReCaptcha(); boolean isSearchInItemEnabled(); String getDefaultBrowseIcon(String field); boolean isSearchExcelExportEnabled(); List<String> getSearchExcelExportFields(); int getExcelDownloadTimeout(); boolean isDisplayEmptyTocInSidebar(); boolean isDoublePageModeEnabled(); List<String> getRestrictedImageUrls(); List<String> getIIIFLicenses(); List<String> getIIIFMetadataFields(); List<String> getIIIFEventFields(); String getIIIFMetadataLabel(String field); int getIIIFDiscoveryAvtivitiesPerPage(); List<String> getIIIFLogo(); String getIIIFNavDateField(); List<String> getIIIFAttribution(); List<String> getIIIFDescriptionFields(); String getSitelinksField(); String getSitelinksFilterQuery(); List<String> getConfiguredCollections(); String getWebApiToken(); boolean isAllowRedirectCollectionToWork(); String getTwitterUserName(); float getLimitImageHeightUpperRatioThreshold(); float getLimitImageHeightLowerRatioThreshold(); boolean isLimitImageHeight(); boolean isAddCORSHeader(); String getCORSHeaderValue(); boolean isDiscloseImageContentLocation(); String getAccessConditionDisplayField(); String getCopyrightDisplayField(); boolean isDisplayCopyrightInfo(); boolean isDisplaySocialMediaShareLinks(); boolean isDisplayAnchorLabelInTitleBar(String template); String getAnchorLabelInTitleBarPrefix(String template); String getAnchorLabelInTitleBarSuffix(String template); String getMapBoxToken(); GeoMapMarker getGeoMapMarker(String name); List<String> getGeoMapMarkerFields(); List<GeoMapMarker> getGeoMapMarkers(); static GeoMapMarker readGeoMapMarker(HierarchicalConfiguration config); List<LicenseDescription> getLicenseDescriptions(); }
Configuration extends AbstractConfiguration { public int getUnconditionalImageAccessMaxWidth() { return getLocalInt("accessConditions.unconditionalImageAccessMaxWidth", 120); } Configuration(String configFilePath); Set<String> getStopwords(); boolean reloadingRequired(); String getConfigLocalPath(); String getLocalRessourceBundleFile(); int getViewerThumbnailsPerPage(); int getViewerMaxImageWidth(); int getViewerMaxImageHeight(); int getViewerMaxImageScale(); boolean isRememberImageZoom(); boolean isRememberImageRotation(); String getDfgViewerUrl(); String getConnectorVersionUrl(); List<Metadata> getTitleBarMetadata(); List<Metadata> getSearchHitMetadataForTemplate(String template); List<Metadata> getMainMetadataForTemplate(String template); List<Metadata> getSidebarMetadataForTemplate(String template); List<String> getNormdataFieldsForTemplate(String template); List<Metadata> getTocLabelConfiguration(String template); int getTocAnchorGroupElementsPerPage(); boolean isDisplaySidebarBrowsingTerms(); boolean isDisplaySidebarRssFeed(); boolean isDisplayWidgetUsage(); Metadata getWidgetUsageLicenceTextMetadata(); boolean isDisplaySidebarUsageWidgetLinkToJpegImage(); boolean isDisplaySidebarUsageWidgetLinkToMasterImage(); String getWidgetUsageMaxJpegSize(); String getWidgetUsageMaxMasterImageSize(); List<String> getCalendarDocStructTypes(); boolean isBrowsingMenuEnabled(); int getBrowsingMenuHitsPerPage(); List<BrowsingMenuFieldConfig> getBrowsingMenuFields(); String getBrowsingMenuSortingIgnoreLeadingChars(); String getDocstrctWhitelistFilterQuery(); String getCollectionSplittingChar(String field); List<DcSortingList> getCollectionSorting(String field); List<String> getCollectionBlacklist(String field); String getCollectionDefaultSortField(String field, String name); int getCollectionDisplayNumberOfVolumesLevel(String field); int getCollectionDisplayDepthForSearch(String field); String getCollectionHierarchyField(); boolean isAddCollectionHierarchyToBreadcrumbs(String field); String getSolrUrl(); String getContentServerWrapperUrl(); String getDownloadUrl(); String getRestApiUrl(); String getIIIFApiUrl(); boolean isUseIIIFApiUrlForCmsMediaUrls(); String getContentServerRealUrl(); String getMetsUrl(); String getMarcUrl(); String getDcUrl(); String getEseUrl(); List<Integer> getSearchHitsPerPageValues(); int getSearchHitsPerPageDefaultValue(); int getFulltextFragmentLength(); boolean isAdvancedSearchEnabled(); int getAdvancedSearchDefaultItemNumber(); List<AdvancedSearchFieldConfiguration> getAdvancedSearchFields(); boolean isAggregateHits(); boolean isDisplayAdditionalMetadataEnabled(); List<String> getDisplayAdditionalMetadataIgnoreFields(); List<String> getDisplayAdditionalMetadataTranslateFields(); boolean isAdvancedSearchFieldHierarchical(String field); boolean isAdvancedSearchFieldRange(String field); boolean isAdvancedSearchFieldUntokenizeForPhraseSearch(String field); String getAdvancedSearchFieldSeparatorLabel(String field); boolean isTimelineSearchEnabled(); boolean isCalendarSearchEnabled(); String getStaticQuerySuffix(); String getPreviousVersionIdentifierField(); String getNextVersionIdentifierField(); String getVersionLabelField(); String getIndexedMetsFolder(); String getIndexedLidoFolder(); String getIndexedDenkxwebFolder(); String getIndexedDublinCoreFolder(); String getPageSelectionFormat(); String getMediaFolder(); String getPdfFolder(); String getVocabulariesFolder(); String getOrigContentFolder(); String getCmsTextFolder(); String getAltoFolder(); String getAbbyyFolder(); String getFulltextFolder(); String getTeiFolder(); String getCmdiFolder(); String getWcFolder(); String getAnnotationFolder(); String getHotfolder(); @SuppressWarnings("static-method") String getTempFolder(); boolean isUrnDoRedirect(); boolean isUserRegistrationEnabled(); List<SecurityQuestion> getSecurityQuestions(); boolean isShowOpenIdConnect(); List<IAuthenticationProvider> getAuthenticationProviders(); String getSmtpServer(); String getSmtpUser(); String getSmtpPassword(); String getSmtpSenderAddress(); String getSmtpSenderName(); String getSmtpSecurity(); String getAnonymousUserEmailAddress(); boolean isDisplayCollectionBrowsing(); boolean isDisplayUserNavigation(); boolean isDisplayTagCloudNavigation(); boolean isDisplayStatistics(); boolean isDisplayTimeMatrix(); boolean isDisplayCrowdsourcingModuleLinks(); String getTheme(); String getThemeRootPath(); String getName(); String getDescription(); boolean isDisplayTagCloudStartpage(); boolean isDisplaySearchResultNavigation(); boolean isFoldout(String sidebarElement); boolean isSidebarPageViewLinkVisible(); boolean isSidebarCalendarViewLinkVisible(); boolean isSidebarTocViewLinkVisible(); boolean isSidebarThumbsViewLinkVisible(); boolean isSidebarMetadataViewLinkVisible(); boolean isShowSidebarEventMetadata(); boolean isShowRecordLabelIfNoOtherViews(); boolean isSidebarFulltextLinkVisible(); boolean isSidebarTocWidgetVisible(); boolean isSidebarTocWidgetVisibleInFullscreen(); boolean isSidebarOpacLinkVisible(); boolean getSidebarTocPageNumbersVisible(); int getSidebarTocLengthBeforeCut(); int getSidebarTocInitialCollapseLevel(); int getSidebarTocCollapseLengthThreshold(); int getSidebarTocLowestLevelToCollapseForLength(); boolean isSidebarTocTreeView(); boolean isTocTreeView(String docStructType); List<String> getAllDrillDownFields(); List<String> getDrillDownFields(); List<String> getHierarchicalDrillDownFields(); int getInitialDrillDownElementNumber(String field); String getSortOrder(String field); List<String> getPriorityValuesForDrillDownField(String field); String getLabelFieldForDrillDownField(String facetField); @SuppressWarnings("static-method") List<String> getRangeFacetFields(); boolean isSortingEnabled(); String getDefaultSortField(); List<String> getSortFields(); List<String> getStaticSortFields(); String getUrnResolverUrl(); int getUnconditionalImageAccessMaxWidth(); boolean isFullAccessForLocalhost(); boolean isGeneratePdfInTaskManager(); boolean isPdfApiDisabled(); boolean isTitlePdfEnabled(); boolean isTocPdfEnabled(); boolean isMetadataPdfEnabled(); boolean isPagePdfEnabled(); boolean isDocHierarchyPdfEnabled(); boolean isTitleEpubEnabled(); boolean isTocEpubEnabled(); boolean isMetadataEpubEnabled(); String getDownloadFolder(String type); int getRssFeedItems(); String getRssTitle(); String getRssDescription(); String getRssCopyrightText(); String getRulesetFilePath(); String getDefaultCollection(); int getThumbnailsWidth(); int getThumbnailsHeight(); int getThumbnailsCompression(); String getAnchorThumbnailMode(); int getMultivolumeThumbnailWidth(); int getMultivolumeThumbnailHeight(); boolean getDisplayBreadcrumbs(); boolean getDisplayMetadataPageLinkBlock(); boolean isAddDublinCoreMetaTags(); boolean isAddHighwirePressMetaTags(); int getMetadataParamNumber(); boolean useTiles(); boolean useTilesFullscreen(); boolean useTiles(PageType view, ImageType image); int getFooterHeight(); int getFullscreenFooterHeight(); int getFooterHeight(PageType view, ImageType image); String getImageViewType(); String getZoomFullscreenViewType(); String getZoomImageViewType(PageType view, ImageType image); boolean useOpenSeadragon(); List<String> getImageViewZoomScales(); List<String> getImageViewZoomScales(String view); List<String> getImageViewZoomScales(PageType view, ImageType image); Map<Integer, List<Integer>> getTileSizes(); Map<Integer, List<Integer>> getTileSizes(PageType view, ImageType image); SubnodeConfiguration getZoomImageViewConfig(PageType pageType, ImageType imageType); int getBreadcrumbsClipping(); boolean isDisplayTopstructLabel(); boolean getDisplayStructType(); int getSearchHitMetadataValueNumber(); int getSearchHitMetadataValueLength(); List<String> getWatermarkTextConfiguration(); String getWatermarkFormat(); boolean isOriginalContentDownload(); String getStopwordsFilePath(); String getPageType(PageType type); String getDocstructTargetPageType(String docstruct); String getPageTypeExitView(PageType type); int getFulltextPercentageWarningThreshold(); boolean isUseViewerLocaleAsRecordLanguage(); String getFeedbackEmailAddress(); boolean isBookmarksEnabled(); boolean isForceJpegConversion(); int getPageLoaderThreshold(); boolean isPreventProxyCaching(); boolean isSolrCompressionEnabled(); boolean isSolrBackwardsCompatible(); boolean isUserCommentsEnabled(); String getUserCommentsConditionalQuery(); List<String> getUserCommentsNotificationEmailAddresses(); String getViewerHome(); List<String> getWatermarkIdField(); String getSubthemeMainTheme(); String getSubthemeDiscriminatorField(); int getTagCloudSampleSize(String fieldName); List<StringPair> getTocVolumeSortFieldsForTemplate(String template); String getTocVolumeGroupFieldForTemplate(String template); boolean getDisplayTitleBreadcrumbs(); boolean isDisplayTitlePURL(); int getTitleBreadcrumbsMaxTitleLength(); boolean getIncludeAnchorInTitleBreadcrumbs(); boolean isDisplaySearchRssLinks(); boolean showThumbnailsInToc(); String getStartYearForTimeline(); String getEndYearForTimeline(); String getTimelineHits(); boolean isPiwikTrackingEnabled(); String getPiwikBaseURL(); String getPiwikSiteID(); boolean isSearchSavingEnabled(); boolean isBoostTopLevelDocstructs(); boolean isGroupDuplicateHits(); List<String> getRecordGroupIdentifierFields(); List<String> getAncestorIdentifierFields(); boolean isTocListSiblingRecords(); List<SearchFilter> getSearchFilters(); List<Map<String, String>> getWebApiFields(); String getDbPersistenceUnit(); boolean useCustomNavBar(); String getCmsTemplateFolder(); String getCmsMediaFolder(); String getTempMediaFolder(); List<String> getCmsClassifications(); int getCmsMediaDisplayWidth(); int getCmsMediaDisplayHeight(); boolean isTranskribusEnabled(); String getTranskribusUserName(); String getTranskribusPassword(); String getTranskribusDefaultCollection(); String getTranskribusRestApiUrl(); List<String> getTranskribusAllowedDocumentTypes(); int getTocIndentation(); boolean isPageBrowseEnabled(); List<Integer> getPageBrowseSteps(); String getTaskManagerServiceUrl(); String getTaskManagerRestUrl(); String getReCaptchaSiteKey(); boolean isUseReCaptcha(); boolean isSearchInItemEnabled(); String getDefaultBrowseIcon(String field); boolean isSearchExcelExportEnabled(); List<String> getSearchExcelExportFields(); int getExcelDownloadTimeout(); boolean isDisplayEmptyTocInSidebar(); boolean isDoublePageModeEnabled(); List<String> getRestrictedImageUrls(); List<String> getIIIFLicenses(); List<String> getIIIFMetadataFields(); List<String> getIIIFEventFields(); String getIIIFMetadataLabel(String field); int getIIIFDiscoveryAvtivitiesPerPage(); List<String> getIIIFLogo(); String getIIIFNavDateField(); List<String> getIIIFAttribution(); List<String> getIIIFDescriptionFields(); String getSitelinksField(); String getSitelinksFilterQuery(); List<String> getConfiguredCollections(); String getWebApiToken(); boolean isAllowRedirectCollectionToWork(); String getTwitterUserName(); float getLimitImageHeightUpperRatioThreshold(); float getLimitImageHeightLowerRatioThreshold(); boolean isLimitImageHeight(); boolean isAddCORSHeader(); String getCORSHeaderValue(); boolean isDiscloseImageContentLocation(); String getAccessConditionDisplayField(); String getCopyrightDisplayField(); boolean isDisplayCopyrightInfo(); boolean isDisplaySocialMediaShareLinks(); boolean isDisplayAnchorLabelInTitleBar(String template); String getAnchorLabelInTitleBarPrefix(String template); String getAnchorLabelInTitleBarSuffix(String template); String getMapBoxToken(); GeoMapMarker getGeoMapMarker(String name); List<String> getGeoMapMarkerFields(); List<GeoMapMarker> getGeoMapMarkers(); static GeoMapMarker readGeoMapMarker(HierarchicalConfiguration config); List<LicenseDescription> getLicenseDescriptions(); }
@Test public void getViewerHome_shouldReturnCorrectValue() throws Exception { Assert.assertEquals("src/test/resources/data/viewer/", DataManager.getInstance().getConfiguration().getViewerHome()); }
public String getViewerHome() { return getLocalString("viewerHome"); }
Configuration extends AbstractConfiguration { public String getViewerHome() { return getLocalString("viewerHome"); } }
Configuration extends AbstractConfiguration { public String getViewerHome() { return getLocalString("viewerHome"); } Configuration(String configFilePath); }
Configuration extends AbstractConfiguration { public String getViewerHome() { return getLocalString("viewerHome"); } Configuration(String configFilePath); Set<String> getStopwords(); boolean reloadingRequired(); String getConfigLocalPath(); String getLocalRessourceBundleFile(); int getViewerThumbnailsPerPage(); int getViewerMaxImageWidth(); int getViewerMaxImageHeight(); int getViewerMaxImageScale(); boolean isRememberImageZoom(); boolean isRememberImageRotation(); String getDfgViewerUrl(); String getConnectorVersionUrl(); List<Metadata> getTitleBarMetadata(); List<Metadata> getSearchHitMetadataForTemplate(String template); List<Metadata> getMainMetadataForTemplate(String template); List<Metadata> getSidebarMetadataForTemplate(String template); List<String> getNormdataFieldsForTemplate(String template); List<Metadata> getTocLabelConfiguration(String template); int getTocAnchorGroupElementsPerPage(); boolean isDisplaySidebarBrowsingTerms(); boolean isDisplaySidebarRssFeed(); boolean isDisplayWidgetUsage(); Metadata getWidgetUsageLicenceTextMetadata(); boolean isDisplaySidebarUsageWidgetLinkToJpegImage(); boolean isDisplaySidebarUsageWidgetLinkToMasterImage(); String getWidgetUsageMaxJpegSize(); String getWidgetUsageMaxMasterImageSize(); List<String> getCalendarDocStructTypes(); boolean isBrowsingMenuEnabled(); int getBrowsingMenuHitsPerPage(); List<BrowsingMenuFieldConfig> getBrowsingMenuFields(); String getBrowsingMenuSortingIgnoreLeadingChars(); String getDocstrctWhitelistFilterQuery(); String getCollectionSplittingChar(String field); List<DcSortingList> getCollectionSorting(String field); List<String> getCollectionBlacklist(String field); String getCollectionDefaultSortField(String field, String name); int getCollectionDisplayNumberOfVolumesLevel(String field); int getCollectionDisplayDepthForSearch(String field); String getCollectionHierarchyField(); boolean isAddCollectionHierarchyToBreadcrumbs(String field); String getSolrUrl(); String getContentServerWrapperUrl(); String getDownloadUrl(); String getRestApiUrl(); String getIIIFApiUrl(); boolean isUseIIIFApiUrlForCmsMediaUrls(); String getContentServerRealUrl(); String getMetsUrl(); String getMarcUrl(); String getDcUrl(); String getEseUrl(); List<Integer> getSearchHitsPerPageValues(); int getSearchHitsPerPageDefaultValue(); int getFulltextFragmentLength(); boolean isAdvancedSearchEnabled(); int getAdvancedSearchDefaultItemNumber(); List<AdvancedSearchFieldConfiguration> getAdvancedSearchFields(); boolean isAggregateHits(); boolean isDisplayAdditionalMetadataEnabled(); List<String> getDisplayAdditionalMetadataIgnoreFields(); List<String> getDisplayAdditionalMetadataTranslateFields(); boolean isAdvancedSearchFieldHierarchical(String field); boolean isAdvancedSearchFieldRange(String field); boolean isAdvancedSearchFieldUntokenizeForPhraseSearch(String field); String getAdvancedSearchFieldSeparatorLabel(String field); boolean isTimelineSearchEnabled(); boolean isCalendarSearchEnabled(); String getStaticQuerySuffix(); String getPreviousVersionIdentifierField(); String getNextVersionIdentifierField(); String getVersionLabelField(); String getIndexedMetsFolder(); String getIndexedLidoFolder(); String getIndexedDenkxwebFolder(); String getIndexedDublinCoreFolder(); String getPageSelectionFormat(); String getMediaFolder(); String getPdfFolder(); String getVocabulariesFolder(); String getOrigContentFolder(); String getCmsTextFolder(); String getAltoFolder(); String getAbbyyFolder(); String getFulltextFolder(); String getTeiFolder(); String getCmdiFolder(); String getWcFolder(); String getAnnotationFolder(); String getHotfolder(); @SuppressWarnings("static-method") String getTempFolder(); boolean isUrnDoRedirect(); boolean isUserRegistrationEnabled(); List<SecurityQuestion> getSecurityQuestions(); boolean isShowOpenIdConnect(); List<IAuthenticationProvider> getAuthenticationProviders(); String getSmtpServer(); String getSmtpUser(); String getSmtpPassword(); String getSmtpSenderAddress(); String getSmtpSenderName(); String getSmtpSecurity(); String getAnonymousUserEmailAddress(); boolean isDisplayCollectionBrowsing(); boolean isDisplayUserNavigation(); boolean isDisplayTagCloudNavigation(); boolean isDisplayStatistics(); boolean isDisplayTimeMatrix(); boolean isDisplayCrowdsourcingModuleLinks(); String getTheme(); String getThemeRootPath(); String getName(); String getDescription(); boolean isDisplayTagCloudStartpage(); boolean isDisplaySearchResultNavigation(); boolean isFoldout(String sidebarElement); boolean isSidebarPageViewLinkVisible(); boolean isSidebarCalendarViewLinkVisible(); boolean isSidebarTocViewLinkVisible(); boolean isSidebarThumbsViewLinkVisible(); boolean isSidebarMetadataViewLinkVisible(); boolean isShowSidebarEventMetadata(); boolean isShowRecordLabelIfNoOtherViews(); boolean isSidebarFulltextLinkVisible(); boolean isSidebarTocWidgetVisible(); boolean isSidebarTocWidgetVisibleInFullscreen(); boolean isSidebarOpacLinkVisible(); boolean getSidebarTocPageNumbersVisible(); int getSidebarTocLengthBeforeCut(); int getSidebarTocInitialCollapseLevel(); int getSidebarTocCollapseLengthThreshold(); int getSidebarTocLowestLevelToCollapseForLength(); boolean isSidebarTocTreeView(); boolean isTocTreeView(String docStructType); List<String> getAllDrillDownFields(); List<String> getDrillDownFields(); List<String> getHierarchicalDrillDownFields(); int getInitialDrillDownElementNumber(String field); String getSortOrder(String field); List<String> getPriorityValuesForDrillDownField(String field); String getLabelFieldForDrillDownField(String facetField); @SuppressWarnings("static-method") List<String> getRangeFacetFields(); boolean isSortingEnabled(); String getDefaultSortField(); List<String> getSortFields(); List<String> getStaticSortFields(); String getUrnResolverUrl(); int getUnconditionalImageAccessMaxWidth(); boolean isFullAccessForLocalhost(); boolean isGeneratePdfInTaskManager(); boolean isPdfApiDisabled(); boolean isTitlePdfEnabled(); boolean isTocPdfEnabled(); boolean isMetadataPdfEnabled(); boolean isPagePdfEnabled(); boolean isDocHierarchyPdfEnabled(); boolean isTitleEpubEnabled(); boolean isTocEpubEnabled(); boolean isMetadataEpubEnabled(); String getDownloadFolder(String type); int getRssFeedItems(); String getRssTitle(); String getRssDescription(); String getRssCopyrightText(); String getRulesetFilePath(); String getDefaultCollection(); int getThumbnailsWidth(); int getThumbnailsHeight(); int getThumbnailsCompression(); String getAnchorThumbnailMode(); int getMultivolumeThumbnailWidth(); int getMultivolumeThumbnailHeight(); boolean getDisplayBreadcrumbs(); boolean getDisplayMetadataPageLinkBlock(); boolean isAddDublinCoreMetaTags(); boolean isAddHighwirePressMetaTags(); int getMetadataParamNumber(); boolean useTiles(); boolean useTilesFullscreen(); boolean useTiles(PageType view, ImageType image); int getFooterHeight(); int getFullscreenFooterHeight(); int getFooterHeight(PageType view, ImageType image); String getImageViewType(); String getZoomFullscreenViewType(); String getZoomImageViewType(PageType view, ImageType image); boolean useOpenSeadragon(); List<String> getImageViewZoomScales(); List<String> getImageViewZoomScales(String view); List<String> getImageViewZoomScales(PageType view, ImageType image); Map<Integer, List<Integer>> getTileSizes(); Map<Integer, List<Integer>> getTileSizes(PageType view, ImageType image); SubnodeConfiguration getZoomImageViewConfig(PageType pageType, ImageType imageType); int getBreadcrumbsClipping(); boolean isDisplayTopstructLabel(); boolean getDisplayStructType(); int getSearchHitMetadataValueNumber(); int getSearchHitMetadataValueLength(); List<String> getWatermarkTextConfiguration(); String getWatermarkFormat(); boolean isOriginalContentDownload(); String getStopwordsFilePath(); String getPageType(PageType type); String getDocstructTargetPageType(String docstruct); String getPageTypeExitView(PageType type); int getFulltextPercentageWarningThreshold(); boolean isUseViewerLocaleAsRecordLanguage(); String getFeedbackEmailAddress(); boolean isBookmarksEnabled(); boolean isForceJpegConversion(); int getPageLoaderThreshold(); boolean isPreventProxyCaching(); boolean isSolrCompressionEnabled(); boolean isSolrBackwardsCompatible(); boolean isUserCommentsEnabled(); String getUserCommentsConditionalQuery(); List<String> getUserCommentsNotificationEmailAddresses(); String getViewerHome(); List<String> getWatermarkIdField(); String getSubthemeMainTheme(); String getSubthemeDiscriminatorField(); int getTagCloudSampleSize(String fieldName); List<StringPair> getTocVolumeSortFieldsForTemplate(String template); String getTocVolumeGroupFieldForTemplate(String template); boolean getDisplayTitleBreadcrumbs(); boolean isDisplayTitlePURL(); int getTitleBreadcrumbsMaxTitleLength(); boolean getIncludeAnchorInTitleBreadcrumbs(); boolean isDisplaySearchRssLinks(); boolean showThumbnailsInToc(); String getStartYearForTimeline(); String getEndYearForTimeline(); String getTimelineHits(); boolean isPiwikTrackingEnabled(); String getPiwikBaseURL(); String getPiwikSiteID(); boolean isSearchSavingEnabled(); boolean isBoostTopLevelDocstructs(); boolean isGroupDuplicateHits(); List<String> getRecordGroupIdentifierFields(); List<String> getAncestorIdentifierFields(); boolean isTocListSiblingRecords(); List<SearchFilter> getSearchFilters(); List<Map<String, String>> getWebApiFields(); String getDbPersistenceUnit(); boolean useCustomNavBar(); String getCmsTemplateFolder(); String getCmsMediaFolder(); String getTempMediaFolder(); List<String> getCmsClassifications(); int getCmsMediaDisplayWidth(); int getCmsMediaDisplayHeight(); boolean isTranskribusEnabled(); String getTranskribusUserName(); String getTranskribusPassword(); String getTranskribusDefaultCollection(); String getTranskribusRestApiUrl(); List<String> getTranskribusAllowedDocumentTypes(); int getTocIndentation(); boolean isPageBrowseEnabled(); List<Integer> getPageBrowseSteps(); String getTaskManagerServiceUrl(); String getTaskManagerRestUrl(); String getReCaptchaSiteKey(); boolean isUseReCaptcha(); boolean isSearchInItemEnabled(); String getDefaultBrowseIcon(String field); boolean isSearchExcelExportEnabled(); List<String> getSearchExcelExportFields(); int getExcelDownloadTimeout(); boolean isDisplayEmptyTocInSidebar(); boolean isDoublePageModeEnabled(); List<String> getRestrictedImageUrls(); List<String> getIIIFLicenses(); List<String> getIIIFMetadataFields(); List<String> getIIIFEventFields(); String getIIIFMetadataLabel(String field); int getIIIFDiscoveryAvtivitiesPerPage(); List<String> getIIIFLogo(); String getIIIFNavDateField(); List<String> getIIIFAttribution(); List<String> getIIIFDescriptionFields(); String getSitelinksField(); String getSitelinksFilterQuery(); List<String> getConfiguredCollections(); String getWebApiToken(); boolean isAllowRedirectCollectionToWork(); String getTwitterUserName(); float getLimitImageHeightUpperRatioThreshold(); float getLimitImageHeightLowerRatioThreshold(); boolean isLimitImageHeight(); boolean isAddCORSHeader(); String getCORSHeaderValue(); boolean isDiscloseImageContentLocation(); String getAccessConditionDisplayField(); String getCopyrightDisplayField(); boolean isDisplayCopyrightInfo(); boolean isDisplaySocialMediaShareLinks(); boolean isDisplayAnchorLabelInTitleBar(String template); String getAnchorLabelInTitleBarPrefix(String template); String getAnchorLabelInTitleBarSuffix(String template); String getMapBoxToken(); GeoMapMarker getGeoMapMarker(String name); List<String> getGeoMapMarkerFields(); List<GeoMapMarker> getGeoMapMarkers(); static GeoMapMarker readGeoMapMarker(HierarchicalConfiguration config); List<LicenseDescription> getLicenseDescriptions(); }
Configuration extends AbstractConfiguration { public String getViewerHome() { return getLocalString("viewerHome"); } Configuration(String configFilePath); Set<String> getStopwords(); boolean reloadingRequired(); String getConfigLocalPath(); String getLocalRessourceBundleFile(); int getViewerThumbnailsPerPage(); int getViewerMaxImageWidth(); int getViewerMaxImageHeight(); int getViewerMaxImageScale(); boolean isRememberImageZoom(); boolean isRememberImageRotation(); String getDfgViewerUrl(); String getConnectorVersionUrl(); List<Metadata> getTitleBarMetadata(); List<Metadata> getSearchHitMetadataForTemplate(String template); List<Metadata> getMainMetadataForTemplate(String template); List<Metadata> getSidebarMetadataForTemplate(String template); List<String> getNormdataFieldsForTemplate(String template); List<Metadata> getTocLabelConfiguration(String template); int getTocAnchorGroupElementsPerPage(); boolean isDisplaySidebarBrowsingTerms(); boolean isDisplaySidebarRssFeed(); boolean isDisplayWidgetUsage(); Metadata getWidgetUsageLicenceTextMetadata(); boolean isDisplaySidebarUsageWidgetLinkToJpegImage(); boolean isDisplaySidebarUsageWidgetLinkToMasterImage(); String getWidgetUsageMaxJpegSize(); String getWidgetUsageMaxMasterImageSize(); List<String> getCalendarDocStructTypes(); boolean isBrowsingMenuEnabled(); int getBrowsingMenuHitsPerPage(); List<BrowsingMenuFieldConfig> getBrowsingMenuFields(); String getBrowsingMenuSortingIgnoreLeadingChars(); String getDocstrctWhitelistFilterQuery(); String getCollectionSplittingChar(String field); List<DcSortingList> getCollectionSorting(String field); List<String> getCollectionBlacklist(String field); String getCollectionDefaultSortField(String field, String name); int getCollectionDisplayNumberOfVolumesLevel(String field); int getCollectionDisplayDepthForSearch(String field); String getCollectionHierarchyField(); boolean isAddCollectionHierarchyToBreadcrumbs(String field); String getSolrUrl(); String getContentServerWrapperUrl(); String getDownloadUrl(); String getRestApiUrl(); String getIIIFApiUrl(); boolean isUseIIIFApiUrlForCmsMediaUrls(); String getContentServerRealUrl(); String getMetsUrl(); String getMarcUrl(); String getDcUrl(); String getEseUrl(); List<Integer> getSearchHitsPerPageValues(); int getSearchHitsPerPageDefaultValue(); int getFulltextFragmentLength(); boolean isAdvancedSearchEnabled(); int getAdvancedSearchDefaultItemNumber(); List<AdvancedSearchFieldConfiguration> getAdvancedSearchFields(); boolean isAggregateHits(); boolean isDisplayAdditionalMetadataEnabled(); List<String> getDisplayAdditionalMetadataIgnoreFields(); List<String> getDisplayAdditionalMetadataTranslateFields(); boolean isAdvancedSearchFieldHierarchical(String field); boolean isAdvancedSearchFieldRange(String field); boolean isAdvancedSearchFieldUntokenizeForPhraseSearch(String field); String getAdvancedSearchFieldSeparatorLabel(String field); boolean isTimelineSearchEnabled(); boolean isCalendarSearchEnabled(); String getStaticQuerySuffix(); String getPreviousVersionIdentifierField(); String getNextVersionIdentifierField(); String getVersionLabelField(); String getIndexedMetsFolder(); String getIndexedLidoFolder(); String getIndexedDenkxwebFolder(); String getIndexedDublinCoreFolder(); String getPageSelectionFormat(); String getMediaFolder(); String getPdfFolder(); String getVocabulariesFolder(); String getOrigContentFolder(); String getCmsTextFolder(); String getAltoFolder(); String getAbbyyFolder(); String getFulltextFolder(); String getTeiFolder(); String getCmdiFolder(); String getWcFolder(); String getAnnotationFolder(); String getHotfolder(); @SuppressWarnings("static-method") String getTempFolder(); boolean isUrnDoRedirect(); boolean isUserRegistrationEnabled(); List<SecurityQuestion> getSecurityQuestions(); boolean isShowOpenIdConnect(); List<IAuthenticationProvider> getAuthenticationProviders(); String getSmtpServer(); String getSmtpUser(); String getSmtpPassword(); String getSmtpSenderAddress(); String getSmtpSenderName(); String getSmtpSecurity(); String getAnonymousUserEmailAddress(); boolean isDisplayCollectionBrowsing(); boolean isDisplayUserNavigation(); boolean isDisplayTagCloudNavigation(); boolean isDisplayStatistics(); boolean isDisplayTimeMatrix(); boolean isDisplayCrowdsourcingModuleLinks(); String getTheme(); String getThemeRootPath(); String getName(); String getDescription(); boolean isDisplayTagCloudStartpage(); boolean isDisplaySearchResultNavigation(); boolean isFoldout(String sidebarElement); boolean isSidebarPageViewLinkVisible(); boolean isSidebarCalendarViewLinkVisible(); boolean isSidebarTocViewLinkVisible(); boolean isSidebarThumbsViewLinkVisible(); boolean isSidebarMetadataViewLinkVisible(); boolean isShowSidebarEventMetadata(); boolean isShowRecordLabelIfNoOtherViews(); boolean isSidebarFulltextLinkVisible(); boolean isSidebarTocWidgetVisible(); boolean isSidebarTocWidgetVisibleInFullscreen(); boolean isSidebarOpacLinkVisible(); boolean getSidebarTocPageNumbersVisible(); int getSidebarTocLengthBeforeCut(); int getSidebarTocInitialCollapseLevel(); int getSidebarTocCollapseLengthThreshold(); int getSidebarTocLowestLevelToCollapseForLength(); boolean isSidebarTocTreeView(); boolean isTocTreeView(String docStructType); List<String> getAllDrillDownFields(); List<String> getDrillDownFields(); List<String> getHierarchicalDrillDownFields(); int getInitialDrillDownElementNumber(String field); String getSortOrder(String field); List<String> getPriorityValuesForDrillDownField(String field); String getLabelFieldForDrillDownField(String facetField); @SuppressWarnings("static-method") List<String> getRangeFacetFields(); boolean isSortingEnabled(); String getDefaultSortField(); List<String> getSortFields(); List<String> getStaticSortFields(); String getUrnResolverUrl(); int getUnconditionalImageAccessMaxWidth(); boolean isFullAccessForLocalhost(); boolean isGeneratePdfInTaskManager(); boolean isPdfApiDisabled(); boolean isTitlePdfEnabled(); boolean isTocPdfEnabled(); boolean isMetadataPdfEnabled(); boolean isPagePdfEnabled(); boolean isDocHierarchyPdfEnabled(); boolean isTitleEpubEnabled(); boolean isTocEpubEnabled(); boolean isMetadataEpubEnabled(); String getDownloadFolder(String type); int getRssFeedItems(); String getRssTitle(); String getRssDescription(); String getRssCopyrightText(); String getRulesetFilePath(); String getDefaultCollection(); int getThumbnailsWidth(); int getThumbnailsHeight(); int getThumbnailsCompression(); String getAnchorThumbnailMode(); int getMultivolumeThumbnailWidth(); int getMultivolumeThumbnailHeight(); boolean getDisplayBreadcrumbs(); boolean getDisplayMetadataPageLinkBlock(); boolean isAddDublinCoreMetaTags(); boolean isAddHighwirePressMetaTags(); int getMetadataParamNumber(); boolean useTiles(); boolean useTilesFullscreen(); boolean useTiles(PageType view, ImageType image); int getFooterHeight(); int getFullscreenFooterHeight(); int getFooterHeight(PageType view, ImageType image); String getImageViewType(); String getZoomFullscreenViewType(); String getZoomImageViewType(PageType view, ImageType image); boolean useOpenSeadragon(); List<String> getImageViewZoomScales(); List<String> getImageViewZoomScales(String view); List<String> getImageViewZoomScales(PageType view, ImageType image); Map<Integer, List<Integer>> getTileSizes(); Map<Integer, List<Integer>> getTileSizes(PageType view, ImageType image); SubnodeConfiguration getZoomImageViewConfig(PageType pageType, ImageType imageType); int getBreadcrumbsClipping(); boolean isDisplayTopstructLabel(); boolean getDisplayStructType(); int getSearchHitMetadataValueNumber(); int getSearchHitMetadataValueLength(); List<String> getWatermarkTextConfiguration(); String getWatermarkFormat(); boolean isOriginalContentDownload(); String getStopwordsFilePath(); String getPageType(PageType type); String getDocstructTargetPageType(String docstruct); String getPageTypeExitView(PageType type); int getFulltextPercentageWarningThreshold(); boolean isUseViewerLocaleAsRecordLanguage(); String getFeedbackEmailAddress(); boolean isBookmarksEnabled(); boolean isForceJpegConversion(); int getPageLoaderThreshold(); boolean isPreventProxyCaching(); boolean isSolrCompressionEnabled(); boolean isSolrBackwardsCompatible(); boolean isUserCommentsEnabled(); String getUserCommentsConditionalQuery(); List<String> getUserCommentsNotificationEmailAddresses(); String getViewerHome(); List<String> getWatermarkIdField(); String getSubthemeMainTheme(); String getSubthemeDiscriminatorField(); int getTagCloudSampleSize(String fieldName); List<StringPair> getTocVolumeSortFieldsForTemplate(String template); String getTocVolumeGroupFieldForTemplate(String template); boolean getDisplayTitleBreadcrumbs(); boolean isDisplayTitlePURL(); int getTitleBreadcrumbsMaxTitleLength(); boolean getIncludeAnchorInTitleBreadcrumbs(); boolean isDisplaySearchRssLinks(); boolean showThumbnailsInToc(); String getStartYearForTimeline(); String getEndYearForTimeline(); String getTimelineHits(); boolean isPiwikTrackingEnabled(); String getPiwikBaseURL(); String getPiwikSiteID(); boolean isSearchSavingEnabled(); boolean isBoostTopLevelDocstructs(); boolean isGroupDuplicateHits(); List<String> getRecordGroupIdentifierFields(); List<String> getAncestorIdentifierFields(); boolean isTocListSiblingRecords(); List<SearchFilter> getSearchFilters(); List<Map<String, String>> getWebApiFields(); String getDbPersistenceUnit(); boolean useCustomNavBar(); String getCmsTemplateFolder(); String getCmsMediaFolder(); String getTempMediaFolder(); List<String> getCmsClassifications(); int getCmsMediaDisplayWidth(); int getCmsMediaDisplayHeight(); boolean isTranskribusEnabled(); String getTranskribusUserName(); String getTranskribusPassword(); String getTranskribusDefaultCollection(); String getTranskribusRestApiUrl(); List<String> getTranskribusAllowedDocumentTypes(); int getTocIndentation(); boolean isPageBrowseEnabled(); List<Integer> getPageBrowseSteps(); String getTaskManagerServiceUrl(); String getTaskManagerRestUrl(); String getReCaptchaSiteKey(); boolean isUseReCaptcha(); boolean isSearchInItemEnabled(); String getDefaultBrowseIcon(String field); boolean isSearchExcelExportEnabled(); List<String> getSearchExcelExportFields(); int getExcelDownloadTimeout(); boolean isDisplayEmptyTocInSidebar(); boolean isDoublePageModeEnabled(); List<String> getRestrictedImageUrls(); List<String> getIIIFLicenses(); List<String> getIIIFMetadataFields(); List<String> getIIIFEventFields(); String getIIIFMetadataLabel(String field); int getIIIFDiscoveryAvtivitiesPerPage(); List<String> getIIIFLogo(); String getIIIFNavDateField(); List<String> getIIIFAttribution(); List<String> getIIIFDescriptionFields(); String getSitelinksField(); String getSitelinksFilterQuery(); List<String> getConfiguredCollections(); String getWebApiToken(); boolean isAllowRedirectCollectionToWork(); String getTwitterUserName(); float getLimitImageHeightUpperRatioThreshold(); float getLimitImageHeightLowerRatioThreshold(); boolean isLimitImageHeight(); boolean isAddCORSHeader(); String getCORSHeaderValue(); boolean isDiscloseImageContentLocation(); String getAccessConditionDisplayField(); String getCopyrightDisplayField(); boolean isDisplayCopyrightInfo(); boolean isDisplaySocialMediaShareLinks(); boolean isDisplayAnchorLabelInTitleBar(String template); String getAnchorLabelInTitleBarPrefix(String template); String getAnchorLabelInTitleBarSuffix(String template); String getMapBoxToken(); GeoMapMarker getGeoMapMarker(String name); List<String> getGeoMapMarkerFields(); List<GeoMapMarker> getGeoMapMarkers(); static GeoMapMarker readGeoMapMarker(HierarchicalConfiguration config); List<LicenseDescription> getLicenseDescriptions(); }
@Test public void getViewerThumbnailsPerPage_shouldReturnCorrectValue() throws Exception { Assert.assertEquals(9, DataManager.getInstance().getConfiguration().getViewerThumbnailsPerPage()); }
public int getViewerThumbnailsPerPage() { return getLocalInt("viewer.thumbnailsPerPage", 10); }
Configuration extends AbstractConfiguration { public int getViewerThumbnailsPerPage() { return getLocalInt("viewer.thumbnailsPerPage", 10); } }
Configuration extends AbstractConfiguration { public int getViewerThumbnailsPerPage() { return getLocalInt("viewer.thumbnailsPerPage", 10); } Configuration(String configFilePath); }
Configuration extends AbstractConfiguration { public int getViewerThumbnailsPerPage() { return getLocalInt("viewer.thumbnailsPerPage", 10); } Configuration(String configFilePath); Set<String> getStopwords(); boolean reloadingRequired(); String getConfigLocalPath(); String getLocalRessourceBundleFile(); int getViewerThumbnailsPerPage(); int getViewerMaxImageWidth(); int getViewerMaxImageHeight(); int getViewerMaxImageScale(); boolean isRememberImageZoom(); boolean isRememberImageRotation(); String getDfgViewerUrl(); String getConnectorVersionUrl(); List<Metadata> getTitleBarMetadata(); List<Metadata> getSearchHitMetadataForTemplate(String template); List<Metadata> getMainMetadataForTemplate(String template); List<Metadata> getSidebarMetadataForTemplate(String template); List<String> getNormdataFieldsForTemplate(String template); List<Metadata> getTocLabelConfiguration(String template); int getTocAnchorGroupElementsPerPage(); boolean isDisplaySidebarBrowsingTerms(); boolean isDisplaySidebarRssFeed(); boolean isDisplayWidgetUsage(); Metadata getWidgetUsageLicenceTextMetadata(); boolean isDisplaySidebarUsageWidgetLinkToJpegImage(); boolean isDisplaySidebarUsageWidgetLinkToMasterImage(); String getWidgetUsageMaxJpegSize(); String getWidgetUsageMaxMasterImageSize(); List<String> getCalendarDocStructTypes(); boolean isBrowsingMenuEnabled(); int getBrowsingMenuHitsPerPage(); List<BrowsingMenuFieldConfig> getBrowsingMenuFields(); String getBrowsingMenuSortingIgnoreLeadingChars(); String getDocstrctWhitelistFilterQuery(); String getCollectionSplittingChar(String field); List<DcSortingList> getCollectionSorting(String field); List<String> getCollectionBlacklist(String field); String getCollectionDefaultSortField(String field, String name); int getCollectionDisplayNumberOfVolumesLevel(String field); int getCollectionDisplayDepthForSearch(String field); String getCollectionHierarchyField(); boolean isAddCollectionHierarchyToBreadcrumbs(String field); String getSolrUrl(); String getContentServerWrapperUrl(); String getDownloadUrl(); String getRestApiUrl(); String getIIIFApiUrl(); boolean isUseIIIFApiUrlForCmsMediaUrls(); String getContentServerRealUrl(); String getMetsUrl(); String getMarcUrl(); String getDcUrl(); String getEseUrl(); List<Integer> getSearchHitsPerPageValues(); int getSearchHitsPerPageDefaultValue(); int getFulltextFragmentLength(); boolean isAdvancedSearchEnabled(); int getAdvancedSearchDefaultItemNumber(); List<AdvancedSearchFieldConfiguration> getAdvancedSearchFields(); boolean isAggregateHits(); boolean isDisplayAdditionalMetadataEnabled(); List<String> getDisplayAdditionalMetadataIgnoreFields(); List<String> getDisplayAdditionalMetadataTranslateFields(); boolean isAdvancedSearchFieldHierarchical(String field); boolean isAdvancedSearchFieldRange(String field); boolean isAdvancedSearchFieldUntokenizeForPhraseSearch(String field); String getAdvancedSearchFieldSeparatorLabel(String field); boolean isTimelineSearchEnabled(); boolean isCalendarSearchEnabled(); String getStaticQuerySuffix(); String getPreviousVersionIdentifierField(); String getNextVersionIdentifierField(); String getVersionLabelField(); String getIndexedMetsFolder(); String getIndexedLidoFolder(); String getIndexedDenkxwebFolder(); String getIndexedDublinCoreFolder(); String getPageSelectionFormat(); String getMediaFolder(); String getPdfFolder(); String getVocabulariesFolder(); String getOrigContentFolder(); String getCmsTextFolder(); String getAltoFolder(); String getAbbyyFolder(); String getFulltextFolder(); String getTeiFolder(); String getCmdiFolder(); String getWcFolder(); String getAnnotationFolder(); String getHotfolder(); @SuppressWarnings("static-method") String getTempFolder(); boolean isUrnDoRedirect(); boolean isUserRegistrationEnabled(); List<SecurityQuestion> getSecurityQuestions(); boolean isShowOpenIdConnect(); List<IAuthenticationProvider> getAuthenticationProviders(); String getSmtpServer(); String getSmtpUser(); String getSmtpPassword(); String getSmtpSenderAddress(); String getSmtpSenderName(); String getSmtpSecurity(); String getAnonymousUserEmailAddress(); boolean isDisplayCollectionBrowsing(); boolean isDisplayUserNavigation(); boolean isDisplayTagCloudNavigation(); boolean isDisplayStatistics(); boolean isDisplayTimeMatrix(); boolean isDisplayCrowdsourcingModuleLinks(); String getTheme(); String getThemeRootPath(); String getName(); String getDescription(); boolean isDisplayTagCloudStartpage(); boolean isDisplaySearchResultNavigation(); boolean isFoldout(String sidebarElement); boolean isSidebarPageViewLinkVisible(); boolean isSidebarCalendarViewLinkVisible(); boolean isSidebarTocViewLinkVisible(); boolean isSidebarThumbsViewLinkVisible(); boolean isSidebarMetadataViewLinkVisible(); boolean isShowSidebarEventMetadata(); boolean isShowRecordLabelIfNoOtherViews(); boolean isSidebarFulltextLinkVisible(); boolean isSidebarTocWidgetVisible(); boolean isSidebarTocWidgetVisibleInFullscreen(); boolean isSidebarOpacLinkVisible(); boolean getSidebarTocPageNumbersVisible(); int getSidebarTocLengthBeforeCut(); int getSidebarTocInitialCollapseLevel(); int getSidebarTocCollapseLengthThreshold(); int getSidebarTocLowestLevelToCollapseForLength(); boolean isSidebarTocTreeView(); boolean isTocTreeView(String docStructType); List<String> getAllDrillDownFields(); List<String> getDrillDownFields(); List<String> getHierarchicalDrillDownFields(); int getInitialDrillDownElementNumber(String field); String getSortOrder(String field); List<String> getPriorityValuesForDrillDownField(String field); String getLabelFieldForDrillDownField(String facetField); @SuppressWarnings("static-method") List<String> getRangeFacetFields(); boolean isSortingEnabled(); String getDefaultSortField(); List<String> getSortFields(); List<String> getStaticSortFields(); String getUrnResolverUrl(); int getUnconditionalImageAccessMaxWidth(); boolean isFullAccessForLocalhost(); boolean isGeneratePdfInTaskManager(); boolean isPdfApiDisabled(); boolean isTitlePdfEnabled(); boolean isTocPdfEnabled(); boolean isMetadataPdfEnabled(); boolean isPagePdfEnabled(); boolean isDocHierarchyPdfEnabled(); boolean isTitleEpubEnabled(); boolean isTocEpubEnabled(); boolean isMetadataEpubEnabled(); String getDownloadFolder(String type); int getRssFeedItems(); String getRssTitle(); String getRssDescription(); String getRssCopyrightText(); String getRulesetFilePath(); String getDefaultCollection(); int getThumbnailsWidth(); int getThumbnailsHeight(); int getThumbnailsCompression(); String getAnchorThumbnailMode(); int getMultivolumeThumbnailWidth(); int getMultivolumeThumbnailHeight(); boolean getDisplayBreadcrumbs(); boolean getDisplayMetadataPageLinkBlock(); boolean isAddDublinCoreMetaTags(); boolean isAddHighwirePressMetaTags(); int getMetadataParamNumber(); boolean useTiles(); boolean useTilesFullscreen(); boolean useTiles(PageType view, ImageType image); int getFooterHeight(); int getFullscreenFooterHeight(); int getFooterHeight(PageType view, ImageType image); String getImageViewType(); String getZoomFullscreenViewType(); String getZoomImageViewType(PageType view, ImageType image); boolean useOpenSeadragon(); List<String> getImageViewZoomScales(); List<String> getImageViewZoomScales(String view); List<String> getImageViewZoomScales(PageType view, ImageType image); Map<Integer, List<Integer>> getTileSizes(); Map<Integer, List<Integer>> getTileSizes(PageType view, ImageType image); SubnodeConfiguration getZoomImageViewConfig(PageType pageType, ImageType imageType); int getBreadcrumbsClipping(); boolean isDisplayTopstructLabel(); boolean getDisplayStructType(); int getSearchHitMetadataValueNumber(); int getSearchHitMetadataValueLength(); List<String> getWatermarkTextConfiguration(); String getWatermarkFormat(); boolean isOriginalContentDownload(); String getStopwordsFilePath(); String getPageType(PageType type); String getDocstructTargetPageType(String docstruct); String getPageTypeExitView(PageType type); int getFulltextPercentageWarningThreshold(); boolean isUseViewerLocaleAsRecordLanguage(); String getFeedbackEmailAddress(); boolean isBookmarksEnabled(); boolean isForceJpegConversion(); int getPageLoaderThreshold(); boolean isPreventProxyCaching(); boolean isSolrCompressionEnabled(); boolean isSolrBackwardsCompatible(); boolean isUserCommentsEnabled(); String getUserCommentsConditionalQuery(); List<String> getUserCommentsNotificationEmailAddresses(); String getViewerHome(); List<String> getWatermarkIdField(); String getSubthemeMainTheme(); String getSubthemeDiscriminatorField(); int getTagCloudSampleSize(String fieldName); List<StringPair> getTocVolumeSortFieldsForTemplate(String template); String getTocVolumeGroupFieldForTemplate(String template); boolean getDisplayTitleBreadcrumbs(); boolean isDisplayTitlePURL(); int getTitleBreadcrumbsMaxTitleLength(); boolean getIncludeAnchorInTitleBreadcrumbs(); boolean isDisplaySearchRssLinks(); boolean showThumbnailsInToc(); String getStartYearForTimeline(); String getEndYearForTimeline(); String getTimelineHits(); boolean isPiwikTrackingEnabled(); String getPiwikBaseURL(); String getPiwikSiteID(); boolean isSearchSavingEnabled(); boolean isBoostTopLevelDocstructs(); boolean isGroupDuplicateHits(); List<String> getRecordGroupIdentifierFields(); List<String> getAncestorIdentifierFields(); boolean isTocListSiblingRecords(); List<SearchFilter> getSearchFilters(); List<Map<String, String>> getWebApiFields(); String getDbPersistenceUnit(); boolean useCustomNavBar(); String getCmsTemplateFolder(); String getCmsMediaFolder(); String getTempMediaFolder(); List<String> getCmsClassifications(); int getCmsMediaDisplayWidth(); int getCmsMediaDisplayHeight(); boolean isTranskribusEnabled(); String getTranskribusUserName(); String getTranskribusPassword(); String getTranskribusDefaultCollection(); String getTranskribusRestApiUrl(); List<String> getTranskribusAllowedDocumentTypes(); int getTocIndentation(); boolean isPageBrowseEnabled(); List<Integer> getPageBrowseSteps(); String getTaskManagerServiceUrl(); String getTaskManagerRestUrl(); String getReCaptchaSiteKey(); boolean isUseReCaptcha(); boolean isSearchInItemEnabled(); String getDefaultBrowseIcon(String field); boolean isSearchExcelExportEnabled(); List<String> getSearchExcelExportFields(); int getExcelDownloadTimeout(); boolean isDisplayEmptyTocInSidebar(); boolean isDoublePageModeEnabled(); List<String> getRestrictedImageUrls(); List<String> getIIIFLicenses(); List<String> getIIIFMetadataFields(); List<String> getIIIFEventFields(); String getIIIFMetadataLabel(String field); int getIIIFDiscoveryAvtivitiesPerPage(); List<String> getIIIFLogo(); String getIIIFNavDateField(); List<String> getIIIFAttribution(); List<String> getIIIFDescriptionFields(); String getSitelinksField(); String getSitelinksFilterQuery(); List<String> getConfiguredCollections(); String getWebApiToken(); boolean isAllowRedirectCollectionToWork(); String getTwitterUserName(); float getLimitImageHeightUpperRatioThreshold(); float getLimitImageHeightLowerRatioThreshold(); boolean isLimitImageHeight(); boolean isAddCORSHeader(); String getCORSHeaderValue(); boolean isDiscloseImageContentLocation(); String getAccessConditionDisplayField(); String getCopyrightDisplayField(); boolean isDisplayCopyrightInfo(); boolean isDisplaySocialMediaShareLinks(); boolean isDisplayAnchorLabelInTitleBar(String template); String getAnchorLabelInTitleBarPrefix(String template); String getAnchorLabelInTitleBarSuffix(String template); String getMapBoxToken(); GeoMapMarker getGeoMapMarker(String name); List<String> getGeoMapMarkerFields(); List<GeoMapMarker> getGeoMapMarkers(); static GeoMapMarker readGeoMapMarker(HierarchicalConfiguration config); List<LicenseDescription> getLicenseDescriptions(); }
Configuration extends AbstractConfiguration { public int getViewerThumbnailsPerPage() { return getLocalInt("viewer.thumbnailsPerPage", 10); } Configuration(String configFilePath); Set<String> getStopwords(); boolean reloadingRequired(); String getConfigLocalPath(); String getLocalRessourceBundleFile(); int getViewerThumbnailsPerPage(); int getViewerMaxImageWidth(); int getViewerMaxImageHeight(); int getViewerMaxImageScale(); boolean isRememberImageZoom(); boolean isRememberImageRotation(); String getDfgViewerUrl(); String getConnectorVersionUrl(); List<Metadata> getTitleBarMetadata(); List<Metadata> getSearchHitMetadataForTemplate(String template); List<Metadata> getMainMetadataForTemplate(String template); List<Metadata> getSidebarMetadataForTemplate(String template); List<String> getNormdataFieldsForTemplate(String template); List<Metadata> getTocLabelConfiguration(String template); int getTocAnchorGroupElementsPerPage(); boolean isDisplaySidebarBrowsingTerms(); boolean isDisplaySidebarRssFeed(); boolean isDisplayWidgetUsage(); Metadata getWidgetUsageLicenceTextMetadata(); boolean isDisplaySidebarUsageWidgetLinkToJpegImage(); boolean isDisplaySidebarUsageWidgetLinkToMasterImage(); String getWidgetUsageMaxJpegSize(); String getWidgetUsageMaxMasterImageSize(); List<String> getCalendarDocStructTypes(); boolean isBrowsingMenuEnabled(); int getBrowsingMenuHitsPerPage(); List<BrowsingMenuFieldConfig> getBrowsingMenuFields(); String getBrowsingMenuSortingIgnoreLeadingChars(); String getDocstrctWhitelistFilterQuery(); String getCollectionSplittingChar(String field); List<DcSortingList> getCollectionSorting(String field); List<String> getCollectionBlacklist(String field); String getCollectionDefaultSortField(String field, String name); int getCollectionDisplayNumberOfVolumesLevel(String field); int getCollectionDisplayDepthForSearch(String field); String getCollectionHierarchyField(); boolean isAddCollectionHierarchyToBreadcrumbs(String field); String getSolrUrl(); String getContentServerWrapperUrl(); String getDownloadUrl(); String getRestApiUrl(); String getIIIFApiUrl(); boolean isUseIIIFApiUrlForCmsMediaUrls(); String getContentServerRealUrl(); String getMetsUrl(); String getMarcUrl(); String getDcUrl(); String getEseUrl(); List<Integer> getSearchHitsPerPageValues(); int getSearchHitsPerPageDefaultValue(); int getFulltextFragmentLength(); boolean isAdvancedSearchEnabled(); int getAdvancedSearchDefaultItemNumber(); List<AdvancedSearchFieldConfiguration> getAdvancedSearchFields(); boolean isAggregateHits(); boolean isDisplayAdditionalMetadataEnabled(); List<String> getDisplayAdditionalMetadataIgnoreFields(); List<String> getDisplayAdditionalMetadataTranslateFields(); boolean isAdvancedSearchFieldHierarchical(String field); boolean isAdvancedSearchFieldRange(String field); boolean isAdvancedSearchFieldUntokenizeForPhraseSearch(String field); String getAdvancedSearchFieldSeparatorLabel(String field); boolean isTimelineSearchEnabled(); boolean isCalendarSearchEnabled(); String getStaticQuerySuffix(); String getPreviousVersionIdentifierField(); String getNextVersionIdentifierField(); String getVersionLabelField(); String getIndexedMetsFolder(); String getIndexedLidoFolder(); String getIndexedDenkxwebFolder(); String getIndexedDublinCoreFolder(); String getPageSelectionFormat(); String getMediaFolder(); String getPdfFolder(); String getVocabulariesFolder(); String getOrigContentFolder(); String getCmsTextFolder(); String getAltoFolder(); String getAbbyyFolder(); String getFulltextFolder(); String getTeiFolder(); String getCmdiFolder(); String getWcFolder(); String getAnnotationFolder(); String getHotfolder(); @SuppressWarnings("static-method") String getTempFolder(); boolean isUrnDoRedirect(); boolean isUserRegistrationEnabled(); List<SecurityQuestion> getSecurityQuestions(); boolean isShowOpenIdConnect(); List<IAuthenticationProvider> getAuthenticationProviders(); String getSmtpServer(); String getSmtpUser(); String getSmtpPassword(); String getSmtpSenderAddress(); String getSmtpSenderName(); String getSmtpSecurity(); String getAnonymousUserEmailAddress(); boolean isDisplayCollectionBrowsing(); boolean isDisplayUserNavigation(); boolean isDisplayTagCloudNavigation(); boolean isDisplayStatistics(); boolean isDisplayTimeMatrix(); boolean isDisplayCrowdsourcingModuleLinks(); String getTheme(); String getThemeRootPath(); String getName(); String getDescription(); boolean isDisplayTagCloudStartpage(); boolean isDisplaySearchResultNavigation(); boolean isFoldout(String sidebarElement); boolean isSidebarPageViewLinkVisible(); boolean isSidebarCalendarViewLinkVisible(); boolean isSidebarTocViewLinkVisible(); boolean isSidebarThumbsViewLinkVisible(); boolean isSidebarMetadataViewLinkVisible(); boolean isShowSidebarEventMetadata(); boolean isShowRecordLabelIfNoOtherViews(); boolean isSidebarFulltextLinkVisible(); boolean isSidebarTocWidgetVisible(); boolean isSidebarTocWidgetVisibleInFullscreen(); boolean isSidebarOpacLinkVisible(); boolean getSidebarTocPageNumbersVisible(); int getSidebarTocLengthBeforeCut(); int getSidebarTocInitialCollapseLevel(); int getSidebarTocCollapseLengthThreshold(); int getSidebarTocLowestLevelToCollapseForLength(); boolean isSidebarTocTreeView(); boolean isTocTreeView(String docStructType); List<String> getAllDrillDownFields(); List<String> getDrillDownFields(); List<String> getHierarchicalDrillDownFields(); int getInitialDrillDownElementNumber(String field); String getSortOrder(String field); List<String> getPriorityValuesForDrillDownField(String field); String getLabelFieldForDrillDownField(String facetField); @SuppressWarnings("static-method") List<String> getRangeFacetFields(); boolean isSortingEnabled(); String getDefaultSortField(); List<String> getSortFields(); List<String> getStaticSortFields(); String getUrnResolverUrl(); int getUnconditionalImageAccessMaxWidth(); boolean isFullAccessForLocalhost(); boolean isGeneratePdfInTaskManager(); boolean isPdfApiDisabled(); boolean isTitlePdfEnabled(); boolean isTocPdfEnabled(); boolean isMetadataPdfEnabled(); boolean isPagePdfEnabled(); boolean isDocHierarchyPdfEnabled(); boolean isTitleEpubEnabled(); boolean isTocEpubEnabled(); boolean isMetadataEpubEnabled(); String getDownloadFolder(String type); int getRssFeedItems(); String getRssTitle(); String getRssDescription(); String getRssCopyrightText(); String getRulesetFilePath(); String getDefaultCollection(); int getThumbnailsWidth(); int getThumbnailsHeight(); int getThumbnailsCompression(); String getAnchorThumbnailMode(); int getMultivolumeThumbnailWidth(); int getMultivolumeThumbnailHeight(); boolean getDisplayBreadcrumbs(); boolean getDisplayMetadataPageLinkBlock(); boolean isAddDublinCoreMetaTags(); boolean isAddHighwirePressMetaTags(); int getMetadataParamNumber(); boolean useTiles(); boolean useTilesFullscreen(); boolean useTiles(PageType view, ImageType image); int getFooterHeight(); int getFullscreenFooterHeight(); int getFooterHeight(PageType view, ImageType image); String getImageViewType(); String getZoomFullscreenViewType(); String getZoomImageViewType(PageType view, ImageType image); boolean useOpenSeadragon(); List<String> getImageViewZoomScales(); List<String> getImageViewZoomScales(String view); List<String> getImageViewZoomScales(PageType view, ImageType image); Map<Integer, List<Integer>> getTileSizes(); Map<Integer, List<Integer>> getTileSizes(PageType view, ImageType image); SubnodeConfiguration getZoomImageViewConfig(PageType pageType, ImageType imageType); int getBreadcrumbsClipping(); boolean isDisplayTopstructLabel(); boolean getDisplayStructType(); int getSearchHitMetadataValueNumber(); int getSearchHitMetadataValueLength(); List<String> getWatermarkTextConfiguration(); String getWatermarkFormat(); boolean isOriginalContentDownload(); String getStopwordsFilePath(); String getPageType(PageType type); String getDocstructTargetPageType(String docstruct); String getPageTypeExitView(PageType type); int getFulltextPercentageWarningThreshold(); boolean isUseViewerLocaleAsRecordLanguage(); String getFeedbackEmailAddress(); boolean isBookmarksEnabled(); boolean isForceJpegConversion(); int getPageLoaderThreshold(); boolean isPreventProxyCaching(); boolean isSolrCompressionEnabled(); boolean isSolrBackwardsCompatible(); boolean isUserCommentsEnabled(); String getUserCommentsConditionalQuery(); List<String> getUserCommentsNotificationEmailAddresses(); String getViewerHome(); List<String> getWatermarkIdField(); String getSubthemeMainTheme(); String getSubthemeDiscriminatorField(); int getTagCloudSampleSize(String fieldName); List<StringPair> getTocVolumeSortFieldsForTemplate(String template); String getTocVolumeGroupFieldForTemplate(String template); boolean getDisplayTitleBreadcrumbs(); boolean isDisplayTitlePURL(); int getTitleBreadcrumbsMaxTitleLength(); boolean getIncludeAnchorInTitleBreadcrumbs(); boolean isDisplaySearchRssLinks(); boolean showThumbnailsInToc(); String getStartYearForTimeline(); String getEndYearForTimeline(); String getTimelineHits(); boolean isPiwikTrackingEnabled(); String getPiwikBaseURL(); String getPiwikSiteID(); boolean isSearchSavingEnabled(); boolean isBoostTopLevelDocstructs(); boolean isGroupDuplicateHits(); List<String> getRecordGroupIdentifierFields(); List<String> getAncestorIdentifierFields(); boolean isTocListSiblingRecords(); List<SearchFilter> getSearchFilters(); List<Map<String, String>> getWebApiFields(); String getDbPersistenceUnit(); boolean useCustomNavBar(); String getCmsTemplateFolder(); String getCmsMediaFolder(); String getTempMediaFolder(); List<String> getCmsClassifications(); int getCmsMediaDisplayWidth(); int getCmsMediaDisplayHeight(); boolean isTranskribusEnabled(); String getTranskribusUserName(); String getTranskribusPassword(); String getTranskribusDefaultCollection(); String getTranskribusRestApiUrl(); List<String> getTranskribusAllowedDocumentTypes(); int getTocIndentation(); boolean isPageBrowseEnabled(); List<Integer> getPageBrowseSteps(); String getTaskManagerServiceUrl(); String getTaskManagerRestUrl(); String getReCaptchaSiteKey(); boolean isUseReCaptcha(); boolean isSearchInItemEnabled(); String getDefaultBrowseIcon(String field); boolean isSearchExcelExportEnabled(); List<String> getSearchExcelExportFields(); int getExcelDownloadTimeout(); boolean isDisplayEmptyTocInSidebar(); boolean isDoublePageModeEnabled(); List<String> getRestrictedImageUrls(); List<String> getIIIFLicenses(); List<String> getIIIFMetadataFields(); List<String> getIIIFEventFields(); String getIIIFMetadataLabel(String field); int getIIIFDiscoveryAvtivitiesPerPage(); List<String> getIIIFLogo(); String getIIIFNavDateField(); List<String> getIIIFAttribution(); List<String> getIIIFDescriptionFields(); String getSitelinksField(); String getSitelinksFilterQuery(); List<String> getConfiguredCollections(); String getWebApiToken(); boolean isAllowRedirectCollectionToWork(); String getTwitterUserName(); float getLimitImageHeightUpperRatioThreshold(); float getLimitImageHeightLowerRatioThreshold(); boolean isLimitImageHeight(); boolean isAddCORSHeader(); String getCORSHeaderValue(); boolean isDiscloseImageContentLocation(); String getAccessConditionDisplayField(); String getCopyrightDisplayField(); boolean isDisplayCopyrightInfo(); boolean isDisplaySocialMediaShareLinks(); boolean isDisplayAnchorLabelInTitleBar(String template); String getAnchorLabelInTitleBarPrefix(String template); String getAnchorLabelInTitleBarSuffix(String template); String getMapBoxToken(); GeoMapMarker getGeoMapMarker(String name); List<String> getGeoMapMarkerFields(); List<GeoMapMarker> getGeoMapMarkers(); static GeoMapMarker readGeoMapMarker(HierarchicalConfiguration config); List<LicenseDescription> getLicenseDescriptions(); }
@Test public void getWatermarkIdField_shouldReturnCorrectValue() throws Exception { Assert.assertEquals(Collections.singletonList("watermarkIdField_value"), DataManager.getInstance().getConfiguration().getWatermarkIdField()); }
public List<String> getWatermarkIdField() { return getLocalList("viewer.watermarkIdField", Collections.singletonList(SolrConstants.DC)); }
Configuration extends AbstractConfiguration { public List<String> getWatermarkIdField() { return getLocalList("viewer.watermarkIdField", Collections.singletonList(SolrConstants.DC)); } }
Configuration extends AbstractConfiguration { public List<String> getWatermarkIdField() { return getLocalList("viewer.watermarkIdField", Collections.singletonList(SolrConstants.DC)); } Configuration(String configFilePath); }
Configuration extends AbstractConfiguration { public List<String> getWatermarkIdField() { return getLocalList("viewer.watermarkIdField", Collections.singletonList(SolrConstants.DC)); } Configuration(String configFilePath); Set<String> getStopwords(); boolean reloadingRequired(); String getConfigLocalPath(); String getLocalRessourceBundleFile(); int getViewerThumbnailsPerPage(); int getViewerMaxImageWidth(); int getViewerMaxImageHeight(); int getViewerMaxImageScale(); boolean isRememberImageZoom(); boolean isRememberImageRotation(); String getDfgViewerUrl(); String getConnectorVersionUrl(); List<Metadata> getTitleBarMetadata(); List<Metadata> getSearchHitMetadataForTemplate(String template); List<Metadata> getMainMetadataForTemplate(String template); List<Metadata> getSidebarMetadataForTemplate(String template); List<String> getNormdataFieldsForTemplate(String template); List<Metadata> getTocLabelConfiguration(String template); int getTocAnchorGroupElementsPerPage(); boolean isDisplaySidebarBrowsingTerms(); boolean isDisplaySidebarRssFeed(); boolean isDisplayWidgetUsage(); Metadata getWidgetUsageLicenceTextMetadata(); boolean isDisplaySidebarUsageWidgetLinkToJpegImage(); boolean isDisplaySidebarUsageWidgetLinkToMasterImage(); String getWidgetUsageMaxJpegSize(); String getWidgetUsageMaxMasterImageSize(); List<String> getCalendarDocStructTypes(); boolean isBrowsingMenuEnabled(); int getBrowsingMenuHitsPerPage(); List<BrowsingMenuFieldConfig> getBrowsingMenuFields(); String getBrowsingMenuSortingIgnoreLeadingChars(); String getDocstrctWhitelistFilterQuery(); String getCollectionSplittingChar(String field); List<DcSortingList> getCollectionSorting(String field); List<String> getCollectionBlacklist(String field); String getCollectionDefaultSortField(String field, String name); int getCollectionDisplayNumberOfVolumesLevel(String field); int getCollectionDisplayDepthForSearch(String field); String getCollectionHierarchyField(); boolean isAddCollectionHierarchyToBreadcrumbs(String field); String getSolrUrl(); String getContentServerWrapperUrl(); String getDownloadUrl(); String getRestApiUrl(); String getIIIFApiUrl(); boolean isUseIIIFApiUrlForCmsMediaUrls(); String getContentServerRealUrl(); String getMetsUrl(); String getMarcUrl(); String getDcUrl(); String getEseUrl(); List<Integer> getSearchHitsPerPageValues(); int getSearchHitsPerPageDefaultValue(); int getFulltextFragmentLength(); boolean isAdvancedSearchEnabled(); int getAdvancedSearchDefaultItemNumber(); List<AdvancedSearchFieldConfiguration> getAdvancedSearchFields(); boolean isAggregateHits(); boolean isDisplayAdditionalMetadataEnabled(); List<String> getDisplayAdditionalMetadataIgnoreFields(); List<String> getDisplayAdditionalMetadataTranslateFields(); boolean isAdvancedSearchFieldHierarchical(String field); boolean isAdvancedSearchFieldRange(String field); boolean isAdvancedSearchFieldUntokenizeForPhraseSearch(String field); String getAdvancedSearchFieldSeparatorLabel(String field); boolean isTimelineSearchEnabled(); boolean isCalendarSearchEnabled(); String getStaticQuerySuffix(); String getPreviousVersionIdentifierField(); String getNextVersionIdentifierField(); String getVersionLabelField(); String getIndexedMetsFolder(); String getIndexedLidoFolder(); String getIndexedDenkxwebFolder(); String getIndexedDublinCoreFolder(); String getPageSelectionFormat(); String getMediaFolder(); String getPdfFolder(); String getVocabulariesFolder(); String getOrigContentFolder(); String getCmsTextFolder(); String getAltoFolder(); String getAbbyyFolder(); String getFulltextFolder(); String getTeiFolder(); String getCmdiFolder(); String getWcFolder(); String getAnnotationFolder(); String getHotfolder(); @SuppressWarnings("static-method") String getTempFolder(); boolean isUrnDoRedirect(); boolean isUserRegistrationEnabled(); List<SecurityQuestion> getSecurityQuestions(); boolean isShowOpenIdConnect(); List<IAuthenticationProvider> getAuthenticationProviders(); String getSmtpServer(); String getSmtpUser(); String getSmtpPassword(); String getSmtpSenderAddress(); String getSmtpSenderName(); String getSmtpSecurity(); String getAnonymousUserEmailAddress(); boolean isDisplayCollectionBrowsing(); boolean isDisplayUserNavigation(); boolean isDisplayTagCloudNavigation(); boolean isDisplayStatistics(); boolean isDisplayTimeMatrix(); boolean isDisplayCrowdsourcingModuleLinks(); String getTheme(); String getThemeRootPath(); String getName(); String getDescription(); boolean isDisplayTagCloudStartpage(); boolean isDisplaySearchResultNavigation(); boolean isFoldout(String sidebarElement); boolean isSidebarPageViewLinkVisible(); boolean isSidebarCalendarViewLinkVisible(); boolean isSidebarTocViewLinkVisible(); boolean isSidebarThumbsViewLinkVisible(); boolean isSidebarMetadataViewLinkVisible(); boolean isShowSidebarEventMetadata(); boolean isShowRecordLabelIfNoOtherViews(); boolean isSidebarFulltextLinkVisible(); boolean isSidebarTocWidgetVisible(); boolean isSidebarTocWidgetVisibleInFullscreen(); boolean isSidebarOpacLinkVisible(); boolean getSidebarTocPageNumbersVisible(); int getSidebarTocLengthBeforeCut(); int getSidebarTocInitialCollapseLevel(); int getSidebarTocCollapseLengthThreshold(); int getSidebarTocLowestLevelToCollapseForLength(); boolean isSidebarTocTreeView(); boolean isTocTreeView(String docStructType); List<String> getAllDrillDownFields(); List<String> getDrillDownFields(); List<String> getHierarchicalDrillDownFields(); int getInitialDrillDownElementNumber(String field); String getSortOrder(String field); List<String> getPriorityValuesForDrillDownField(String field); String getLabelFieldForDrillDownField(String facetField); @SuppressWarnings("static-method") List<String> getRangeFacetFields(); boolean isSortingEnabled(); String getDefaultSortField(); List<String> getSortFields(); List<String> getStaticSortFields(); String getUrnResolverUrl(); int getUnconditionalImageAccessMaxWidth(); boolean isFullAccessForLocalhost(); boolean isGeneratePdfInTaskManager(); boolean isPdfApiDisabled(); boolean isTitlePdfEnabled(); boolean isTocPdfEnabled(); boolean isMetadataPdfEnabled(); boolean isPagePdfEnabled(); boolean isDocHierarchyPdfEnabled(); boolean isTitleEpubEnabled(); boolean isTocEpubEnabled(); boolean isMetadataEpubEnabled(); String getDownloadFolder(String type); int getRssFeedItems(); String getRssTitle(); String getRssDescription(); String getRssCopyrightText(); String getRulesetFilePath(); String getDefaultCollection(); int getThumbnailsWidth(); int getThumbnailsHeight(); int getThumbnailsCompression(); String getAnchorThumbnailMode(); int getMultivolumeThumbnailWidth(); int getMultivolumeThumbnailHeight(); boolean getDisplayBreadcrumbs(); boolean getDisplayMetadataPageLinkBlock(); boolean isAddDublinCoreMetaTags(); boolean isAddHighwirePressMetaTags(); int getMetadataParamNumber(); boolean useTiles(); boolean useTilesFullscreen(); boolean useTiles(PageType view, ImageType image); int getFooterHeight(); int getFullscreenFooterHeight(); int getFooterHeight(PageType view, ImageType image); String getImageViewType(); String getZoomFullscreenViewType(); String getZoomImageViewType(PageType view, ImageType image); boolean useOpenSeadragon(); List<String> getImageViewZoomScales(); List<String> getImageViewZoomScales(String view); List<String> getImageViewZoomScales(PageType view, ImageType image); Map<Integer, List<Integer>> getTileSizes(); Map<Integer, List<Integer>> getTileSizes(PageType view, ImageType image); SubnodeConfiguration getZoomImageViewConfig(PageType pageType, ImageType imageType); int getBreadcrumbsClipping(); boolean isDisplayTopstructLabel(); boolean getDisplayStructType(); int getSearchHitMetadataValueNumber(); int getSearchHitMetadataValueLength(); List<String> getWatermarkTextConfiguration(); String getWatermarkFormat(); boolean isOriginalContentDownload(); String getStopwordsFilePath(); String getPageType(PageType type); String getDocstructTargetPageType(String docstruct); String getPageTypeExitView(PageType type); int getFulltextPercentageWarningThreshold(); boolean isUseViewerLocaleAsRecordLanguage(); String getFeedbackEmailAddress(); boolean isBookmarksEnabled(); boolean isForceJpegConversion(); int getPageLoaderThreshold(); boolean isPreventProxyCaching(); boolean isSolrCompressionEnabled(); boolean isSolrBackwardsCompatible(); boolean isUserCommentsEnabled(); String getUserCommentsConditionalQuery(); List<String> getUserCommentsNotificationEmailAddresses(); String getViewerHome(); List<String> getWatermarkIdField(); String getSubthemeMainTheme(); String getSubthemeDiscriminatorField(); int getTagCloudSampleSize(String fieldName); List<StringPair> getTocVolumeSortFieldsForTemplate(String template); String getTocVolumeGroupFieldForTemplate(String template); boolean getDisplayTitleBreadcrumbs(); boolean isDisplayTitlePURL(); int getTitleBreadcrumbsMaxTitleLength(); boolean getIncludeAnchorInTitleBreadcrumbs(); boolean isDisplaySearchRssLinks(); boolean showThumbnailsInToc(); String getStartYearForTimeline(); String getEndYearForTimeline(); String getTimelineHits(); boolean isPiwikTrackingEnabled(); String getPiwikBaseURL(); String getPiwikSiteID(); boolean isSearchSavingEnabled(); boolean isBoostTopLevelDocstructs(); boolean isGroupDuplicateHits(); List<String> getRecordGroupIdentifierFields(); List<String> getAncestorIdentifierFields(); boolean isTocListSiblingRecords(); List<SearchFilter> getSearchFilters(); List<Map<String, String>> getWebApiFields(); String getDbPersistenceUnit(); boolean useCustomNavBar(); String getCmsTemplateFolder(); String getCmsMediaFolder(); String getTempMediaFolder(); List<String> getCmsClassifications(); int getCmsMediaDisplayWidth(); int getCmsMediaDisplayHeight(); boolean isTranskribusEnabled(); String getTranskribusUserName(); String getTranskribusPassword(); String getTranskribusDefaultCollection(); String getTranskribusRestApiUrl(); List<String> getTranskribusAllowedDocumentTypes(); int getTocIndentation(); boolean isPageBrowseEnabled(); List<Integer> getPageBrowseSteps(); String getTaskManagerServiceUrl(); String getTaskManagerRestUrl(); String getReCaptchaSiteKey(); boolean isUseReCaptcha(); boolean isSearchInItemEnabled(); String getDefaultBrowseIcon(String field); boolean isSearchExcelExportEnabled(); List<String> getSearchExcelExportFields(); int getExcelDownloadTimeout(); boolean isDisplayEmptyTocInSidebar(); boolean isDoublePageModeEnabled(); List<String> getRestrictedImageUrls(); List<String> getIIIFLicenses(); List<String> getIIIFMetadataFields(); List<String> getIIIFEventFields(); String getIIIFMetadataLabel(String field); int getIIIFDiscoveryAvtivitiesPerPage(); List<String> getIIIFLogo(); String getIIIFNavDateField(); List<String> getIIIFAttribution(); List<String> getIIIFDescriptionFields(); String getSitelinksField(); String getSitelinksFilterQuery(); List<String> getConfiguredCollections(); String getWebApiToken(); boolean isAllowRedirectCollectionToWork(); String getTwitterUserName(); float getLimitImageHeightUpperRatioThreshold(); float getLimitImageHeightLowerRatioThreshold(); boolean isLimitImageHeight(); boolean isAddCORSHeader(); String getCORSHeaderValue(); boolean isDiscloseImageContentLocation(); String getAccessConditionDisplayField(); String getCopyrightDisplayField(); boolean isDisplayCopyrightInfo(); boolean isDisplaySocialMediaShareLinks(); boolean isDisplayAnchorLabelInTitleBar(String template); String getAnchorLabelInTitleBarPrefix(String template); String getAnchorLabelInTitleBarSuffix(String template); String getMapBoxToken(); GeoMapMarker getGeoMapMarker(String name); List<String> getGeoMapMarkerFields(); List<GeoMapMarker> getGeoMapMarkers(); static GeoMapMarker readGeoMapMarker(HierarchicalConfiguration config); List<LicenseDescription> getLicenseDescriptions(); }
Configuration extends AbstractConfiguration { public List<String> getWatermarkIdField() { return getLocalList("viewer.watermarkIdField", Collections.singletonList(SolrConstants.DC)); } Configuration(String configFilePath); Set<String> getStopwords(); boolean reloadingRequired(); String getConfigLocalPath(); String getLocalRessourceBundleFile(); int getViewerThumbnailsPerPage(); int getViewerMaxImageWidth(); int getViewerMaxImageHeight(); int getViewerMaxImageScale(); boolean isRememberImageZoom(); boolean isRememberImageRotation(); String getDfgViewerUrl(); String getConnectorVersionUrl(); List<Metadata> getTitleBarMetadata(); List<Metadata> getSearchHitMetadataForTemplate(String template); List<Metadata> getMainMetadataForTemplate(String template); List<Metadata> getSidebarMetadataForTemplate(String template); List<String> getNormdataFieldsForTemplate(String template); List<Metadata> getTocLabelConfiguration(String template); int getTocAnchorGroupElementsPerPage(); boolean isDisplaySidebarBrowsingTerms(); boolean isDisplaySidebarRssFeed(); boolean isDisplayWidgetUsage(); Metadata getWidgetUsageLicenceTextMetadata(); boolean isDisplaySidebarUsageWidgetLinkToJpegImage(); boolean isDisplaySidebarUsageWidgetLinkToMasterImage(); String getWidgetUsageMaxJpegSize(); String getWidgetUsageMaxMasterImageSize(); List<String> getCalendarDocStructTypes(); boolean isBrowsingMenuEnabled(); int getBrowsingMenuHitsPerPage(); List<BrowsingMenuFieldConfig> getBrowsingMenuFields(); String getBrowsingMenuSortingIgnoreLeadingChars(); String getDocstrctWhitelistFilterQuery(); String getCollectionSplittingChar(String field); List<DcSortingList> getCollectionSorting(String field); List<String> getCollectionBlacklist(String field); String getCollectionDefaultSortField(String field, String name); int getCollectionDisplayNumberOfVolumesLevel(String field); int getCollectionDisplayDepthForSearch(String field); String getCollectionHierarchyField(); boolean isAddCollectionHierarchyToBreadcrumbs(String field); String getSolrUrl(); String getContentServerWrapperUrl(); String getDownloadUrl(); String getRestApiUrl(); String getIIIFApiUrl(); boolean isUseIIIFApiUrlForCmsMediaUrls(); String getContentServerRealUrl(); String getMetsUrl(); String getMarcUrl(); String getDcUrl(); String getEseUrl(); List<Integer> getSearchHitsPerPageValues(); int getSearchHitsPerPageDefaultValue(); int getFulltextFragmentLength(); boolean isAdvancedSearchEnabled(); int getAdvancedSearchDefaultItemNumber(); List<AdvancedSearchFieldConfiguration> getAdvancedSearchFields(); boolean isAggregateHits(); boolean isDisplayAdditionalMetadataEnabled(); List<String> getDisplayAdditionalMetadataIgnoreFields(); List<String> getDisplayAdditionalMetadataTranslateFields(); boolean isAdvancedSearchFieldHierarchical(String field); boolean isAdvancedSearchFieldRange(String field); boolean isAdvancedSearchFieldUntokenizeForPhraseSearch(String field); String getAdvancedSearchFieldSeparatorLabel(String field); boolean isTimelineSearchEnabled(); boolean isCalendarSearchEnabled(); String getStaticQuerySuffix(); String getPreviousVersionIdentifierField(); String getNextVersionIdentifierField(); String getVersionLabelField(); String getIndexedMetsFolder(); String getIndexedLidoFolder(); String getIndexedDenkxwebFolder(); String getIndexedDublinCoreFolder(); String getPageSelectionFormat(); String getMediaFolder(); String getPdfFolder(); String getVocabulariesFolder(); String getOrigContentFolder(); String getCmsTextFolder(); String getAltoFolder(); String getAbbyyFolder(); String getFulltextFolder(); String getTeiFolder(); String getCmdiFolder(); String getWcFolder(); String getAnnotationFolder(); String getHotfolder(); @SuppressWarnings("static-method") String getTempFolder(); boolean isUrnDoRedirect(); boolean isUserRegistrationEnabled(); List<SecurityQuestion> getSecurityQuestions(); boolean isShowOpenIdConnect(); List<IAuthenticationProvider> getAuthenticationProviders(); String getSmtpServer(); String getSmtpUser(); String getSmtpPassword(); String getSmtpSenderAddress(); String getSmtpSenderName(); String getSmtpSecurity(); String getAnonymousUserEmailAddress(); boolean isDisplayCollectionBrowsing(); boolean isDisplayUserNavigation(); boolean isDisplayTagCloudNavigation(); boolean isDisplayStatistics(); boolean isDisplayTimeMatrix(); boolean isDisplayCrowdsourcingModuleLinks(); String getTheme(); String getThemeRootPath(); String getName(); String getDescription(); boolean isDisplayTagCloudStartpage(); boolean isDisplaySearchResultNavigation(); boolean isFoldout(String sidebarElement); boolean isSidebarPageViewLinkVisible(); boolean isSidebarCalendarViewLinkVisible(); boolean isSidebarTocViewLinkVisible(); boolean isSidebarThumbsViewLinkVisible(); boolean isSidebarMetadataViewLinkVisible(); boolean isShowSidebarEventMetadata(); boolean isShowRecordLabelIfNoOtherViews(); boolean isSidebarFulltextLinkVisible(); boolean isSidebarTocWidgetVisible(); boolean isSidebarTocWidgetVisibleInFullscreen(); boolean isSidebarOpacLinkVisible(); boolean getSidebarTocPageNumbersVisible(); int getSidebarTocLengthBeforeCut(); int getSidebarTocInitialCollapseLevel(); int getSidebarTocCollapseLengthThreshold(); int getSidebarTocLowestLevelToCollapseForLength(); boolean isSidebarTocTreeView(); boolean isTocTreeView(String docStructType); List<String> getAllDrillDownFields(); List<String> getDrillDownFields(); List<String> getHierarchicalDrillDownFields(); int getInitialDrillDownElementNumber(String field); String getSortOrder(String field); List<String> getPriorityValuesForDrillDownField(String field); String getLabelFieldForDrillDownField(String facetField); @SuppressWarnings("static-method") List<String> getRangeFacetFields(); boolean isSortingEnabled(); String getDefaultSortField(); List<String> getSortFields(); List<String> getStaticSortFields(); String getUrnResolverUrl(); int getUnconditionalImageAccessMaxWidth(); boolean isFullAccessForLocalhost(); boolean isGeneratePdfInTaskManager(); boolean isPdfApiDisabled(); boolean isTitlePdfEnabled(); boolean isTocPdfEnabled(); boolean isMetadataPdfEnabled(); boolean isPagePdfEnabled(); boolean isDocHierarchyPdfEnabled(); boolean isTitleEpubEnabled(); boolean isTocEpubEnabled(); boolean isMetadataEpubEnabled(); String getDownloadFolder(String type); int getRssFeedItems(); String getRssTitle(); String getRssDescription(); String getRssCopyrightText(); String getRulesetFilePath(); String getDefaultCollection(); int getThumbnailsWidth(); int getThumbnailsHeight(); int getThumbnailsCompression(); String getAnchorThumbnailMode(); int getMultivolumeThumbnailWidth(); int getMultivolumeThumbnailHeight(); boolean getDisplayBreadcrumbs(); boolean getDisplayMetadataPageLinkBlock(); boolean isAddDublinCoreMetaTags(); boolean isAddHighwirePressMetaTags(); int getMetadataParamNumber(); boolean useTiles(); boolean useTilesFullscreen(); boolean useTiles(PageType view, ImageType image); int getFooterHeight(); int getFullscreenFooterHeight(); int getFooterHeight(PageType view, ImageType image); String getImageViewType(); String getZoomFullscreenViewType(); String getZoomImageViewType(PageType view, ImageType image); boolean useOpenSeadragon(); List<String> getImageViewZoomScales(); List<String> getImageViewZoomScales(String view); List<String> getImageViewZoomScales(PageType view, ImageType image); Map<Integer, List<Integer>> getTileSizes(); Map<Integer, List<Integer>> getTileSizes(PageType view, ImageType image); SubnodeConfiguration getZoomImageViewConfig(PageType pageType, ImageType imageType); int getBreadcrumbsClipping(); boolean isDisplayTopstructLabel(); boolean getDisplayStructType(); int getSearchHitMetadataValueNumber(); int getSearchHitMetadataValueLength(); List<String> getWatermarkTextConfiguration(); String getWatermarkFormat(); boolean isOriginalContentDownload(); String getStopwordsFilePath(); String getPageType(PageType type); String getDocstructTargetPageType(String docstruct); String getPageTypeExitView(PageType type); int getFulltextPercentageWarningThreshold(); boolean isUseViewerLocaleAsRecordLanguage(); String getFeedbackEmailAddress(); boolean isBookmarksEnabled(); boolean isForceJpegConversion(); int getPageLoaderThreshold(); boolean isPreventProxyCaching(); boolean isSolrCompressionEnabled(); boolean isSolrBackwardsCompatible(); boolean isUserCommentsEnabled(); String getUserCommentsConditionalQuery(); List<String> getUserCommentsNotificationEmailAddresses(); String getViewerHome(); List<String> getWatermarkIdField(); String getSubthemeMainTheme(); String getSubthemeDiscriminatorField(); int getTagCloudSampleSize(String fieldName); List<StringPair> getTocVolumeSortFieldsForTemplate(String template); String getTocVolumeGroupFieldForTemplate(String template); boolean getDisplayTitleBreadcrumbs(); boolean isDisplayTitlePURL(); int getTitleBreadcrumbsMaxTitleLength(); boolean getIncludeAnchorInTitleBreadcrumbs(); boolean isDisplaySearchRssLinks(); boolean showThumbnailsInToc(); String getStartYearForTimeline(); String getEndYearForTimeline(); String getTimelineHits(); boolean isPiwikTrackingEnabled(); String getPiwikBaseURL(); String getPiwikSiteID(); boolean isSearchSavingEnabled(); boolean isBoostTopLevelDocstructs(); boolean isGroupDuplicateHits(); List<String> getRecordGroupIdentifierFields(); List<String> getAncestorIdentifierFields(); boolean isTocListSiblingRecords(); List<SearchFilter> getSearchFilters(); List<Map<String, String>> getWebApiFields(); String getDbPersistenceUnit(); boolean useCustomNavBar(); String getCmsTemplateFolder(); String getCmsMediaFolder(); String getTempMediaFolder(); List<String> getCmsClassifications(); int getCmsMediaDisplayWidth(); int getCmsMediaDisplayHeight(); boolean isTranskribusEnabled(); String getTranskribusUserName(); String getTranskribusPassword(); String getTranskribusDefaultCollection(); String getTranskribusRestApiUrl(); List<String> getTranskribusAllowedDocumentTypes(); int getTocIndentation(); boolean isPageBrowseEnabled(); List<Integer> getPageBrowseSteps(); String getTaskManagerServiceUrl(); String getTaskManagerRestUrl(); String getReCaptchaSiteKey(); boolean isUseReCaptcha(); boolean isSearchInItemEnabled(); String getDefaultBrowseIcon(String field); boolean isSearchExcelExportEnabled(); List<String> getSearchExcelExportFields(); int getExcelDownloadTimeout(); boolean isDisplayEmptyTocInSidebar(); boolean isDoublePageModeEnabled(); List<String> getRestrictedImageUrls(); List<String> getIIIFLicenses(); List<String> getIIIFMetadataFields(); List<String> getIIIFEventFields(); String getIIIFMetadataLabel(String field); int getIIIFDiscoveryAvtivitiesPerPage(); List<String> getIIIFLogo(); String getIIIFNavDateField(); List<String> getIIIFAttribution(); List<String> getIIIFDescriptionFields(); String getSitelinksField(); String getSitelinksFilterQuery(); List<String> getConfiguredCollections(); String getWebApiToken(); boolean isAllowRedirectCollectionToWork(); String getTwitterUserName(); float getLimitImageHeightUpperRatioThreshold(); float getLimitImageHeightLowerRatioThreshold(); boolean isLimitImageHeight(); boolean isAddCORSHeader(); String getCORSHeaderValue(); boolean isDiscloseImageContentLocation(); String getAccessConditionDisplayField(); String getCopyrightDisplayField(); boolean isDisplayCopyrightInfo(); boolean isDisplaySocialMediaShareLinks(); boolean isDisplayAnchorLabelInTitleBar(String template); String getAnchorLabelInTitleBarPrefix(String template); String getAnchorLabelInTitleBarSuffix(String template); String getMapBoxToken(); GeoMapMarker getGeoMapMarker(String name); List<String> getGeoMapMarkerFields(); List<GeoMapMarker> getGeoMapMarkers(); static GeoMapMarker readGeoMapMarker(HierarchicalConfiguration config); List<LicenseDescription> getLicenseDescriptions(); }
@Test public void getWatermarkTextConfiguration_shouldReturnAllConfiguredElementsInTheCorrectOrder() throws Exception { Assert.assertEquals(3, DataManager.getInstance().getConfiguration().getWatermarkTextConfiguration().size()); }
public List<String> getWatermarkTextConfiguration() { List<String> list = getLocalList("viewer.watermarkTextConfiguration.text"); return list; }
Configuration extends AbstractConfiguration { public List<String> getWatermarkTextConfiguration() { List<String> list = getLocalList("viewer.watermarkTextConfiguration.text"); return list; } }
Configuration extends AbstractConfiguration { public List<String> getWatermarkTextConfiguration() { List<String> list = getLocalList("viewer.watermarkTextConfiguration.text"); return list; } Configuration(String configFilePath); }
Configuration extends AbstractConfiguration { public List<String> getWatermarkTextConfiguration() { List<String> list = getLocalList("viewer.watermarkTextConfiguration.text"); return list; } Configuration(String configFilePath); Set<String> getStopwords(); boolean reloadingRequired(); String getConfigLocalPath(); String getLocalRessourceBundleFile(); int getViewerThumbnailsPerPage(); int getViewerMaxImageWidth(); int getViewerMaxImageHeight(); int getViewerMaxImageScale(); boolean isRememberImageZoom(); boolean isRememberImageRotation(); String getDfgViewerUrl(); String getConnectorVersionUrl(); List<Metadata> getTitleBarMetadata(); List<Metadata> getSearchHitMetadataForTemplate(String template); List<Metadata> getMainMetadataForTemplate(String template); List<Metadata> getSidebarMetadataForTemplate(String template); List<String> getNormdataFieldsForTemplate(String template); List<Metadata> getTocLabelConfiguration(String template); int getTocAnchorGroupElementsPerPage(); boolean isDisplaySidebarBrowsingTerms(); boolean isDisplaySidebarRssFeed(); boolean isDisplayWidgetUsage(); Metadata getWidgetUsageLicenceTextMetadata(); boolean isDisplaySidebarUsageWidgetLinkToJpegImage(); boolean isDisplaySidebarUsageWidgetLinkToMasterImage(); String getWidgetUsageMaxJpegSize(); String getWidgetUsageMaxMasterImageSize(); List<String> getCalendarDocStructTypes(); boolean isBrowsingMenuEnabled(); int getBrowsingMenuHitsPerPage(); List<BrowsingMenuFieldConfig> getBrowsingMenuFields(); String getBrowsingMenuSortingIgnoreLeadingChars(); String getDocstrctWhitelistFilterQuery(); String getCollectionSplittingChar(String field); List<DcSortingList> getCollectionSorting(String field); List<String> getCollectionBlacklist(String field); String getCollectionDefaultSortField(String field, String name); int getCollectionDisplayNumberOfVolumesLevel(String field); int getCollectionDisplayDepthForSearch(String field); String getCollectionHierarchyField(); boolean isAddCollectionHierarchyToBreadcrumbs(String field); String getSolrUrl(); String getContentServerWrapperUrl(); String getDownloadUrl(); String getRestApiUrl(); String getIIIFApiUrl(); boolean isUseIIIFApiUrlForCmsMediaUrls(); String getContentServerRealUrl(); String getMetsUrl(); String getMarcUrl(); String getDcUrl(); String getEseUrl(); List<Integer> getSearchHitsPerPageValues(); int getSearchHitsPerPageDefaultValue(); int getFulltextFragmentLength(); boolean isAdvancedSearchEnabled(); int getAdvancedSearchDefaultItemNumber(); List<AdvancedSearchFieldConfiguration> getAdvancedSearchFields(); boolean isAggregateHits(); boolean isDisplayAdditionalMetadataEnabled(); List<String> getDisplayAdditionalMetadataIgnoreFields(); List<String> getDisplayAdditionalMetadataTranslateFields(); boolean isAdvancedSearchFieldHierarchical(String field); boolean isAdvancedSearchFieldRange(String field); boolean isAdvancedSearchFieldUntokenizeForPhraseSearch(String field); String getAdvancedSearchFieldSeparatorLabel(String field); boolean isTimelineSearchEnabled(); boolean isCalendarSearchEnabled(); String getStaticQuerySuffix(); String getPreviousVersionIdentifierField(); String getNextVersionIdentifierField(); String getVersionLabelField(); String getIndexedMetsFolder(); String getIndexedLidoFolder(); String getIndexedDenkxwebFolder(); String getIndexedDublinCoreFolder(); String getPageSelectionFormat(); String getMediaFolder(); String getPdfFolder(); String getVocabulariesFolder(); String getOrigContentFolder(); String getCmsTextFolder(); String getAltoFolder(); String getAbbyyFolder(); String getFulltextFolder(); String getTeiFolder(); String getCmdiFolder(); String getWcFolder(); String getAnnotationFolder(); String getHotfolder(); @SuppressWarnings("static-method") String getTempFolder(); boolean isUrnDoRedirect(); boolean isUserRegistrationEnabled(); List<SecurityQuestion> getSecurityQuestions(); boolean isShowOpenIdConnect(); List<IAuthenticationProvider> getAuthenticationProviders(); String getSmtpServer(); String getSmtpUser(); String getSmtpPassword(); String getSmtpSenderAddress(); String getSmtpSenderName(); String getSmtpSecurity(); String getAnonymousUserEmailAddress(); boolean isDisplayCollectionBrowsing(); boolean isDisplayUserNavigation(); boolean isDisplayTagCloudNavigation(); boolean isDisplayStatistics(); boolean isDisplayTimeMatrix(); boolean isDisplayCrowdsourcingModuleLinks(); String getTheme(); String getThemeRootPath(); String getName(); String getDescription(); boolean isDisplayTagCloudStartpage(); boolean isDisplaySearchResultNavigation(); boolean isFoldout(String sidebarElement); boolean isSidebarPageViewLinkVisible(); boolean isSidebarCalendarViewLinkVisible(); boolean isSidebarTocViewLinkVisible(); boolean isSidebarThumbsViewLinkVisible(); boolean isSidebarMetadataViewLinkVisible(); boolean isShowSidebarEventMetadata(); boolean isShowRecordLabelIfNoOtherViews(); boolean isSidebarFulltextLinkVisible(); boolean isSidebarTocWidgetVisible(); boolean isSidebarTocWidgetVisibleInFullscreen(); boolean isSidebarOpacLinkVisible(); boolean getSidebarTocPageNumbersVisible(); int getSidebarTocLengthBeforeCut(); int getSidebarTocInitialCollapseLevel(); int getSidebarTocCollapseLengthThreshold(); int getSidebarTocLowestLevelToCollapseForLength(); boolean isSidebarTocTreeView(); boolean isTocTreeView(String docStructType); List<String> getAllDrillDownFields(); List<String> getDrillDownFields(); List<String> getHierarchicalDrillDownFields(); int getInitialDrillDownElementNumber(String field); String getSortOrder(String field); List<String> getPriorityValuesForDrillDownField(String field); String getLabelFieldForDrillDownField(String facetField); @SuppressWarnings("static-method") List<String> getRangeFacetFields(); boolean isSortingEnabled(); String getDefaultSortField(); List<String> getSortFields(); List<String> getStaticSortFields(); String getUrnResolverUrl(); int getUnconditionalImageAccessMaxWidth(); boolean isFullAccessForLocalhost(); boolean isGeneratePdfInTaskManager(); boolean isPdfApiDisabled(); boolean isTitlePdfEnabled(); boolean isTocPdfEnabled(); boolean isMetadataPdfEnabled(); boolean isPagePdfEnabled(); boolean isDocHierarchyPdfEnabled(); boolean isTitleEpubEnabled(); boolean isTocEpubEnabled(); boolean isMetadataEpubEnabled(); String getDownloadFolder(String type); int getRssFeedItems(); String getRssTitle(); String getRssDescription(); String getRssCopyrightText(); String getRulesetFilePath(); String getDefaultCollection(); int getThumbnailsWidth(); int getThumbnailsHeight(); int getThumbnailsCompression(); String getAnchorThumbnailMode(); int getMultivolumeThumbnailWidth(); int getMultivolumeThumbnailHeight(); boolean getDisplayBreadcrumbs(); boolean getDisplayMetadataPageLinkBlock(); boolean isAddDublinCoreMetaTags(); boolean isAddHighwirePressMetaTags(); int getMetadataParamNumber(); boolean useTiles(); boolean useTilesFullscreen(); boolean useTiles(PageType view, ImageType image); int getFooterHeight(); int getFullscreenFooterHeight(); int getFooterHeight(PageType view, ImageType image); String getImageViewType(); String getZoomFullscreenViewType(); String getZoomImageViewType(PageType view, ImageType image); boolean useOpenSeadragon(); List<String> getImageViewZoomScales(); List<String> getImageViewZoomScales(String view); List<String> getImageViewZoomScales(PageType view, ImageType image); Map<Integer, List<Integer>> getTileSizes(); Map<Integer, List<Integer>> getTileSizes(PageType view, ImageType image); SubnodeConfiguration getZoomImageViewConfig(PageType pageType, ImageType imageType); int getBreadcrumbsClipping(); boolean isDisplayTopstructLabel(); boolean getDisplayStructType(); int getSearchHitMetadataValueNumber(); int getSearchHitMetadataValueLength(); List<String> getWatermarkTextConfiguration(); String getWatermarkFormat(); boolean isOriginalContentDownload(); String getStopwordsFilePath(); String getPageType(PageType type); String getDocstructTargetPageType(String docstruct); String getPageTypeExitView(PageType type); int getFulltextPercentageWarningThreshold(); boolean isUseViewerLocaleAsRecordLanguage(); String getFeedbackEmailAddress(); boolean isBookmarksEnabled(); boolean isForceJpegConversion(); int getPageLoaderThreshold(); boolean isPreventProxyCaching(); boolean isSolrCompressionEnabled(); boolean isSolrBackwardsCompatible(); boolean isUserCommentsEnabled(); String getUserCommentsConditionalQuery(); List<String> getUserCommentsNotificationEmailAddresses(); String getViewerHome(); List<String> getWatermarkIdField(); String getSubthemeMainTheme(); String getSubthemeDiscriminatorField(); int getTagCloudSampleSize(String fieldName); List<StringPair> getTocVolumeSortFieldsForTemplate(String template); String getTocVolumeGroupFieldForTemplate(String template); boolean getDisplayTitleBreadcrumbs(); boolean isDisplayTitlePURL(); int getTitleBreadcrumbsMaxTitleLength(); boolean getIncludeAnchorInTitleBreadcrumbs(); boolean isDisplaySearchRssLinks(); boolean showThumbnailsInToc(); String getStartYearForTimeline(); String getEndYearForTimeline(); String getTimelineHits(); boolean isPiwikTrackingEnabled(); String getPiwikBaseURL(); String getPiwikSiteID(); boolean isSearchSavingEnabled(); boolean isBoostTopLevelDocstructs(); boolean isGroupDuplicateHits(); List<String> getRecordGroupIdentifierFields(); List<String> getAncestorIdentifierFields(); boolean isTocListSiblingRecords(); List<SearchFilter> getSearchFilters(); List<Map<String, String>> getWebApiFields(); String getDbPersistenceUnit(); boolean useCustomNavBar(); String getCmsTemplateFolder(); String getCmsMediaFolder(); String getTempMediaFolder(); List<String> getCmsClassifications(); int getCmsMediaDisplayWidth(); int getCmsMediaDisplayHeight(); boolean isTranskribusEnabled(); String getTranskribusUserName(); String getTranskribusPassword(); String getTranskribusDefaultCollection(); String getTranskribusRestApiUrl(); List<String> getTranskribusAllowedDocumentTypes(); int getTocIndentation(); boolean isPageBrowseEnabled(); List<Integer> getPageBrowseSteps(); String getTaskManagerServiceUrl(); String getTaskManagerRestUrl(); String getReCaptchaSiteKey(); boolean isUseReCaptcha(); boolean isSearchInItemEnabled(); String getDefaultBrowseIcon(String field); boolean isSearchExcelExportEnabled(); List<String> getSearchExcelExportFields(); int getExcelDownloadTimeout(); boolean isDisplayEmptyTocInSidebar(); boolean isDoublePageModeEnabled(); List<String> getRestrictedImageUrls(); List<String> getIIIFLicenses(); List<String> getIIIFMetadataFields(); List<String> getIIIFEventFields(); String getIIIFMetadataLabel(String field); int getIIIFDiscoveryAvtivitiesPerPage(); List<String> getIIIFLogo(); String getIIIFNavDateField(); List<String> getIIIFAttribution(); List<String> getIIIFDescriptionFields(); String getSitelinksField(); String getSitelinksFilterQuery(); List<String> getConfiguredCollections(); String getWebApiToken(); boolean isAllowRedirectCollectionToWork(); String getTwitterUserName(); float getLimitImageHeightUpperRatioThreshold(); float getLimitImageHeightLowerRatioThreshold(); boolean isLimitImageHeight(); boolean isAddCORSHeader(); String getCORSHeaderValue(); boolean isDiscloseImageContentLocation(); String getAccessConditionDisplayField(); String getCopyrightDisplayField(); boolean isDisplayCopyrightInfo(); boolean isDisplaySocialMediaShareLinks(); boolean isDisplayAnchorLabelInTitleBar(String template); String getAnchorLabelInTitleBarPrefix(String template); String getAnchorLabelInTitleBarSuffix(String template); String getMapBoxToken(); GeoMapMarker getGeoMapMarker(String name); List<String> getGeoMapMarkerFields(); List<GeoMapMarker> getGeoMapMarkers(); static GeoMapMarker readGeoMapMarker(HierarchicalConfiguration config); List<LicenseDescription> getLicenseDescriptions(); }
Configuration extends AbstractConfiguration { public List<String> getWatermarkTextConfiguration() { List<String> list = getLocalList("viewer.watermarkTextConfiguration.text"); return list; } Configuration(String configFilePath); Set<String> getStopwords(); boolean reloadingRequired(); String getConfigLocalPath(); String getLocalRessourceBundleFile(); int getViewerThumbnailsPerPage(); int getViewerMaxImageWidth(); int getViewerMaxImageHeight(); int getViewerMaxImageScale(); boolean isRememberImageZoom(); boolean isRememberImageRotation(); String getDfgViewerUrl(); String getConnectorVersionUrl(); List<Metadata> getTitleBarMetadata(); List<Metadata> getSearchHitMetadataForTemplate(String template); List<Metadata> getMainMetadataForTemplate(String template); List<Metadata> getSidebarMetadataForTemplate(String template); List<String> getNormdataFieldsForTemplate(String template); List<Metadata> getTocLabelConfiguration(String template); int getTocAnchorGroupElementsPerPage(); boolean isDisplaySidebarBrowsingTerms(); boolean isDisplaySidebarRssFeed(); boolean isDisplayWidgetUsage(); Metadata getWidgetUsageLicenceTextMetadata(); boolean isDisplaySidebarUsageWidgetLinkToJpegImage(); boolean isDisplaySidebarUsageWidgetLinkToMasterImage(); String getWidgetUsageMaxJpegSize(); String getWidgetUsageMaxMasterImageSize(); List<String> getCalendarDocStructTypes(); boolean isBrowsingMenuEnabled(); int getBrowsingMenuHitsPerPage(); List<BrowsingMenuFieldConfig> getBrowsingMenuFields(); String getBrowsingMenuSortingIgnoreLeadingChars(); String getDocstrctWhitelistFilterQuery(); String getCollectionSplittingChar(String field); List<DcSortingList> getCollectionSorting(String field); List<String> getCollectionBlacklist(String field); String getCollectionDefaultSortField(String field, String name); int getCollectionDisplayNumberOfVolumesLevel(String field); int getCollectionDisplayDepthForSearch(String field); String getCollectionHierarchyField(); boolean isAddCollectionHierarchyToBreadcrumbs(String field); String getSolrUrl(); String getContentServerWrapperUrl(); String getDownloadUrl(); String getRestApiUrl(); String getIIIFApiUrl(); boolean isUseIIIFApiUrlForCmsMediaUrls(); String getContentServerRealUrl(); String getMetsUrl(); String getMarcUrl(); String getDcUrl(); String getEseUrl(); List<Integer> getSearchHitsPerPageValues(); int getSearchHitsPerPageDefaultValue(); int getFulltextFragmentLength(); boolean isAdvancedSearchEnabled(); int getAdvancedSearchDefaultItemNumber(); List<AdvancedSearchFieldConfiguration> getAdvancedSearchFields(); boolean isAggregateHits(); boolean isDisplayAdditionalMetadataEnabled(); List<String> getDisplayAdditionalMetadataIgnoreFields(); List<String> getDisplayAdditionalMetadataTranslateFields(); boolean isAdvancedSearchFieldHierarchical(String field); boolean isAdvancedSearchFieldRange(String field); boolean isAdvancedSearchFieldUntokenizeForPhraseSearch(String field); String getAdvancedSearchFieldSeparatorLabel(String field); boolean isTimelineSearchEnabled(); boolean isCalendarSearchEnabled(); String getStaticQuerySuffix(); String getPreviousVersionIdentifierField(); String getNextVersionIdentifierField(); String getVersionLabelField(); String getIndexedMetsFolder(); String getIndexedLidoFolder(); String getIndexedDenkxwebFolder(); String getIndexedDublinCoreFolder(); String getPageSelectionFormat(); String getMediaFolder(); String getPdfFolder(); String getVocabulariesFolder(); String getOrigContentFolder(); String getCmsTextFolder(); String getAltoFolder(); String getAbbyyFolder(); String getFulltextFolder(); String getTeiFolder(); String getCmdiFolder(); String getWcFolder(); String getAnnotationFolder(); String getHotfolder(); @SuppressWarnings("static-method") String getTempFolder(); boolean isUrnDoRedirect(); boolean isUserRegistrationEnabled(); List<SecurityQuestion> getSecurityQuestions(); boolean isShowOpenIdConnect(); List<IAuthenticationProvider> getAuthenticationProviders(); String getSmtpServer(); String getSmtpUser(); String getSmtpPassword(); String getSmtpSenderAddress(); String getSmtpSenderName(); String getSmtpSecurity(); String getAnonymousUserEmailAddress(); boolean isDisplayCollectionBrowsing(); boolean isDisplayUserNavigation(); boolean isDisplayTagCloudNavigation(); boolean isDisplayStatistics(); boolean isDisplayTimeMatrix(); boolean isDisplayCrowdsourcingModuleLinks(); String getTheme(); String getThemeRootPath(); String getName(); String getDescription(); boolean isDisplayTagCloudStartpage(); boolean isDisplaySearchResultNavigation(); boolean isFoldout(String sidebarElement); boolean isSidebarPageViewLinkVisible(); boolean isSidebarCalendarViewLinkVisible(); boolean isSidebarTocViewLinkVisible(); boolean isSidebarThumbsViewLinkVisible(); boolean isSidebarMetadataViewLinkVisible(); boolean isShowSidebarEventMetadata(); boolean isShowRecordLabelIfNoOtherViews(); boolean isSidebarFulltextLinkVisible(); boolean isSidebarTocWidgetVisible(); boolean isSidebarTocWidgetVisibleInFullscreen(); boolean isSidebarOpacLinkVisible(); boolean getSidebarTocPageNumbersVisible(); int getSidebarTocLengthBeforeCut(); int getSidebarTocInitialCollapseLevel(); int getSidebarTocCollapseLengthThreshold(); int getSidebarTocLowestLevelToCollapseForLength(); boolean isSidebarTocTreeView(); boolean isTocTreeView(String docStructType); List<String> getAllDrillDownFields(); List<String> getDrillDownFields(); List<String> getHierarchicalDrillDownFields(); int getInitialDrillDownElementNumber(String field); String getSortOrder(String field); List<String> getPriorityValuesForDrillDownField(String field); String getLabelFieldForDrillDownField(String facetField); @SuppressWarnings("static-method") List<String> getRangeFacetFields(); boolean isSortingEnabled(); String getDefaultSortField(); List<String> getSortFields(); List<String> getStaticSortFields(); String getUrnResolverUrl(); int getUnconditionalImageAccessMaxWidth(); boolean isFullAccessForLocalhost(); boolean isGeneratePdfInTaskManager(); boolean isPdfApiDisabled(); boolean isTitlePdfEnabled(); boolean isTocPdfEnabled(); boolean isMetadataPdfEnabled(); boolean isPagePdfEnabled(); boolean isDocHierarchyPdfEnabled(); boolean isTitleEpubEnabled(); boolean isTocEpubEnabled(); boolean isMetadataEpubEnabled(); String getDownloadFolder(String type); int getRssFeedItems(); String getRssTitle(); String getRssDescription(); String getRssCopyrightText(); String getRulesetFilePath(); String getDefaultCollection(); int getThumbnailsWidth(); int getThumbnailsHeight(); int getThumbnailsCompression(); String getAnchorThumbnailMode(); int getMultivolumeThumbnailWidth(); int getMultivolumeThumbnailHeight(); boolean getDisplayBreadcrumbs(); boolean getDisplayMetadataPageLinkBlock(); boolean isAddDublinCoreMetaTags(); boolean isAddHighwirePressMetaTags(); int getMetadataParamNumber(); boolean useTiles(); boolean useTilesFullscreen(); boolean useTiles(PageType view, ImageType image); int getFooterHeight(); int getFullscreenFooterHeight(); int getFooterHeight(PageType view, ImageType image); String getImageViewType(); String getZoomFullscreenViewType(); String getZoomImageViewType(PageType view, ImageType image); boolean useOpenSeadragon(); List<String> getImageViewZoomScales(); List<String> getImageViewZoomScales(String view); List<String> getImageViewZoomScales(PageType view, ImageType image); Map<Integer, List<Integer>> getTileSizes(); Map<Integer, List<Integer>> getTileSizes(PageType view, ImageType image); SubnodeConfiguration getZoomImageViewConfig(PageType pageType, ImageType imageType); int getBreadcrumbsClipping(); boolean isDisplayTopstructLabel(); boolean getDisplayStructType(); int getSearchHitMetadataValueNumber(); int getSearchHitMetadataValueLength(); List<String> getWatermarkTextConfiguration(); String getWatermarkFormat(); boolean isOriginalContentDownload(); String getStopwordsFilePath(); String getPageType(PageType type); String getDocstructTargetPageType(String docstruct); String getPageTypeExitView(PageType type); int getFulltextPercentageWarningThreshold(); boolean isUseViewerLocaleAsRecordLanguage(); String getFeedbackEmailAddress(); boolean isBookmarksEnabled(); boolean isForceJpegConversion(); int getPageLoaderThreshold(); boolean isPreventProxyCaching(); boolean isSolrCompressionEnabled(); boolean isSolrBackwardsCompatible(); boolean isUserCommentsEnabled(); String getUserCommentsConditionalQuery(); List<String> getUserCommentsNotificationEmailAddresses(); String getViewerHome(); List<String> getWatermarkIdField(); String getSubthemeMainTheme(); String getSubthemeDiscriminatorField(); int getTagCloudSampleSize(String fieldName); List<StringPair> getTocVolumeSortFieldsForTemplate(String template); String getTocVolumeGroupFieldForTemplate(String template); boolean getDisplayTitleBreadcrumbs(); boolean isDisplayTitlePURL(); int getTitleBreadcrumbsMaxTitleLength(); boolean getIncludeAnchorInTitleBreadcrumbs(); boolean isDisplaySearchRssLinks(); boolean showThumbnailsInToc(); String getStartYearForTimeline(); String getEndYearForTimeline(); String getTimelineHits(); boolean isPiwikTrackingEnabled(); String getPiwikBaseURL(); String getPiwikSiteID(); boolean isSearchSavingEnabled(); boolean isBoostTopLevelDocstructs(); boolean isGroupDuplicateHits(); List<String> getRecordGroupIdentifierFields(); List<String> getAncestorIdentifierFields(); boolean isTocListSiblingRecords(); List<SearchFilter> getSearchFilters(); List<Map<String, String>> getWebApiFields(); String getDbPersistenceUnit(); boolean useCustomNavBar(); String getCmsTemplateFolder(); String getCmsMediaFolder(); String getTempMediaFolder(); List<String> getCmsClassifications(); int getCmsMediaDisplayWidth(); int getCmsMediaDisplayHeight(); boolean isTranskribusEnabled(); String getTranskribusUserName(); String getTranskribusPassword(); String getTranskribusDefaultCollection(); String getTranskribusRestApiUrl(); List<String> getTranskribusAllowedDocumentTypes(); int getTocIndentation(); boolean isPageBrowseEnabled(); List<Integer> getPageBrowseSteps(); String getTaskManagerServiceUrl(); String getTaskManagerRestUrl(); String getReCaptchaSiteKey(); boolean isUseReCaptcha(); boolean isSearchInItemEnabled(); String getDefaultBrowseIcon(String field); boolean isSearchExcelExportEnabled(); List<String> getSearchExcelExportFields(); int getExcelDownloadTimeout(); boolean isDisplayEmptyTocInSidebar(); boolean isDoublePageModeEnabled(); List<String> getRestrictedImageUrls(); List<String> getIIIFLicenses(); List<String> getIIIFMetadataFields(); List<String> getIIIFEventFields(); String getIIIFMetadataLabel(String field); int getIIIFDiscoveryAvtivitiesPerPage(); List<String> getIIIFLogo(); String getIIIFNavDateField(); List<String> getIIIFAttribution(); List<String> getIIIFDescriptionFields(); String getSitelinksField(); String getSitelinksFilterQuery(); List<String> getConfiguredCollections(); String getWebApiToken(); boolean isAllowRedirectCollectionToWork(); String getTwitterUserName(); float getLimitImageHeightUpperRatioThreshold(); float getLimitImageHeightLowerRatioThreshold(); boolean isLimitImageHeight(); boolean isAddCORSHeader(); String getCORSHeaderValue(); boolean isDiscloseImageContentLocation(); String getAccessConditionDisplayField(); String getCopyrightDisplayField(); boolean isDisplayCopyrightInfo(); boolean isDisplaySocialMediaShareLinks(); boolean isDisplayAnchorLabelInTitleBar(String template); String getAnchorLabelInTitleBarPrefix(String template); String getAnchorLabelInTitleBarSuffix(String template); String getMapBoxToken(); GeoMapMarker getGeoMapMarker(String name); List<String> getGeoMapMarkerFields(); List<GeoMapMarker> getGeoMapMarkers(); static GeoMapMarker readGeoMapMarker(HierarchicalConfiguration config); List<LicenseDescription> getLicenseDescriptions(); }
@Test public void getZoomFullscreenViewType_shouldReturnCorrectValue() throws Exception { Assert.assertEquals("classic", DataManager.getInstance().getConfiguration().getZoomFullscreenViewType()); }
public String getZoomFullscreenViewType() throws ViewerConfigurationException { return getZoomImageViewType(PageType.viewFullscreen, null); }
Configuration extends AbstractConfiguration { public String getZoomFullscreenViewType() throws ViewerConfigurationException { return getZoomImageViewType(PageType.viewFullscreen, null); } }
Configuration extends AbstractConfiguration { public String getZoomFullscreenViewType() throws ViewerConfigurationException { return getZoomImageViewType(PageType.viewFullscreen, null); } Configuration(String configFilePath); }
Configuration extends AbstractConfiguration { public String getZoomFullscreenViewType() throws ViewerConfigurationException { return getZoomImageViewType(PageType.viewFullscreen, null); } Configuration(String configFilePath); Set<String> getStopwords(); boolean reloadingRequired(); String getConfigLocalPath(); String getLocalRessourceBundleFile(); int getViewerThumbnailsPerPage(); int getViewerMaxImageWidth(); int getViewerMaxImageHeight(); int getViewerMaxImageScale(); boolean isRememberImageZoom(); boolean isRememberImageRotation(); String getDfgViewerUrl(); String getConnectorVersionUrl(); List<Metadata> getTitleBarMetadata(); List<Metadata> getSearchHitMetadataForTemplate(String template); List<Metadata> getMainMetadataForTemplate(String template); List<Metadata> getSidebarMetadataForTemplate(String template); List<String> getNormdataFieldsForTemplate(String template); List<Metadata> getTocLabelConfiguration(String template); int getTocAnchorGroupElementsPerPage(); boolean isDisplaySidebarBrowsingTerms(); boolean isDisplaySidebarRssFeed(); boolean isDisplayWidgetUsage(); Metadata getWidgetUsageLicenceTextMetadata(); boolean isDisplaySidebarUsageWidgetLinkToJpegImage(); boolean isDisplaySidebarUsageWidgetLinkToMasterImage(); String getWidgetUsageMaxJpegSize(); String getWidgetUsageMaxMasterImageSize(); List<String> getCalendarDocStructTypes(); boolean isBrowsingMenuEnabled(); int getBrowsingMenuHitsPerPage(); List<BrowsingMenuFieldConfig> getBrowsingMenuFields(); String getBrowsingMenuSortingIgnoreLeadingChars(); String getDocstrctWhitelistFilterQuery(); String getCollectionSplittingChar(String field); List<DcSortingList> getCollectionSorting(String field); List<String> getCollectionBlacklist(String field); String getCollectionDefaultSortField(String field, String name); int getCollectionDisplayNumberOfVolumesLevel(String field); int getCollectionDisplayDepthForSearch(String field); String getCollectionHierarchyField(); boolean isAddCollectionHierarchyToBreadcrumbs(String field); String getSolrUrl(); String getContentServerWrapperUrl(); String getDownloadUrl(); String getRestApiUrl(); String getIIIFApiUrl(); boolean isUseIIIFApiUrlForCmsMediaUrls(); String getContentServerRealUrl(); String getMetsUrl(); String getMarcUrl(); String getDcUrl(); String getEseUrl(); List<Integer> getSearchHitsPerPageValues(); int getSearchHitsPerPageDefaultValue(); int getFulltextFragmentLength(); boolean isAdvancedSearchEnabled(); int getAdvancedSearchDefaultItemNumber(); List<AdvancedSearchFieldConfiguration> getAdvancedSearchFields(); boolean isAggregateHits(); boolean isDisplayAdditionalMetadataEnabled(); List<String> getDisplayAdditionalMetadataIgnoreFields(); List<String> getDisplayAdditionalMetadataTranslateFields(); boolean isAdvancedSearchFieldHierarchical(String field); boolean isAdvancedSearchFieldRange(String field); boolean isAdvancedSearchFieldUntokenizeForPhraseSearch(String field); String getAdvancedSearchFieldSeparatorLabel(String field); boolean isTimelineSearchEnabled(); boolean isCalendarSearchEnabled(); String getStaticQuerySuffix(); String getPreviousVersionIdentifierField(); String getNextVersionIdentifierField(); String getVersionLabelField(); String getIndexedMetsFolder(); String getIndexedLidoFolder(); String getIndexedDenkxwebFolder(); String getIndexedDublinCoreFolder(); String getPageSelectionFormat(); String getMediaFolder(); String getPdfFolder(); String getVocabulariesFolder(); String getOrigContentFolder(); String getCmsTextFolder(); String getAltoFolder(); String getAbbyyFolder(); String getFulltextFolder(); String getTeiFolder(); String getCmdiFolder(); String getWcFolder(); String getAnnotationFolder(); String getHotfolder(); @SuppressWarnings("static-method") String getTempFolder(); boolean isUrnDoRedirect(); boolean isUserRegistrationEnabled(); List<SecurityQuestion> getSecurityQuestions(); boolean isShowOpenIdConnect(); List<IAuthenticationProvider> getAuthenticationProviders(); String getSmtpServer(); String getSmtpUser(); String getSmtpPassword(); String getSmtpSenderAddress(); String getSmtpSenderName(); String getSmtpSecurity(); String getAnonymousUserEmailAddress(); boolean isDisplayCollectionBrowsing(); boolean isDisplayUserNavigation(); boolean isDisplayTagCloudNavigation(); boolean isDisplayStatistics(); boolean isDisplayTimeMatrix(); boolean isDisplayCrowdsourcingModuleLinks(); String getTheme(); String getThemeRootPath(); String getName(); String getDescription(); boolean isDisplayTagCloudStartpage(); boolean isDisplaySearchResultNavigation(); boolean isFoldout(String sidebarElement); boolean isSidebarPageViewLinkVisible(); boolean isSidebarCalendarViewLinkVisible(); boolean isSidebarTocViewLinkVisible(); boolean isSidebarThumbsViewLinkVisible(); boolean isSidebarMetadataViewLinkVisible(); boolean isShowSidebarEventMetadata(); boolean isShowRecordLabelIfNoOtherViews(); boolean isSidebarFulltextLinkVisible(); boolean isSidebarTocWidgetVisible(); boolean isSidebarTocWidgetVisibleInFullscreen(); boolean isSidebarOpacLinkVisible(); boolean getSidebarTocPageNumbersVisible(); int getSidebarTocLengthBeforeCut(); int getSidebarTocInitialCollapseLevel(); int getSidebarTocCollapseLengthThreshold(); int getSidebarTocLowestLevelToCollapseForLength(); boolean isSidebarTocTreeView(); boolean isTocTreeView(String docStructType); List<String> getAllDrillDownFields(); List<String> getDrillDownFields(); List<String> getHierarchicalDrillDownFields(); int getInitialDrillDownElementNumber(String field); String getSortOrder(String field); List<String> getPriorityValuesForDrillDownField(String field); String getLabelFieldForDrillDownField(String facetField); @SuppressWarnings("static-method") List<String> getRangeFacetFields(); boolean isSortingEnabled(); String getDefaultSortField(); List<String> getSortFields(); List<String> getStaticSortFields(); String getUrnResolverUrl(); int getUnconditionalImageAccessMaxWidth(); boolean isFullAccessForLocalhost(); boolean isGeneratePdfInTaskManager(); boolean isPdfApiDisabled(); boolean isTitlePdfEnabled(); boolean isTocPdfEnabled(); boolean isMetadataPdfEnabled(); boolean isPagePdfEnabled(); boolean isDocHierarchyPdfEnabled(); boolean isTitleEpubEnabled(); boolean isTocEpubEnabled(); boolean isMetadataEpubEnabled(); String getDownloadFolder(String type); int getRssFeedItems(); String getRssTitle(); String getRssDescription(); String getRssCopyrightText(); String getRulesetFilePath(); String getDefaultCollection(); int getThumbnailsWidth(); int getThumbnailsHeight(); int getThumbnailsCompression(); String getAnchorThumbnailMode(); int getMultivolumeThumbnailWidth(); int getMultivolumeThumbnailHeight(); boolean getDisplayBreadcrumbs(); boolean getDisplayMetadataPageLinkBlock(); boolean isAddDublinCoreMetaTags(); boolean isAddHighwirePressMetaTags(); int getMetadataParamNumber(); boolean useTiles(); boolean useTilesFullscreen(); boolean useTiles(PageType view, ImageType image); int getFooterHeight(); int getFullscreenFooterHeight(); int getFooterHeight(PageType view, ImageType image); String getImageViewType(); String getZoomFullscreenViewType(); String getZoomImageViewType(PageType view, ImageType image); boolean useOpenSeadragon(); List<String> getImageViewZoomScales(); List<String> getImageViewZoomScales(String view); List<String> getImageViewZoomScales(PageType view, ImageType image); Map<Integer, List<Integer>> getTileSizes(); Map<Integer, List<Integer>> getTileSizes(PageType view, ImageType image); SubnodeConfiguration getZoomImageViewConfig(PageType pageType, ImageType imageType); int getBreadcrumbsClipping(); boolean isDisplayTopstructLabel(); boolean getDisplayStructType(); int getSearchHitMetadataValueNumber(); int getSearchHitMetadataValueLength(); List<String> getWatermarkTextConfiguration(); String getWatermarkFormat(); boolean isOriginalContentDownload(); String getStopwordsFilePath(); String getPageType(PageType type); String getDocstructTargetPageType(String docstruct); String getPageTypeExitView(PageType type); int getFulltextPercentageWarningThreshold(); boolean isUseViewerLocaleAsRecordLanguage(); String getFeedbackEmailAddress(); boolean isBookmarksEnabled(); boolean isForceJpegConversion(); int getPageLoaderThreshold(); boolean isPreventProxyCaching(); boolean isSolrCompressionEnabled(); boolean isSolrBackwardsCompatible(); boolean isUserCommentsEnabled(); String getUserCommentsConditionalQuery(); List<String> getUserCommentsNotificationEmailAddresses(); String getViewerHome(); List<String> getWatermarkIdField(); String getSubthemeMainTheme(); String getSubthemeDiscriminatorField(); int getTagCloudSampleSize(String fieldName); List<StringPair> getTocVolumeSortFieldsForTemplate(String template); String getTocVolumeGroupFieldForTemplate(String template); boolean getDisplayTitleBreadcrumbs(); boolean isDisplayTitlePURL(); int getTitleBreadcrumbsMaxTitleLength(); boolean getIncludeAnchorInTitleBreadcrumbs(); boolean isDisplaySearchRssLinks(); boolean showThumbnailsInToc(); String getStartYearForTimeline(); String getEndYearForTimeline(); String getTimelineHits(); boolean isPiwikTrackingEnabled(); String getPiwikBaseURL(); String getPiwikSiteID(); boolean isSearchSavingEnabled(); boolean isBoostTopLevelDocstructs(); boolean isGroupDuplicateHits(); List<String> getRecordGroupIdentifierFields(); List<String> getAncestorIdentifierFields(); boolean isTocListSiblingRecords(); List<SearchFilter> getSearchFilters(); List<Map<String, String>> getWebApiFields(); String getDbPersistenceUnit(); boolean useCustomNavBar(); String getCmsTemplateFolder(); String getCmsMediaFolder(); String getTempMediaFolder(); List<String> getCmsClassifications(); int getCmsMediaDisplayWidth(); int getCmsMediaDisplayHeight(); boolean isTranskribusEnabled(); String getTranskribusUserName(); String getTranskribusPassword(); String getTranskribusDefaultCollection(); String getTranskribusRestApiUrl(); List<String> getTranskribusAllowedDocumentTypes(); int getTocIndentation(); boolean isPageBrowseEnabled(); List<Integer> getPageBrowseSteps(); String getTaskManagerServiceUrl(); String getTaskManagerRestUrl(); String getReCaptchaSiteKey(); boolean isUseReCaptcha(); boolean isSearchInItemEnabled(); String getDefaultBrowseIcon(String field); boolean isSearchExcelExportEnabled(); List<String> getSearchExcelExportFields(); int getExcelDownloadTimeout(); boolean isDisplayEmptyTocInSidebar(); boolean isDoublePageModeEnabled(); List<String> getRestrictedImageUrls(); List<String> getIIIFLicenses(); List<String> getIIIFMetadataFields(); List<String> getIIIFEventFields(); String getIIIFMetadataLabel(String field); int getIIIFDiscoveryAvtivitiesPerPage(); List<String> getIIIFLogo(); String getIIIFNavDateField(); List<String> getIIIFAttribution(); List<String> getIIIFDescriptionFields(); String getSitelinksField(); String getSitelinksFilterQuery(); List<String> getConfiguredCollections(); String getWebApiToken(); boolean isAllowRedirectCollectionToWork(); String getTwitterUserName(); float getLimitImageHeightUpperRatioThreshold(); float getLimitImageHeightLowerRatioThreshold(); boolean isLimitImageHeight(); boolean isAddCORSHeader(); String getCORSHeaderValue(); boolean isDiscloseImageContentLocation(); String getAccessConditionDisplayField(); String getCopyrightDisplayField(); boolean isDisplayCopyrightInfo(); boolean isDisplaySocialMediaShareLinks(); boolean isDisplayAnchorLabelInTitleBar(String template); String getAnchorLabelInTitleBarPrefix(String template); String getAnchorLabelInTitleBarSuffix(String template); String getMapBoxToken(); GeoMapMarker getGeoMapMarker(String name); List<String> getGeoMapMarkerFields(); List<GeoMapMarker> getGeoMapMarkers(); static GeoMapMarker readGeoMapMarker(HierarchicalConfiguration config); List<LicenseDescription> getLicenseDescriptions(); }
Configuration extends AbstractConfiguration { public String getZoomFullscreenViewType() throws ViewerConfigurationException { return getZoomImageViewType(PageType.viewFullscreen, null); } Configuration(String configFilePath); Set<String> getStopwords(); boolean reloadingRequired(); String getConfigLocalPath(); String getLocalRessourceBundleFile(); int getViewerThumbnailsPerPage(); int getViewerMaxImageWidth(); int getViewerMaxImageHeight(); int getViewerMaxImageScale(); boolean isRememberImageZoom(); boolean isRememberImageRotation(); String getDfgViewerUrl(); String getConnectorVersionUrl(); List<Metadata> getTitleBarMetadata(); List<Metadata> getSearchHitMetadataForTemplate(String template); List<Metadata> getMainMetadataForTemplate(String template); List<Metadata> getSidebarMetadataForTemplate(String template); List<String> getNormdataFieldsForTemplate(String template); List<Metadata> getTocLabelConfiguration(String template); int getTocAnchorGroupElementsPerPage(); boolean isDisplaySidebarBrowsingTerms(); boolean isDisplaySidebarRssFeed(); boolean isDisplayWidgetUsage(); Metadata getWidgetUsageLicenceTextMetadata(); boolean isDisplaySidebarUsageWidgetLinkToJpegImage(); boolean isDisplaySidebarUsageWidgetLinkToMasterImage(); String getWidgetUsageMaxJpegSize(); String getWidgetUsageMaxMasterImageSize(); List<String> getCalendarDocStructTypes(); boolean isBrowsingMenuEnabled(); int getBrowsingMenuHitsPerPage(); List<BrowsingMenuFieldConfig> getBrowsingMenuFields(); String getBrowsingMenuSortingIgnoreLeadingChars(); String getDocstrctWhitelistFilterQuery(); String getCollectionSplittingChar(String field); List<DcSortingList> getCollectionSorting(String field); List<String> getCollectionBlacklist(String field); String getCollectionDefaultSortField(String field, String name); int getCollectionDisplayNumberOfVolumesLevel(String field); int getCollectionDisplayDepthForSearch(String field); String getCollectionHierarchyField(); boolean isAddCollectionHierarchyToBreadcrumbs(String field); String getSolrUrl(); String getContentServerWrapperUrl(); String getDownloadUrl(); String getRestApiUrl(); String getIIIFApiUrl(); boolean isUseIIIFApiUrlForCmsMediaUrls(); String getContentServerRealUrl(); String getMetsUrl(); String getMarcUrl(); String getDcUrl(); String getEseUrl(); List<Integer> getSearchHitsPerPageValues(); int getSearchHitsPerPageDefaultValue(); int getFulltextFragmentLength(); boolean isAdvancedSearchEnabled(); int getAdvancedSearchDefaultItemNumber(); List<AdvancedSearchFieldConfiguration> getAdvancedSearchFields(); boolean isAggregateHits(); boolean isDisplayAdditionalMetadataEnabled(); List<String> getDisplayAdditionalMetadataIgnoreFields(); List<String> getDisplayAdditionalMetadataTranslateFields(); boolean isAdvancedSearchFieldHierarchical(String field); boolean isAdvancedSearchFieldRange(String field); boolean isAdvancedSearchFieldUntokenizeForPhraseSearch(String field); String getAdvancedSearchFieldSeparatorLabel(String field); boolean isTimelineSearchEnabled(); boolean isCalendarSearchEnabled(); String getStaticQuerySuffix(); String getPreviousVersionIdentifierField(); String getNextVersionIdentifierField(); String getVersionLabelField(); String getIndexedMetsFolder(); String getIndexedLidoFolder(); String getIndexedDenkxwebFolder(); String getIndexedDublinCoreFolder(); String getPageSelectionFormat(); String getMediaFolder(); String getPdfFolder(); String getVocabulariesFolder(); String getOrigContentFolder(); String getCmsTextFolder(); String getAltoFolder(); String getAbbyyFolder(); String getFulltextFolder(); String getTeiFolder(); String getCmdiFolder(); String getWcFolder(); String getAnnotationFolder(); String getHotfolder(); @SuppressWarnings("static-method") String getTempFolder(); boolean isUrnDoRedirect(); boolean isUserRegistrationEnabled(); List<SecurityQuestion> getSecurityQuestions(); boolean isShowOpenIdConnect(); List<IAuthenticationProvider> getAuthenticationProviders(); String getSmtpServer(); String getSmtpUser(); String getSmtpPassword(); String getSmtpSenderAddress(); String getSmtpSenderName(); String getSmtpSecurity(); String getAnonymousUserEmailAddress(); boolean isDisplayCollectionBrowsing(); boolean isDisplayUserNavigation(); boolean isDisplayTagCloudNavigation(); boolean isDisplayStatistics(); boolean isDisplayTimeMatrix(); boolean isDisplayCrowdsourcingModuleLinks(); String getTheme(); String getThemeRootPath(); String getName(); String getDescription(); boolean isDisplayTagCloudStartpage(); boolean isDisplaySearchResultNavigation(); boolean isFoldout(String sidebarElement); boolean isSidebarPageViewLinkVisible(); boolean isSidebarCalendarViewLinkVisible(); boolean isSidebarTocViewLinkVisible(); boolean isSidebarThumbsViewLinkVisible(); boolean isSidebarMetadataViewLinkVisible(); boolean isShowSidebarEventMetadata(); boolean isShowRecordLabelIfNoOtherViews(); boolean isSidebarFulltextLinkVisible(); boolean isSidebarTocWidgetVisible(); boolean isSidebarTocWidgetVisibleInFullscreen(); boolean isSidebarOpacLinkVisible(); boolean getSidebarTocPageNumbersVisible(); int getSidebarTocLengthBeforeCut(); int getSidebarTocInitialCollapseLevel(); int getSidebarTocCollapseLengthThreshold(); int getSidebarTocLowestLevelToCollapseForLength(); boolean isSidebarTocTreeView(); boolean isTocTreeView(String docStructType); List<String> getAllDrillDownFields(); List<String> getDrillDownFields(); List<String> getHierarchicalDrillDownFields(); int getInitialDrillDownElementNumber(String field); String getSortOrder(String field); List<String> getPriorityValuesForDrillDownField(String field); String getLabelFieldForDrillDownField(String facetField); @SuppressWarnings("static-method") List<String> getRangeFacetFields(); boolean isSortingEnabled(); String getDefaultSortField(); List<String> getSortFields(); List<String> getStaticSortFields(); String getUrnResolverUrl(); int getUnconditionalImageAccessMaxWidth(); boolean isFullAccessForLocalhost(); boolean isGeneratePdfInTaskManager(); boolean isPdfApiDisabled(); boolean isTitlePdfEnabled(); boolean isTocPdfEnabled(); boolean isMetadataPdfEnabled(); boolean isPagePdfEnabled(); boolean isDocHierarchyPdfEnabled(); boolean isTitleEpubEnabled(); boolean isTocEpubEnabled(); boolean isMetadataEpubEnabled(); String getDownloadFolder(String type); int getRssFeedItems(); String getRssTitle(); String getRssDescription(); String getRssCopyrightText(); String getRulesetFilePath(); String getDefaultCollection(); int getThumbnailsWidth(); int getThumbnailsHeight(); int getThumbnailsCompression(); String getAnchorThumbnailMode(); int getMultivolumeThumbnailWidth(); int getMultivolumeThumbnailHeight(); boolean getDisplayBreadcrumbs(); boolean getDisplayMetadataPageLinkBlock(); boolean isAddDublinCoreMetaTags(); boolean isAddHighwirePressMetaTags(); int getMetadataParamNumber(); boolean useTiles(); boolean useTilesFullscreen(); boolean useTiles(PageType view, ImageType image); int getFooterHeight(); int getFullscreenFooterHeight(); int getFooterHeight(PageType view, ImageType image); String getImageViewType(); String getZoomFullscreenViewType(); String getZoomImageViewType(PageType view, ImageType image); boolean useOpenSeadragon(); List<String> getImageViewZoomScales(); List<String> getImageViewZoomScales(String view); List<String> getImageViewZoomScales(PageType view, ImageType image); Map<Integer, List<Integer>> getTileSizes(); Map<Integer, List<Integer>> getTileSizes(PageType view, ImageType image); SubnodeConfiguration getZoomImageViewConfig(PageType pageType, ImageType imageType); int getBreadcrumbsClipping(); boolean isDisplayTopstructLabel(); boolean getDisplayStructType(); int getSearchHitMetadataValueNumber(); int getSearchHitMetadataValueLength(); List<String> getWatermarkTextConfiguration(); String getWatermarkFormat(); boolean isOriginalContentDownload(); String getStopwordsFilePath(); String getPageType(PageType type); String getDocstructTargetPageType(String docstruct); String getPageTypeExitView(PageType type); int getFulltextPercentageWarningThreshold(); boolean isUseViewerLocaleAsRecordLanguage(); String getFeedbackEmailAddress(); boolean isBookmarksEnabled(); boolean isForceJpegConversion(); int getPageLoaderThreshold(); boolean isPreventProxyCaching(); boolean isSolrCompressionEnabled(); boolean isSolrBackwardsCompatible(); boolean isUserCommentsEnabled(); String getUserCommentsConditionalQuery(); List<String> getUserCommentsNotificationEmailAddresses(); String getViewerHome(); List<String> getWatermarkIdField(); String getSubthemeMainTheme(); String getSubthemeDiscriminatorField(); int getTagCloudSampleSize(String fieldName); List<StringPair> getTocVolumeSortFieldsForTemplate(String template); String getTocVolumeGroupFieldForTemplate(String template); boolean getDisplayTitleBreadcrumbs(); boolean isDisplayTitlePURL(); int getTitleBreadcrumbsMaxTitleLength(); boolean getIncludeAnchorInTitleBreadcrumbs(); boolean isDisplaySearchRssLinks(); boolean showThumbnailsInToc(); String getStartYearForTimeline(); String getEndYearForTimeline(); String getTimelineHits(); boolean isPiwikTrackingEnabled(); String getPiwikBaseURL(); String getPiwikSiteID(); boolean isSearchSavingEnabled(); boolean isBoostTopLevelDocstructs(); boolean isGroupDuplicateHits(); List<String> getRecordGroupIdentifierFields(); List<String> getAncestorIdentifierFields(); boolean isTocListSiblingRecords(); List<SearchFilter> getSearchFilters(); List<Map<String, String>> getWebApiFields(); String getDbPersistenceUnit(); boolean useCustomNavBar(); String getCmsTemplateFolder(); String getCmsMediaFolder(); String getTempMediaFolder(); List<String> getCmsClassifications(); int getCmsMediaDisplayWidth(); int getCmsMediaDisplayHeight(); boolean isTranskribusEnabled(); String getTranskribusUserName(); String getTranskribusPassword(); String getTranskribusDefaultCollection(); String getTranskribusRestApiUrl(); List<String> getTranskribusAllowedDocumentTypes(); int getTocIndentation(); boolean isPageBrowseEnabled(); List<Integer> getPageBrowseSteps(); String getTaskManagerServiceUrl(); String getTaskManagerRestUrl(); String getReCaptchaSiteKey(); boolean isUseReCaptcha(); boolean isSearchInItemEnabled(); String getDefaultBrowseIcon(String field); boolean isSearchExcelExportEnabled(); List<String> getSearchExcelExportFields(); int getExcelDownloadTimeout(); boolean isDisplayEmptyTocInSidebar(); boolean isDoublePageModeEnabled(); List<String> getRestrictedImageUrls(); List<String> getIIIFLicenses(); List<String> getIIIFMetadataFields(); List<String> getIIIFEventFields(); String getIIIFMetadataLabel(String field); int getIIIFDiscoveryAvtivitiesPerPage(); List<String> getIIIFLogo(); String getIIIFNavDateField(); List<String> getIIIFAttribution(); List<String> getIIIFDescriptionFields(); String getSitelinksField(); String getSitelinksFilterQuery(); List<String> getConfiguredCollections(); String getWebApiToken(); boolean isAllowRedirectCollectionToWork(); String getTwitterUserName(); float getLimitImageHeightUpperRatioThreshold(); float getLimitImageHeightLowerRatioThreshold(); boolean isLimitImageHeight(); boolean isAddCORSHeader(); String getCORSHeaderValue(); boolean isDiscloseImageContentLocation(); String getAccessConditionDisplayField(); String getCopyrightDisplayField(); boolean isDisplayCopyrightInfo(); boolean isDisplaySocialMediaShareLinks(); boolean isDisplayAnchorLabelInTitleBar(String template); String getAnchorLabelInTitleBarPrefix(String template); String getAnchorLabelInTitleBarSuffix(String template); String getMapBoxToken(); GeoMapMarker getGeoMapMarker(String name); List<String> getGeoMapMarkerFields(); List<GeoMapMarker> getGeoMapMarkers(); static GeoMapMarker readGeoMapMarker(HierarchicalConfiguration config); List<LicenseDescription> getLicenseDescriptions(); }
@Test public void getZoomImageViewType_shouldReturnCorrectValue() throws Exception { Assert.assertEquals("openSeadragon", DataManager.getInstance().getConfiguration().getImageViewType()); }
public String getImageViewType() throws ViewerConfigurationException { return getZoomImageViewType(PageType.viewImage, null); }
Configuration extends AbstractConfiguration { public String getImageViewType() throws ViewerConfigurationException { return getZoomImageViewType(PageType.viewImage, null); } }
Configuration extends AbstractConfiguration { public String getImageViewType() throws ViewerConfigurationException { return getZoomImageViewType(PageType.viewImage, null); } Configuration(String configFilePath); }
Configuration extends AbstractConfiguration { public String getImageViewType() throws ViewerConfigurationException { return getZoomImageViewType(PageType.viewImage, null); } Configuration(String configFilePath); Set<String> getStopwords(); boolean reloadingRequired(); String getConfigLocalPath(); String getLocalRessourceBundleFile(); int getViewerThumbnailsPerPage(); int getViewerMaxImageWidth(); int getViewerMaxImageHeight(); int getViewerMaxImageScale(); boolean isRememberImageZoom(); boolean isRememberImageRotation(); String getDfgViewerUrl(); String getConnectorVersionUrl(); List<Metadata> getTitleBarMetadata(); List<Metadata> getSearchHitMetadataForTemplate(String template); List<Metadata> getMainMetadataForTemplate(String template); List<Metadata> getSidebarMetadataForTemplate(String template); List<String> getNormdataFieldsForTemplate(String template); List<Metadata> getTocLabelConfiguration(String template); int getTocAnchorGroupElementsPerPage(); boolean isDisplaySidebarBrowsingTerms(); boolean isDisplaySidebarRssFeed(); boolean isDisplayWidgetUsage(); Metadata getWidgetUsageLicenceTextMetadata(); boolean isDisplaySidebarUsageWidgetLinkToJpegImage(); boolean isDisplaySidebarUsageWidgetLinkToMasterImage(); String getWidgetUsageMaxJpegSize(); String getWidgetUsageMaxMasterImageSize(); List<String> getCalendarDocStructTypes(); boolean isBrowsingMenuEnabled(); int getBrowsingMenuHitsPerPage(); List<BrowsingMenuFieldConfig> getBrowsingMenuFields(); String getBrowsingMenuSortingIgnoreLeadingChars(); String getDocstrctWhitelistFilterQuery(); String getCollectionSplittingChar(String field); List<DcSortingList> getCollectionSorting(String field); List<String> getCollectionBlacklist(String field); String getCollectionDefaultSortField(String field, String name); int getCollectionDisplayNumberOfVolumesLevel(String field); int getCollectionDisplayDepthForSearch(String field); String getCollectionHierarchyField(); boolean isAddCollectionHierarchyToBreadcrumbs(String field); String getSolrUrl(); String getContentServerWrapperUrl(); String getDownloadUrl(); String getRestApiUrl(); String getIIIFApiUrl(); boolean isUseIIIFApiUrlForCmsMediaUrls(); String getContentServerRealUrl(); String getMetsUrl(); String getMarcUrl(); String getDcUrl(); String getEseUrl(); List<Integer> getSearchHitsPerPageValues(); int getSearchHitsPerPageDefaultValue(); int getFulltextFragmentLength(); boolean isAdvancedSearchEnabled(); int getAdvancedSearchDefaultItemNumber(); List<AdvancedSearchFieldConfiguration> getAdvancedSearchFields(); boolean isAggregateHits(); boolean isDisplayAdditionalMetadataEnabled(); List<String> getDisplayAdditionalMetadataIgnoreFields(); List<String> getDisplayAdditionalMetadataTranslateFields(); boolean isAdvancedSearchFieldHierarchical(String field); boolean isAdvancedSearchFieldRange(String field); boolean isAdvancedSearchFieldUntokenizeForPhraseSearch(String field); String getAdvancedSearchFieldSeparatorLabel(String field); boolean isTimelineSearchEnabled(); boolean isCalendarSearchEnabled(); String getStaticQuerySuffix(); String getPreviousVersionIdentifierField(); String getNextVersionIdentifierField(); String getVersionLabelField(); String getIndexedMetsFolder(); String getIndexedLidoFolder(); String getIndexedDenkxwebFolder(); String getIndexedDublinCoreFolder(); String getPageSelectionFormat(); String getMediaFolder(); String getPdfFolder(); String getVocabulariesFolder(); String getOrigContentFolder(); String getCmsTextFolder(); String getAltoFolder(); String getAbbyyFolder(); String getFulltextFolder(); String getTeiFolder(); String getCmdiFolder(); String getWcFolder(); String getAnnotationFolder(); String getHotfolder(); @SuppressWarnings("static-method") String getTempFolder(); boolean isUrnDoRedirect(); boolean isUserRegistrationEnabled(); List<SecurityQuestion> getSecurityQuestions(); boolean isShowOpenIdConnect(); List<IAuthenticationProvider> getAuthenticationProviders(); String getSmtpServer(); String getSmtpUser(); String getSmtpPassword(); String getSmtpSenderAddress(); String getSmtpSenderName(); String getSmtpSecurity(); String getAnonymousUserEmailAddress(); boolean isDisplayCollectionBrowsing(); boolean isDisplayUserNavigation(); boolean isDisplayTagCloudNavigation(); boolean isDisplayStatistics(); boolean isDisplayTimeMatrix(); boolean isDisplayCrowdsourcingModuleLinks(); String getTheme(); String getThemeRootPath(); String getName(); String getDescription(); boolean isDisplayTagCloudStartpage(); boolean isDisplaySearchResultNavigation(); boolean isFoldout(String sidebarElement); boolean isSidebarPageViewLinkVisible(); boolean isSidebarCalendarViewLinkVisible(); boolean isSidebarTocViewLinkVisible(); boolean isSidebarThumbsViewLinkVisible(); boolean isSidebarMetadataViewLinkVisible(); boolean isShowSidebarEventMetadata(); boolean isShowRecordLabelIfNoOtherViews(); boolean isSidebarFulltextLinkVisible(); boolean isSidebarTocWidgetVisible(); boolean isSidebarTocWidgetVisibleInFullscreen(); boolean isSidebarOpacLinkVisible(); boolean getSidebarTocPageNumbersVisible(); int getSidebarTocLengthBeforeCut(); int getSidebarTocInitialCollapseLevel(); int getSidebarTocCollapseLengthThreshold(); int getSidebarTocLowestLevelToCollapseForLength(); boolean isSidebarTocTreeView(); boolean isTocTreeView(String docStructType); List<String> getAllDrillDownFields(); List<String> getDrillDownFields(); List<String> getHierarchicalDrillDownFields(); int getInitialDrillDownElementNumber(String field); String getSortOrder(String field); List<String> getPriorityValuesForDrillDownField(String field); String getLabelFieldForDrillDownField(String facetField); @SuppressWarnings("static-method") List<String> getRangeFacetFields(); boolean isSortingEnabled(); String getDefaultSortField(); List<String> getSortFields(); List<String> getStaticSortFields(); String getUrnResolverUrl(); int getUnconditionalImageAccessMaxWidth(); boolean isFullAccessForLocalhost(); boolean isGeneratePdfInTaskManager(); boolean isPdfApiDisabled(); boolean isTitlePdfEnabled(); boolean isTocPdfEnabled(); boolean isMetadataPdfEnabled(); boolean isPagePdfEnabled(); boolean isDocHierarchyPdfEnabled(); boolean isTitleEpubEnabled(); boolean isTocEpubEnabled(); boolean isMetadataEpubEnabled(); String getDownloadFolder(String type); int getRssFeedItems(); String getRssTitle(); String getRssDescription(); String getRssCopyrightText(); String getRulesetFilePath(); String getDefaultCollection(); int getThumbnailsWidth(); int getThumbnailsHeight(); int getThumbnailsCompression(); String getAnchorThumbnailMode(); int getMultivolumeThumbnailWidth(); int getMultivolumeThumbnailHeight(); boolean getDisplayBreadcrumbs(); boolean getDisplayMetadataPageLinkBlock(); boolean isAddDublinCoreMetaTags(); boolean isAddHighwirePressMetaTags(); int getMetadataParamNumber(); boolean useTiles(); boolean useTilesFullscreen(); boolean useTiles(PageType view, ImageType image); int getFooterHeight(); int getFullscreenFooterHeight(); int getFooterHeight(PageType view, ImageType image); String getImageViewType(); String getZoomFullscreenViewType(); String getZoomImageViewType(PageType view, ImageType image); boolean useOpenSeadragon(); List<String> getImageViewZoomScales(); List<String> getImageViewZoomScales(String view); List<String> getImageViewZoomScales(PageType view, ImageType image); Map<Integer, List<Integer>> getTileSizes(); Map<Integer, List<Integer>> getTileSizes(PageType view, ImageType image); SubnodeConfiguration getZoomImageViewConfig(PageType pageType, ImageType imageType); int getBreadcrumbsClipping(); boolean isDisplayTopstructLabel(); boolean getDisplayStructType(); int getSearchHitMetadataValueNumber(); int getSearchHitMetadataValueLength(); List<String> getWatermarkTextConfiguration(); String getWatermarkFormat(); boolean isOriginalContentDownload(); String getStopwordsFilePath(); String getPageType(PageType type); String getDocstructTargetPageType(String docstruct); String getPageTypeExitView(PageType type); int getFulltextPercentageWarningThreshold(); boolean isUseViewerLocaleAsRecordLanguage(); String getFeedbackEmailAddress(); boolean isBookmarksEnabled(); boolean isForceJpegConversion(); int getPageLoaderThreshold(); boolean isPreventProxyCaching(); boolean isSolrCompressionEnabled(); boolean isSolrBackwardsCompatible(); boolean isUserCommentsEnabled(); String getUserCommentsConditionalQuery(); List<String> getUserCommentsNotificationEmailAddresses(); String getViewerHome(); List<String> getWatermarkIdField(); String getSubthemeMainTheme(); String getSubthemeDiscriminatorField(); int getTagCloudSampleSize(String fieldName); List<StringPair> getTocVolumeSortFieldsForTemplate(String template); String getTocVolumeGroupFieldForTemplate(String template); boolean getDisplayTitleBreadcrumbs(); boolean isDisplayTitlePURL(); int getTitleBreadcrumbsMaxTitleLength(); boolean getIncludeAnchorInTitleBreadcrumbs(); boolean isDisplaySearchRssLinks(); boolean showThumbnailsInToc(); String getStartYearForTimeline(); String getEndYearForTimeline(); String getTimelineHits(); boolean isPiwikTrackingEnabled(); String getPiwikBaseURL(); String getPiwikSiteID(); boolean isSearchSavingEnabled(); boolean isBoostTopLevelDocstructs(); boolean isGroupDuplicateHits(); List<String> getRecordGroupIdentifierFields(); List<String> getAncestorIdentifierFields(); boolean isTocListSiblingRecords(); List<SearchFilter> getSearchFilters(); List<Map<String, String>> getWebApiFields(); String getDbPersistenceUnit(); boolean useCustomNavBar(); String getCmsTemplateFolder(); String getCmsMediaFolder(); String getTempMediaFolder(); List<String> getCmsClassifications(); int getCmsMediaDisplayWidth(); int getCmsMediaDisplayHeight(); boolean isTranskribusEnabled(); String getTranskribusUserName(); String getTranskribusPassword(); String getTranskribusDefaultCollection(); String getTranskribusRestApiUrl(); List<String> getTranskribusAllowedDocumentTypes(); int getTocIndentation(); boolean isPageBrowseEnabled(); List<Integer> getPageBrowseSteps(); String getTaskManagerServiceUrl(); String getTaskManagerRestUrl(); String getReCaptchaSiteKey(); boolean isUseReCaptcha(); boolean isSearchInItemEnabled(); String getDefaultBrowseIcon(String field); boolean isSearchExcelExportEnabled(); List<String> getSearchExcelExportFields(); int getExcelDownloadTimeout(); boolean isDisplayEmptyTocInSidebar(); boolean isDoublePageModeEnabled(); List<String> getRestrictedImageUrls(); List<String> getIIIFLicenses(); List<String> getIIIFMetadataFields(); List<String> getIIIFEventFields(); String getIIIFMetadataLabel(String field); int getIIIFDiscoveryAvtivitiesPerPage(); List<String> getIIIFLogo(); String getIIIFNavDateField(); List<String> getIIIFAttribution(); List<String> getIIIFDescriptionFields(); String getSitelinksField(); String getSitelinksFilterQuery(); List<String> getConfiguredCollections(); String getWebApiToken(); boolean isAllowRedirectCollectionToWork(); String getTwitterUserName(); float getLimitImageHeightUpperRatioThreshold(); float getLimitImageHeightLowerRatioThreshold(); boolean isLimitImageHeight(); boolean isAddCORSHeader(); String getCORSHeaderValue(); boolean isDiscloseImageContentLocation(); String getAccessConditionDisplayField(); String getCopyrightDisplayField(); boolean isDisplayCopyrightInfo(); boolean isDisplaySocialMediaShareLinks(); boolean isDisplayAnchorLabelInTitleBar(String template); String getAnchorLabelInTitleBarPrefix(String template); String getAnchorLabelInTitleBarSuffix(String template); String getMapBoxToken(); GeoMapMarker getGeoMapMarker(String name); List<String> getGeoMapMarkerFields(); List<GeoMapMarker> getGeoMapMarkers(); static GeoMapMarker readGeoMapMarker(HierarchicalConfiguration config); List<LicenseDescription> getLicenseDescriptions(); }
Configuration extends AbstractConfiguration { public String getImageViewType() throws ViewerConfigurationException { return getZoomImageViewType(PageType.viewImage, null); } Configuration(String configFilePath); Set<String> getStopwords(); boolean reloadingRequired(); String getConfigLocalPath(); String getLocalRessourceBundleFile(); int getViewerThumbnailsPerPage(); int getViewerMaxImageWidth(); int getViewerMaxImageHeight(); int getViewerMaxImageScale(); boolean isRememberImageZoom(); boolean isRememberImageRotation(); String getDfgViewerUrl(); String getConnectorVersionUrl(); List<Metadata> getTitleBarMetadata(); List<Metadata> getSearchHitMetadataForTemplate(String template); List<Metadata> getMainMetadataForTemplate(String template); List<Metadata> getSidebarMetadataForTemplate(String template); List<String> getNormdataFieldsForTemplate(String template); List<Metadata> getTocLabelConfiguration(String template); int getTocAnchorGroupElementsPerPage(); boolean isDisplaySidebarBrowsingTerms(); boolean isDisplaySidebarRssFeed(); boolean isDisplayWidgetUsage(); Metadata getWidgetUsageLicenceTextMetadata(); boolean isDisplaySidebarUsageWidgetLinkToJpegImage(); boolean isDisplaySidebarUsageWidgetLinkToMasterImage(); String getWidgetUsageMaxJpegSize(); String getWidgetUsageMaxMasterImageSize(); List<String> getCalendarDocStructTypes(); boolean isBrowsingMenuEnabled(); int getBrowsingMenuHitsPerPage(); List<BrowsingMenuFieldConfig> getBrowsingMenuFields(); String getBrowsingMenuSortingIgnoreLeadingChars(); String getDocstrctWhitelistFilterQuery(); String getCollectionSplittingChar(String field); List<DcSortingList> getCollectionSorting(String field); List<String> getCollectionBlacklist(String field); String getCollectionDefaultSortField(String field, String name); int getCollectionDisplayNumberOfVolumesLevel(String field); int getCollectionDisplayDepthForSearch(String field); String getCollectionHierarchyField(); boolean isAddCollectionHierarchyToBreadcrumbs(String field); String getSolrUrl(); String getContentServerWrapperUrl(); String getDownloadUrl(); String getRestApiUrl(); String getIIIFApiUrl(); boolean isUseIIIFApiUrlForCmsMediaUrls(); String getContentServerRealUrl(); String getMetsUrl(); String getMarcUrl(); String getDcUrl(); String getEseUrl(); List<Integer> getSearchHitsPerPageValues(); int getSearchHitsPerPageDefaultValue(); int getFulltextFragmentLength(); boolean isAdvancedSearchEnabled(); int getAdvancedSearchDefaultItemNumber(); List<AdvancedSearchFieldConfiguration> getAdvancedSearchFields(); boolean isAggregateHits(); boolean isDisplayAdditionalMetadataEnabled(); List<String> getDisplayAdditionalMetadataIgnoreFields(); List<String> getDisplayAdditionalMetadataTranslateFields(); boolean isAdvancedSearchFieldHierarchical(String field); boolean isAdvancedSearchFieldRange(String field); boolean isAdvancedSearchFieldUntokenizeForPhraseSearch(String field); String getAdvancedSearchFieldSeparatorLabel(String field); boolean isTimelineSearchEnabled(); boolean isCalendarSearchEnabled(); String getStaticQuerySuffix(); String getPreviousVersionIdentifierField(); String getNextVersionIdentifierField(); String getVersionLabelField(); String getIndexedMetsFolder(); String getIndexedLidoFolder(); String getIndexedDenkxwebFolder(); String getIndexedDublinCoreFolder(); String getPageSelectionFormat(); String getMediaFolder(); String getPdfFolder(); String getVocabulariesFolder(); String getOrigContentFolder(); String getCmsTextFolder(); String getAltoFolder(); String getAbbyyFolder(); String getFulltextFolder(); String getTeiFolder(); String getCmdiFolder(); String getWcFolder(); String getAnnotationFolder(); String getHotfolder(); @SuppressWarnings("static-method") String getTempFolder(); boolean isUrnDoRedirect(); boolean isUserRegistrationEnabled(); List<SecurityQuestion> getSecurityQuestions(); boolean isShowOpenIdConnect(); List<IAuthenticationProvider> getAuthenticationProviders(); String getSmtpServer(); String getSmtpUser(); String getSmtpPassword(); String getSmtpSenderAddress(); String getSmtpSenderName(); String getSmtpSecurity(); String getAnonymousUserEmailAddress(); boolean isDisplayCollectionBrowsing(); boolean isDisplayUserNavigation(); boolean isDisplayTagCloudNavigation(); boolean isDisplayStatistics(); boolean isDisplayTimeMatrix(); boolean isDisplayCrowdsourcingModuleLinks(); String getTheme(); String getThemeRootPath(); String getName(); String getDescription(); boolean isDisplayTagCloudStartpage(); boolean isDisplaySearchResultNavigation(); boolean isFoldout(String sidebarElement); boolean isSidebarPageViewLinkVisible(); boolean isSidebarCalendarViewLinkVisible(); boolean isSidebarTocViewLinkVisible(); boolean isSidebarThumbsViewLinkVisible(); boolean isSidebarMetadataViewLinkVisible(); boolean isShowSidebarEventMetadata(); boolean isShowRecordLabelIfNoOtherViews(); boolean isSidebarFulltextLinkVisible(); boolean isSidebarTocWidgetVisible(); boolean isSidebarTocWidgetVisibleInFullscreen(); boolean isSidebarOpacLinkVisible(); boolean getSidebarTocPageNumbersVisible(); int getSidebarTocLengthBeforeCut(); int getSidebarTocInitialCollapseLevel(); int getSidebarTocCollapseLengthThreshold(); int getSidebarTocLowestLevelToCollapseForLength(); boolean isSidebarTocTreeView(); boolean isTocTreeView(String docStructType); List<String> getAllDrillDownFields(); List<String> getDrillDownFields(); List<String> getHierarchicalDrillDownFields(); int getInitialDrillDownElementNumber(String field); String getSortOrder(String field); List<String> getPriorityValuesForDrillDownField(String field); String getLabelFieldForDrillDownField(String facetField); @SuppressWarnings("static-method") List<String> getRangeFacetFields(); boolean isSortingEnabled(); String getDefaultSortField(); List<String> getSortFields(); List<String> getStaticSortFields(); String getUrnResolverUrl(); int getUnconditionalImageAccessMaxWidth(); boolean isFullAccessForLocalhost(); boolean isGeneratePdfInTaskManager(); boolean isPdfApiDisabled(); boolean isTitlePdfEnabled(); boolean isTocPdfEnabled(); boolean isMetadataPdfEnabled(); boolean isPagePdfEnabled(); boolean isDocHierarchyPdfEnabled(); boolean isTitleEpubEnabled(); boolean isTocEpubEnabled(); boolean isMetadataEpubEnabled(); String getDownloadFolder(String type); int getRssFeedItems(); String getRssTitle(); String getRssDescription(); String getRssCopyrightText(); String getRulesetFilePath(); String getDefaultCollection(); int getThumbnailsWidth(); int getThumbnailsHeight(); int getThumbnailsCompression(); String getAnchorThumbnailMode(); int getMultivolumeThumbnailWidth(); int getMultivolumeThumbnailHeight(); boolean getDisplayBreadcrumbs(); boolean getDisplayMetadataPageLinkBlock(); boolean isAddDublinCoreMetaTags(); boolean isAddHighwirePressMetaTags(); int getMetadataParamNumber(); boolean useTiles(); boolean useTilesFullscreen(); boolean useTiles(PageType view, ImageType image); int getFooterHeight(); int getFullscreenFooterHeight(); int getFooterHeight(PageType view, ImageType image); String getImageViewType(); String getZoomFullscreenViewType(); String getZoomImageViewType(PageType view, ImageType image); boolean useOpenSeadragon(); List<String> getImageViewZoomScales(); List<String> getImageViewZoomScales(String view); List<String> getImageViewZoomScales(PageType view, ImageType image); Map<Integer, List<Integer>> getTileSizes(); Map<Integer, List<Integer>> getTileSizes(PageType view, ImageType image); SubnodeConfiguration getZoomImageViewConfig(PageType pageType, ImageType imageType); int getBreadcrumbsClipping(); boolean isDisplayTopstructLabel(); boolean getDisplayStructType(); int getSearchHitMetadataValueNumber(); int getSearchHitMetadataValueLength(); List<String> getWatermarkTextConfiguration(); String getWatermarkFormat(); boolean isOriginalContentDownload(); String getStopwordsFilePath(); String getPageType(PageType type); String getDocstructTargetPageType(String docstruct); String getPageTypeExitView(PageType type); int getFulltextPercentageWarningThreshold(); boolean isUseViewerLocaleAsRecordLanguage(); String getFeedbackEmailAddress(); boolean isBookmarksEnabled(); boolean isForceJpegConversion(); int getPageLoaderThreshold(); boolean isPreventProxyCaching(); boolean isSolrCompressionEnabled(); boolean isSolrBackwardsCompatible(); boolean isUserCommentsEnabled(); String getUserCommentsConditionalQuery(); List<String> getUserCommentsNotificationEmailAddresses(); String getViewerHome(); List<String> getWatermarkIdField(); String getSubthemeMainTheme(); String getSubthemeDiscriminatorField(); int getTagCloudSampleSize(String fieldName); List<StringPair> getTocVolumeSortFieldsForTemplate(String template); String getTocVolumeGroupFieldForTemplate(String template); boolean getDisplayTitleBreadcrumbs(); boolean isDisplayTitlePURL(); int getTitleBreadcrumbsMaxTitleLength(); boolean getIncludeAnchorInTitleBreadcrumbs(); boolean isDisplaySearchRssLinks(); boolean showThumbnailsInToc(); String getStartYearForTimeline(); String getEndYearForTimeline(); String getTimelineHits(); boolean isPiwikTrackingEnabled(); String getPiwikBaseURL(); String getPiwikSiteID(); boolean isSearchSavingEnabled(); boolean isBoostTopLevelDocstructs(); boolean isGroupDuplicateHits(); List<String> getRecordGroupIdentifierFields(); List<String> getAncestorIdentifierFields(); boolean isTocListSiblingRecords(); List<SearchFilter> getSearchFilters(); List<Map<String, String>> getWebApiFields(); String getDbPersistenceUnit(); boolean useCustomNavBar(); String getCmsTemplateFolder(); String getCmsMediaFolder(); String getTempMediaFolder(); List<String> getCmsClassifications(); int getCmsMediaDisplayWidth(); int getCmsMediaDisplayHeight(); boolean isTranskribusEnabled(); String getTranskribusUserName(); String getTranskribusPassword(); String getTranskribusDefaultCollection(); String getTranskribusRestApiUrl(); List<String> getTranskribusAllowedDocumentTypes(); int getTocIndentation(); boolean isPageBrowseEnabled(); List<Integer> getPageBrowseSteps(); String getTaskManagerServiceUrl(); String getTaskManagerRestUrl(); String getReCaptchaSiteKey(); boolean isUseReCaptcha(); boolean isSearchInItemEnabled(); String getDefaultBrowseIcon(String field); boolean isSearchExcelExportEnabled(); List<String> getSearchExcelExportFields(); int getExcelDownloadTimeout(); boolean isDisplayEmptyTocInSidebar(); boolean isDoublePageModeEnabled(); List<String> getRestrictedImageUrls(); List<String> getIIIFLicenses(); List<String> getIIIFMetadataFields(); List<String> getIIIFEventFields(); String getIIIFMetadataLabel(String field); int getIIIFDiscoveryAvtivitiesPerPage(); List<String> getIIIFLogo(); String getIIIFNavDateField(); List<String> getIIIFAttribution(); List<String> getIIIFDescriptionFields(); String getSitelinksField(); String getSitelinksFilterQuery(); List<String> getConfiguredCollections(); String getWebApiToken(); boolean isAllowRedirectCollectionToWork(); String getTwitterUserName(); float getLimitImageHeightUpperRatioThreshold(); float getLimitImageHeightLowerRatioThreshold(); boolean isLimitImageHeight(); boolean isAddCORSHeader(); String getCORSHeaderValue(); boolean isDiscloseImageContentLocation(); String getAccessConditionDisplayField(); String getCopyrightDisplayField(); boolean isDisplayCopyrightInfo(); boolean isDisplaySocialMediaShareLinks(); boolean isDisplayAnchorLabelInTitleBar(String template); String getAnchorLabelInTitleBarPrefix(String template); String getAnchorLabelInTitleBarSuffix(String template); String getMapBoxToken(); GeoMapMarker getGeoMapMarker(String name); List<String> getGeoMapMarkerFields(); List<GeoMapMarker> getGeoMapMarkers(); static GeoMapMarker readGeoMapMarker(HierarchicalConfiguration config); List<LicenseDescription> getLicenseDescriptions(); }
@Test public void isBookshelvesEnabled_shouldReturnCorrectValue() throws Exception { Assert.assertEquals(false, DataManager.getInstance().getConfiguration().isBookmarksEnabled()); }
public boolean isBookmarksEnabled() { return getLocalBoolean("bookmarks.bookmarksEnabled", true); }
Configuration extends AbstractConfiguration { public boolean isBookmarksEnabled() { return getLocalBoolean("bookmarks.bookmarksEnabled", true); } }
Configuration extends AbstractConfiguration { public boolean isBookmarksEnabled() { return getLocalBoolean("bookmarks.bookmarksEnabled", true); } Configuration(String configFilePath); }
Configuration extends AbstractConfiguration { public boolean isBookmarksEnabled() { return getLocalBoolean("bookmarks.bookmarksEnabled", true); } Configuration(String configFilePath); Set<String> getStopwords(); boolean reloadingRequired(); String getConfigLocalPath(); String getLocalRessourceBundleFile(); int getViewerThumbnailsPerPage(); int getViewerMaxImageWidth(); int getViewerMaxImageHeight(); int getViewerMaxImageScale(); boolean isRememberImageZoom(); boolean isRememberImageRotation(); String getDfgViewerUrl(); String getConnectorVersionUrl(); List<Metadata> getTitleBarMetadata(); List<Metadata> getSearchHitMetadataForTemplate(String template); List<Metadata> getMainMetadataForTemplate(String template); List<Metadata> getSidebarMetadataForTemplate(String template); List<String> getNormdataFieldsForTemplate(String template); List<Metadata> getTocLabelConfiguration(String template); int getTocAnchorGroupElementsPerPage(); boolean isDisplaySidebarBrowsingTerms(); boolean isDisplaySidebarRssFeed(); boolean isDisplayWidgetUsage(); Metadata getWidgetUsageLicenceTextMetadata(); boolean isDisplaySidebarUsageWidgetLinkToJpegImage(); boolean isDisplaySidebarUsageWidgetLinkToMasterImage(); String getWidgetUsageMaxJpegSize(); String getWidgetUsageMaxMasterImageSize(); List<String> getCalendarDocStructTypes(); boolean isBrowsingMenuEnabled(); int getBrowsingMenuHitsPerPage(); List<BrowsingMenuFieldConfig> getBrowsingMenuFields(); String getBrowsingMenuSortingIgnoreLeadingChars(); String getDocstrctWhitelistFilterQuery(); String getCollectionSplittingChar(String field); List<DcSortingList> getCollectionSorting(String field); List<String> getCollectionBlacklist(String field); String getCollectionDefaultSortField(String field, String name); int getCollectionDisplayNumberOfVolumesLevel(String field); int getCollectionDisplayDepthForSearch(String field); String getCollectionHierarchyField(); boolean isAddCollectionHierarchyToBreadcrumbs(String field); String getSolrUrl(); String getContentServerWrapperUrl(); String getDownloadUrl(); String getRestApiUrl(); String getIIIFApiUrl(); boolean isUseIIIFApiUrlForCmsMediaUrls(); String getContentServerRealUrl(); String getMetsUrl(); String getMarcUrl(); String getDcUrl(); String getEseUrl(); List<Integer> getSearchHitsPerPageValues(); int getSearchHitsPerPageDefaultValue(); int getFulltextFragmentLength(); boolean isAdvancedSearchEnabled(); int getAdvancedSearchDefaultItemNumber(); List<AdvancedSearchFieldConfiguration> getAdvancedSearchFields(); boolean isAggregateHits(); boolean isDisplayAdditionalMetadataEnabled(); List<String> getDisplayAdditionalMetadataIgnoreFields(); List<String> getDisplayAdditionalMetadataTranslateFields(); boolean isAdvancedSearchFieldHierarchical(String field); boolean isAdvancedSearchFieldRange(String field); boolean isAdvancedSearchFieldUntokenizeForPhraseSearch(String field); String getAdvancedSearchFieldSeparatorLabel(String field); boolean isTimelineSearchEnabled(); boolean isCalendarSearchEnabled(); String getStaticQuerySuffix(); String getPreviousVersionIdentifierField(); String getNextVersionIdentifierField(); String getVersionLabelField(); String getIndexedMetsFolder(); String getIndexedLidoFolder(); String getIndexedDenkxwebFolder(); String getIndexedDublinCoreFolder(); String getPageSelectionFormat(); String getMediaFolder(); String getPdfFolder(); String getVocabulariesFolder(); String getOrigContentFolder(); String getCmsTextFolder(); String getAltoFolder(); String getAbbyyFolder(); String getFulltextFolder(); String getTeiFolder(); String getCmdiFolder(); String getWcFolder(); String getAnnotationFolder(); String getHotfolder(); @SuppressWarnings("static-method") String getTempFolder(); boolean isUrnDoRedirect(); boolean isUserRegistrationEnabled(); List<SecurityQuestion> getSecurityQuestions(); boolean isShowOpenIdConnect(); List<IAuthenticationProvider> getAuthenticationProviders(); String getSmtpServer(); String getSmtpUser(); String getSmtpPassword(); String getSmtpSenderAddress(); String getSmtpSenderName(); String getSmtpSecurity(); String getAnonymousUserEmailAddress(); boolean isDisplayCollectionBrowsing(); boolean isDisplayUserNavigation(); boolean isDisplayTagCloudNavigation(); boolean isDisplayStatistics(); boolean isDisplayTimeMatrix(); boolean isDisplayCrowdsourcingModuleLinks(); String getTheme(); String getThemeRootPath(); String getName(); String getDescription(); boolean isDisplayTagCloudStartpage(); boolean isDisplaySearchResultNavigation(); boolean isFoldout(String sidebarElement); boolean isSidebarPageViewLinkVisible(); boolean isSidebarCalendarViewLinkVisible(); boolean isSidebarTocViewLinkVisible(); boolean isSidebarThumbsViewLinkVisible(); boolean isSidebarMetadataViewLinkVisible(); boolean isShowSidebarEventMetadata(); boolean isShowRecordLabelIfNoOtherViews(); boolean isSidebarFulltextLinkVisible(); boolean isSidebarTocWidgetVisible(); boolean isSidebarTocWidgetVisibleInFullscreen(); boolean isSidebarOpacLinkVisible(); boolean getSidebarTocPageNumbersVisible(); int getSidebarTocLengthBeforeCut(); int getSidebarTocInitialCollapseLevel(); int getSidebarTocCollapseLengthThreshold(); int getSidebarTocLowestLevelToCollapseForLength(); boolean isSidebarTocTreeView(); boolean isTocTreeView(String docStructType); List<String> getAllDrillDownFields(); List<String> getDrillDownFields(); List<String> getHierarchicalDrillDownFields(); int getInitialDrillDownElementNumber(String field); String getSortOrder(String field); List<String> getPriorityValuesForDrillDownField(String field); String getLabelFieldForDrillDownField(String facetField); @SuppressWarnings("static-method") List<String> getRangeFacetFields(); boolean isSortingEnabled(); String getDefaultSortField(); List<String> getSortFields(); List<String> getStaticSortFields(); String getUrnResolverUrl(); int getUnconditionalImageAccessMaxWidth(); boolean isFullAccessForLocalhost(); boolean isGeneratePdfInTaskManager(); boolean isPdfApiDisabled(); boolean isTitlePdfEnabled(); boolean isTocPdfEnabled(); boolean isMetadataPdfEnabled(); boolean isPagePdfEnabled(); boolean isDocHierarchyPdfEnabled(); boolean isTitleEpubEnabled(); boolean isTocEpubEnabled(); boolean isMetadataEpubEnabled(); String getDownloadFolder(String type); int getRssFeedItems(); String getRssTitle(); String getRssDescription(); String getRssCopyrightText(); String getRulesetFilePath(); String getDefaultCollection(); int getThumbnailsWidth(); int getThumbnailsHeight(); int getThumbnailsCompression(); String getAnchorThumbnailMode(); int getMultivolumeThumbnailWidth(); int getMultivolumeThumbnailHeight(); boolean getDisplayBreadcrumbs(); boolean getDisplayMetadataPageLinkBlock(); boolean isAddDublinCoreMetaTags(); boolean isAddHighwirePressMetaTags(); int getMetadataParamNumber(); boolean useTiles(); boolean useTilesFullscreen(); boolean useTiles(PageType view, ImageType image); int getFooterHeight(); int getFullscreenFooterHeight(); int getFooterHeight(PageType view, ImageType image); String getImageViewType(); String getZoomFullscreenViewType(); String getZoomImageViewType(PageType view, ImageType image); boolean useOpenSeadragon(); List<String> getImageViewZoomScales(); List<String> getImageViewZoomScales(String view); List<String> getImageViewZoomScales(PageType view, ImageType image); Map<Integer, List<Integer>> getTileSizes(); Map<Integer, List<Integer>> getTileSizes(PageType view, ImageType image); SubnodeConfiguration getZoomImageViewConfig(PageType pageType, ImageType imageType); int getBreadcrumbsClipping(); boolean isDisplayTopstructLabel(); boolean getDisplayStructType(); int getSearchHitMetadataValueNumber(); int getSearchHitMetadataValueLength(); List<String> getWatermarkTextConfiguration(); String getWatermarkFormat(); boolean isOriginalContentDownload(); String getStopwordsFilePath(); String getPageType(PageType type); String getDocstructTargetPageType(String docstruct); String getPageTypeExitView(PageType type); int getFulltextPercentageWarningThreshold(); boolean isUseViewerLocaleAsRecordLanguage(); String getFeedbackEmailAddress(); boolean isBookmarksEnabled(); boolean isForceJpegConversion(); int getPageLoaderThreshold(); boolean isPreventProxyCaching(); boolean isSolrCompressionEnabled(); boolean isSolrBackwardsCompatible(); boolean isUserCommentsEnabled(); String getUserCommentsConditionalQuery(); List<String> getUserCommentsNotificationEmailAddresses(); String getViewerHome(); List<String> getWatermarkIdField(); String getSubthemeMainTheme(); String getSubthemeDiscriminatorField(); int getTagCloudSampleSize(String fieldName); List<StringPair> getTocVolumeSortFieldsForTemplate(String template); String getTocVolumeGroupFieldForTemplate(String template); boolean getDisplayTitleBreadcrumbs(); boolean isDisplayTitlePURL(); int getTitleBreadcrumbsMaxTitleLength(); boolean getIncludeAnchorInTitleBreadcrumbs(); boolean isDisplaySearchRssLinks(); boolean showThumbnailsInToc(); String getStartYearForTimeline(); String getEndYearForTimeline(); String getTimelineHits(); boolean isPiwikTrackingEnabled(); String getPiwikBaseURL(); String getPiwikSiteID(); boolean isSearchSavingEnabled(); boolean isBoostTopLevelDocstructs(); boolean isGroupDuplicateHits(); List<String> getRecordGroupIdentifierFields(); List<String> getAncestorIdentifierFields(); boolean isTocListSiblingRecords(); List<SearchFilter> getSearchFilters(); List<Map<String, String>> getWebApiFields(); String getDbPersistenceUnit(); boolean useCustomNavBar(); String getCmsTemplateFolder(); String getCmsMediaFolder(); String getTempMediaFolder(); List<String> getCmsClassifications(); int getCmsMediaDisplayWidth(); int getCmsMediaDisplayHeight(); boolean isTranskribusEnabled(); String getTranskribusUserName(); String getTranskribusPassword(); String getTranskribusDefaultCollection(); String getTranskribusRestApiUrl(); List<String> getTranskribusAllowedDocumentTypes(); int getTocIndentation(); boolean isPageBrowseEnabled(); List<Integer> getPageBrowseSteps(); String getTaskManagerServiceUrl(); String getTaskManagerRestUrl(); String getReCaptchaSiteKey(); boolean isUseReCaptcha(); boolean isSearchInItemEnabled(); String getDefaultBrowseIcon(String field); boolean isSearchExcelExportEnabled(); List<String> getSearchExcelExportFields(); int getExcelDownloadTimeout(); boolean isDisplayEmptyTocInSidebar(); boolean isDoublePageModeEnabled(); List<String> getRestrictedImageUrls(); List<String> getIIIFLicenses(); List<String> getIIIFMetadataFields(); List<String> getIIIFEventFields(); String getIIIFMetadataLabel(String field); int getIIIFDiscoveryAvtivitiesPerPage(); List<String> getIIIFLogo(); String getIIIFNavDateField(); List<String> getIIIFAttribution(); List<String> getIIIFDescriptionFields(); String getSitelinksField(); String getSitelinksFilterQuery(); List<String> getConfiguredCollections(); String getWebApiToken(); boolean isAllowRedirectCollectionToWork(); String getTwitterUserName(); float getLimitImageHeightUpperRatioThreshold(); float getLimitImageHeightLowerRatioThreshold(); boolean isLimitImageHeight(); boolean isAddCORSHeader(); String getCORSHeaderValue(); boolean isDiscloseImageContentLocation(); String getAccessConditionDisplayField(); String getCopyrightDisplayField(); boolean isDisplayCopyrightInfo(); boolean isDisplaySocialMediaShareLinks(); boolean isDisplayAnchorLabelInTitleBar(String template); String getAnchorLabelInTitleBarPrefix(String template); String getAnchorLabelInTitleBarSuffix(String template); String getMapBoxToken(); GeoMapMarker getGeoMapMarker(String name); List<String> getGeoMapMarkerFields(); List<GeoMapMarker> getGeoMapMarkers(); static GeoMapMarker readGeoMapMarker(HierarchicalConfiguration config); List<LicenseDescription> getLicenseDescriptions(); }
Configuration extends AbstractConfiguration { public boolean isBookmarksEnabled() { return getLocalBoolean("bookmarks.bookmarksEnabled", true); } Configuration(String configFilePath); Set<String> getStopwords(); boolean reloadingRequired(); String getConfigLocalPath(); String getLocalRessourceBundleFile(); int getViewerThumbnailsPerPage(); int getViewerMaxImageWidth(); int getViewerMaxImageHeight(); int getViewerMaxImageScale(); boolean isRememberImageZoom(); boolean isRememberImageRotation(); String getDfgViewerUrl(); String getConnectorVersionUrl(); List<Metadata> getTitleBarMetadata(); List<Metadata> getSearchHitMetadataForTemplate(String template); List<Metadata> getMainMetadataForTemplate(String template); List<Metadata> getSidebarMetadataForTemplate(String template); List<String> getNormdataFieldsForTemplate(String template); List<Metadata> getTocLabelConfiguration(String template); int getTocAnchorGroupElementsPerPage(); boolean isDisplaySidebarBrowsingTerms(); boolean isDisplaySidebarRssFeed(); boolean isDisplayWidgetUsage(); Metadata getWidgetUsageLicenceTextMetadata(); boolean isDisplaySidebarUsageWidgetLinkToJpegImage(); boolean isDisplaySidebarUsageWidgetLinkToMasterImage(); String getWidgetUsageMaxJpegSize(); String getWidgetUsageMaxMasterImageSize(); List<String> getCalendarDocStructTypes(); boolean isBrowsingMenuEnabled(); int getBrowsingMenuHitsPerPage(); List<BrowsingMenuFieldConfig> getBrowsingMenuFields(); String getBrowsingMenuSortingIgnoreLeadingChars(); String getDocstrctWhitelistFilterQuery(); String getCollectionSplittingChar(String field); List<DcSortingList> getCollectionSorting(String field); List<String> getCollectionBlacklist(String field); String getCollectionDefaultSortField(String field, String name); int getCollectionDisplayNumberOfVolumesLevel(String field); int getCollectionDisplayDepthForSearch(String field); String getCollectionHierarchyField(); boolean isAddCollectionHierarchyToBreadcrumbs(String field); String getSolrUrl(); String getContentServerWrapperUrl(); String getDownloadUrl(); String getRestApiUrl(); String getIIIFApiUrl(); boolean isUseIIIFApiUrlForCmsMediaUrls(); String getContentServerRealUrl(); String getMetsUrl(); String getMarcUrl(); String getDcUrl(); String getEseUrl(); List<Integer> getSearchHitsPerPageValues(); int getSearchHitsPerPageDefaultValue(); int getFulltextFragmentLength(); boolean isAdvancedSearchEnabled(); int getAdvancedSearchDefaultItemNumber(); List<AdvancedSearchFieldConfiguration> getAdvancedSearchFields(); boolean isAggregateHits(); boolean isDisplayAdditionalMetadataEnabled(); List<String> getDisplayAdditionalMetadataIgnoreFields(); List<String> getDisplayAdditionalMetadataTranslateFields(); boolean isAdvancedSearchFieldHierarchical(String field); boolean isAdvancedSearchFieldRange(String field); boolean isAdvancedSearchFieldUntokenizeForPhraseSearch(String field); String getAdvancedSearchFieldSeparatorLabel(String field); boolean isTimelineSearchEnabled(); boolean isCalendarSearchEnabled(); String getStaticQuerySuffix(); String getPreviousVersionIdentifierField(); String getNextVersionIdentifierField(); String getVersionLabelField(); String getIndexedMetsFolder(); String getIndexedLidoFolder(); String getIndexedDenkxwebFolder(); String getIndexedDublinCoreFolder(); String getPageSelectionFormat(); String getMediaFolder(); String getPdfFolder(); String getVocabulariesFolder(); String getOrigContentFolder(); String getCmsTextFolder(); String getAltoFolder(); String getAbbyyFolder(); String getFulltextFolder(); String getTeiFolder(); String getCmdiFolder(); String getWcFolder(); String getAnnotationFolder(); String getHotfolder(); @SuppressWarnings("static-method") String getTempFolder(); boolean isUrnDoRedirect(); boolean isUserRegistrationEnabled(); List<SecurityQuestion> getSecurityQuestions(); boolean isShowOpenIdConnect(); List<IAuthenticationProvider> getAuthenticationProviders(); String getSmtpServer(); String getSmtpUser(); String getSmtpPassword(); String getSmtpSenderAddress(); String getSmtpSenderName(); String getSmtpSecurity(); String getAnonymousUserEmailAddress(); boolean isDisplayCollectionBrowsing(); boolean isDisplayUserNavigation(); boolean isDisplayTagCloudNavigation(); boolean isDisplayStatistics(); boolean isDisplayTimeMatrix(); boolean isDisplayCrowdsourcingModuleLinks(); String getTheme(); String getThemeRootPath(); String getName(); String getDescription(); boolean isDisplayTagCloudStartpage(); boolean isDisplaySearchResultNavigation(); boolean isFoldout(String sidebarElement); boolean isSidebarPageViewLinkVisible(); boolean isSidebarCalendarViewLinkVisible(); boolean isSidebarTocViewLinkVisible(); boolean isSidebarThumbsViewLinkVisible(); boolean isSidebarMetadataViewLinkVisible(); boolean isShowSidebarEventMetadata(); boolean isShowRecordLabelIfNoOtherViews(); boolean isSidebarFulltextLinkVisible(); boolean isSidebarTocWidgetVisible(); boolean isSidebarTocWidgetVisibleInFullscreen(); boolean isSidebarOpacLinkVisible(); boolean getSidebarTocPageNumbersVisible(); int getSidebarTocLengthBeforeCut(); int getSidebarTocInitialCollapseLevel(); int getSidebarTocCollapseLengthThreshold(); int getSidebarTocLowestLevelToCollapseForLength(); boolean isSidebarTocTreeView(); boolean isTocTreeView(String docStructType); List<String> getAllDrillDownFields(); List<String> getDrillDownFields(); List<String> getHierarchicalDrillDownFields(); int getInitialDrillDownElementNumber(String field); String getSortOrder(String field); List<String> getPriorityValuesForDrillDownField(String field); String getLabelFieldForDrillDownField(String facetField); @SuppressWarnings("static-method") List<String> getRangeFacetFields(); boolean isSortingEnabled(); String getDefaultSortField(); List<String> getSortFields(); List<String> getStaticSortFields(); String getUrnResolverUrl(); int getUnconditionalImageAccessMaxWidth(); boolean isFullAccessForLocalhost(); boolean isGeneratePdfInTaskManager(); boolean isPdfApiDisabled(); boolean isTitlePdfEnabled(); boolean isTocPdfEnabled(); boolean isMetadataPdfEnabled(); boolean isPagePdfEnabled(); boolean isDocHierarchyPdfEnabled(); boolean isTitleEpubEnabled(); boolean isTocEpubEnabled(); boolean isMetadataEpubEnabled(); String getDownloadFolder(String type); int getRssFeedItems(); String getRssTitle(); String getRssDescription(); String getRssCopyrightText(); String getRulesetFilePath(); String getDefaultCollection(); int getThumbnailsWidth(); int getThumbnailsHeight(); int getThumbnailsCompression(); String getAnchorThumbnailMode(); int getMultivolumeThumbnailWidth(); int getMultivolumeThumbnailHeight(); boolean getDisplayBreadcrumbs(); boolean getDisplayMetadataPageLinkBlock(); boolean isAddDublinCoreMetaTags(); boolean isAddHighwirePressMetaTags(); int getMetadataParamNumber(); boolean useTiles(); boolean useTilesFullscreen(); boolean useTiles(PageType view, ImageType image); int getFooterHeight(); int getFullscreenFooterHeight(); int getFooterHeight(PageType view, ImageType image); String getImageViewType(); String getZoomFullscreenViewType(); String getZoomImageViewType(PageType view, ImageType image); boolean useOpenSeadragon(); List<String> getImageViewZoomScales(); List<String> getImageViewZoomScales(String view); List<String> getImageViewZoomScales(PageType view, ImageType image); Map<Integer, List<Integer>> getTileSizes(); Map<Integer, List<Integer>> getTileSizes(PageType view, ImageType image); SubnodeConfiguration getZoomImageViewConfig(PageType pageType, ImageType imageType); int getBreadcrumbsClipping(); boolean isDisplayTopstructLabel(); boolean getDisplayStructType(); int getSearchHitMetadataValueNumber(); int getSearchHitMetadataValueLength(); List<String> getWatermarkTextConfiguration(); String getWatermarkFormat(); boolean isOriginalContentDownload(); String getStopwordsFilePath(); String getPageType(PageType type); String getDocstructTargetPageType(String docstruct); String getPageTypeExitView(PageType type); int getFulltextPercentageWarningThreshold(); boolean isUseViewerLocaleAsRecordLanguage(); String getFeedbackEmailAddress(); boolean isBookmarksEnabled(); boolean isForceJpegConversion(); int getPageLoaderThreshold(); boolean isPreventProxyCaching(); boolean isSolrCompressionEnabled(); boolean isSolrBackwardsCompatible(); boolean isUserCommentsEnabled(); String getUserCommentsConditionalQuery(); List<String> getUserCommentsNotificationEmailAddresses(); String getViewerHome(); List<String> getWatermarkIdField(); String getSubthemeMainTheme(); String getSubthemeDiscriminatorField(); int getTagCloudSampleSize(String fieldName); List<StringPair> getTocVolumeSortFieldsForTemplate(String template); String getTocVolumeGroupFieldForTemplate(String template); boolean getDisplayTitleBreadcrumbs(); boolean isDisplayTitlePURL(); int getTitleBreadcrumbsMaxTitleLength(); boolean getIncludeAnchorInTitleBreadcrumbs(); boolean isDisplaySearchRssLinks(); boolean showThumbnailsInToc(); String getStartYearForTimeline(); String getEndYearForTimeline(); String getTimelineHits(); boolean isPiwikTrackingEnabled(); String getPiwikBaseURL(); String getPiwikSiteID(); boolean isSearchSavingEnabled(); boolean isBoostTopLevelDocstructs(); boolean isGroupDuplicateHits(); List<String> getRecordGroupIdentifierFields(); List<String> getAncestorIdentifierFields(); boolean isTocListSiblingRecords(); List<SearchFilter> getSearchFilters(); List<Map<String, String>> getWebApiFields(); String getDbPersistenceUnit(); boolean useCustomNavBar(); String getCmsTemplateFolder(); String getCmsMediaFolder(); String getTempMediaFolder(); List<String> getCmsClassifications(); int getCmsMediaDisplayWidth(); int getCmsMediaDisplayHeight(); boolean isTranskribusEnabled(); String getTranskribusUserName(); String getTranskribusPassword(); String getTranskribusDefaultCollection(); String getTranskribusRestApiUrl(); List<String> getTranskribusAllowedDocumentTypes(); int getTocIndentation(); boolean isPageBrowseEnabled(); List<Integer> getPageBrowseSteps(); String getTaskManagerServiceUrl(); String getTaskManagerRestUrl(); String getReCaptchaSiteKey(); boolean isUseReCaptcha(); boolean isSearchInItemEnabled(); String getDefaultBrowseIcon(String field); boolean isSearchExcelExportEnabled(); List<String> getSearchExcelExportFields(); int getExcelDownloadTimeout(); boolean isDisplayEmptyTocInSidebar(); boolean isDoublePageModeEnabled(); List<String> getRestrictedImageUrls(); List<String> getIIIFLicenses(); List<String> getIIIFMetadataFields(); List<String> getIIIFEventFields(); String getIIIFMetadataLabel(String field); int getIIIFDiscoveryAvtivitiesPerPage(); List<String> getIIIFLogo(); String getIIIFNavDateField(); List<String> getIIIFAttribution(); List<String> getIIIFDescriptionFields(); String getSitelinksField(); String getSitelinksFilterQuery(); List<String> getConfiguredCollections(); String getWebApiToken(); boolean isAllowRedirectCollectionToWork(); String getTwitterUserName(); float getLimitImageHeightUpperRatioThreshold(); float getLimitImageHeightLowerRatioThreshold(); boolean isLimitImageHeight(); boolean isAddCORSHeader(); String getCORSHeaderValue(); boolean isDiscloseImageContentLocation(); String getAccessConditionDisplayField(); String getCopyrightDisplayField(); boolean isDisplayCopyrightInfo(); boolean isDisplaySocialMediaShareLinks(); boolean isDisplayAnchorLabelInTitleBar(String template); String getAnchorLabelInTitleBarPrefix(String template); String getAnchorLabelInTitleBarSuffix(String template); String getMapBoxToken(); GeoMapMarker getGeoMapMarker(String name); List<String> getGeoMapMarkerFields(); List<GeoMapMarker> getGeoMapMarkers(); static GeoMapMarker readGeoMapMarker(HierarchicalConfiguration config); List<LicenseDescription> getLicenseDescriptions(); }
@Test public void isBrowsingMenuEnabled_shouldReturnCorrectValue() throws Exception { Assert.assertEquals(false, DataManager.getInstance().getConfiguration().isBrowsingMenuEnabled()); }
public boolean isBrowsingMenuEnabled() { return getLocalBoolean("metadata.browsingMenu.enabled", false); }
Configuration extends AbstractConfiguration { public boolean isBrowsingMenuEnabled() { return getLocalBoolean("metadata.browsingMenu.enabled", false); } }
Configuration extends AbstractConfiguration { public boolean isBrowsingMenuEnabled() { return getLocalBoolean("metadata.browsingMenu.enabled", false); } Configuration(String configFilePath); }
Configuration extends AbstractConfiguration { public boolean isBrowsingMenuEnabled() { return getLocalBoolean("metadata.browsingMenu.enabled", false); } Configuration(String configFilePath); Set<String> getStopwords(); boolean reloadingRequired(); String getConfigLocalPath(); String getLocalRessourceBundleFile(); int getViewerThumbnailsPerPage(); int getViewerMaxImageWidth(); int getViewerMaxImageHeight(); int getViewerMaxImageScale(); boolean isRememberImageZoom(); boolean isRememberImageRotation(); String getDfgViewerUrl(); String getConnectorVersionUrl(); List<Metadata> getTitleBarMetadata(); List<Metadata> getSearchHitMetadataForTemplate(String template); List<Metadata> getMainMetadataForTemplate(String template); List<Metadata> getSidebarMetadataForTemplate(String template); List<String> getNormdataFieldsForTemplate(String template); List<Metadata> getTocLabelConfiguration(String template); int getTocAnchorGroupElementsPerPage(); boolean isDisplaySidebarBrowsingTerms(); boolean isDisplaySidebarRssFeed(); boolean isDisplayWidgetUsage(); Metadata getWidgetUsageLicenceTextMetadata(); boolean isDisplaySidebarUsageWidgetLinkToJpegImage(); boolean isDisplaySidebarUsageWidgetLinkToMasterImage(); String getWidgetUsageMaxJpegSize(); String getWidgetUsageMaxMasterImageSize(); List<String> getCalendarDocStructTypes(); boolean isBrowsingMenuEnabled(); int getBrowsingMenuHitsPerPage(); List<BrowsingMenuFieldConfig> getBrowsingMenuFields(); String getBrowsingMenuSortingIgnoreLeadingChars(); String getDocstrctWhitelistFilterQuery(); String getCollectionSplittingChar(String field); List<DcSortingList> getCollectionSorting(String field); List<String> getCollectionBlacklist(String field); String getCollectionDefaultSortField(String field, String name); int getCollectionDisplayNumberOfVolumesLevel(String field); int getCollectionDisplayDepthForSearch(String field); String getCollectionHierarchyField(); boolean isAddCollectionHierarchyToBreadcrumbs(String field); String getSolrUrl(); String getContentServerWrapperUrl(); String getDownloadUrl(); String getRestApiUrl(); String getIIIFApiUrl(); boolean isUseIIIFApiUrlForCmsMediaUrls(); String getContentServerRealUrl(); String getMetsUrl(); String getMarcUrl(); String getDcUrl(); String getEseUrl(); List<Integer> getSearchHitsPerPageValues(); int getSearchHitsPerPageDefaultValue(); int getFulltextFragmentLength(); boolean isAdvancedSearchEnabled(); int getAdvancedSearchDefaultItemNumber(); List<AdvancedSearchFieldConfiguration> getAdvancedSearchFields(); boolean isAggregateHits(); boolean isDisplayAdditionalMetadataEnabled(); List<String> getDisplayAdditionalMetadataIgnoreFields(); List<String> getDisplayAdditionalMetadataTranslateFields(); boolean isAdvancedSearchFieldHierarchical(String field); boolean isAdvancedSearchFieldRange(String field); boolean isAdvancedSearchFieldUntokenizeForPhraseSearch(String field); String getAdvancedSearchFieldSeparatorLabel(String field); boolean isTimelineSearchEnabled(); boolean isCalendarSearchEnabled(); String getStaticQuerySuffix(); String getPreviousVersionIdentifierField(); String getNextVersionIdentifierField(); String getVersionLabelField(); String getIndexedMetsFolder(); String getIndexedLidoFolder(); String getIndexedDenkxwebFolder(); String getIndexedDublinCoreFolder(); String getPageSelectionFormat(); String getMediaFolder(); String getPdfFolder(); String getVocabulariesFolder(); String getOrigContentFolder(); String getCmsTextFolder(); String getAltoFolder(); String getAbbyyFolder(); String getFulltextFolder(); String getTeiFolder(); String getCmdiFolder(); String getWcFolder(); String getAnnotationFolder(); String getHotfolder(); @SuppressWarnings("static-method") String getTempFolder(); boolean isUrnDoRedirect(); boolean isUserRegistrationEnabled(); List<SecurityQuestion> getSecurityQuestions(); boolean isShowOpenIdConnect(); List<IAuthenticationProvider> getAuthenticationProviders(); String getSmtpServer(); String getSmtpUser(); String getSmtpPassword(); String getSmtpSenderAddress(); String getSmtpSenderName(); String getSmtpSecurity(); String getAnonymousUserEmailAddress(); boolean isDisplayCollectionBrowsing(); boolean isDisplayUserNavigation(); boolean isDisplayTagCloudNavigation(); boolean isDisplayStatistics(); boolean isDisplayTimeMatrix(); boolean isDisplayCrowdsourcingModuleLinks(); String getTheme(); String getThemeRootPath(); String getName(); String getDescription(); boolean isDisplayTagCloudStartpage(); boolean isDisplaySearchResultNavigation(); boolean isFoldout(String sidebarElement); boolean isSidebarPageViewLinkVisible(); boolean isSidebarCalendarViewLinkVisible(); boolean isSidebarTocViewLinkVisible(); boolean isSidebarThumbsViewLinkVisible(); boolean isSidebarMetadataViewLinkVisible(); boolean isShowSidebarEventMetadata(); boolean isShowRecordLabelIfNoOtherViews(); boolean isSidebarFulltextLinkVisible(); boolean isSidebarTocWidgetVisible(); boolean isSidebarTocWidgetVisibleInFullscreen(); boolean isSidebarOpacLinkVisible(); boolean getSidebarTocPageNumbersVisible(); int getSidebarTocLengthBeforeCut(); int getSidebarTocInitialCollapseLevel(); int getSidebarTocCollapseLengthThreshold(); int getSidebarTocLowestLevelToCollapseForLength(); boolean isSidebarTocTreeView(); boolean isTocTreeView(String docStructType); List<String> getAllDrillDownFields(); List<String> getDrillDownFields(); List<String> getHierarchicalDrillDownFields(); int getInitialDrillDownElementNumber(String field); String getSortOrder(String field); List<String> getPriorityValuesForDrillDownField(String field); String getLabelFieldForDrillDownField(String facetField); @SuppressWarnings("static-method") List<String> getRangeFacetFields(); boolean isSortingEnabled(); String getDefaultSortField(); List<String> getSortFields(); List<String> getStaticSortFields(); String getUrnResolverUrl(); int getUnconditionalImageAccessMaxWidth(); boolean isFullAccessForLocalhost(); boolean isGeneratePdfInTaskManager(); boolean isPdfApiDisabled(); boolean isTitlePdfEnabled(); boolean isTocPdfEnabled(); boolean isMetadataPdfEnabled(); boolean isPagePdfEnabled(); boolean isDocHierarchyPdfEnabled(); boolean isTitleEpubEnabled(); boolean isTocEpubEnabled(); boolean isMetadataEpubEnabled(); String getDownloadFolder(String type); int getRssFeedItems(); String getRssTitle(); String getRssDescription(); String getRssCopyrightText(); String getRulesetFilePath(); String getDefaultCollection(); int getThumbnailsWidth(); int getThumbnailsHeight(); int getThumbnailsCompression(); String getAnchorThumbnailMode(); int getMultivolumeThumbnailWidth(); int getMultivolumeThumbnailHeight(); boolean getDisplayBreadcrumbs(); boolean getDisplayMetadataPageLinkBlock(); boolean isAddDublinCoreMetaTags(); boolean isAddHighwirePressMetaTags(); int getMetadataParamNumber(); boolean useTiles(); boolean useTilesFullscreen(); boolean useTiles(PageType view, ImageType image); int getFooterHeight(); int getFullscreenFooterHeight(); int getFooterHeight(PageType view, ImageType image); String getImageViewType(); String getZoomFullscreenViewType(); String getZoomImageViewType(PageType view, ImageType image); boolean useOpenSeadragon(); List<String> getImageViewZoomScales(); List<String> getImageViewZoomScales(String view); List<String> getImageViewZoomScales(PageType view, ImageType image); Map<Integer, List<Integer>> getTileSizes(); Map<Integer, List<Integer>> getTileSizes(PageType view, ImageType image); SubnodeConfiguration getZoomImageViewConfig(PageType pageType, ImageType imageType); int getBreadcrumbsClipping(); boolean isDisplayTopstructLabel(); boolean getDisplayStructType(); int getSearchHitMetadataValueNumber(); int getSearchHitMetadataValueLength(); List<String> getWatermarkTextConfiguration(); String getWatermarkFormat(); boolean isOriginalContentDownload(); String getStopwordsFilePath(); String getPageType(PageType type); String getDocstructTargetPageType(String docstruct); String getPageTypeExitView(PageType type); int getFulltextPercentageWarningThreshold(); boolean isUseViewerLocaleAsRecordLanguage(); String getFeedbackEmailAddress(); boolean isBookmarksEnabled(); boolean isForceJpegConversion(); int getPageLoaderThreshold(); boolean isPreventProxyCaching(); boolean isSolrCompressionEnabled(); boolean isSolrBackwardsCompatible(); boolean isUserCommentsEnabled(); String getUserCommentsConditionalQuery(); List<String> getUserCommentsNotificationEmailAddresses(); String getViewerHome(); List<String> getWatermarkIdField(); String getSubthemeMainTheme(); String getSubthemeDiscriminatorField(); int getTagCloudSampleSize(String fieldName); List<StringPair> getTocVolumeSortFieldsForTemplate(String template); String getTocVolumeGroupFieldForTemplate(String template); boolean getDisplayTitleBreadcrumbs(); boolean isDisplayTitlePURL(); int getTitleBreadcrumbsMaxTitleLength(); boolean getIncludeAnchorInTitleBreadcrumbs(); boolean isDisplaySearchRssLinks(); boolean showThumbnailsInToc(); String getStartYearForTimeline(); String getEndYearForTimeline(); String getTimelineHits(); boolean isPiwikTrackingEnabled(); String getPiwikBaseURL(); String getPiwikSiteID(); boolean isSearchSavingEnabled(); boolean isBoostTopLevelDocstructs(); boolean isGroupDuplicateHits(); List<String> getRecordGroupIdentifierFields(); List<String> getAncestorIdentifierFields(); boolean isTocListSiblingRecords(); List<SearchFilter> getSearchFilters(); List<Map<String, String>> getWebApiFields(); String getDbPersistenceUnit(); boolean useCustomNavBar(); String getCmsTemplateFolder(); String getCmsMediaFolder(); String getTempMediaFolder(); List<String> getCmsClassifications(); int getCmsMediaDisplayWidth(); int getCmsMediaDisplayHeight(); boolean isTranskribusEnabled(); String getTranskribusUserName(); String getTranskribusPassword(); String getTranskribusDefaultCollection(); String getTranskribusRestApiUrl(); List<String> getTranskribusAllowedDocumentTypes(); int getTocIndentation(); boolean isPageBrowseEnabled(); List<Integer> getPageBrowseSteps(); String getTaskManagerServiceUrl(); String getTaskManagerRestUrl(); String getReCaptchaSiteKey(); boolean isUseReCaptcha(); boolean isSearchInItemEnabled(); String getDefaultBrowseIcon(String field); boolean isSearchExcelExportEnabled(); List<String> getSearchExcelExportFields(); int getExcelDownloadTimeout(); boolean isDisplayEmptyTocInSidebar(); boolean isDoublePageModeEnabled(); List<String> getRestrictedImageUrls(); List<String> getIIIFLicenses(); List<String> getIIIFMetadataFields(); List<String> getIIIFEventFields(); String getIIIFMetadataLabel(String field); int getIIIFDiscoveryAvtivitiesPerPage(); List<String> getIIIFLogo(); String getIIIFNavDateField(); List<String> getIIIFAttribution(); List<String> getIIIFDescriptionFields(); String getSitelinksField(); String getSitelinksFilterQuery(); List<String> getConfiguredCollections(); String getWebApiToken(); boolean isAllowRedirectCollectionToWork(); String getTwitterUserName(); float getLimitImageHeightUpperRatioThreshold(); float getLimitImageHeightLowerRatioThreshold(); boolean isLimitImageHeight(); boolean isAddCORSHeader(); String getCORSHeaderValue(); boolean isDiscloseImageContentLocation(); String getAccessConditionDisplayField(); String getCopyrightDisplayField(); boolean isDisplayCopyrightInfo(); boolean isDisplaySocialMediaShareLinks(); boolean isDisplayAnchorLabelInTitleBar(String template); String getAnchorLabelInTitleBarPrefix(String template); String getAnchorLabelInTitleBarSuffix(String template); String getMapBoxToken(); GeoMapMarker getGeoMapMarker(String name); List<String> getGeoMapMarkerFields(); List<GeoMapMarker> getGeoMapMarkers(); static GeoMapMarker readGeoMapMarker(HierarchicalConfiguration config); List<LicenseDescription> getLicenseDescriptions(); }
Configuration extends AbstractConfiguration { public boolean isBrowsingMenuEnabled() { return getLocalBoolean("metadata.browsingMenu.enabled", false); } Configuration(String configFilePath); Set<String> getStopwords(); boolean reloadingRequired(); String getConfigLocalPath(); String getLocalRessourceBundleFile(); int getViewerThumbnailsPerPage(); int getViewerMaxImageWidth(); int getViewerMaxImageHeight(); int getViewerMaxImageScale(); boolean isRememberImageZoom(); boolean isRememberImageRotation(); String getDfgViewerUrl(); String getConnectorVersionUrl(); List<Metadata> getTitleBarMetadata(); List<Metadata> getSearchHitMetadataForTemplate(String template); List<Metadata> getMainMetadataForTemplate(String template); List<Metadata> getSidebarMetadataForTemplate(String template); List<String> getNormdataFieldsForTemplate(String template); List<Metadata> getTocLabelConfiguration(String template); int getTocAnchorGroupElementsPerPage(); boolean isDisplaySidebarBrowsingTerms(); boolean isDisplaySidebarRssFeed(); boolean isDisplayWidgetUsage(); Metadata getWidgetUsageLicenceTextMetadata(); boolean isDisplaySidebarUsageWidgetLinkToJpegImage(); boolean isDisplaySidebarUsageWidgetLinkToMasterImage(); String getWidgetUsageMaxJpegSize(); String getWidgetUsageMaxMasterImageSize(); List<String> getCalendarDocStructTypes(); boolean isBrowsingMenuEnabled(); int getBrowsingMenuHitsPerPage(); List<BrowsingMenuFieldConfig> getBrowsingMenuFields(); String getBrowsingMenuSortingIgnoreLeadingChars(); String getDocstrctWhitelistFilterQuery(); String getCollectionSplittingChar(String field); List<DcSortingList> getCollectionSorting(String field); List<String> getCollectionBlacklist(String field); String getCollectionDefaultSortField(String field, String name); int getCollectionDisplayNumberOfVolumesLevel(String field); int getCollectionDisplayDepthForSearch(String field); String getCollectionHierarchyField(); boolean isAddCollectionHierarchyToBreadcrumbs(String field); String getSolrUrl(); String getContentServerWrapperUrl(); String getDownloadUrl(); String getRestApiUrl(); String getIIIFApiUrl(); boolean isUseIIIFApiUrlForCmsMediaUrls(); String getContentServerRealUrl(); String getMetsUrl(); String getMarcUrl(); String getDcUrl(); String getEseUrl(); List<Integer> getSearchHitsPerPageValues(); int getSearchHitsPerPageDefaultValue(); int getFulltextFragmentLength(); boolean isAdvancedSearchEnabled(); int getAdvancedSearchDefaultItemNumber(); List<AdvancedSearchFieldConfiguration> getAdvancedSearchFields(); boolean isAggregateHits(); boolean isDisplayAdditionalMetadataEnabled(); List<String> getDisplayAdditionalMetadataIgnoreFields(); List<String> getDisplayAdditionalMetadataTranslateFields(); boolean isAdvancedSearchFieldHierarchical(String field); boolean isAdvancedSearchFieldRange(String field); boolean isAdvancedSearchFieldUntokenizeForPhraseSearch(String field); String getAdvancedSearchFieldSeparatorLabel(String field); boolean isTimelineSearchEnabled(); boolean isCalendarSearchEnabled(); String getStaticQuerySuffix(); String getPreviousVersionIdentifierField(); String getNextVersionIdentifierField(); String getVersionLabelField(); String getIndexedMetsFolder(); String getIndexedLidoFolder(); String getIndexedDenkxwebFolder(); String getIndexedDublinCoreFolder(); String getPageSelectionFormat(); String getMediaFolder(); String getPdfFolder(); String getVocabulariesFolder(); String getOrigContentFolder(); String getCmsTextFolder(); String getAltoFolder(); String getAbbyyFolder(); String getFulltextFolder(); String getTeiFolder(); String getCmdiFolder(); String getWcFolder(); String getAnnotationFolder(); String getHotfolder(); @SuppressWarnings("static-method") String getTempFolder(); boolean isUrnDoRedirect(); boolean isUserRegistrationEnabled(); List<SecurityQuestion> getSecurityQuestions(); boolean isShowOpenIdConnect(); List<IAuthenticationProvider> getAuthenticationProviders(); String getSmtpServer(); String getSmtpUser(); String getSmtpPassword(); String getSmtpSenderAddress(); String getSmtpSenderName(); String getSmtpSecurity(); String getAnonymousUserEmailAddress(); boolean isDisplayCollectionBrowsing(); boolean isDisplayUserNavigation(); boolean isDisplayTagCloudNavigation(); boolean isDisplayStatistics(); boolean isDisplayTimeMatrix(); boolean isDisplayCrowdsourcingModuleLinks(); String getTheme(); String getThemeRootPath(); String getName(); String getDescription(); boolean isDisplayTagCloudStartpage(); boolean isDisplaySearchResultNavigation(); boolean isFoldout(String sidebarElement); boolean isSidebarPageViewLinkVisible(); boolean isSidebarCalendarViewLinkVisible(); boolean isSidebarTocViewLinkVisible(); boolean isSidebarThumbsViewLinkVisible(); boolean isSidebarMetadataViewLinkVisible(); boolean isShowSidebarEventMetadata(); boolean isShowRecordLabelIfNoOtherViews(); boolean isSidebarFulltextLinkVisible(); boolean isSidebarTocWidgetVisible(); boolean isSidebarTocWidgetVisibleInFullscreen(); boolean isSidebarOpacLinkVisible(); boolean getSidebarTocPageNumbersVisible(); int getSidebarTocLengthBeforeCut(); int getSidebarTocInitialCollapseLevel(); int getSidebarTocCollapseLengthThreshold(); int getSidebarTocLowestLevelToCollapseForLength(); boolean isSidebarTocTreeView(); boolean isTocTreeView(String docStructType); List<String> getAllDrillDownFields(); List<String> getDrillDownFields(); List<String> getHierarchicalDrillDownFields(); int getInitialDrillDownElementNumber(String field); String getSortOrder(String field); List<String> getPriorityValuesForDrillDownField(String field); String getLabelFieldForDrillDownField(String facetField); @SuppressWarnings("static-method") List<String> getRangeFacetFields(); boolean isSortingEnabled(); String getDefaultSortField(); List<String> getSortFields(); List<String> getStaticSortFields(); String getUrnResolverUrl(); int getUnconditionalImageAccessMaxWidth(); boolean isFullAccessForLocalhost(); boolean isGeneratePdfInTaskManager(); boolean isPdfApiDisabled(); boolean isTitlePdfEnabled(); boolean isTocPdfEnabled(); boolean isMetadataPdfEnabled(); boolean isPagePdfEnabled(); boolean isDocHierarchyPdfEnabled(); boolean isTitleEpubEnabled(); boolean isTocEpubEnabled(); boolean isMetadataEpubEnabled(); String getDownloadFolder(String type); int getRssFeedItems(); String getRssTitle(); String getRssDescription(); String getRssCopyrightText(); String getRulesetFilePath(); String getDefaultCollection(); int getThumbnailsWidth(); int getThumbnailsHeight(); int getThumbnailsCompression(); String getAnchorThumbnailMode(); int getMultivolumeThumbnailWidth(); int getMultivolumeThumbnailHeight(); boolean getDisplayBreadcrumbs(); boolean getDisplayMetadataPageLinkBlock(); boolean isAddDublinCoreMetaTags(); boolean isAddHighwirePressMetaTags(); int getMetadataParamNumber(); boolean useTiles(); boolean useTilesFullscreen(); boolean useTiles(PageType view, ImageType image); int getFooterHeight(); int getFullscreenFooterHeight(); int getFooterHeight(PageType view, ImageType image); String getImageViewType(); String getZoomFullscreenViewType(); String getZoomImageViewType(PageType view, ImageType image); boolean useOpenSeadragon(); List<String> getImageViewZoomScales(); List<String> getImageViewZoomScales(String view); List<String> getImageViewZoomScales(PageType view, ImageType image); Map<Integer, List<Integer>> getTileSizes(); Map<Integer, List<Integer>> getTileSizes(PageType view, ImageType image); SubnodeConfiguration getZoomImageViewConfig(PageType pageType, ImageType imageType); int getBreadcrumbsClipping(); boolean isDisplayTopstructLabel(); boolean getDisplayStructType(); int getSearchHitMetadataValueNumber(); int getSearchHitMetadataValueLength(); List<String> getWatermarkTextConfiguration(); String getWatermarkFormat(); boolean isOriginalContentDownload(); String getStopwordsFilePath(); String getPageType(PageType type); String getDocstructTargetPageType(String docstruct); String getPageTypeExitView(PageType type); int getFulltextPercentageWarningThreshold(); boolean isUseViewerLocaleAsRecordLanguage(); String getFeedbackEmailAddress(); boolean isBookmarksEnabled(); boolean isForceJpegConversion(); int getPageLoaderThreshold(); boolean isPreventProxyCaching(); boolean isSolrCompressionEnabled(); boolean isSolrBackwardsCompatible(); boolean isUserCommentsEnabled(); String getUserCommentsConditionalQuery(); List<String> getUserCommentsNotificationEmailAddresses(); String getViewerHome(); List<String> getWatermarkIdField(); String getSubthemeMainTheme(); String getSubthemeDiscriminatorField(); int getTagCloudSampleSize(String fieldName); List<StringPair> getTocVolumeSortFieldsForTemplate(String template); String getTocVolumeGroupFieldForTemplate(String template); boolean getDisplayTitleBreadcrumbs(); boolean isDisplayTitlePURL(); int getTitleBreadcrumbsMaxTitleLength(); boolean getIncludeAnchorInTitleBreadcrumbs(); boolean isDisplaySearchRssLinks(); boolean showThumbnailsInToc(); String getStartYearForTimeline(); String getEndYearForTimeline(); String getTimelineHits(); boolean isPiwikTrackingEnabled(); String getPiwikBaseURL(); String getPiwikSiteID(); boolean isSearchSavingEnabled(); boolean isBoostTopLevelDocstructs(); boolean isGroupDuplicateHits(); List<String> getRecordGroupIdentifierFields(); List<String> getAncestorIdentifierFields(); boolean isTocListSiblingRecords(); List<SearchFilter> getSearchFilters(); List<Map<String, String>> getWebApiFields(); String getDbPersistenceUnit(); boolean useCustomNavBar(); String getCmsTemplateFolder(); String getCmsMediaFolder(); String getTempMediaFolder(); List<String> getCmsClassifications(); int getCmsMediaDisplayWidth(); int getCmsMediaDisplayHeight(); boolean isTranskribusEnabled(); String getTranskribusUserName(); String getTranskribusPassword(); String getTranskribusDefaultCollection(); String getTranskribusRestApiUrl(); List<String> getTranskribusAllowedDocumentTypes(); int getTocIndentation(); boolean isPageBrowseEnabled(); List<Integer> getPageBrowseSteps(); String getTaskManagerServiceUrl(); String getTaskManagerRestUrl(); String getReCaptchaSiteKey(); boolean isUseReCaptcha(); boolean isSearchInItemEnabled(); String getDefaultBrowseIcon(String field); boolean isSearchExcelExportEnabled(); List<String> getSearchExcelExportFields(); int getExcelDownloadTimeout(); boolean isDisplayEmptyTocInSidebar(); boolean isDoublePageModeEnabled(); List<String> getRestrictedImageUrls(); List<String> getIIIFLicenses(); List<String> getIIIFMetadataFields(); List<String> getIIIFEventFields(); String getIIIFMetadataLabel(String field); int getIIIFDiscoveryAvtivitiesPerPage(); List<String> getIIIFLogo(); String getIIIFNavDateField(); List<String> getIIIFAttribution(); List<String> getIIIFDescriptionFields(); String getSitelinksField(); String getSitelinksFilterQuery(); List<String> getConfiguredCollections(); String getWebApiToken(); boolean isAllowRedirectCollectionToWork(); String getTwitterUserName(); float getLimitImageHeightUpperRatioThreshold(); float getLimitImageHeightLowerRatioThreshold(); boolean isLimitImageHeight(); boolean isAddCORSHeader(); String getCORSHeaderValue(); boolean isDiscloseImageContentLocation(); String getAccessConditionDisplayField(); String getCopyrightDisplayField(); boolean isDisplayCopyrightInfo(); boolean isDisplaySocialMediaShareLinks(); boolean isDisplayAnchorLabelInTitleBar(String template); String getAnchorLabelInTitleBarPrefix(String template); String getAnchorLabelInTitleBarSuffix(String template); String getMapBoxToken(); GeoMapMarker getGeoMapMarker(String name); List<String> getGeoMapMarkerFields(); List<GeoMapMarker> getGeoMapMarkers(); static GeoMapMarker readGeoMapMarker(HierarchicalConfiguration config); List<LicenseDescription> getLicenseDescriptions(); }
@Test public void isDisplaySearchResultNavigation_shouldReturnCorrectValue() throws Exception { Assert.assertEquals(false, DataManager.getInstance().getConfiguration().isDisplaySearchResultNavigation()); }
public boolean isDisplaySearchResultNavigation() { return this.getLocalBoolean("webGuiDisplay.displaySearchResultNavigation", true); }
Configuration extends AbstractConfiguration { public boolean isDisplaySearchResultNavigation() { return this.getLocalBoolean("webGuiDisplay.displaySearchResultNavigation", true); } }
Configuration extends AbstractConfiguration { public boolean isDisplaySearchResultNavigation() { return this.getLocalBoolean("webGuiDisplay.displaySearchResultNavigation", true); } Configuration(String configFilePath); }
Configuration extends AbstractConfiguration { public boolean isDisplaySearchResultNavigation() { return this.getLocalBoolean("webGuiDisplay.displaySearchResultNavigation", true); } Configuration(String configFilePath); Set<String> getStopwords(); boolean reloadingRequired(); String getConfigLocalPath(); String getLocalRessourceBundleFile(); int getViewerThumbnailsPerPage(); int getViewerMaxImageWidth(); int getViewerMaxImageHeight(); int getViewerMaxImageScale(); boolean isRememberImageZoom(); boolean isRememberImageRotation(); String getDfgViewerUrl(); String getConnectorVersionUrl(); List<Metadata> getTitleBarMetadata(); List<Metadata> getSearchHitMetadataForTemplate(String template); List<Metadata> getMainMetadataForTemplate(String template); List<Metadata> getSidebarMetadataForTemplate(String template); List<String> getNormdataFieldsForTemplate(String template); List<Metadata> getTocLabelConfiguration(String template); int getTocAnchorGroupElementsPerPage(); boolean isDisplaySidebarBrowsingTerms(); boolean isDisplaySidebarRssFeed(); boolean isDisplayWidgetUsage(); Metadata getWidgetUsageLicenceTextMetadata(); boolean isDisplaySidebarUsageWidgetLinkToJpegImage(); boolean isDisplaySidebarUsageWidgetLinkToMasterImage(); String getWidgetUsageMaxJpegSize(); String getWidgetUsageMaxMasterImageSize(); List<String> getCalendarDocStructTypes(); boolean isBrowsingMenuEnabled(); int getBrowsingMenuHitsPerPage(); List<BrowsingMenuFieldConfig> getBrowsingMenuFields(); String getBrowsingMenuSortingIgnoreLeadingChars(); String getDocstrctWhitelistFilterQuery(); String getCollectionSplittingChar(String field); List<DcSortingList> getCollectionSorting(String field); List<String> getCollectionBlacklist(String field); String getCollectionDefaultSortField(String field, String name); int getCollectionDisplayNumberOfVolumesLevel(String field); int getCollectionDisplayDepthForSearch(String field); String getCollectionHierarchyField(); boolean isAddCollectionHierarchyToBreadcrumbs(String field); String getSolrUrl(); String getContentServerWrapperUrl(); String getDownloadUrl(); String getRestApiUrl(); String getIIIFApiUrl(); boolean isUseIIIFApiUrlForCmsMediaUrls(); String getContentServerRealUrl(); String getMetsUrl(); String getMarcUrl(); String getDcUrl(); String getEseUrl(); List<Integer> getSearchHitsPerPageValues(); int getSearchHitsPerPageDefaultValue(); int getFulltextFragmentLength(); boolean isAdvancedSearchEnabled(); int getAdvancedSearchDefaultItemNumber(); List<AdvancedSearchFieldConfiguration> getAdvancedSearchFields(); boolean isAggregateHits(); boolean isDisplayAdditionalMetadataEnabled(); List<String> getDisplayAdditionalMetadataIgnoreFields(); List<String> getDisplayAdditionalMetadataTranslateFields(); boolean isAdvancedSearchFieldHierarchical(String field); boolean isAdvancedSearchFieldRange(String field); boolean isAdvancedSearchFieldUntokenizeForPhraseSearch(String field); String getAdvancedSearchFieldSeparatorLabel(String field); boolean isTimelineSearchEnabled(); boolean isCalendarSearchEnabled(); String getStaticQuerySuffix(); String getPreviousVersionIdentifierField(); String getNextVersionIdentifierField(); String getVersionLabelField(); String getIndexedMetsFolder(); String getIndexedLidoFolder(); String getIndexedDenkxwebFolder(); String getIndexedDublinCoreFolder(); String getPageSelectionFormat(); String getMediaFolder(); String getPdfFolder(); String getVocabulariesFolder(); String getOrigContentFolder(); String getCmsTextFolder(); String getAltoFolder(); String getAbbyyFolder(); String getFulltextFolder(); String getTeiFolder(); String getCmdiFolder(); String getWcFolder(); String getAnnotationFolder(); String getHotfolder(); @SuppressWarnings("static-method") String getTempFolder(); boolean isUrnDoRedirect(); boolean isUserRegistrationEnabled(); List<SecurityQuestion> getSecurityQuestions(); boolean isShowOpenIdConnect(); List<IAuthenticationProvider> getAuthenticationProviders(); String getSmtpServer(); String getSmtpUser(); String getSmtpPassword(); String getSmtpSenderAddress(); String getSmtpSenderName(); String getSmtpSecurity(); String getAnonymousUserEmailAddress(); boolean isDisplayCollectionBrowsing(); boolean isDisplayUserNavigation(); boolean isDisplayTagCloudNavigation(); boolean isDisplayStatistics(); boolean isDisplayTimeMatrix(); boolean isDisplayCrowdsourcingModuleLinks(); String getTheme(); String getThemeRootPath(); String getName(); String getDescription(); boolean isDisplayTagCloudStartpage(); boolean isDisplaySearchResultNavigation(); boolean isFoldout(String sidebarElement); boolean isSidebarPageViewLinkVisible(); boolean isSidebarCalendarViewLinkVisible(); boolean isSidebarTocViewLinkVisible(); boolean isSidebarThumbsViewLinkVisible(); boolean isSidebarMetadataViewLinkVisible(); boolean isShowSidebarEventMetadata(); boolean isShowRecordLabelIfNoOtherViews(); boolean isSidebarFulltextLinkVisible(); boolean isSidebarTocWidgetVisible(); boolean isSidebarTocWidgetVisibleInFullscreen(); boolean isSidebarOpacLinkVisible(); boolean getSidebarTocPageNumbersVisible(); int getSidebarTocLengthBeforeCut(); int getSidebarTocInitialCollapseLevel(); int getSidebarTocCollapseLengthThreshold(); int getSidebarTocLowestLevelToCollapseForLength(); boolean isSidebarTocTreeView(); boolean isTocTreeView(String docStructType); List<String> getAllDrillDownFields(); List<String> getDrillDownFields(); List<String> getHierarchicalDrillDownFields(); int getInitialDrillDownElementNumber(String field); String getSortOrder(String field); List<String> getPriorityValuesForDrillDownField(String field); String getLabelFieldForDrillDownField(String facetField); @SuppressWarnings("static-method") List<String> getRangeFacetFields(); boolean isSortingEnabled(); String getDefaultSortField(); List<String> getSortFields(); List<String> getStaticSortFields(); String getUrnResolverUrl(); int getUnconditionalImageAccessMaxWidth(); boolean isFullAccessForLocalhost(); boolean isGeneratePdfInTaskManager(); boolean isPdfApiDisabled(); boolean isTitlePdfEnabled(); boolean isTocPdfEnabled(); boolean isMetadataPdfEnabled(); boolean isPagePdfEnabled(); boolean isDocHierarchyPdfEnabled(); boolean isTitleEpubEnabled(); boolean isTocEpubEnabled(); boolean isMetadataEpubEnabled(); String getDownloadFolder(String type); int getRssFeedItems(); String getRssTitle(); String getRssDescription(); String getRssCopyrightText(); String getRulesetFilePath(); String getDefaultCollection(); int getThumbnailsWidth(); int getThumbnailsHeight(); int getThumbnailsCompression(); String getAnchorThumbnailMode(); int getMultivolumeThumbnailWidth(); int getMultivolumeThumbnailHeight(); boolean getDisplayBreadcrumbs(); boolean getDisplayMetadataPageLinkBlock(); boolean isAddDublinCoreMetaTags(); boolean isAddHighwirePressMetaTags(); int getMetadataParamNumber(); boolean useTiles(); boolean useTilesFullscreen(); boolean useTiles(PageType view, ImageType image); int getFooterHeight(); int getFullscreenFooterHeight(); int getFooterHeight(PageType view, ImageType image); String getImageViewType(); String getZoomFullscreenViewType(); String getZoomImageViewType(PageType view, ImageType image); boolean useOpenSeadragon(); List<String> getImageViewZoomScales(); List<String> getImageViewZoomScales(String view); List<String> getImageViewZoomScales(PageType view, ImageType image); Map<Integer, List<Integer>> getTileSizes(); Map<Integer, List<Integer>> getTileSizes(PageType view, ImageType image); SubnodeConfiguration getZoomImageViewConfig(PageType pageType, ImageType imageType); int getBreadcrumbsClipping(); boolean isDisplayTopstructLabel(); boolean getDisplayStructType(); int getSearchHitMetadataValueNumber(); int getSearchHitMetadataValueLength(); List<String> getWatermarkTextConfiguration(); String getWatermarkFormat(); boolean isOriginalContentDownload(); String getStopwordsFilePath(); String getPageType(PageType type); String getDocstructTargetPageType(String docstruct); String getPageTypeExitView(PageType type); int getFulltextPercentageWarningThreshold(); boolean isUseViewerLocaleAsRecordLanguage(); String getFeedbackEmailAddress(); boolean isBookmarksEnabled(); boolean isForceJpegConversion(); int getPageLoaderThreshold(); boolean isPreventProxyCaching(); boolean isSolrCompressionEnabled(); boolean isSolrBackwardsCompatible(); boolean isUserCommentsEnabled(); String getUserCommentsConditionalQuery(); List<String> getUserCommentsNotificationEmailAddresses(); String getViewerHome(); List<String> getWatermarkIdField(); String getSubthemeMainTheme(); String getSubthemeDiscriminatorField(); int getTagCloudSampleSize(String fieldName); List<StringPair> getTocVolumeSortFieldsForTemplate(String template); String getTocVolumeGroupFieldForTemplate(String template); boolean getDisplayTitleBreadcrumbs(); boolean isDisplayTitlePURL(); int getTitleBreadcrumbsMaxTitleLength(); boolean getIncludeAnchorInTitleBreadcrumbs(); boolean isDisplaySearchRssLinks(); boolean showThumbnailsInToc(); String getStartYearForTimeline(); String getEndYearForTimeline(); String getTimelineHits(); boolean isPiwikTrackingEnabled(); String getPiwikBaseURL(); String getPiwikSiteID(); boolean isSearchSavingEnabled(); boolean isBoostTopLevelDocstructs(); boolean isGroupDuplicateHits(); List<String> getRecordGroupIdentifierFields(); List<String> getAncestorIdentifierFields(); boolean isTocListSiblingRecords(); List<SearchFilter> getSearchFilters(); List<Map<String, String>> getWebApiFields(); String getDbPersistenceUnit(); boolean useCustomNavBar(); String getCmsTemplateFolder(); String getCmsMediaFolder(); String getTempMediaFolder(); List<String> getCmsClassifications(); int getCmsMediaDisplayWidth(); int getCmsMediaDisplayHeight(); boolean isTranskribusEnabled(); String getTranskribusUserName(); String getTranskribusPassword(); String getTranskribusDefaultCollection(); String getTranskribusRestApiUrl(); List<String> getTranskribusAllowedDocumentTypes(); int getTocIndentation(); boolean isPageBrowseEnabled(); List<Integer> getPageBrowseSteps(); String getTaskManagerServiceUrl(); String getTaskManagerRestUrl(); String getReCaptchaSiteKey(); boolean isUseReCaptcha(); boolean isSearchInItemEnabled(); String getDefaultBrowseIcon(String field); boolean isSearchExcelExportEnabled(); List<String> getSearchExcelExportFields(); int getExcelDownloadTimeout(); boolean isDisplayEmptyTocInSidebar(); boolean isDoublePageModeEnabled(); List<String> getRestrictedImageUrls(); List<String> getIIIFLicenses(); List<String> getIIIFMetadataFields(); List<String> getIIIFEventFields(); String getIIIFMetadataLabel(String field); int getIIIFDiscoveryAvtivitiesPerPage(); List<String> getIIIFLogo(); String getIIIFNavDateField(); List<String> getIIIFAttribution(); List<String> getIIIFDescriptionFields(); String getSitelinksField(); String getSitelinksFilterQuery(); List<String> getConfiguredCollections(); String getWebApiToken(); boolean isAllowRedirectCollectionToWork(); String getTwitterUserName(); float getLimitImageHeightUpperRatioThreshold(); float getLimitImageHeightLowerRatioThreshold(); boolean isLimitImageHeight(); boolean isAddCORSHeader(); String getCORSHeaderValue(); boolean isDiscloseImageContentLocation(); String getAccessConditionDisplayField(); String getCopyrightDisplayField(); boolean isDisplayCopyrightInfo(); boolean isDisplaySocialMediaShareLinks(); boolean isDisplayAnchorLabelInTitleBar(String template); String getAnchorLabelInTitleBarPrefix(String template); String getAnchorLabelInTitleBarSuffix(String template); String getMapBoxToken(); GeoMapMarker getGeoMapMarker(String name); List<String> getGeoMapMarkerFields(); List<GeoMapMarker> getGeoMapMarkers(); static GeoMapMarker readGeoMapMarker(HierarchicalConfiguration config); List<LicenseDescription> getLicenseDescriptions(); }
Configuration extends AbstractConfiguration { public boolean isDisplaySearchResultNavigation() { return this.getLocalBoolean("webGuiDisplay.displaySearchResultNavigation", true); } Configuration(String configFilePath); Set<String> getStopwords(); boolean reloadingRequired(); String getConfigLocalPath(); String getLocalRessourceBundleFile(); int getViewerThumbnailsPerPage(); int getViewerMaxImageWidth(); int getViewerMaxImageHeight(); int getViewerMaxImageScale(); boolean isRememberImageZoom(); boolean isRememberImageRotation(); String getDfgViewerUrl(); String getConnectorVersionUrl(); List<Metadata> getTitleBarMetadata(); List<Metadata> getSearchHitMetadataForTemplate(String template); List<Metadata> getMainMetadataForTemplate(String template); List<Metadata> getSidebarMetadataForTemplate(String template); List<String> getNormdataFieldsForTemplate(String template); List<Metadata> getTocLabelConfiguration(String template); int getTocAnchorGroupElementsPerPage(); boolean isDisplaySidebarBrowsingTerms(); boolean isDisplaySidebarRssFeed(); boolean isDisplayWidgetUsage(); Metadata getWidgetUsageLicenceTextMetadata(); boolean isDisplaySidebarUsageWidgetLinkToJpegImage(); boolean isDisplaySidebarUsageWidgetLinkToMasterImage(); String getWidgetUsageMaxJpegSize(); String getWidgetUsageMaxMasterImageSize(); List<String> getCalendarDocStructTypes(); boolean isBrowsingMenuEnabled(); int getBrowsingMenuHitsPerPage(); List<BrowsingMenuFieldConfig> getBrowsingMenuFields(); String getBrowsingMenuSortingIgnoreLeadingChars(); String getDocstrctWhitelistFilterQuery(); String getCollectionSplittingChar(String field); List<DcSortingList> getCollectionSorting(String field); List<String> getCollectionBlacklist(String field); String getCollectionDefaultSortField(String field, String name); int getCollectionDisplayNumberOfVolumesLevel(String field); int getCollectionDisplayDepthForSearch(String field); String getCollectionHierarchyField(); boolean isAddCollectionHierarchyToBreadcrumbs(String field); String getSolrUrl(); String getContentServerWrapperUrl(); String getDownloadUrl(); String getRestApiUrl(); String getIIIFApiUrl(); boolean isUseIIIFApiUrlForCmsMediaUrls(); String getContentServerRealUrl(); String getMetsUrl(); String getMarcUrl(); String getDcUrl(); String getEseUrl(); List<Integer> getSearchHitsPerPageValues(); int getSearchHitsPerPageDefaultValue(); int getFulltextFragmentLength(); boolean isAdvancedSearchEnabled(); int getAdvancedSearchDefaultItemNumber(); List<AdvancedSearchFieldConfiguration> getAdvancedSearchFields(); boolean isAggregateHits(); boolean isDisplayAdditionalMetadataEnabled(); List<String> getDisplayAdditionalMetadataIgnoreFields(); List<String> getDisplayAdditionalMetadataTranslateFields(); boolean isAdvancedSearchFieldHierarchical(String field); boolean isAdvancedSearchFieldRange(String field); boolean isAdvancedSearchFieldUntokenizeForPhraseSearch(String field); String getAdvancedSearchFieldSeparatorLabel(String field); boolean isTimelineSearchEnabled(); boolean isCalendarSearchEnabled(); String getStaticQuerySuffix(); String getPreviousVersionIdentifierField(); String getNextVersionIdentifierField(); String getVersionLabelField(); String getIndexedMetsFolder(); String getIndexedLidoFolder(); String getIndexedDenkxwebFolder(); String getIndexedDublinCoreFolder(); String getPageSelectionFormat(); String getMediaFolder(); String getPdfFolder(); String getVocabulariesFolder(); String getOrigContentFolder(); String getCmsTextFolder(); String getAltoFolder(); String getAbbyyFolder(); String getFulltextFolder(); String getTeiFolder(); String getCmdiFolder(); String getWcFolder(); String getAnnotationFolder(); String getHotfolder(); @SuppressWarnings("static-method") String getTempFolder(); boolean isUrnDoRedirect(); boolean isUserRegistrationEnabled(); List<SecurityQuestion> getSecurityQuestions(); boolean isShowOpenIdConnect(); List<IAuthenticationProvider> getAuthenticationProviders(); String getSmtpServer(); String getSmtpUser(); String getSmtpPassword(); String getSmtpSenderAddress(); String getSmtpSenderName(); String getSmtpSecurity(); String getAnonymousUserEmailAddress(); boolean isDisplayCollectionBrowsing(); boolean isDisplayUserNavigation(); boolean isDisplayTagCloudNavigation(); boolean isDisplayStatistics(); boolean isDisplayTimeMatrix(); boolean isDisplayCrowdsourcingModuleLinks(); String getTheme(); String getThemeRootPath(); String getName(); String getDescription(); boolean isDisplayTagCloudStartpage(); boolean isDisplaySearchResultNavigation(); boolean isFoldout(String sidebarElement); boolean isSidebarPageViewLinkVisible(); boolean isSidebarCalendarViewLinkVisible(); boolean isSidebarTocViewLinkVisible(); boolean isSidebarThumbsViewLinkVisible(); boolean isSidebarMetadataViewLinkVisible(); boolean isShowSidebarEventMetadata(); boolean isShowRecordLabelIfNoOtherViews(); boolean isSidebarFulltextLinkVisible(); boolean isSidebarTocWidgetVisible(); boolean isSidebarTocWidgetVisibleInFullscreen(); boolean isSidebarOpacLinkVisible(); boolean getSidebarTocPageNumbersVisible(); int getSidebarTocLengthBeforeCut(); int getSidebarTocInitialCollapseLevel(); int getSidebarTocCollapseLengthThreshold(); int getSidebarTocLowestLevelToCollapseForLength(); boolean isSidebarTocTreeView(); boolean isTocTreeView(String docStructType); List<String> getAllDrillDownFields(); List<String> getDrillDownFields(); List<String> getHierarchicalDrillDownFields(); int getInitialDrillDownElementNumber(String field); String getSortOrder(String field); List<String> getPriorityValuesForDrillDownField(String field); String getLabelFieldForDrillDownField(String facetField); @SuppressWarnings("static-method") List<String> getRangeFacetFields(); boolean isSortingEnabled(); String getDefaultSortField(); List<String> getSortFields(); List<String> getStaticSortFields(); String getUrnResolverUrl(); int getUnconditionalImageAccessMaxWidth(); boolean isFullAccessForLocalhost(); boolean isGeneratePdfInTaskManager(); boolean isPdfApiDisabled(); boolean isTitlePdfEnabled(); boolean isTocPdfEnabled(); boolean isMetadataPdfEnabled(); boolean isPagePdfEnabled(); boolean isDocHierarchyPdfEnabled(); boolean isTitleEpubEnabled(); boolean isTocEpubEnabled(); boolean isMetadataEpubEnabled(); String getDownloadFolder(String type); int getRssFeedItems(); String getRssTitle(); String getRssDescription(); String getRssCopyrightText(); String getRulesetFilePath(); String getDefaultCollection(); int getThumbnailsWidth(); int getThumbnailsHeight(); int getThumbnailsCompression(); String getAnchorThumbnailMode(); int getMultivolumeThumbnailWidth(); int getMultivolumeThumbnailHeight(); boolean getDisplayBreadcrumbs(); boolean getDisplayMetadataPageLinkBlock(); boolean isAddDublinCoreMetaTags(); boolean isAddHighwirePressMetaTags(); int getMetadataParamNumber(); boolean useTiles(); boolean useTilesFullscreen(); boolean useTiles(PageType view, ImageType image); int getFooterHeight(); int getFullscreenFooterHeight(); int getFooterHeight(PageType view, ImageType image); String getImageViewType(); String getZoomFullscreenViewType(); String getZoomImageViewType(PageType view, ImageType image); boolean useOpenSeadragon(); List<String> getImageViewZoomScales(); List<String> getImageViewZoomScales(String view); List<String> getImageViewZoomScales(PageType view, ImageType image); Map<Integer, List<Integer>> getTileSizes(); Map<Integer, List<Integer>> getTileSizes(PageType view, ImageType image); SubnodeConfiguration getZoomImageViewConfig(PageType pageType, ImageType imageType); int getBreadcrumbsClipping(); boolean isDisplayTopstructLabel(); boolean getDisplayStructType(); int getSearchHitMetadataValueNumber(); int getSearchHitMetadataValueLength(); List<String> getWatermarkTextConfiguration(); String getWatermarkFormat(); boolean isOriginalContentDownload(); String getStopwordsFilePath(); String getPageType(PageType type); String getDocstructTargetPageType(String docstruct); String getPageTypeExitView(PageType type); int getFulltextPercentageWarningThreshold(); boolean isUseViewerLocaleAsRecordLanguage(); String getFeedbackEmailAddress(); boolean isBookmarksEnabled(); boolean isForceJpegConversion(); int getPageLoaderThreshold(); boolean isPreventProxyCaching(); boolean isSolrCompressionEnabled(); boolean isSolrBackwardsCompatible(); boolean isUserCommentsEnabled(); String getUserCommentsConditionalQuery(); List<String> getUserCommentsNotificationEmailAddresses(); String getViewerHome(); List<String> getWatermarkIdField(); String getSubthemeMainTheme(); String getSubthemeDiscriminatorField(); int getTagCloudSampleSize(String fieldName); List<StringPair> getTocVolumeSortFieldsForTemplate(String template); String getTocVolumeGroupFieldForTemplate(String template); boolean getDisplayTitleBreadcrumbs(); boolean isDisplayTitlePURL(); int getTitleBreadcrumbsMaxTitleLength(); boolean getIncludeAnchorInTitleBreadcrumbs(); boolean isDisplaySearchRssLinks(); boolean showThumbnailsInToc(); String getStartYearForTimeline(); String getEndYearForTimeline(); String getTimelineHits(); boolean isPiwikTrackingEnabled(); String getPiwikBaseURL(); String getPiwikSiteID(); boolean isSearchSavingEnabled(); boolean isBoostTopLevelDocstructs(); boolean isGroupDuplicateHits(); List<String> getRecordGroupIdentifierFields(); List<String> getAncestorIdentifierFields(); boolean isTocListSiblingRecords(); List<SearchFilter> getSearchFilters(); List<Map<String, String>> getWebApiFields(); String getDbPersistenceUnit(); boolean useCustomNavBar(); String getCmsTemplateFolder(); String getCmsMediaFolder(); String getTempMediaFolder(); List<String> getCmsClassifications(); int getCmsMediaDisplayWidth(); int getCmsMediaDisplayHeight(); boolean isTranskribusEnabled(); String getTranskribusUserName(); String getTranskribusPassword(); String getTranskribusDefaultCollection(); String getTranskribusRestApiUrl(); List<String> getTranskribusAllowedDocumentTypes(); int getTocIndentation(); boolean isPageBrowseEnabled(); List<Integer> getPageBrowseSteps(); String getTaskManagerServiceUrl(); String getTaskManagerRestUrl(); String getReCaptchaSiteKey(); boolean isUseReCaptcha(); boolean isSearchInItemEnabled(); String getDefaultBrowseIcon(String field); boolean isSearchExcelExportEnabled(); List<String> getSearchExcelExportFields(); int getExcelDownloadTimeout(); boolean isDisplayEmptyTocInSidebar(); boolean isDoublePageModeEnabled(); List<String> getRestrictedImageUrls(); List<String> getIIIFLicenses(); List<String> getIIIFMetadataFields(); List<String> getIIIFEventFields(); String getIIIFMetadataLabel(String field); int getIIIFDiscoveryAvtivitiesPerPage(); List<String> getIIIFLogo(); String getIIIFNavDateField(); List<String> getIIIFAttribution(); List<String> getIIIFDescriptionFields(); String getSitelinksField(); String getSitelinksFilterQuery(); List<String> getConfiguredCollections(); String getWebApiToken(); boolean isAllowRedirectCollectionToWork(); String getTwitterUserName(); float getLimitImageHeightUpperRatioThreshold(); float getLimitImageHeightLowerRatioThreshold(); boolean isLimitImageHeight(); boolean isAddCORSHeader(); String getCORSHeaderValue(); boolean isDiscloseImageContentLocation(); String getAccessConditionDisplayField(); String getCopyrightDisplayField(); boolean isDisplayCopyrightInfo(); boolean isDisplaySocialMediaShareLinks(); boolean isDisplayAnchorLabelInTitleBar(String template); String getAnchorLabelInTitleBarPrefix(String template); String getAnchorLabelInTitleBarSuffix(String template); String getMapBoxToken(); GeoMapMarker getGeoMapMarker(String name); List<String> getGeoMapMarkerFields(); List<GeoMapMarker> getGeoMapMarkers(); static GeoMapMarker readGeoMapMarker(HierarchicalConfiguration config); List<LicenseDescription> getLicenseDescriptions(); }
@Test public void generateAccessCheckQuery_shouldEscapeFileNameForWildcardSearchCorrectly() throws Exception { { String[] result = AccessConditionUtils.generateAccessCheckQuery("PPN123456789", "00000001 (1).xml"); Assert.assertEquals("+" + SolrConstants.PI_TOPSTRUCT + ":PPN123456789 +" + SolrConstants.FILENAME + ":00000001\\ \\(1\\).*", result[0]); Assert.assertEquals(SolrConstants.FILENAME, result[1]); } { String[] result = AccessConditionUtils.generateAccessCheckQuery("PPN123456789", "00000001 (1)"); Assert.assertEquals("+" + SolrConstants.PI_TOPSTRUCT + ":PPN123456789 +" + SolrConstants.FILENAME + ":00000001\\ \\(1\\).*", result[0]); Assert.assertEquals(SolrConstants.FILENAME, result[1]); } }
static String[] generateAccessCheckQuery(String identifier, String fileName) { if (StringUtils.isEmpty(fileName)) { return new String[2]; } String[] ret = new String[2]; StringBuilder sbQuery = new StringBuilder(); String useFileField = SolrConstants.FILENAME; String useFileName = FileTools.getPathFromUrlString(fileName).getFileName().toString(); boolean wildcard = false; String extension = FilenameUtils.getExtension(fileName).toLowerCase(); switch (extension) { case "webm": case "mp4": case "mp3": case "ogg": case "ogv": break; case "txt": case "xml": useFileName = useFileName.replace("." + extension, ""); wildcard = true; break; case "": wildcard = true; default: break; } sbQuery.append('+').append(SolrConstants.PI_TOPSTRUCT).append(':').append(identifier).append(" +").append(useFileField).append(':'); if (wildcard) { useFileName = ClientUtils.escapeQueryChars(useFileName) + ".*"; sbQuery.append(useFileName); } else { sbQuery.append('"').append(useFileName).append('"'); } ret[0] = sbQuery.toString(); ret[1] = useFileField; return ret; }
AccessConditionUtils { static String[] generateAccessCheckQuery(String identifier, String fileName) { if (StringUtils.isEmpty(fileName)) { return new String[2]; } String[] ret = new String[2]; StringBuilder sbQuery = new StringBuilder(); String useFileField = SolrConstants.FILENAME; String useFileName = FileTools.getPathFromUrlString(fileName).getFileName().toString(); boolean wildcard = false; String extension = FilenameUtils.getExtension(fileName).toLowerCase(); switch (extension) { case "webm": case "mp4": case "mp3": case "ogg": case "ogv": break; case "txt": case "xml": useFileName = useFileName.replace("." + extension, ""); wildcard = true; break; case "": wildcard = true; default: break; } sbQuery.append('+').append(SolrConstants.PI_TOPSTRUCT).append(':').append(identifier).append(" +").append(useFileField).append(':'); if (wildcard) { useFileName = ClientUtils.escapeQueryChars(useFileName) + ".*"; sbQuery.append(useFileName); } else { sbQuery.append('"').append(useFileName).append('"'); } ret[0] = sbQuery.toString(); ret[1] = useFileField; return ret; } }
AccessConditionUtils { static String[] generateAccessCheckQuery(String identifier, String fileName) { if (StringUtils.isEmpty(fileName)) { return new String[2]; } String[] ret = new String[2]; StringBuilder sbQuery = new StringBuilder(); String useFileField = SolrConstants.FILENAME; String useFileName = FileTools.getPathFromUrlString(fileName).getFileName().toString(); boolean wildcard = false; String extension = FilenameUtils.getExtension(fileName).toLowerCase(); switch (extension) { case "webm": case "mp4": case "mp3": case "ogg": case "ogv": break; case "txt": case "xml": useFileName = useFileName.replace("." + extension, ""); wildcard = true; break; case "": wildcard = true; default: break; } sbQuery.append('+').append(SolrConstants.PI_TOPSTRUCT).append(':').append(identifier).append(" +").append(useFileField).append(':'); if (wildcard) { useFileName = ClientUtils.escapeQueryChars(useFileName) + ".*"; sbQuery.append(useFileName); } else { sbQuery.append('"').append(useFileName).append('"'); } ret[0] = sbQuery.toString(); ret[1] = useFileField; return ret; } }
AccessConditionUtils { static String[] generateAccessCheckQuery(String identifier, String fileName) { if (StringUtils.isEmpty(fileName)) { return new String[2]; } String[] ret = new String[2]; StringBuilder sbQuery = new StringBuilder(); String useFileField = SolrConstants.FILENAME; String useFileName = FileTools.getPathFromUrlString(fileName).getFileName().toString(); boolean wildcard = false; String extension = FilenameUtils.getExtension(fileName).toLowerCase(); switch (extension) { case "webm": case "mp4": case "mp3": case "ogg": case "ogv": break; case "txt": case "xml": useFileName = useFileName.replace("." + extension, ""); wildcard = true; break; case "": wildcard = true; default: break; } sbQuery.append('+').append(SolrConstants.PI_TOPSTRUCT).append(':').append(identifier).append(" +").append(useFileField).append(':'); if (wildcard) { useFileName = ClientUtils.escapeQueryChars(useFileName) + ".*"; sbQuery.append(useFileName); } else { sbQuery.append('"').append(useFileName).append('"'); } ret[0] = sbQuery.toString(); ret[1] = useFileField; return ret; } static boolean checkAccess(HttpServletRequest request, String action, String pi, String contentFileName, boolean isThumbnail); static boolean checkAccessPermissionByIdentifierAndLogId(String identifier, String logId, String privilegeName, HttpServletRequest request); @SuppressWarnings("unchecked") static Map<String, Boolean> checkAccessPermissionByIdentiferForAllLogids(String identifier, String privilegeName, HttpServletRequest request); @SuppressWarnings("unchecked") static Map<String, Boolean> checkContentFileAccessPermission(String identifier, HttpServletRequest request, List<Path> files); static boolean checkAccessPermissionByImageUrn(String imageUrn, String privilegeName, HttpServletRequest request); static boolean checkAccessPermission(Set<String> requiredAccessConditions, String privilegeName, String query, HttpServletRequest request); static boolean checkAccessPermissionForImage(HttpServletRequest request, String pi, String contentFileName); static boolean checkAccessPermissionForThumbnail(HttpServletRequest request, String pi, String contentFileName); static boolean checkAccessPermissionForPagePdf(HttpServletRequest request, PhysicalElement page); static boolean checkAccessPermissionByIdentifierAndFilePathWithSessionMap(HttpServletRequest request, String filePath, String privilegeType); @SuppressWarnings("unchecked") static boolean checkAccessPermissionByIdentifierAndFileNameWithSessionMap(HttpServletRequest request, String pi, String contentFileName, String privilegeType); static boolean checkAccessPermission(List<LicenseType> allLicenseTypes, Set<String> requiredAccessConditions, String privilegeName, User user, String remoteAddress, String query); static boolean isFreeOpenAccess(Set<String> requiredAccessConditions, Collection<LicenseType> allLicenseTypes); static int getPdfDownloadQuotaForRecord(String pi); static boolean isConcurrentViewsLimitEnabledForAnyAccessCondition(List<String> accessConditions); }
AccessConditionUtils { static String[] generateAccessCheckQuery(String identifier, String fileName) { if (StringUtils.isEmpty(fileName)) { return new String[2]; } String[] ret = new String[2]; StringBuilder sbQuery = new StringBuilder(); String useFileField = SolrConstants.FILENAME; String useFileName = FileTools.getPathFromUrlString(fileName).getFileName().toString(); boolean wildcard = false; String extension = FilenameUtils.getExtension(fileName).toLowerCase(); switch (extension) { case "webm": case "mp4": case "mp3": case "ogg": case "ogv": break; case "txt": case "xml": useFileName = useFileName.replace("." + extension, ""); wildcard = true; break; case "": wildcard = true; default: break; } sbQuery.append('+').append(SolrConstants.PI_TOPSTRUCT).append(':').append(identifier).append(" +").append(useFileField).append(':'); if (wildcard) { useFileName = ClientUtils.escapeQueryChars(useFileName) + ".*"; sbQuery.append(useFileName); } else { sbQuery.append('"').append(useFileName).append('"'); } ret[0] = sbQuery.toString(); ret[1] = useFileField; return ret; } static boolean checkAccess(HttpServletRequest request, String action, String pi, String contentFileName, boolean isThumbnail); static boolean checkAccessPermissionByIdentifierAndLogId(String identifier, String logId, String privilegeName, HttpServletRequest request); @SuppressWarnings("unchecked") static Map<String, Boolean> checkAccessPermissionByIdentiferForAllLogids(String identifier, String privilegeName, HttpServletRequest request); @SuppressWarnings("unchecked") static Map<String, Boolean> checkContentFileAccessPermission(String identifier, HttpServletRequest request, List<Path> files); static boolean checkAccessPermissionByImageUrn(String imageUrn, String privilegeName, HttpServletRequest request); static boolean checkAccessPermission(Set<String> requiredAccessConditions, String privilegeName, String query, HttpServletRequest request); static boolean checkAccessPermissionForImage(HttpServletRequest request, String pi, String contentFileName); static boolean checkAccessPermissionForThumbnail(HttpServletRequest request, String pi, String contentFileName); static boolean checkAccessPermissionForPagePdf(HttpServletRequest request, PhysicalElement page); static boolean checkAccessPermissionByIdentifierAndFilePathWithSessionMap(HttpServletRequest request, String filePath, String privilegeType); @SuppressWarnings("unchecked") static boolean checkAccessPermissionByIdentifierAndFileNameWithSessionMap(HttpServletRequest request, String pi, String contentFileName, String privilegeType); static boolean checkAccessPermission(List<LicenseType> allLicenseTypes, Set<String> requiredAccessConditions, String privilegeName, User user, String remoteAddress, String query); static boolean isFreeOpenAccess(Set<String> requiredAccessConditions, Collection<LicenseType> allLicenseTypes); static int getPdfDownloadQuotaForRecord(String pi); static boolean isConcurrentViewsLimitEnabledForAnyAccessCondition(List<String> accessConditions); }
@Test public void isDisplayStatistics_shouldReturnCorrectValue() throws Exception { Assert.assertEquals(false, DataManager.getInstance().getConfiguration().isDisplayStatistics()); }
public boolean isDisplayStatistics() { return this.getLocalBoolean("webGuiDisplay.displayStatistics", true); }
Configuration extends AbstractConfiguration { public boolean isDisplayStatistics() { return this.getLocalBoolean("webGuiDisplay.displayStatistics", true); } }
Configuration extends AbstractConfiguration { public boolean isDisplayStatistics() { return this.getLocalBoolean("webGuiDisplay.displayStatistics", true); } Configuration(String configFilePath); }
Configuration extends AbstractConfiguration { public boolean isDisplayStatistics() { return this.getLocalBoolean("webGuiDisplay.displayStatistics", true); } Configuration(String configFilePath); Set<String> getStopwords(); boolean reloadingRequired(); String getConfigLocalPath(); String getLocalRessourceBundleFile(); int getViewerThumbnailsPerPage(); int getViewerMaxImageWidth(); int getViewerMaxImageHeight(); int getViewerMaxImageScale(); boolean isRememberImageZoom(); boolean isRememberImageRotation(); String getDfgViewerUrl(); String getConnectorVersionUrl(); List<Metadata> getTitleBarMetadata(); List<Metadata> getSearchHitMetadataForTemplate(String template); List<Metadata> getMainMetadataForTemplate(String template); List<Metadata> getSidebarMetadataForTemplate(String template); List<String> getNormdataFieldsForTemplate(String template); List<Metadata> getTocLabelConfiguration(String template); int getTocAnchorGroupElementsPerPage(); boolean isDisplaySidebarBrowsingTerms(); boolean isDisplaySidebarRssFeed(); boolean isDisplayWidgetUsage(); Metadata getWidgetUsageLicenceTextMetadata(); boolean isDisplaySidebarUsageWidgetLinkToJpegImage(); boolean isDisplaySidebarUsageWidgetLinkToMasterImage(); String getWidgetUsageMaxJpegSize(); String getWidgetUsageMaxMasterImageSize(); List<String> getCalendarDocStructTypes(); boolean isBrowsingMenuEnabled(); int getBrowsingMenuHitsPerPage(); List<BrowsingMenuFieldConfig> getBrowsingMenuFields(); String getBrowsingMenuSortingIgnoreLeadingChars(); String getDocstrctWhitelistFilterQuery(); String getCollectionSplittingChar(String field); List<DcSortingList> getCollectionSorting(String field); List<String> getCollectionBlacklist(String field); String getCollectionDefaultSortField(String field, String name); int getCollectionDisplayNumberOfVolumesLevel(String field); int getCollectionDisplayDepthForSearch(String field); String getCollectionHierarchyField(); boolean isAddCollectionHierarchyToBreadcrumbs(String field); String getSolrUrl(); String getContentServerWrapperUrl(); String getDownloadUrl(); String getRestApiUrl(); String getIIIFApiUrl(); boolean isUseIIIFApiUrlForCmsMediaUrls(); String getContentServerRealUrl(); String getMetsUrl(); String getMarcUrl(); String getDcUrl(); String getEseUrl(); List<Integer> getSearchHitsPerPageValues(); int getSearchHitsPerPageDefaultValue(); int getFulltextFragmentLength(); boolean isAdvancedSearchEnabled(); int getAdvancedSearchDefaultItemNumber(); List<AdvancedSearchFieldConfiguration> getAdvancedSearchFields(); boolean isAggregateHits(); boolean isDisplayAdditionalMetadataEnabled(); List<String> getDisplayAdditionalMetadataIgnoreFields(); List<String> getDisplayAdditionalMetadataTranslateFields(); boolean isAdvancedSearchFieldHierarchical(String field); boolean isAdvancedSearchFieldRange(String field); boolean isAdvancedSearchFieldUntokenizeForPhraseSearch(String field); String getAdvancedSearchFieldSeparatorLabel(String field); boolean isTimelineSearchEnabled(); boolean isCalendarSearchEnabled(); String getStaticQuerySuffix(); String getPreviousVersionIdentifierField(); String getNextVersionIdentifierField(); String getVersionLabelField(); String getIndexedMetsFolder(); String getIndexedLidoFolder(); String getIndexedDenkxwebFolder(); String getIndexedDublinCoreFolder(); String getPageSelectionFormat(); String getMediaFolder(); String getPdfFolder(); String getVocabulariesFolder(); String getOrigContentFolder(); String getCmsTextFolder(); String getAltoFolder(); String getAbbyyFolder(); String getFulltextFolder(); String getTeiFolder(); String getCmdiFolder(); String getWcFolder(); String getAnnotationFolder(); String getHotfolder(); @SuppressWarnings("static-method") String getTempFolder(); boolean isUrnDoRedirect(); boolean isUserRegistrationEnabled(); List<SecurityQuestion> getSecurityQuestions(); boolean isShowOpenIdConnect(); List<IAuthenticationProvider> getAuthenticationProviders(); String getSmtpServer(); String getSmtpUser(); String getSmtpPassword(); String getSmtpSenderAddress(); String getSmtpSenderName(); String getSmtpSecurity(); String getAnonymousUserEmailAddress(); boolean isDisplayCollectionBrowsing(); boolean isDisplayUserNavigation(); boolean isDisplayTagCloudNavigation(); boolean isDisplayStatistics(); boolean isDisplayTimeMatrix(); boolean isDisplayCrowdsourcingModuleLinks(); String getTheme(); String getThemeRootPath(); String getName(); String getDescription(); boolean isDisplayTagCloudStartpage(); boolean isDisplaySearchResultNavigation(); boolean isFoldout(String sidebarElement); boolean isSidebarPageViewLinkVisible(); boolean isSidebarCalendarViewLinkVisible(); boolean isSidebarTocViewLinkVisible(); boolean isSidebarThumbsViewLinkVisible(); boolean isSidebarMetadataViewLinkVisible(); boolean isShowSidebarEventMetadata(); boolean isShowRecordLabelIfNoOtherViews(); boolean isSidebarFulltextLinkVisible(); boolean isSidebarTocWidgetVisible(); boolean isSidebarTocWidgetVisibleInFullscreen(); boolean isSidebarOpacLinkVisible(); boolean getSidebarTocPageNumbersVisible(); int getSidebarTocLengthBeforeCut(); int getSidebarTocInitialCollapseLevel(); int getSidebarTocCollapseLengthThreshold(); int getSidebarTocLowestLevelToCollapseForLength(); boolean isSidebarTocTreeView(); boolean isTocTreeView(String docStructType); List<String> getAllDrillDownFields(); List<String> getDrillDownFields(); List<String> getHierarchicalDrillDownFields(); int getInitialDrillDownElementNumber(String field); String getSortOrder(String field); List<String> getPriorityValuesForDrillDownField(String field); String getLabelFieldForDrillDownField(String facetField); @SuppressWarnings("static-method") List<String> getRangeFacetFields(); boolean isSortingEnabled(); String getDefaultSortField(); List<String> getSortFields(); List<String> getStaticSortFields(); String getUrnResolverUrl(); int getUnconditionalImageAccessMaxWidth(); boolean isFullAccessForLocalhost(); boolean isGeneratePdfInTaskManager(); boolean isPdfApiDisabled(); boolean isTitlePdfEnabled(); boolean isTocPdfEnabled(); boolean isMetadataPdfEnabled(); boolean isPagePdfEnabled(); boolean isDocHierarchyPdfEnabled(); boolean isTitleEpubEnabled(); boolean isTocEpubEnabled(); boolean isMetadataEpubEnabled(); String getDownloadFolder(String type); int getRssFeedItems(); String getRssTitle(); String getRssDescription(); String getRssCopyrightText(); String getRulesetFilePath(); String getDefaultCollection(); int getThumbnailsWidth(); int getThumbnailsHeight(); int getThumbnailsCompression(); String getAnchorThumbnailMode(); int getMultivolumeThumbnailWidth(); int getMultivolumeThumbnailHeight(); boolean getDisplayBreadcrumbs(); boolean getDisplayMetadataPageLinkBlock(); boolean isAddDublinCoreMetaTags(); boolean isAddHighwirePressMetaTags(); int getMetadataParamNumber(); boolean useTiles(); boolean useTilesFullscreen(); boolean useTiles(PageType view, ImageType image); int getFooterHeight(); int getFullscreenFooterHeight(); int getFooterHeight(PageType view, ImageType image); String getImageViewType(); String getZoomFullscreenViewType(); String getZoomImageViewType(PageType view, ImageType image); boolean useOpenSeadragon(); List<String> getImageViewZoomScales(); List<String> getImageViewZoomScales(String view); List<String> getImageViewZoomScales(PageType view, ImageType image); Map<Integer, List<Integer>> getTileSizes(); Map<Integer, List<Integer>> getTileSizes(PageType view, ImageType image); SubnodeConfiguration getZoomImageViewConfig(PageType pageType, ImageType imageType); int getBreadcrumbsClipping(); boolean isDisplayTopstructLabel(); boolean getDisplayStructType(); int getSearchHitMetadataValueNumber(); int getSearchHitMetadataValueLength(); List<String> getWatermarkTextConfiguration(); String getWatermarkFormat(); boolean isOriginalContentDownload(); String getStopwordsFilePath(); String getPageType(PageType type); String getDocstructTargetPageType(String docstruct); String getPageTypeExitView(PageType type); int getFulltextPercentageWarningThreshold(); boolean isUseViewerLocaleAsRecordLanguage(); String getFeedbackEmailAddress(); boolean isBookmarksEnabled(); boolean isForceJpegConversion(); int getPageLoaderThreshold(); boolean isPreventProxyCaching(); boolean isSolrCompressionEnabled(); boolean isSolrBackwardsCompatible(); boolean isUserCommentsEnabled(); String getUserCommentsConditionalQuery(); List<String> getUserCommentsNotificationEmailAddresses(); String getViewerHome(); List<String> getWatermarkIdField(); String getSubthemeMainTheme(); String getSubthemeDiscriminatorField(); int getTagCloudSampleSize(String fieldName); List<StringPair> getTocVolumeSortFieldsForTemplate(String template); String getTocVolumeGroupFieldForTemplate(String template); boolean getDisplayTitleBreadcrumbs(); boolean isDisplayTitlePURL(); int getTitleBreadcrumbsMaxTitleLength(); boolean getIncludeAnchorInTitleBreadcrumbs(); boolean isDisplaySearchRssLinks(); boolean showThumbnailsInToc(); String getStartYearForTimeline(); String getEndYearForTimeline(); String getTimelineHits(); boolean isPiwikTrackingEnabled(); String getPiwikBaseURL(); String getPiwikSiteID(); boolean isSearchSavingEnabled(); boolean isBoostTopLevelDocstructs(); boolean isGroupDuplicateHits(); List<String> getRecordGroupIdentifierFields(); List<String> getAncestorIdentifierFields(); boolean isTocListSiblingRecords(); List<SearchFilter> getSearchFilters(); List<Map<String, String>> getWebApiFields(); String getDbPersistenceUnit(); boolean useCustomNavBar(); String getCmsTemplateFolder(); String getCmsMediaFolder(); String getTempMediaFolder(); List<String> getCmsClassifications(); int getCmsMediaDisplayWidth(); int getCmsMediaDisplayHeight(); boolean isTranskribusEnabled(); String getTranskribusUserName(); String getTranskribusPassword(); String getTranskribusDefaultCollection(); String getTranskribusRestApiUrl(); List<String> getTranskribusAllowedDocumentTypes(); int getTocIndentation(); boolean isPageBrowseEnabled(); List<Integer> getPageBrowseSteps(); String getTaskManagerServiceUrl(); String getTaskManagerRestUrl(); String getReCaptchaSiteKey(); boolean isUseReCaptcha(); boolean isSearchInItemEnabled(); String getDefaultBrowseIcon(String field); boolean isSearchExcelExportEnabled(); List<String> getSearchExcelExportFields(); int getExcelDownloadTimeout(); boolean isDisplayEmptyTocInSidebar(); boolean isDoublePageModeEnabled(); List<String> getRestrictedImageUrls(); List<String> getIIIFLicenses(); List<String> getIIIFMetadataFields(); List<String> getIIIFEventFields(); String getIIIFMetadataLabel(String field); int getIIIFDiscoveryAvtivitiesPerPage(); List<String> getIIIFLogo(); String getIIIFNavDateField(); List<String> getIIIFAttribution(); List<String> getIIIFDescriptionFields(); String getSitelinksField(); String getSitelinksFilterQuery(); List<String> getConfiguredCollections(); String getWebApiToken(); boolean isAllowRedirectCollectionToWork(); String getTwitterUserName(); float getLimitImageHeightUpperRatioThreshold(); float getLimitImageHeightLowerRatioThreshold(); boolean isLimitImageHeight(); boolean isAddCORSHeader(); String getCORSHeaderValue(); boolean isDiscloseImageContentLocation(); String getAccessConditionDisplayField(); String getCopyrightDisplayField(); boolean isDisplayCopyrightInfo(); boolean isDisplaySocialMediaShareLinks(); boolean isDisplayAnchorLabelInTitleBar(String template); String getAnchorLabelInTitleBarPrefix(String template); String getAnchorLabelInTitleBarSuffix(String template); String getMapBoxToken(); GeoMapMarker getGeoMapMarker(String name); List<String> getGeoMapMarkerFields(); List<GeoMapMarker> getGeoMapMarkers(); static GeoMapMarker readGeoMapMarker(HierarchicalConfiguration config); List<LicenseDescription> getLicenseDescriptions(); }
Configuration extends AbstractConfiguration { public boolean isDisplayStatistics() { return this.getLocalBoolean("webGuiDisplay.displayStatistics", true); } Configuration(String configFilePath); Set<String> getStopwords(); boolean reloadingRequired(); String getConfigLocalPath(); String getLocalRessourceBundleFile(); int getViewerThumbnailsPerPage(); int getViewerMaxImageWidth(); int getViewerMaxImageHeight(); int getViewerMaxImageScale(); boolean isRememberImageZoom(); boolean isRememberImageRotation(); String getDfgViewerUrl(); String getConnectorVersionUrl(); List<Metadata> getTitleBarMetadata(); List<Metadata> getSearchHitMetadataForTemplate(String template); List<Metadata> getMainMetadataForTemplate(String template); List<Metadata> getSidebarMetadataForTemplate(String template); List<String> getNormdataFieldsForTemplate(String template); List<Metadata> getTocLabelConfiguration(String template); int getTocAnchorGroupElementsPerPage(); boolean isDisplaySidebarBrowsingTerms(); boolean isDisplaySidebarRssFeed(); boolean isDisplayWidgetUsage(); Metadata getWidgetUsageLicenceTextMetadata(); boolean isDisplaySidebarUsageWidgetLinkToJpegImage(); boolean isDisplaySidebarUsageWidgetLinkToMasterImage(); String getWidgetUsageMaxJpegSize(); String getWidgetUsageMaxMasterImageSize(); List<String> getCalendarDocStructTypes(); boolean isBrowsingMenuEnabled(); int getBrowsingMenuHitsPerPage(); List<BrowsingMenuFieldConfig> getBrowsingMenuFields(); String getBrowsingMenuSortingIgnoreLeadingChars(); String getDocstrctWhitelistFilterQuery(); String getCollectionSplittingChar(String field); List<DcSortingList> getCollectionSorting(String field); List<String> getCollectionBlacklist(String field); String getCollectionDefaultSortField(String field, String name); int getCollectionDisplayNumberOfVolumesLevel(String field); int getCollectionDisplayDepthForSearch(String field); String getCollectionHierarchyField(); boolean isAddCollectionHierarchyToBreadcrumbs(String field); String getSolrUrl(); String getContentServerWrapperUrl(); String getDownloadUrl(); String getRestApiUrl(); String getIIIFApiUrl(); boolean isUseIIIFApiUrlForCmsMediaUrls(); String getContentServerRealUrl(); String getMetsUrl(); String getMarcUrl(); String getDcUrl(); String getEseUrl(); List<Integer> getSearchHitsPerPageValues(); int getSearchHitsPerPageDefaultValue(); int getFulltextFragmentLength(); boolean isAdvancedSearchEnabled(); int getAdvancedSearchDefaultItemNumber(); List<AdvancedSearchFieldConfiguration> getAdvancedSearchFields(); boolean isAggregateHits(); boolean isDisplayAdditionalMetadataEnabled(); List<String> getDisplayAdditionalMetadataIgnoreFields(); List<String> getDisplayAdditionalMetadataTranslateFields(); boolean isAdvancedSearchFieldHierarchical(String field); boolean isAdvancedSearchFieldRange(String field); boolean isAdvancedSearchFieldUntokenizeForPhraseSearch(String field); String getAdvancedSearchFieldSeparatorLabel(String field); boolean isTimelineSearchEnabled(); boolean isCalendarSearchEnabled(); String getStaticQuerySuffix(); String getPreviousVersionIdentifierField(); String getNextVersionIdentifierField(); String getVersionLabelField(); String getIndexedMetsFolder(); String getIndexedLidoFolder(); String getIndexedDenkxwebFolder(); String getIndexedDublinCoreFolder(); String getPageSelectionFormat(); String getMediaFolder(); String getPdfFolder(); String getVocabulariesFolder(); String getOrigContentFolder(); String getCmsTextFolder(); String getAltoFolder(); String getAbbyyFolder(); String getFulltextFolder(); String getTeiFolder(); String getCmdiFolder(); String getWcFolder(); String getAnnotationFolder(); String getHotfolder(); @SuppressWarnings("static-method") String getTempFolder(); boolean isUrnDoRedirect(); boolean isUserRegistrationEnabled(); List<SecurityQuestion> getSecurityQuestions(); boolean isShowOpenIdConnect(); List<IAuthenticationProvider> getAuthenticationProviders(); String getSmtpServer(); String getSmtpUser(); String getSmtpPassword(); String getSmtpSenderAddress(); String getSmtpSenderName(); String getSmtpSecurity(); String getAnonymousUserEmailAddress(); boolean isDisplayCollectionBrowsing(); boolean isDisplayUserNavigation(); boolean isDisplayTagCloudNavigation(); boolean isDisplayStatistics(); boolean isDisplayTimeMatrix(); boolean isDisplayCrowdsourcingModuleLinks(); String getTheme(); String getThemeRootPath(); String getName(); String getDescription(); boolean isDisplayTagCloudStartpage(); boolean isDisplaySearchResultNavigation(); boolean isFoldout(String sidebarElement); boolean isSidebarPageViewLinkVisible(); boolean isSidebarCalendarViewLinkVisible(); boolean isSidebarTocViewLinkVisible(); boolean isSidebarThumbsViewLinkVisible(); boolean isSidebarMetadataViewLinkVisible(); boolean isShowSidebarEventMetadata(); boolean isShowRecordLabelIfNoOtherViews(); boolean isSidebarFulltextLinkVisible(); boolean isSidebarTocWidgetVisible(); boolean isSidebarTocWidgetVisibleInFullscreen(); boolean isSidebarOpacLinkVisible(); boolean getSidebarTocPageNumbersVisible(); int getSidebarTocLengthBeforeCut(); int getSidebarTocInitialCollapseLevel(); int getSidebarTocCollapseLengthThreshold(); int getSidebarTocLowestLevelToCollapseForLength(); boolean isSidebarTocTreeView(); boolean isTocTreeView(String docStructType); List<String> getAllDrillDownFields(); List<String> getDrillDownFields(); List<String> getHierarchicalDrillDownFields(); int getInitialDrillDownElementNumber(String field); String getSortOrder(String field); List<String> getPriorityValuesForDrillDownField(String field); String getLabelFieldForDrillDownField(String facetField); @SuppressWarnings("static-method") List<String> getRangeFacetFields(); boolean isSortingEnabled(); String getDefaultSortField(); List<String> getSortFields(); List<String> getStaticSortFields(); String getUrnResolverUrl(); int getUnconditionalImageAccessMaxWidth(); boolean isFullAccessForLocalhost(); boolean isGeneratePdfInTaskManager(); boolean isPdfApiDisabled(); boolean isTitlePdfEnabled(); boolean isTocPdfEnabled(); boolean isMetadataPdfEnabled(); boolean isPagePdfEnabled(); boolean isDocHierarchyPdfEnabled(); boolean isTitleEpubEnabled(); boolean isTocEpubEnabled(); boolean isMetadataEpubEnabled(); String getDownloadFolder(String type); int getRssFeedItems(); String getRssTitle(); String getRssDescription(); String getRssCopyrightText(); String getRulesetFilePath(); String getDefaultCollection(); int getThumbnailsWidth(); int getThumbnailsHeight(); int getThumbnailsCompression(); String getAnchorThumbnailMode(); int getMultivolumeThumbnailWidth(); int getMultivolumeThumbnailHeight(); boolean getDisplayBreadcrumbs(); boolean getDisplayMetadataPageLinkBlock(); boolean isAddDublinCoreMetaTags(); boolean isAddHighwirePressMetaTags(); int getMetadataParamNumber(); boolean useTiles(); boolean useTilesFullscreen(); boolean useTiles(PageType view, ImageType image); int getFooterHeight(); int getFullscreenFooterHeight(); int getFooterHeight(PageType view, ImageType image); String getImageViewType(); String getZoomFullscreenViewType(); String getZoomImageViewType(PageType view, ImageType image); boolean useOpenSeadragon(); List<String> getImageViewZoomScales(); List<String> getImageViewZoomScales(String view); List<String> getImageViewZoomScales(PageType view, ImageType image); Map<Integer, List<Integer>> getTileSizes(); Map<Integer, List<Integer>> getTileSizes(PageType view, ImageType image); SubnodeConfiguration getZoomImageViewConfig(PageType pageType, ImageType imageType); int getBreadcrumbsClipping(); boolean isDisplayTopstructLabel(); boolean getDisplayStructType(); int getSearchHitMetadataValueNumber(); int getSearchHitMetadataValueLength(); List<String> getWatermarkTextConfiguration(); String getWatermarkFormat(); boolean isOriginalContentDownload(); String getStopwordsFilePath(); String getPageType(PageType type); String getDocstructTargetPageType(String docstruct); String getPageTypeExitView(PageType type); int getFulltextPercentageWarningThreshold(); boolean isUseViewerLocaleAsRecordLanguage(); String getFeedbackEmailAddress(); boolean isBookmarksEnabled(); boolean isForceJpegConversion(); int getPageLoaderThreshold(); boolean isPreventProxyCaching(); boolean isSolrCompressionEnabled(); boolean isSolrBackwardsCompatible(); boolean isUserCommentsEnabled(); String getUserCommentsConditionalQuery(); List<String> getUserCommentsNotificationEmailAddresses(); String getViewerHome(); List<String> getWatermarkIdField(); String getSubthemeMainTheme(); String getSubthemeDiscriminatorField(); int getTagCloudSampleSize(String fieldName); List<StringPair> getTocVolumeSortFieldsForTemplate(String template); String getTocVolumeGroupFieldForTemplate(String template); boolean getDisplayTitleBreadcrumbs(); boolean isDisplayTitlePURL(); int getTitleBreadcrumbsMaxTitleLength(); boolean getIncludeAnchorInTitleBreadcrumbs(); boolean isDisplaySearchRssLinks(); boolean showThumbnailsInToc(); String getStartYearForTimeline(); String getEndYearForTimeline(); String getTimelineHits(); boolean isPiwikTrackingEnabled(); String getPiwikBaseURL(); String getPiwikSiteID(); boolean isSearchSavingEnabled(); boolean isBoostTopLevelDocstructs(); boolean isGroupDuplicateHits(); List<String> getRecordGroupIdentifierFields(); List<String> getAncestorIdentifierFields(); boolean isTocListSiblingRecords(); List<SearchFilter> getSearchFilters(); List<Map<String, String>> getWebApiFields(); String getDbPersistenceUnit(); boolean useCustomNavBar(); String getCmsTemplateFolder(); String getCmsMediaFolder(); String getTempMediaFolder(); List<String> getCmsClassifications(); int getCmsMediaDisplayWidth(); int getCmsMediaDisplayHeight(); boolean isTranskribusEnabled(); String getTranskribusUserName(); String getTranskribusPassword(); String getTranskribusDefaultCollection(); String getTranskribusRestApiUrl(); List<String> getTranskribusAllowedDocumentTypes(); int getTocIndentation(); boolean isPageBrowseEnabled(); List<Integer> getPageBrowseSteps(); String getTaskManagerServiceUrl(); String getTaskManagerRestUrl(); String getReCaptchaSiteKey(); boolean isUseReCaptcha(); boolean isSearchInItemEnabled(); String getDefaultBrowseIcon(String field); boolean isSearchExcelExportEnabled(); List<String> getSearchExcelExportFields(); int getExcelDownloadTimeout(); boolean isDisplayEmptyTocInSidebar(); boolean isDoublePageModeEnabled(); List<String> getRestrictedImageUrls(); List<String> getIIIFLicenses(); List<String> getIIIFMetadataFields(); List<String> getIIIFEventFields(); String getIIIFMetadataLabel(String field); int getIIIFDiscoveryAvtivitiesPerPage(); List<String> getIIIFLogo(); String getIIIFNavDateField(); List<String> getIIIFAttribution(); List<String> getIIIFDescriptionFields(); String getSitelinksField(); String getSitelinksFilterQuery(); List<String> getConfiguredCollections(); String getWebApiToken(); boolean isAllowRedirectCollectionToWork(); String getTwitterUserName(); float getLimitImageHeightUpperRatioThreshold(); float getLimitImageHeightLowerRatioThreshold(); boolean isLimitImageHeight(); boolean isAddCORSHeader(); String getCORSHeaderValue(); boolean isDiscloseImageContentLocation(); String getAccessConditionDisplayField(); String getCopyrightDisplayField(); boolean isDisplayCopyrightInfo(); boolean isDisplaySocialMediaShareLinks(); boolean isDisplayAnchorLabelInTitleBar(String template); String getAnchorLabelInTitleBarPrefix(String template); String getAnchorLabelInTitleBarSuffix(String template); String getMapBoxToken(); GeoMapMarker getGeoMapMarker(String name); List<String> getGeoMapMarkerFields(); List<GeoMapMarker> getGeoMapMarkers(); static GeoMapMarker readGeoMapMarker(HierarchicalConfiguration config); List<LicenseDescription> getLicenseDescriptions(); }
@Test public void isDisplayTagCloudNavigation_shouldReturnCorrectValue() throws Exception { Assert.assertEquals(false, DataManager.getInstance().getConfiguration().isDisplayTagCloudNavigation()); }
public boolean isDisplayTagCloudNavigation() { return this.getLocalBoolean("webGuiDisplay.displayTagCloudNavigation", true); }
Configuration extends AbstractConfiguration { public boolean isDisplayTagCloudNavigation() { return this.getLocalBoolean("webGuiDisplay.displayTagCloudNavigation", true); } }
Configuration extends AbstractConfiguration { public boolean isDisplayTagCloudNavigation() { return this.getLocalBoolean("webGuiDisplay.displayTagCloudNavigation", true); } Configuration(String configFilePath); }
Configuration extends AbstractConfiguration { public boolean isDisplayTagCloudNavigation() { return this.getLocalBoolean("webGuiDisplay.displayTagCloudNavigation", true); } Configuration(String configFilePath); Set<String> getStopwords(); boolean reloadingRequired(); String getConfigLocalPath(); String getLocalRessourceBundleFile(); int getViewerThumbnailsPerPage(); int getViewerMaxImageWidth(); int getViewerMaxImageHeight(); int getViewerMaxImageScale(); boolean isRememberImageZoom(); boolean isRememberImageRotation(); String getDfgViewerUrl(); String getConnectorVersionUrl(); List<Metadata> getTitleBarMetadata(); List<Metadata> getSearchHitMetadataForTemplate(String template); List<Metadata> getMainMetadataForTemplate(String template); List<Metadata> getSidebarMetadataForTemplate(String template); List<String> getNormdataFieldsForTemplate(String template); List<Metadata> getTocLabelConfiguration(String template); int getTocAnchorGroupElementsPerPage(); boolean isDisplaySidebarBrowsingTerms(); boolean isDisplaySidebarRssFeed(); boolean isDisplayWidgetUsage(); Metadata getWidgetUsageLicenceTextMetadata(); boolean isDisplaySidebarUsageWidgetLinkToJpegImage(); boolean isDisplaySidebarUsageWidgetLinkToMasterImage(); String getWidgetUsageMaxJpegSize(); String getWidgetUsageMaxMasterImageSize(); List<String> getCalendarDocStructTypes(); boolean isBrowsingMenuEnabled(); int getBrowsingMenuHitsPerPage(); List<BrowsingMenuFieldConfig> getBrowsingMenuFields(); String getBrowsingMenuSortingIgnoreLeadingChars(); String getDocstrctWhitelistFilterQuery(); String getCollectionSplittingChar(String field); List<DcSortingList> getCollectionSorting(String field); List<String> getCollectionBlacklist(String field); String getCollectionDefaultSortField(String field, String name); int getCollectionDisplayNumberOfVolumesLevel(String field); int getCollectionDisplayDepthForSearch(String field); String getCollectionHierarchyField(); boolean isAddCollectionHierarchyToBreadcrumbs(String field); String getSolrUrl(); String getContentServerWrapperUrl(); String getDownloadUrl(); String getRestApiUrl(); String getIIIFApiUrl(); boolean isUseIIIFApiUrlForCmsMediaUrls(); String getContentServerRealUrl(); String getMetsUrl(); String getMarcUrl(); String getDcUrl(); String getEseUrl(); List<Integer> getSearchHitsPerPageValues(); int getSearchHitsPerPageDefaultValue(); int getFulltextFragmentLength(); boolean isAdvancedSearchEnabled(); int getAdvancedSearchDefaultItemNumber(); List<AdvancedSearchFieldConfiguration> getAdvancedSearchFields(); boolean isAggregateHits(); boolean isDisplayAdditionalMetadataEnabled(); List<String> getDisplayAdditionalMetadataIgnoreFields(); List<String> getDisplayAdditionalMetadataTranslateFields(); boolean isAdvancedSearchFieldHierarchical(String field); boolean isAdvancedSearchFieldRange(String field); boolean isAdvancedSearchFieldUntokenizeForPhraseSearch(String field); String getAdvancedSearchFieldSeparatorLabel(String field); boolean isTimelineSearchEnabled(); boolean isCalendarSearchEnabled(); String getStaticQuerySuffix(); String getPreviousVersionIdentifierField(); String getNextVersionIdentifierField(); String getVersionLabelField(); String getIndexedMetsFolder(); String getIndexedLidoFolder(); String getIndexedDenkxwebFolder(); String getIndexedDublinCoreFolder(); String getPageSelectionFormat(); String getMediaFolder(); String getPdfFolder(); String getVocabulariesFolder(); String getOrigContentFolder(); String getCmsTextFolder(); String getAltoFolder(); String getAbbyyFolder(); String getFulltextFolder(); String getTeiFolder(); String getCmdiFolder(); String getWcFolder(); String getAnnotationFolder(); String getHotfolder(); @SuppressWarnings("static-method") String getTempFolder(); boolean isUrnDoRedirect(); boolean isUserRegistrationEnabled(); List<SecurityQuestion> getSecurityQuestions(); boolean isShowOpenIdConnect(); List<IAuthenticationProvider> getAuthenticationProviders(); String getSmtpServer(); String getSmtpUser(); String getSmtpPassword(); String getSmtpSenderAddress(); String getSmtpSenderName(); String getSmtpSecurity(); String getAnonymousUserEmailAddress(); boolean isDisplayCollectionBrowsing(); boolean isDisplayUserNavigation(); boolean isDisplayTagCloudNavigation(); boolean isDisplayStatistics(); boolean isDisplayTimeMatrix(); boolean isDisplayCrowdsourcingModuleLinks(); String getTheme(); String getThemeRootPath(); String getName(); String getDescription(); boolean isDisplayTagCloudStartpage(); boolean isDisplaySearchResultNavigation(); boolean isFoldout(String sidebarElement); boolean isSidebarPageViewLinkVisible(); boolean isSidebarCalendarViewLinkVisible(); boolean isSidebarTocViewLinkVisible(); boolean isSidebarThumbsViewLinkVisible(); boolean isSidebarMetadataViewLinkVisible(); boolean isShowSidebarEventMetadata(); boolean isShowRecordLabelIfNoOtherViews(); boolean isSidebarFulltextLinkVisible(); boolean isSidebarTocWidgetVisible(); boolean isSidebarTocWidgetVisibleInFullscreen(); boolean isSidebarOpacLinkVisible(); boolean getSidebarTocPageNumbersVisible(); int getSidebarTocLengthBeforeCut(); int getSidebarTocInitialCollapseLevel(); int getSidebarTocCollapseLengthThreshold(); int getSidebarTocLowestLevelToCollapseForLength(); boolean isSidebarTocTreeView(); boolean isTocTreeView(String docStructType); List<String> getAllDrillDownFields(); List<String> getDrillDownFields(); List<String> getHierarchicalDrillDownFields(); int getInitialDrillDownElementNumber(String field); String getSortOrder(String field); List<String> getPriorityValuesForDrillDownField(String field); String getLabelFieldForDrillDownField(String facetField); @SuppressWarnings("static-method") List<String> getRangeFacetFields(); boolean isSortingEnabled(); String getDefaultSortField(); List<String> getSortFields(); List<String> getStaticSortFields(); String getUrnResolverUrl(); int getUnconditionalImageAccessMaxWidth(); boolean isFullAccessForLocalhost(); boolean isGeneratePdfInTaskManager(); boolean isPdfApiDisabled(); boolean isTitlePdfEnabled(); boolean isTocPdfEnabled(); boolean isMetadataPdfEnabled(); boolean isPagePdfEnabled(); boolean isDocHierarchyPdfEnabled(); boolean isTitleEpubEnabled(); boolean isTocEpubEnabled(); boolean isMetadataEpubEnabled(); String getDownloadFolder(String type); int getRssFeedItems(); String getRssTitle(); String getRssDescription(); String getRssCopyrightText(); String getRulesetFilePath(); String getDefaultCollection(); int getThumbnailsWidth(); int getThumbnailsHeight(); int getThumbnailsCompression(); String getAnchorThumbnailMode(); int getMultivolumeThumbnailWidth(); int getMultivolumeThumbnailHeight(); boolean getDisplayBreadcrumbs(); boolean getDisplayMetadataPageLinkBlock(); boolean isAddDublinCoreMetaTags(); boolean isAddHighwirePressMetaTags(); int getMetadataParamNumber(); boolean useTiles(); boolean useTilesFullscreen(); boolean useTiles(PageType view, ImageType image); int getFooterHeight(); int getFullscreenFooterHeight(); int getFooterHeight(PageType view, ImageType image); String getImageViewType(); String getZoomFullscreenViewType(); String getZoomImageViewType(PageType view, ImageType image); boolean useOpenSeadragon(); List<String> getImageViewZoomScales(); List<String> getImageViewZoomScales(String view); List<String> getImageViewZoomScales(PageType view, ImageType image); Map<Integer, List<Integer>> getTileSizes(); Map<Integer, List<Integer>> getTileSizes(PageType view, ImageType image); SubnodeConfiguration getZoomImageViewConfig(PageType pageType, ImageType imageType); int getBreadcrumbsClipping(); boolean isDisplayTopstructLabel(); boolean getDisplayStructType(); int getSearchHitMetadataValueNumber(); int getSearchHitMetadataValueLength(); List<String> getWatermarkTextConfiguration(); String getWatermarkFormat(); boolean isOriginalContentDownload(); String getStopwordsFilePath(); String getPageType(PageType type); String getDocstructTargetPageType(String docstruct); String getPageTypeExitView(PageType type); int getFulltextPercentageWarningThreshold(); boolean isUseViewerLocaleAsRecordLanguage(); String getFeedbackEmailAddress(); boolean isBookmarksEnabled(); boolean isForceJpegConversion(); int getPageLoaderThreshold(); boolean isPreventProxyCaching(); boolean isSolrCompressionEnabled(); boolean isSolrBackwardsCompatible(); boolean isUserCommentsEnabled(); String getUserCommentsConditionalQuery(); List<String> getUserCommentsNotificationEmailAddresses(); String getViewerHome(); List<String> getWatermarkIdField(); String getSubthemeMainTheme(); String getSubthemeDiscriminatorField(); int getTagCloudSampleSize(String fieldName); List<StringPair> getTocVolumeSortFieldsForTemplate(String template); String getTocVolumeGroupFieldForTemplate(String template); boolean getDisplayTitleBreadcrumbs(); boolean isDisplayTitlePURL(); int getTitleBreadcrumbsMaxTitleLength(); boolean getIncludeAnchorInTitleBreadcrumbs(); boolean isDisplaySearchRssLinks(); boolean showThumbnailsInToc(); String getStartYearForTimeline(); String getEndYearForTimeline(); String getTimelineHits(); boolean isPiwikTrackingEnabled(); String getPiwikBaseURL(); String getPiwikSiteID(); boolean isSearchSavingEnabled(); boolean isBoostTopLevelDocstructs(); boolean isGroupDuplicateHits(); List<String> getRecordGroupIdentifierFields(); List<String> getAncestorIdentifierFields(); boolean isTocListSiblingRecords(); List<SearchFilter> getSearchFilters(); List<Map<String, String>> getWebApiFields(); String getDbPersistenceUnit(); boolean useCustomNavBar(); String getCmsTemplateFolder(); String getCmsMediaFolder(); String getTempMediaFolder(); List<String> getCmsClassifications(); int getCmsMediaDisplayWidth(); int getCmsMediaDisplayHeight(); boolean isTranskribusEnabled(); String getTranskribusUserName(); String getTranskribusPassword(); String getTranskribusDefaultCollection(); String getTranskribusRestApiUrl(); List<String> getTranskribusAllowedDocumentTypes(); int getTocIndentation(); boolean isPageBrowseEnabled(); List<Integer> getPageBrowseSteps(); String getTaskManagerServiceUrl(); String getTaskManagerRestUrl(); String getReCaptchaSiteKey(); boolean isUseReCaptcha(); boolean isSearchInItemEnabled(); String getDefaultBrowseIcon(String field); boolean isSearchExcelExportEnabled(); List<String> getSearchExcelExportFields(); int getExcelDownloadTimeout(); boolean isDisplayEmptyTocInSidebar(); boolean isDoublePageModeEnabled(); List<String> getRestrictedImageUrls(); List<String> getIIIFLicenses(); List<String> getIIIFMetadataFields(); List<String> getIIIFEventFields(); String getIIIFMetadataLabel(String field); int getIIIFDiscoveryAvtivitiesPerPage(); List<String> getIIIFLogo(); String getIIIFNavDateField(); List<String> getIIIFAttribution(); List<String> getIIIFDescriptionFields(); String getSitelinksField(); String getSitelinksFilterQuery(); List<String> getConfiguredCollections(); String getWebApiToken(); boolean isAllowRedirectCollectionToWork(); String getTwitterUserName(); float getLimitImageHeightUpperRatioThreshold(); float getLimitImageHeightLowerRatioThreshold(); boolean isLimitImageHeight(); boolean isAddCORSHeader(); String getCORSHeaderValue(); boolean isDiscloseImageContentLocation(); String getAccessConditionDisplayField(); String getCopyrightDisplayField(); boolean isDisplayCopyrightInfo(); boolean isDisplaySocialMediaShareLinks(); boolean isDisplayAnchorLabelInTitleBar(String template); String getAnchorLabelInTitleBarPrefix(String template); String getAnchorLabelInTitleBarSuffix(String template); String getMapBoxToken(); GeoMapMarker getGeoMapMarker(String name); List<String> getGeoMapMarkerFields(); List<GeoMapMarker> getGeoMapMarkers(); static GeoMapMarker readGeoMapMarker(HierarchicalConfiguration config); List<LicenseDescription> getLicenseDescriptions(); }
Configuration extends AbstractConfiguration { public boolean isDisplayTagCloudNavigation() { return this.getLocalBoolean("webGuiDisplay.displayTagCloudNavigation", true); } Configuration(String configFilePath); Set<String> getStopwords(); boolean reloadingRequired(); String getConfigLocalPath(); String getLocalRessourceBundleFile(); int getViewerThumbnailsPerPage(); int getViewerMaxImageWidth(); int getViewerMaxImageHeight(); int getViewerMaxImageScale(); boolean isRememberImageZoom(); boolean isRememberImageRotation(); String getDfgViewerUrl(); String getConnectorVersionUrl(); List<Metadata> getTitleBarMetadata(); List<Metadata> getSearchHitMetadataForTemplate(String template); List<Metadata> getMainMetadataForTemplate(String template); List<Metadata> getSidebarMetadataForTemplate(String template); List<String> getNormdataFieldsForTemplate(String template); List<Metadata> getTocLabelConfiguration(String template); int getTocAnchorGroupElementsPerPage(); boolean isDisplaySidebarBrowsingTerms(); boolean isDisplaySidebarRssFeed(); boolean isDisplayWidgetUsage(); Metadata getWidgetUsageLicenceTextMetadata(); boolean isDisplaySidebarUsageWidgetLinkToJpegImage(); boolean isDisplaySidebarUsageWidgetLinkToMasterImage(); String getWidgetUsageMaxJpegSize(); String getWidgetUsageMaxMasterImageSize(); List<String> getCalendarDocStructTypes(); boolean isBrowsingMenuEnabled(); int getBrowsingMenuHitsPerPage(); List<BrowsingMenuFieldConfig> getBrowsingMenuFields(); String getBrowsingMenuSortingIgnoreLeadingChars(); String getDocstrctWhitelistFilterQuery(); String getCollectionSplittingChar(String field); List<DcSortingList> getCollectionSorting(String field); List<String> getCollectionBlacklist(String field); String getCollectionDefaultSortField(String field, String name); int getCollectionDisplayNumberOfVolumesLevel(String field); int getCollectionDisplayDepthForSearch(String field); String getCollectionHierarchyField(); boolean isAddCollectionHierarchyToBreadcrumbs(String field); String getSolrUrl(); String getContentServerWrapperUrl(); String getDownloadUrl(); String getRestApiUrl(); String getIIIFApiUrl(); boolean isUseIIIFApiUrlForCmsMediaUrls(); String getContentServerRealUrl(); String getMetsUrl(); String getMarcUrl(); String getDcUrl(); String getEseUrl(); List<Integer> getSearchHitsPerPageValues(); int getSearchHitsPerPageDefaultValue(); int getFulltextFragmentLength(); boolean isAdvancedSearchEnabled(); int getAdvancedSearchDefaultItemNumber(); List<AdvancedSearchFieldConfiguration> getAdvancedSearchFields(); boolean isAggregateHits(); boolean isDisplayAdditionalMetadataEnabled(); List<String> getDisplayAdditionalMetadataIgnoreFields(); List<String> getDisplayAdditionalMetadataTranslateFields(); boolean isAdvancedSearchFieldHierarchical(String field); boolean isAdvancedSearchFieldRange(String field); boolean isAdvancedSearchFieldUntokenizeForPhraseSearch(String field); String getAdvancedSearchFieldSeparatorLabel(String field); boolean isTimelineSearchEnabled(); boolean isCalendarSearchEnabled(); String getStaticQuerySuffix(); String getPreviousVersionIdentifierField(); String getNextVersionIdentifierField(); String getVersionLabelField(); String getIndexedMetsFolder(); String getIndexedLidoFolder(); String getIndexedDenkxwebFolder(); String getIndexedDublinCoreFolder(); String getPageSelectionFormat(); String getMediaFolder(); String getPdfFolder(); String getVocabulariesFolder(); String getOrigContentFolder(); String getCmsTextFolder(); String getAltoFolder(); String getAbbyyFolder(); String getFulltextFolder(); String getTeiFolder(); String getCmdiFolder(); String getWcFolder(); String getAnnotationFolder(); String getHotfolder(); @SuppressWarnings("static-method") String getTempFolder(); boolean isUrnDoRedirect(); boolean isUserRegistrationEnabled(); List<SecurityQuestion> getSecurityQuestions(); boolean isShowOpenIdConnect(); List<IAuthenticationProvider> getAuthenticationProviders(); String getSmtpServer(); String getSmtpUser(); String getSmtpPassword(); String getSmtpSenderAddress(); String getSmtpSenderName(); String getSmtpSecurity(); String getAnonymousUserEmailAddress(); boolean isDisplayCollectionBrowsing(); boolean isDisplayUserNavigation(); boolean isDisplayTagCloudNavigation(); boolean isDisplayStatistics(); boolean isDisplayTimeMatrix(); boolean isDisplayCrowdsourcingModuleLinks(); String getTheme(); String getThemeRootPath(); String getName(); String getDescription(); boolean isDisplayTagCloudStartpage(); boolean isDisplaySearchResultNavigation(); boolean isFoldout(String sidebarElement); boolean isSidebarPageViewLinkVisible(); boolean isSidebarCalendarViewLinkVisible(); boolean isSidebarTocViewLinkVisible(); boolean isSidebarThumbsViewLinkVisible(); boolean isSidebarMetadataViewLinkVisible(); boolean isShowSidebarEventMetadata(); boolean isShowRecordLabelIfNoOtherViews(); boolean isSidebarFulltextLinkVisible(); boolean isSidebarTocWidgetVisible(); boolean isSidebarTocWidgetVisibleInFullscreen(); boolean isSidebarOpacLinkVisible(); boolean getSidebarTocPageNumbersVisible(); int getSidebarTocLengthBeforeCut(); int getSidebarTocInitialCollapseLevel(); int getSidebarTocCollapseLengthThreshold(); int getSidebarTocLowestLevelToCollapseForLength(); boolean isSidebarTocTreeView(); boolean isTocTreeView(String docStructType); List<String> getAllDrillDownFields(); List<String> getDrillDownFields(); List<String> getHierarchicalDrillDownFields(); int getInitialDrillDownElementNumber(String field); String getSortOrder(String field); List<String> getPriorityValuesForDrillDownField(String field); String getLabelFieldForDrillDownField(String facetField); @SuppressWarnings("static-method") List<String> getRangeFacetFields(); boolean isSortingEnabled(); String getDefaultSortField(); List<String> getSortFields(); List<String> getStaticSortFields(); String getUrnResolverUrl(); int getUnconditionalImageAccessMaxWidth(); boolean isFullAccessForLocalhost(); boolean isGeneratePdfInTaskManager(); boolean isPdfApiDisabled(); boolean isTitlePdfEnabled(); boolean isTocPdfEnabled(); boolean isMetadataPdfEnabled(); boolean isPagePdfEnabled(); boolean isDocHierarchyPdfEnabled(); boolean isTitleEpubEnabled(); boolean isTocEpubEnabled(); boolean isMetadataEpubEnabled(); String getDownloadFolder(String type); int getRssFeedItems(); String getRssTitle(); String getRssDescription(); String getRssCopyrightText(); String getRulesetFilePath(); String getDefaultCollection(); int getThumbnailsWidth(); int getThumbnailsHeight(); int getThumbnailsCompression(); String getAnchorThumbnailMode(); int getMultivolumeThumbnailWidth(); int getMultivolumeThumbnailHeight(); boolean getDisplayBreadcrumbs(); boolean getDisplayMetadataPageLinkBlock(); boolean isAddDublinCoreMetaTags(); boolean isAddHighwirePressMetaTags(); int getMetadataParamNumber(); boolean useTiles(); boolean useTilesFullscreen(); boolean useTiles(PageType view, ImageType image); int getFooterHeight(); int getFullscreenFooterHeight(); int getFooterHeight(PageType view, ImageType image); String getImageViewType(); String getZoomFullscreenViewType(); String getZoomImageViewType(PageType view, ImageType image); boolean useOpenSeadragon(); List<String> getImageViewZoomScales(); List<String> getImageViewZoomScales(String view); List<String> getImageViewZoomScales(PageType view, ImageType image); Map<Integer, List<Integer>> getTileSizes(); Map<Integer, List<Integer>> getTileSizes(PageType view, ImageType image); SubnodeConfiguration getZoomImageViewConfig(PageType pageType, ImageType imageType); int getBreadcrumbsClipping(); boolean isDisplayTopstructLabel(); boolean getDisplayStructType(); int getSearchHitMetadataValueNumber(); int getSearchHitMetadataValueLength(); List<String> getWatermarkTextConfiguration(); String getWatermarkFormat(); boolean isOriginalContentDownload(); String getStopwordsFilePath(); String getPageType(PageType type); String getDocstructTargetPageType(String docstruct); String getPageTypeExitView(PageType type); int getFulltextPercentageWarningThreshold(); boolean isUseViewerLocaleAsRecordLanguage(); String getFeedbackEmailAddress(); boolean isBookmarksEnabled(); boolean isForceJpegConversion(); int getPageLoaderThreshold(); boolean isPreventProxyCaching(); boolean isSolrCompressionEnabled(); boolean isSolrBackwardsCompatible(); boolean isUserCommentsEnabled(); String getUserCommentsConditionalQuery(); List<String> getUserCommentsNotificationEmailAddresses(); String getViewerHome(); List<String> getWatermarkIdField(); String getSubthemeMainTheme(); String getSubthemeDiscriminatorField(); int getTagCloudSampleSize(String fieldName); List<StringPair> getTocVolumeSortFieldsForTemplate(String template); String getTocVolumeGroupFieldForTemplate(String template); boolean getDisplayTitleBreadcrumbs(); boolean isDisplayTitlePURL(); int getTitleBreadcrumbsMaxTitleLength(); boolean getIncludeAnchorInTitleBreadcrumbs(); boolean isDisplaySearchRssLinks(); boolean showThumbnailsInToc(); String getStartYearForTimeline(); String getEndYearForTimeline(); String getTimelineHits(); boolean isPiwikTrackingEnabled(); String getPiwikBaseURL(); String getPiwikSiteID(); boolean isSearchSavingEnabled(); boolean isBoostTopLevelDocstructs(); boolean isGroupDuplicateHits(); List<String> getRecordGroupIdentifierFields(); List<String> getAncestorIdentifierFields(); boolean isTocListSiblingRecords(); List<SearchFilter> getSearchFilters(); List<Map<String, String>> getWebApiFields(); String getDbPersistenceUnit(); boolean useCustomNavBar(); String getCmsTemplateFolder(); String getCmsMediaFolder(); String getTempMediaFolder(); List<String> getCmsClassifications(); int getCmsMediaDisplayWidth(); int getCmsMediaDisplayHeight(); boolean isTranskribusEnabled(); String getTranskribusUserName(); String getTranskribusPassword(); String getTranskribusDefaultCollection(); String getTranskribusRestApiUrl(); List<String> getTranskribusAllowedDocumentTypes(); int getTocIndentation(); boolean isPageBrowseEnabled(); List<Integer> getPageBrowseSteps(); String getTaskManagerServiceUrl(); String getTaskManagerRestUrl(); String getReCaptchaSiteKey(); boolean isUseReCaptcha(); boolean isSearchInItemEnabled(); String getDefaultBrowseIcon(String field); boolean isSearchExcelExportEnabled(); List<String> getSearchExcelExportFields(); int getExcelDownloadTimeout(); boolean isDisplayEmptyTocInSidebar(); boolean isDoublePageModeEnabled(); List<String> getRestrictedImageUrls(); List<String> getIIIFLicenses(); List<String> getIIIFMetadataFields(); List<String> getIIIFEventFields(); String getIIIFMetadataLabel(String field); int getIIIFDiscoveryAvtivitiesPerPage(); List<String> getIIIFLogo(); String getIIIFNavDateField(); List<String> getIIIFAttribution(); List<String> getIIIFDescriptionFields(); String getSitelinksField(); String getSitelinksFilterQuery(); List<String> getConfiguredCollections(); String getWebApiToken(); boolean isAllowRedirectCollectionToWork(); String getTwitterUserName(); float getLimitImageHeightUpperRatioThreshold(); float getLimitImageHeightLowerRatioThreshold(); boolean isLimitImageHeight(); boolean isAddCORSHeader(); String getCORSHeaderValue(); boolean isDiscloseImageContentLocation(); String getAccessConditionDisplayField(); String getCopyrightDisplayField(); boolean isDisplayCopyrightInfo(); boolean isDisplaySocialMediaShareLinks(); boolean isDisplayAnchorLabelInTitleBar(String template); String getAnchorLabelInTitleBarPrefix(String template); String getAnchorLabelInTitleBarSuffix(String template); String getMapBoxToken(); GeoMapMarker getGeoMapMarker(String name); List<String> getGeoMapMarkerFields(); List<GeoMapMarker> getGeoMapMarkers(); static GeoMapMarker readGeoMapMarker(HierarchicalConfiguration config); List<LicenseDescription> getLicenseDescriptions(); }
@Test public void isDisplayTagCloudStartpage_shouldReturnCorrectValue() throws Exception { Assert.assertEquals(false, DataManager.getInstance().getConfiguration().isDisplayTagCloudStartpage()); }
public boolean isDisplayTagCloudStartpage() { return this.getLocalBoolean("webGuiDisplay.displayTagCloudStartpage", true); }
Configuration extends AbstractConfiguration { public boolean isDisplayTagCloudStartpage() { return this.getLocalBoolean("webGuiDisplay.displayTagCloudStartpage", true); } }
Configuration extends AbstractConfiguration { public boolean isDisplayTagCloudStartpage() { return this.getLocalBoolean("webGuiDisplay.displayTagCloudStartpage", true); } Configuration(String configFilePath); }
Configuration extends AbstractConfiguration { public boolean isDisplayTagCloudStartpage() { return this.getLocalBoolean("webGuiDisplay.displayTagCloudStartpage", true); } Configuration(String configFilePath); Set<String> getStopwords(); boolean reloadingRequired(); String getConfigLocalPath(); String getLocalRessourceBundleFile(); int getViewerThumbnailsPerPage(); int getViewerMaxImageWidth(); int getViewerMaxImageHeight(); int getViewerMaxImageScale(); boolean isRememberImageZoom(); boolean isRememberImageRotation(); String getDfgViewerUrl(); String getConnectorVersionUrl(); List<Metadata> getTitleBarMetadata(); List<Metadata> getSearchHitMetadataForTemplate(String template); List<Metadata> getMainMetadataForTemplate(String template); List<Metadata> getSidebarMetadataForTemplate(String template); List<String> getNormdataFieldsForTemplate(String template); List<Metadata> getTocLabelConfiguration(String template); int getTocAnchorGroupElementsPerPage(); boolean isDisplaySidebarBrowsingTerms(); boolean isDisplaySidebarRssFeed(); boolean isDisplayWidgetUsage(); Metadata getWidgetUsageLicenceTextMetadata(); boolean isDisplaySidebarUsageWidgetLinkToJpegImage(); boolean isDisplaySidebarUsageWidgetLinkToMasterImage(); String getWidgetUsageMaxJpegSize(); String getWidgetUsageMaxMasterImageSize(); List<String> getCalendarDocStructTypes(); boolean isBrowsingMenuEnabled(); int getBrowsingMenuHitsPerPage(); List<BrowsingMenuFieldConfig> getBrowsingMenuFields(); String getBrowsingMenuSortingIgnoreLeadingChars(); String getDocstrctWhitelistFilterQuery(); String getCollectionSplittingChar(String field); List<DcSortingList> getCollectionSorting(String field); List<String> getCollectionBlacklist(String field); String getCollectionDefaultSortField(String field, String name); int getCollectionDisplayNumberOfVolumesLevel(String field); int getCollectionDisplayDepthForSearch(String field); String getCollectionHierarchyField(); boolean isAddCollectionHierarchyToBreadcrumbs(String field); String getSolrUrl(); String getContentServerWrapperUrl(); String getDownloadUrl(); String getRestApiUrl(); String getIIIFApiUrl(); boolean isUseIIIFApiUrlForCmsMediaUrls(); String getContentServerRealUrl(); String getMetsUrl(); String getMarcUrl(); String getDcUrl(); String getEseUrl(); List<Integer> getSearchHitsPerPageValues(); int getSearchHitsPerPageDefaultValue(); int getFulltextFragmentLength(); boolean isAdvancedSearchEnabled(); int getAdvancedSearchDefaultItemNumber(); List<AdvancedSearchFieldConfiguration> getAdvancedSearchFields(); boolean isAggregateHits(); boolean isDisplayAdditionalMetadataEnabled(); List<String> getDisplayAdditionalMetadataIgnoreFields(); List<String> getDisplayAdditionalMetadataTranslateFields(); boolean isAdvancedSearchFieldHierarchical(String field); boolean isAdvancedSearchFieldRange(String field); boolean isAdvancedSearchFieldUntokenizeForPhraseSearch(String field); String getAdvancedSearchFieldSeparatorLabel(String field); boolean isTimelineSearchEnabled(); boolean isCalendarSearchEnabled(); String getStaticQuerySuffix(); String getPreviousVersionIdentifierField(); String getNextVersionIdentifierField(); String getVersionLabelField(); String getIndexedMetsFolder(); String getIndexedLidoFolder(); String getIndexedDenkxwebFolder(); String getIndexedDublinCoreFolder(); String getPageSelectionFormat(); String getMediaFolder(); String getPdfFolder(); String getVocabulariesFolder(); String getOrigContentFolder(); String getCmsTextFolder(); String getAltoFolder(); String getAbbyyFolder(); String getFulltextFolder(); String getTeiFolder(); String getCmdiFolder(); String getWcFolder(); String getAnnotationFolder(); String getHotfolder(); @SuppressWarnings("static-method") String getTempFolder(); boolean isUrnDoRedirect(); boolean isUserRegistrationEnabled(); List<SecurityQuestion> getSecurityQuestions(); boolean isShowOpenIdConnect(); List<IAuthenticationProvider> getAuthenticationProviders(); String getSmtpServer(); String getSmtpUser(); String getSmtpPassword(); String getSmtpSenderAddress(); String getSmtpSenderName(); String getSmtpSecurity(); String getAnonymousUserEmailAddress(); boolean isDisplayCollectionBrowsing(); boolean isDisplayUserNavigation(); boolean isDisplayTagCloudNavigation(); boolean isDisplayStatistics(); boolean isDisplayTimeMatrix(); boolean isDisplayCrowdsourcingModuleLinks(); String getTheme(); String getThemeRootPath(); String getName(); String getDescription(); boolean isDisplayTagCloudStartpage(); boolean isDisplaySearchResultNavigation(); boolean isFoldout(String sidebarElement); boolean isSidebarPageViewLinkVisible(); boolean isSidebarCalendarViewLinkVisible(); boolean isSidebarTocViewLinkVisible(); boolean isSidebarThumbsViewLinkVisible(); boolean isSidebarMetadataViewLinkVisible(); boolean isShowSidebarEventMetadata(); boolean isShowRecordLabelIfNoOtherViews(); boolean isSidebarFulltextLinkVisible(); boolean isSidebarTocWidgetVisible(); boolean isSidebarTocWidgetVisibleInFullscreen(); boolean isSidebarOpacLinkVisible(); boolean getSidebarTocPageNumbersVisible(); int getSidebarTocLengthBeforeCut(); int getSidebarTocInitialCollapseLevel(); int getSidebarTocCollapseLengthThreshold(); int getSidebarTocLowestLevelToCollapseForLength(); boolean isSidebarTocTreeView(); boolean isTocTreeView(String docStructType); List<String> getAllDrillDownFields(); List<String> getDrillDownFields(); List<String> getHierarchicalDrillDownFields(); int getInitialDrillDownElementNumber(String field); String getSortOrder(String field); List<String> getPriorityValuesForDrillDownField(String field); String getLabelFieldForDrillDownField(String facetField); @SuppressWarnings("static-method") List<String> getRangeFacetFields(); boolean isSortingEnabled(); String getDefaultSortField(); List<String> getSortFields(); List<String> getStaticSortFields(); String getUrnResolverUrl(); int getUnconditionalImageAccessMaxWidth(); boolean isFullAccessForLocalhost(); boolean isGeneratePdfInTaskManager(); boolean isPdfApiDisabled(); boolean isTitlePdfEnabled(); boolean isTocPdfEnabled(); boolean isMetadataPdfEnabled(); boolean isPagePdfEnabled(); boolean isDocHierarchyPdfEnabled(); boolean isTitleEpubEnabled(); boolean isTocEpubEnabled(); boolean isMetadataEpubEnabled(); String getDownloadFolder(String type); int getRssFeedItems(); String getRssTitle(); String getRssDescription(); String getRssCopyrightText(); String getRulesetFilePath(); String getDefaultCollection(); int getThumbnailsWidth(); int getThumbnailsHeight(); int getThumbnailsCompression(); String getAnchorThumbnailMode(); int getMultivolumeThumbnailWidth(); int getMultivolumeThumbnailHeight(); boolean getDisplayBreadcrumbs(); boolean getDisplayMetadataPageLinkBlock(); boolean isAddDublinCoreMetaTags(); boolean isAddHighwirePressMetaTags(); int getMetadataParamNumber(); boolean useTiles(); boolean useTilesFullscreen(); boolean useTiles(PageType view, ImageType image); int getFooterHeight(); int getFullscreenFooterHeight(); int getFooterHeight(PageType view, ImageType image); String getImageViewType(); String getZoomFullscreenViewType(); String getZoomImageViewType(PageType view, ImageType image); boolean useOpenSeadragon(); List<String> getImageViewZoomScales(); List<String> getImageViewZoomScales(String view); List<String> getImageViewZoomScales(PageType view, ImageType image); Map<Integer, List<Integer>> getTileSizes(); Map<Integer, List<Integer>> getTileSizes(PageType view, ImageType image); SubnodeConfiguration getZoomImageViewConfig(PageType pageType, ImageType imageType); int getBreadcrumbsClipping(); boolean isDisplayTopstructLabel(); boolean getDisplayStructType(); int getSearchHitMetadataValueNumber(); int getSearchHitMetadataValueLength(); List<String> getWatermarkTextConfiguration(); String getWatermarkFormat(); boolean isOriginalContentDownload(); String getStopwordsFilePath(); String getPageType(PageType type); String getDocstructTargetPageType(String docstruct); String getPageTypeExitView(PageType type); int getFulltextPercentageWarningThreshold(); boolean isUseViewerLocaleAsRecordLanguage(); String getFeedbackEmailAddress(); boolean isBookmarksEnabled(); boolean isForceJpegConversion(); int getPageLoaderThreshold(); boolean isPreventProxyCaching(); boolean isSolrCompressionEnabled(); boolean isSolrBackwardsCompatible(); boolean isUserCommentsEnabled(); String getUserCommentsConditionalQuery(); List<String> getUserCommentsNotificationEmailAddresses(); String getViewerHome(); List<String> getWatermarkIdField(); String getSubthemeMainTheme(); String getSubthemeDiscriminatorField(); int getTagCloudSampleSize(String fieldName); List<StringPair> getTocVolumeSortFieldsForTemplate(String template); String getTocVolumeGroupFieldForTemplate(String template); boolean getDisplayTitleBreadcrumbs(); boolean isDisplayTitlePURL(); int getTitleBreadcrumbsMaxTitleLength(); boolean getIncludeAnchorInTitleBreadcrumbs(); boolean isDisplaySearchRssLinks(); boolean showThumbnailsInToc(); String getStartYearForTimeline(); String getEndYearForTimeline(); String getTimelineHits(); boolean isPiwikTrackingEnabled(); String getPiwikBaseURL(); String getPiwikSiteID(); boolean isSearchSavingEnabled(); boolean isBoostTopLevelDocstructs(); boolean isGroupDuplicateHits(); List<String> getRecordGroupIdentifierFields(); List<String> getAncestorIdentifierFields(); boolean isTocListSiblingRecords(); List<SearchFilter> getSearchFilters(); List<Map<String, String>> getWebApiFields(); String getDbPersistenceUnit(); boolean useCustomNavBar(); String getCmsTemplateFolder(); String getCmsMediaFolder(); String getTempMediaFolder(); List<String> getCmsClassifications(); int getCmsMediaDisplayWidth(); int getCmsMediaDisplayHeight(); boolean isTranskribusEnabled(); String getTranskribusUserName(); String getTranskribusPassword(); String getTranskribusDefaultCollection(); String getTranskribusRestApiUrl(); List<String> getTranskribusAllowedDocumentTypes(); int getTocIndentation(); boolean isPageBrowseEnabled(); List<Integer> getPageBrowseSteps(); String getTaskManagerServiceUrl(); String getTaskManagerRestUrl(); String getReCaptchaSiteKey(); boolean isUseReCaptcha(); boolean isSearchInItemEnabled(); String getDefaultBrowseIcon(String field); boolean isSearchExcelExportEnabled(); List<String> getSearchExcelExportFields(); int getExcelDownloadTimeout(); boolean isDisplayEmptyTocInSidebar(); boolean isDoublePageModeEnabled(); List<String> getRestrictedImageUrls(); List<String> getIIIFLicenses(); List<String> getIIIFMetadataFields(); List<String> getIIIFEventFields(); String getIIIFMetadataLabel(String field); int getIIIFDiscoveryAvtivitiesPerPage(); List<String> getIIIFLogo(); String getIIIFNavDateField(); List<String> getIIIFAttribution(); List<String> getIIIFDescriptionFields(); String getSitelinksField(); String getSitelinksFilterQuery(); List<String> getConfiguredCollections(); String getWebApiToken(); boolean isAllowRedirectCollectionToWork(); String getTwitterUserName(); float getLimitImageHeightUpperRatioThreshold(); float getLimitImageHeightLowerRatioThreshold(); boolean isLimitImageHeight(); boolean isAddCORSHeader(); String getCORSHeaderValue(); boolean isDiscloseImageContentLocation(); String getAccessConditionDisplayField(); String getCopyrightDisplayField(); boolean isDisplayCopyrightInfo(); boolean isDisplaySocialMediaShareLinks(); boolean isDisplayAnchorLabelInTitleBar(String template); String getAnchorLabelInTitleBarPrefix(String template); String getAnchorLabelInTitleBarSuffix(String template); String getMapBoxToken(); GeoMapMarker getGeoMapMarker(String name); List<String> getGeoMapMarkerFields(); List<GeoMapMarker> getGeoMapMarkers(); static GeoMapMarker readGeoMapMarker(HierarchicalConfiguration config); List<LicenseDescription> getLicenseDescriptions(); }
Configuration extends AbstractConfiguration { public boolean isDisplayTagCloudStartpage() { return this.getLocalBoolean("webGuiDisplay.displayTagCloudStartpage", true); } Configuration(String configFilePath); Set<String> getStopwords(); boolean reloadingRequired(); String getConfigLocalPath(); String getLocalRessourceBundleFile(); int getViewerThumbnailsPerPage(); int getViewerMaxImageWidth(); int getViewerMaxImageHeight(); int getViewerMaxImageScale(); boolean isRememberImageZoom(); boolean isRememberImageRotation(); String getDfgViewerUrl(); String getConnectorVersionUrl(); List<Metadata> getTitleBarMetadata(); List<Metadata> getSearchHitMetadataForTemplate(String template); List<Metadata> getMainMetadataForTemplate(String template); List<Metadata> getSidebarMetadataForTemplate(String template); List<String> getNormdataFieldsForTemplate(String template); List<Metadata> getTocLabelConfiguration(String template); int getTocAnchorGroupElementsPerPage(); boolean isDisplaySidebarBrowsingTerms(); boolean isDisplaySidebarRssFeed(); boolean isDisplayWidgetUsage(); Metadata getWidgetUsageLicenceTextMetadata(); boolean isDisplaySidebarUsageWidgetLinkToJpegImage(); boolean isDisplaySidebarUsageWidgetLinkToMasterImage(); String getWidgetUsageMaxJpegSize(); String getWidgetUsageMaxMasterImageSize(); List<String> getCalendarDocStructTypes(); boolean isBrowsingMenuEnabled(); int getBrowsingMenuHitsPerPage(); List<BrowsingMenuFieldConfig> getBrowsingMenuFields(); String getBrowsingMenuSortingIgnoreLeadingChars(); String getDocstrctWhitelistFilterQuery(); String getCollectionSplittingChar(String field); List<DcSortingList> getCollectionSorting(String field); List<String> getCollectionBlacklist(String field); String getCollectionDefaultSortField(String field, String name); int getCollectionDisplayNumberOfVolumesLevel(String field); int getCollectionDisplayDepthForSearch(String field); String getCollectionHierarchyField(); boolean isAddCollectionHierarchyToBreadcrumbs(String field); String getSolrUrl(); String getContentServerWrapperUrl(); String getDownloadUrl(); String getRestApiUrl(); String getIIIFApiUrl(); boolean isUseIIIFApiUrlForCmsMediaUrls(); String getContentServerRealUrl(); String getMetsUrl(); String getMarcUrl(); String getDcUrl(); String getEseUrl(); List<Integer> getSearchHitsPerPageValues(); int getSearchHitsPerPageDefaultValue(); int getFulltextFragmentLength(); boolean isAdvancedSearchEnabled(); int getAdvancedSearchDefaultItemNumber(); List<AdvancedSearchFieldConfiguration> getAdvancedSearchFields(); boolean isAggregateHits(); boolean isDisplayAdditionalMetadataEnabled(); List<String> getDisplayAdditionalMetadataIgnoreFields(); List<String> getDisplayAdditionalMetadataTranslateFields(); boolean isAdvancedSearchFieldHierarchical(String field); boolean isAdvancedSearchFieldRange(String field); boolean isAdvancedSearchFieldUntokenizeForPhraseSearch(String field); String getAdvancedSearchFieldSeparatorLabel(String field); boolean isTimelineSearchEnabled(); boolean isCalendarSearchEnabled(); String getStaticQuerySuffix(); String getPreviousVersionIdentifierField(); String getNextVersionIdentifierField(); String getVersionLabelField(); String getIndexedMetsFolder(); String getIndexedLidoFolder(); String getIndexedDenkxwebFolder(); String getIndexedDublinCoreFolder(); String getPageSelectionFormat(); String getMediaFolder(); String getPdfFolder(); String getVocabulariesFolder(); String getOrigContentFolder(); String getCmsTextFolder(); String getAltoFolder(); String getAbbyyFolder(); String getFulltextFolder(); String getTeiFolder(); String getCmdiFolder(); String getWcFolder(); String getAnnotationFolder(); String getHotfolder(); @SuppressWarnings("static-method") String getTempFolder(); boolean isUrnDoRedirect(); boolean isUserRegistrationEnabled(); List<SecurityQuestion> getSecurityQuestions(); boolean isShowOpenIdConnect(); List<IAuthenticationProvider> getAuthenticationProviders(); String getSmtpServer(); String getSmtpUser(); String getSmtpPassword(); String getSmtpSenderAddress(); String getSmtpSenderName(); String getSmtpSecurity(); String getAnonymousUserEmailAddress(); boolean isDisplayCollectionBrowsing(); boolean isDisplayUserNavigation(); boolean isDisplayTagCloudNavigation(); boolean isDisplayStatistics(); boolean isDisplayTimeMatrix(); boolean isDisplayCrowdsourcingModuleLinks(); String getTheme(); String getThemeRootPath(); String getName(); String getDescription(); boolean isDisplayTagCloudStartpage(); boolean isDisplaySearchResultNavigation(); boolean isFoldout(String sidebarElement); boolean isSidebarPageViewLinkVisible(); boolean isSidebarCalendarViewLinkVisible(); boolean isSidebarTocViewLinkVisible(); boolean isSidebarThumbsViewLinkVisible(); boolean isSidebarMetadataViewLinkVisible(); boolean isShowSidebarEventMetadata(); boolean isShowRecordLabelIfNoOtherViews(); boolean isSidebarFulltextLinkVisible(); boolean isSidebarTocWidgetVisible(); boolean isSidebarTocWidgetVisibleInFullscreen(); boolean isSidebarOpacLinkVisible(); boolean getSidebarTocPageNumbersVisible(); int getSidebarTocLengthBeforeCut(); int getSidebarTocInitialCollapseLevel(); int getSidebarTocCollapseLengthThreshold(); int getSidebarTocLowestLevelToCollapseForLength(); boolean isSidebarTocTreeView(); boolean isTocTreeView(String docStructType); List<String> getAllDrillDownFields(); List<String> getDrillDownFields(); List<String> getHierarchicalDrillDownFields(); int getInitialDrillDownElementNumber(String field); String getSortOrder(String field); List<String> getPriorityValuesForDrillDownField(String field); String getLabelFieldForDrillDownField(String facetField); @SuppressWarnings("static-method") List<String> getRangeFacetFields(); boolean isSortingEnabled(); String getDefaultSortField(); List<String> getSortFields(); List<String> getStaticSortFields(); String getUrnResolverUrl(); int getUnconditionalImageAccessMaxWidth(); boolean isFullAccessForLocalhost(); boolean isGeneratePdfInTaskManager(); boolean isPdfApiDisabled(); boolean isTitlePdfEnabled(); boolean isTocPdfEnabled(); boolean isMetadataPdfEnabled(); boolean isPagePdfEnabled(); boolean isDocHierarchyPdfEnabled(); boolean isTitleEpubEnabled(); boolean isTocEpubEnabled(); boolean isMetadataEpubEnabled(); String getDownloadFolder(String type); int getRssFeedItems(); String getRssTitle(); String getRssDescription(); String getRssCopyrightText(); String getRulesetFilePath(); String getDefaultCollection(); int getThumbnailsWidth(); int getThumbnailsHeight(); int getThumbnailsCompression(); String getAnchorThumbnailMode(); int getMultivolumeThumbnailWidth(); int getMultivolumeThumbnailHeight(); boolean getDisplayBreadcrumbs(); boolean getDisplayMetadataPageLinkBlock(); boolean isAddDublinCoreMetaTags(); boolean isAddHighwirePressMetaTags(); int getMetadataParamNumber(); boolean useTiles(); boolean useTilesFullscreen(); boolean useTiles(PageType view, ImageType image); int getFooterHeight(); int getFullscreenFooterHeight(); int getFooterHeight(PageType view, ImageType image); String getImageViewType(); String getZoomFullscreenViewType(); String getZoomImageViewType(PageType view, ImageType image); boolean useOpenSeadragon(); List<String> getImageViewZoomScales(); List<String> getImageViewZoomScales(String view); List<String> getImageViewZoomScales(PageType view, ImageType image); Map<Integer, List<Integer>> getTileSizes(); Map<Integer, List<Integer>> getTileSizes(PageType view, ImageType image); SubnodeConfiguration getZoomImageViewConfig(PageType pageType, ImageType imageType); int getBreadcrumbsClipping(); boolean isDisplayTopstructLabel(); boolean getDisplayStructType(); int getSearchHitMetadataValueNumber(); int getSearchHitMetadataValueLength(); List<String> getWatermarkTextConfiguration(); String getWatermarkFormat(); boolean isOriginalContentDownload(); String getStopwordsFilePath(); String getPageType(PageType type); String getDocstructTargetPageType(String docstruct); String getPageTypeExitView(PageType type); int getFulltextPercentageWarningThreshold(); boolean isUseViewerLocaleAsRecordLanguage(); String getFeedbackEmailAddress(); boolean isBookmarksEnabled(); boolean isForceJpegConversion(); int getPageLoaderThreshold(); boolean isPreventProxyCaching(); boolean isSolrCompressionEnabled(); boolean isSolrBackwardsCompatible(); boolean isUserCommentsEnabled(); String getUserCommentsConditionalQuery(); List<String> getUserCommentsNotificationEmailAddresses(); String getViewerHome(); List<String> getWatermarkIdField(); String getSubthemeMainTheme(); String getSubthemeDiscriminatorField(); int getTagCloudSampleSize(String fieldName); List<StringPair> getTocVolumeSortFieldsForTemplate(String template); String getTocVolumeGroupFieldForTemplate(String template); boolean getDisplayTitleBreadcrumbs(); boolean isDisplayTitlePURL(); int getTitleBreadcrumbsMaxTitleLength(); boolean getIncludeAnchorInTitleBreadcrumbs(); boolean isDisplaySearchRssLinks(); boolean showThumbnailsInToc(); String getStartYearForTimeline(); String getEndYearForTimeline(); String getTimelineHits(); boolean isPiwikTrackingEnabled(); String getPiwikBaseURL(); String getPiwikSiteID(); boolean isSearchSavingEnabled(); boolean isBoostTopLevelDocstructs(); boolean isGroupDuplicateHits(); List<String> getRecordGroupIdentifierFields(); List<String> getAncestorIdentifierFields(); boolean isTocListSiblingRecords(); List<SearchFilter> getSearchFilters(); List<Map<String, String>> getWebApiFields(); String getDbPersistenceUnit(); boolean useCustomNavBar(); String getCmsTemplateFolder(); String getCmsMediaFolder(); String getTempMediaFolder(); List<String> getCmsClassifications(); int getCmsMediaDisplayWidth(); int getCmsMediaDisplayHeight(); boolean isTranskribusEnabled(); String getTranskribusUserName(); String getTranskribusPassword(); String getTranskribusDefaultCollection(); String getTranskribusRestApiUrl(); List<String> getTranskribusAllowedDocumentTypes(); int getTocIndentation(); boolean isPageBrowseEnabled(); List<Integer> getPageBrowseSteps(); String getTaskManagerServiceUrl(); String getTaskManagerRestUrl(); String getReCaptchaSiteKey(); boolean isUseReCaptcha(); boolean isSearchInItemEnabled(); String getDefaultBrowseIcon(String field); boolean isSearchExcelExportEnabled(); List<String> getSearchExcelExportFields(); int getExcelDownloadTimeout(); boolean isDisplayEmptyTocInSidebar(); boolean isDoublePageModeEnabled(); List<String> getRestrictedImageUrls(); List<String> getIIIFLicenses(); List<String> getIIIFMetadataFields(); List<String> getIIIFEventFields(); String getIIIFMetadataLabel(String field); int getIIIFDiscoveryAvtivitiesPerPage(); List<String> getIIIFLogo(); String getIIIFNavDateField(); List<String> getIIIFAttribution(); List<String> getIIIFDescriptionFields(); String getSitelinksField(); String getSitelinksFilterQuery(); List<String> getConfiguredCollections(); String getWebApiToken(); boolean isAllowRedirectCollectionToWork(); String getTwitterUserName(); float getLimitImageHeightUpperRatioThreshold(); float getLimitImageHeightLowerRatioThreshold(); boolean isLimitImageHeight(); boolean isAddCORSHeader(); String getCORSHeaderValue(); boolean isDiscloseImageContentLocation(); String getAccessConditionDisplayField(); String getCopyrightDisplayField(); boolean isDisplayCopyrightInfo(); boolean isDisplaySocialMediaShareLinks(); boolean isDisplayAnchorLabelInTitleBar(String template); String getAnchorLabelInTitleBarPrefix(String template); String getAnchorLabelInTitleBarSuffix(String template); String getMapBoxToken(); GeoMapMarker getGeoMapMarker(String name); List<String> getGeoMapMarkerFields(); List<GeoMapMarker> getGeoMapMarkers(); static GeoMapMarker readGeoMapMarker(HierarchicalConfiguration config); List<LicenseDescription> getLicenseDescriptions(); }
@Test public void isDisplayUserNavigation_shouldReturnCorrectValue() throws Exception { Assert.assertEquals(false, DataManager.getInstance().getConfiguration().isDisplayUserNavigation()); }
public boolean isDisplayUserNavigation() { return this.getLocalBoolean("webGuiDisplay.userAccountNavigation", true); }
Configuration extends AbstractConfiguration { public boolean isDisplayUserNavigation() { return this.getLocalBoolean("webGuiDisplay.userAccountNavigation", true); } }
Configuration extends AbstractConfiguration { public boolean isDisplayUserNavigation() { return this.getLocalBoolean("webGuiDisplay.userAccountNavigation", true); } Configuration(String configFilePath); }
Configuration extends AbstractConfiguration { public boolean isDisplayUserNavigation() { return this.getLocalBoolean("webGuiDisplay.userAccountNavigation", true); } Configuration(String configFilePath); Set<String> getStopwords(); boolean reloadingRequired(); String getConfigLocalPath(); String getLocalRessourceBundleFile(); int getViewerThumbnailsPerPage(); int getViewerMaxImageWidth(); int getViewerMaxImageHeight(); int getViewerMaxImageScale(); boolean isRememberImageZoom(); boolean isRememberImageRotation(); String getDfgViewerUrl(); String getConnectorVersionUrl(); List<Metadata> getTitleBarMetadata(); List<Metadata> getSearchHitMetadataForTemplate(String template); List<Metadata> getMainMetadataForTemplate(String template); List<Metadata> getSidebarMetadataForTemplate(String template); List<String> getNormdataFieldsForTemplate(String template); List<Metadata> getTocLabelConfiguration(String template); int getTocAnchorGroupElementsPerPage(); boolean isDisplaySidebarBrowsingTerms(); boolean isDisplaySidebarRssFeed(); boolean isDisplayWidgetUsage(); Metadata getWidgetUsageLicenceTextMetadata(); boolean isDisplaySidebarUsageWidgetLinkToJpegImage(); boolean isDisplaySidebarUsageWidgetLinkToMasterImage(); String getWidgetUsageMaxJpegSize(); String getWidgetUsageMaxMasterImageSize(); List<String> getCalendarDocStructTypes(); boolean isBrowsingMenuEnabled(); int getBrowsingMenuHitsPerPage(); List<BrowsingMenuFieldConfig> getBrowsingMenuFields(); String getBrowsingMenuSortingIgnoreLeadingChars(); String getDocstrctWhitelistFilterQuery(); String getCollectionSplittingChar(String field); List<DcSortingList> getCollectionSorting(String field); List<String> getCollectionBlacklist(String field); String getCollectionDefaultSortField(String field, String name); int getCollectionDisplayNumberOfVolumesLevel(String field); int getCollectionDisplayDepthForSearch(String field); String getCollectionHierarchyField(); boolean isAddCollectionHierarchyToBreadcrumbs(String field); String getSolrUrl(); String getContentServerWrapperUrl(); String getDownloadUrl(); String getRestApiUrl(); String getIIIFApiUrl(); boolean isUseIIIFApiUrlForCmsMediaUrls(); String getContentServerRealUrl(); String getMetsUrl(); String getMarcUrl(); String getDcUrl(); String getEseUrl(); List<Integer> getSearchHitsPerPageValues(); int getSearchHitsPerPageDefaultValue(); int getFulltextFragmentLength(); boolean isAdvancedSearchEnabled(); int getAdvancedSearchDefaultItemNumber(); List<AdvancedSearchFieldConfiguration> getAdvancedSearchFields(); boolean isAggregateHits(); boolean isDisplayAdditionalMetadataEnabled(); List<String> getDisplayAdditionalMetadataIgnoreFields(); List<String> getDisplayAdditionalMetadataTranslateFields(); boolean isAdvancedSearchFieldHierarchical(String field); boolean isAdvancedSearchFieldRange(String field); boolean isAdvancedSearchFieldUntokenizeForPhraseSearch(String field); String getAdvancedSearchFieldSeparatorLabel(String field); boolean isTimelineSearchEnabled(); boolean isCalendarSearchEnabled(); String getStaticQuerySuffix(); String getPreviousVersionIdentifierField(); String getNextVersionIdentifierField(); String getVersionLabelField(); String getIndexedMetsFolder(); String getIndexedLidoFolder(); String getIndexedDenkxwebFolder(); String getIndexedDublinCoreFolder(); String getPageSelectionFormat(); String getMediaFolder(); String getPdfFolder(); String getVocabulariesFolder(); String getOrigContentFolder(); String getCmsTextFolder(); String getAltoFolder(); String getAbbyyFolder(); String getFulltextFolder(); String getTeiFolder(); String getCmdiFolder(); String getWcFolder(); String getAnnotationFolder(); String getHotfolder(); @SuppressWarnings("static-method") String getTempFolder(); boolean isUrnDoRedirect(); boolean isUserRegistrationEnabled(); List<SecurityQuestion> getSecurityQuestions(); boolean isShowOpenIdConnect(); List<IAuthenticationProvider> getAuthenticationProviders(); String getSmtpServer(); String getSmtpUser(); String getSmtpPassword(); String getSmtpSenderAddress(); String getSmtpSenderName(); String getSmtpSecurity(); String getAnonymousUserEmailAddress(); boolean isDisplayCollectionBrowsing(); boolean isDisplayUserNavigation(); boolean isDisplayTagCloudNavigation(); boolean isDisplayStatistics(); boolean isDisplayTimeMatrix(); boolean isDisplayCrowdsourcingModuleLinks(); String getTheme(); String getThemeRootPath(); String getName(); String getDescription(); boolean isDisplayTagCloudStartpage(); boolean isDisplaySearchResultNavigation(); boolean isFoldout(String sidebarElement); boolean isSidebarPageViewLinkVisible(); boolean isSidebarCalendarViewLinkVisible(); boolean isSidebarTocViewLinkVisible(); boolean isSidebarThumbsViewLinkVisible(); boolean isSidebarMetadataViewLinkVisible(); boolean isShowSidebarEventMetadata(); boolean isShowRecordLabelIfNoOtherViews(); boolean isSidebarFulltextLinkVisible(); boolean isSidebarTocWidgetVisible(); boolean isSidebarTocWidgetVisibleInFullscreen(); boolean isSidebarOpacLinkVisible(); boolean getSidebarTocPageNumbersVisible(); int getSidebarTocLengthBeforeCut(); int getSidebarTocInitialCollapseLevel(); int getSidebarTocCollapseLengthThreshold(); int getSidebarTocLowestLevelToCollapseForLength(); boolean isSidebarTocTreeView(); boolean isTocTreeView(String docStructType); List<String> getAllDrillDownFields(); List<String> getDrillDownFields(); List<String> getHierarchicalDrillDownFields(); int getInitialDrillDownElementNumber(String field); String getSortOrder(String field); List<String> getPriorityValuesForDrillDownField(String field); String getLabelFieldForDrillDownField(String facetField); @SuppressWarnings("static-method") List<String> getRangeFacetFields(); boolean isSortingEnabled(); String getDefaultSortField(); List<String> getSortFields(); List<String> getStaticSortFields(); String getUrnResolverUrl(); int getUnconditionalImageAccessMaxWidth(); boolean isFullAccessForLocalhost(); boolean isGeneratePdfInTaskManager(); boolean isPdfApiDisabled(); boolean isTitlePdfEnabled(); boolean isTocPdfEnabled(); boolean isMetadataPdfEnabled(); boolean isPagePdfEnabled(); boolean isDocHierarchyPdfEnabled(); boolean isTitleEpubEnabled(); boolean isTocEpubEnabled(); boolean isMetadataEpubEnabled(); String getDownloadFolder(String type); int getRssFeedItems(); String getRssTitle(); String getRssDescription(); String getRssCopyrightText(); String getRulesetFilePath(); String getDefaultCollection(); int getThumbnailsWidth(); int getThumbnailsHeight(); int getThumbnailsCompression(); String getAnchorThumbnailMode(); int getMultivolumeThumbnailWidth(); int getMultivolumeThumbnailHeight(); boolean getDisplayBreadcrumbs(); boolean getDisplayMetadataPageLinkBlock(); boolean isAddDublinCoreMetaTags(); boolean isAddHighwirePressMetaTags(); int getMetadataParamNumber(); boolean useTiles(); boolean useTilesFullscreen(); boolean useTiles(PageType view, ImageType image); int getFooterHeight(); int getFullscreenFooterHeight(); int getFooterHeight(PageType view, ImageType image); String getImageViewType(); String getZoomFullscreenViewType(); String getZoomImageViewType(PageType view, ImageType image); boolean useOpenSeadragon(); List<String> getImageViewZoomScales(); List<String> getImageViewZoomScales(String view); List<String> getImageViewZoomScales(PageType view, ImageType image); Map<Integer, List<Integer>> getTileSizes(); Map<Integer, List<Integer>> getTileSizes(PageType view, ImageType image); SubnodeConfiguration getZoomImageViewConfig(PageType pageType, ImageType imageType); int getBreadcrumbsClipping(); boolean isDisplayTopstructLabel(); boolean getDisplayStructType(); int getSearchHitMetadataValueNumber(); int getSearchHitMetadataValueLength(); List<String> getWatermarkTextConfiguration(); String getWatermarkFormat(); boolean isOriginalContentDownload(); String getStopwordsFilePath(); String getPageType(PageType type); String getDocstructTargetPageType(String docstruct); String getPageTypeExitView(PageType type); int getFulltextPercentageWarningThreshold(); boolean isUseViewerLocaleAsRecordLanguage(); String getFeedbackEmailAddress(); boolean isBookmarksEnabled(); boolean isForceJpegConversion(); int getPageLoaderThreshold(); boolean isPreventProxyCaching(); boolean isSolrCompressionEnabled(); boolean isSolrBackwardsCompatible(); boolean isUserCommentsEnabled(); String getUserCommentsConditionalQuery(); List<String> getUserCommentsNotificationEmailAddresses(); String getViewerHome(); List<String> getWatermarkIdField(); String getSubthemeMainTheme(); String getSubthemeDiscriminatorField(); int getTagCloudSampleSize(String fieldName); List<StringPair> getTocVolumeSortFieldsForTemplate(String template); String getTocVolumeGroupFieldForTemplate(String template); boolean getDisplayTitleBreadcrumbs(); boolean isDisplayTitlePURL(); int getTitleBreadcrumbsMaxTitleLength(); boolean getIncludeAnchorInTitleBreadcrumbs(); boolean isDisplaySearchRssLinks(); boolean showThumbnailsInToc(); String getStartYearForTimeline(); String getEndYearForTimeline(); String getTimelineHits(); boolean isPiwikTrackingEnabled(); String getPiwikBaseURL(); String getPiwikSiteID(); boolean isSearchSavingEnabled(); boolean isBoostTopLevelDocstructs(); boolean isGroupDuplicateHits(); List<String> getRecordGroupIdentifierFields(); List<String> getAncestorIdentifierFields(); boolean isTocListSiblingRecords(); List<SearchFilter> getSearchFilters(); List<Map<String, String>> getWebApiFields(); String getDbPersistenceUnit(); boolean useCustomNavBar(); String getCmsTemplateFolder(); String getCmsMediaFolder(); String getTempMediaFolder(); List<String> getCmsClassifications(); int getCmsMediaDisplayWidth(); int getCmsMediaDisplayHeight(); boolean isTranskribusEnabled(); String getTranskribusUserName(); String getTranskribusPassword(); String getTranskribusDefaultCollection(); String getTranskribusRestApiUrl(); List<String> getTranskribusAllowedDocumentTypes(); int getTocIndentation(); boolean isPageBrowseEnabled(); List<Integer> getPageBrowseSteps(); String getTaskManagerServiceUrl(); String getTaskManagerRestUrl(); String getReCaptchaSiteKey(); boolean isUseReCaptcha(); boolean isSearchInItemEnabled(); String getDefaultBrowseIcon(String field); boolean isSearchExcelExportEnabled(); List<String> getSearchExcelExportFields(); int getExcelDownloadTimeout(); boolean isDisplayEmptyTocInSidebar(); boolean isDoublePageModeEnabled(); List<String> getRestrictedImageUrls(); List<String> getIIIFLicenses(); List<String> getIIIFMetadataFields(); List<String> getIIIFEventFields(); String getIIIFMetadataLabel(String field); int getIIIFDiscoveryAvtivitiesPerPage(); List<String> getIIIFLogo(); String getIIIFNavDateField(); List<String> getIIIFAttribution(); List<String> getIIIFDescriptionFields(); String getSitelinksField(); String getSitelinksFilterQuery(); List<String> getConfiguredCollections(); String getWebApiToken(); boolean isAllowRedirectCollectionToWork(); String getTwitterUserName(); float getLimitImageHeightUpperRatioThreshold(); float getLimitImageHeightLowerRatioThreshold(); boolean isLimitImageHeight(); boolean isAddCORSHeader(); String getCORSHeaderValue(); boolean isDiscloseImageContentLocation(); String getAccessConditionDisplayField(); String getCopyrightDisplayField(); boolean isDisplayCopyrightInfo(); boolean isDisplaySocialMediaShareLinks(); boolean isDisplayAnchorLabelInTitleBar(String template); String getAnchorLabelInTitleBarPrefix(String template); String getAnchorLabelInTitleBarSuffix(String template); String getMapBoxToken(); GeoMapMarker getGeoMapMarker(String name); List<String> getGeoMapMarkerFields(); List<GeoMapMarker> getGeoMapMarkers(); static GeoMapMarker readGeoMapMarker(HierarchicalConfiguration config); List<LicenseDescription> getLicenseDescriptions(); }
Configuration extends AbstractConfiguration { public boolean isDisplayUserNavigation() { return this.getLocalBoolean("webGuiDisplay.userAccountNavigation", true); } Configuration(String configFilePath); Set<String> getStopwords(); boolean reloadingRequired(); String getConfigLocalPath(); String getLocalRessourceBundleFile(); int getViewerThumbnailsPerPage(); int getViewerMaxImageWidth(); int getViewerMaxImageHeight(); int getViewerMaxImageScale(); boolean isRememberImageZoom(); boolean isRememberImageRotation(); String getDfgViewerUrl(); String getConnectorVersionUrl(); List<Metadata> getTitleBarMetadata(); List<Metadata> getSearchHitMetadataForTemplate(String template); List<Metadata> getMainMetadataForTemplate(String template); List<Metadata> getSidebarMetadataForTemplate(String template); List<String> getNormdataFieldsForTemplate(String template); List<Metadata> getTocLabelConfiguration(String template); int getTocAnchorGroupElementsPerPage(); boolean isDisplaySidebarBrowsingTerms(); boolean isDisplaySidebarRssFeed(); boolean isDisplayWidgetUsage(); Metadata getWidgetUsageLicenceTextMetadata(); boolean isDisplaySidebarUsageWidgetLinkToJpegImage(); boolean isDisplaySidebarUsageWidgetLinkToMasterImage(); String getWidgetUsageMaxJpegSize(); String getWidgetUsageMaxMasterImageSize(); List<String> getCalendarDocStructTypes(); boolean isBrowsingMenuEnabled(); int getBrowsingMenuHitsPerPage(); List<BrowsingMenuFieldConfig> getBrowsingMenuFields(); String getBrowsingMenuSortingIgnoreLeadingChars(); String getDocstrctWhitelistFilterQuery(); String getCollectionSplittingChar(String field); List<DcSortingList> getCollectionSorting(String field); List<String> getCollectionBlacklist(String field); String getCollectionDefaultSortField(String field, String name); int getCollectionDisplayNumberOfVolumesLevel(String field); int getCollectionDisplayDepthForSearch(String field); String getCollectionHierarchyField(); boolean isAddCollectionHierarchyToBreadcrumbs(String field); String getSolrUrl(); String getContentServerWrapperUrl(); String getDownloadUrl(); String getRestApiUrl(); String getIIIFApiUrl(); boolean isUseIIIFApiUrlForCmsMediaUrls(); String getContentServerRealUrl(); String getMetsUrl(); String getMarcUrl(); String getDcUrl(); String getEseUrl(); List<Integer> getSearchHitsPerPageValues(); int getSearchHitsPerPageDefaultValue(); int getFulltextFragmentLength(); boolean isAdvancedSearchEnabled(); int getAdvancedSearchDefaultItemNumber(); List<AdvancedSearchFieldConfiguration> getAdvancedSearchFields(); boolean isAggregateHits(); boolean isDisplayAdditionalMetadataEnabled(); List<String> getDisplayAdditionalMetadataIgnoreFields(); List<String> getDisplayAdditionalMetadataTranslateFields(); boolean isAdvancedSearchFieldHierarchical(String field); boolean isAdvancedSearchFieldRange(String field); boolean isAdvancedSearchFieldUntokenizeForPhraseSearch(String field); String getAdvancedSearchFieldSeparatorLabel(String field); boolean isTimelineSearchEnabled(); boolean isCalendarSearchEnabled(); String getStaticQuerySuffix(); String getPreviousVersionIdentifierField(); String getNextVersionIdentifierField(); String getVersionLabelField(); String getIndexedMetsFolder(); String getIndexedLidoFolder(); String getIndexedDenkxwebFolder(); String getIndexedDublinCoreFolder(); String getPageSelectionFormat(); String getMediaFolder(); String getPdfFolder(); String getVocabulariesFolder(); String getOrigContentFolder(); String getCmsTextFolder(); String getAltoFolder(); String getAbbyyFolder(); String getFulltextFolder(); String getTeiFolder(); String getCmdiFolder(); String getWcFolder(); String getAnnotationFolder(); String getHotfolder(); @SuppressWarnings("static-method") String getTempFolder(); boolean isUrnDoRedirect(); boolean isUserRegistrationEnabled(); List<SecurityQuestion> getSecurityQuestions(); boolean isShowOpenIdConnect(); List<IAuthenticationProvider> getAuthenticationProviders(); String getSmtpServer(); String getSmtpUser(); String getSmtpPassword(); String getSmtpSenderAddress(); String getSmtpSenderName(); String getSmtpSecurity(); String getAnonymousUserEmailAddress(); boolean isDisplayCollectionBrowsing(); boolean isDisplayUserNavigation(); boolean isDisplayTagCloudNavigation(); boolean isDisplayStatistics(); boolean isDisplayTimeMatrix(); boolean isDisplayCrowdsourcingModuleLinks(); String getTheme(); String getThemeRootPath(); String getName(); String getDescription(); boolean isDisplayTagCloudStartpage(); boolean isDisplaySearchResultNavigation(); boolean isFoldout(String sidebarElement); boolean isSidebarPageViewLinkVisible(); boolean isSidebarCalendarViewLinkVisible(); boolean isSidebarTocViewLinkVisible(); boolean isSidebarThumbsViewLinkVisible(); boolean isSidebarMetadataViewLinkVisible(); boolean isShowSidebarEventMetadata(); boolean isShowRecordLabelIfNoOtherViews(); boolean isSidebarFulltextLinkVisible(); boolean isSidebarTocWidgetVisible(); boolean isSidebarTocWidgetVisibleInFullscreen(); boolean isSidebarOpacLinkVisible(); boolean getSidebarTocPageNumbersVisible(); int getSidebarTocLengthBeforeCut(); int getSidebarTocInitialCollapseLevel(); int getSidebarTocCollapseLengthThreshold(); int getSidebarTocLowestLevelToCollapseForLength(); boolean isSidebarTocTreeView(); boolean isTocTreeView(String docStructType); List<String> getAllDrillDownFields(); List<String> getDrillDownFields(); List<String> getHierarchicalDrillDownFields(); int getInitialDrillDownElementNumber(String field); String getSortOrder(String field); List<String> getPriorityValuesForDrillDownField(String field); String getLabelFieldForDrillDownField(String facetField); @SuppressWarnings("static-method") List<String> getRangeFacetFields(); boolean isSortingEnabled(); String getDefaultSortField(); List<String> getSortFields(); List<String> getStaticSortFields(); String getUrnResolverUrl(); int getUnconditionalImageAccessMaxWidth(); boolean isFullAccessForLocalhost(); boolean isGeneratePdfInTaskManager(); boolean isPdfApiDisabled(); boolean isTitlePdfEnabled(); boolean isTocPdfEnabled(); boolean isMetadataPdfEnabled(); boolean isPagePdfEnabled(); boolean isDocHierarchyPdfEnabled(); boolean isTitleEpubEnabled(); boolean isTocEpubEnabled(); boolean isMetadataEpubEnabled(); String getDownloadFolder(String type); int getRssFeedItems(); String getRssTitle(); String getRssDescription(); String getRssCopyrightText(); String getRulesetFilePath(); String getDefaultCollection(); int getThumbnailsWidth(); int getThumbnailsHeight(); int getThumbnailsCompression(); String getAnchorThumbnailMode(); int getMultivolumeThumbnailWidth(); int getMultivolumeThumbnailHeight(); boolean getDisplayBreadcrumbs(); boolean getDisplayMetadataPageLinkBlock(); boolean isAddDublinCoreMetaTags(); boolean isAddHighwirePressMetaTags(); int getMetadataParamNumber(); boolean useTiles(); boolean useTilesFullscreen(); boolean useTiles(PageType view, ImageType image); int getFooterHeight(); int getFullscreenFooterHeight(); int getFooterHeight(PageType view, ImageType image); String getImageViewType(); String getZoomFullscreenViewType(); String getZoomImageViewType(PageType view, ImageType image); boolean useOpenSeadragon(); List<String> getImageViewZoomScales(); List<String> getImageViewZoomScales(String view); List<String> getImageViewZoomScales(PageType view, ImageType image); Map<Integer, List<Integer>> getTileSizes(); Map<Integer, List<Integer>> getTileSizes(PageType view, ImageType image); SubnodeConfiguration getZoomImageViewConfig(PageType pageType, ImageType imageType); int getBreadcrumbsClipping(); boolean isDisplayTopstructLabel(); boolean getDisplayStructType(); int getSearchHitMetadataValueNumber(); int getSearchHitMetadataValueLength(); List<String> getWatermarkTextConfiguration(); String getWatermarkFormat(); boolean isOriginalContentDownload(); String getStopwordsFilePath(); String getPageType(PageType type); String getDocstructTargetPageType(String docstruct); String getPageTypeExitView(PageType type); int getFulltextPercentageWarningThreshold(); boolean isUseViewerLocaleAsRecordLanguage(); String getFeedbackEmailAddress(); boolean isBookmarksEnabled(); boolean isForceJpegConversion(); int getPageLoaderThreshold(); boolean isPreventProxyCaching(); boolean isSolrCompressionEnabled(); boolean isSolrBackwardsCompatible(); boolean isUserCommentsEnabled(); String getUserCommentsConditionalQuery(); List<String> getUserCommentsNotificationEmailAddresses(); String getViewerHome(); List<String> getWatermarkIdField(); String getSubthemeMainTheme(); String getSubthemeDiscriminatorField(); int getTagCloudSampleSize(String fieldName); List<StringPair> getTocVolumeSortFieldsForTemplate(String template); String getTocVolumeGroupFieldForTemplate(String template); boolean getDisplayTitleBreadcrumbs(); boolean isDisplayTitlePURL(); int getTitleBreadcrumbsMaxTitleLength(); boolean getIncludeAnchorInTitleBreadcrumbs(); boolean isDisplaySearchRssLinks(); boolean showThumbnailsInToc(); String getStartYearForTimeline(); String getEndYearForTimeline(); String getTimelineHits(); boolean isPiwikTrackingEnabled(); String getPiwikBaseURL(); String getPiwikSiteID(); boolean isSearchSavingEnabled(); boolean isBoostTopLevelDocstructs(); boolean isGroupDuplicateHits(); List<String> getRecordGroupIdentifierFields(); List<String> getAncestorIdentifierFields(); boolean isTocListSiblingRecords(); List<SearchFilter> getSearchFilters(); List<Map<String, String>> getWebApiFields(); String getDbPersistenceUnit(); boolean useCustomNavBar(); String getCmsTemplateFolder(); String getCmsMediaFolder(); String getTempMediaFolder(); List<String> getCmsClassifications(); int getCmsMediaDisplayWidth(); int getCmsMediaDisplayHeight(); boolean isTranskribusEnabled(); String getTranskribusUserName(); String getTranskribusPassword(); String getTranskribusDefaultCollection(); String getTranskribusRestApiUrl(); List<String> getTranskribusAllowedDocumentTypes(); int getTocIndentation(); boolean isPageBrowseEnabled(); List<Integer> getPageBrowseSteps(); String getTaskManagerServiceUrl(); String getTaskManagerRestUrl(); String getReCaptchaSiteKey(); boolean isUseReCaptcha(); boolean isSearchInItemEnabled(); String getDefaultBrowseIcon(String field); boolean isSearchExcelExportEnabled(); List<String> getSearchExcelExportFields(); int getExcelDownloadTimeout(); boolean isDisplayEmptyTocInSidebar(); boolean isDoublePageModeEnabled(); List<String> getRestrictedImageUrls(); List<String> getIIIFLicenses(); List<String> getIIIFMetadataFields(); List<String> getIIIFEventFields(); String getIIIFMetadataLabel(String field); int getIIIFDiscoveryAvtivitiesPerPage(); List<String> getIIIFLogo(); String getIIIFNavDateField(); List<String> getIIIFAttribution(); List<String> getIIIFDescriptionFields(); String getSitelinksField(); String getSitelinksFilterQuery(); List<String> getConfiguredCollections(); String getWebApiToken(); boolean isAllowRedirectCollectionToWork(); String getTwitterUserName(); float getLimitImageHeightUpperRatioThreshold(); float getLimitImageHeightLowerRatioThreshold(); boolean isLimitImageHeight(); boolean isAddCORSHeader(); String getCORSHeaderValue(); boolean isDiscloseImageContentLocation(); String getAccessConditionDisplayField(); String getCopyrightDisplayField(); boolean isDisplayCopyrightInfo(); boolean isDisplaySocialMediaShareLinks(); boolean isDisplayAnchorLabelInTitleBar(String template); String getAnchorLabelInTitleBarPrefix(String template); String getAnchorLabelInTitleBarSuffix(String template); String getMapBoxToken(); GeoMapMarker getGeoMapMarker(String name); List<String> getGeoMapMarkerFields(); List<GeoMapMarker> getGeoMapMarkers(); static GeoMapMarker readGeoMapMarker(HierarchicalConfiguration config); List<LicenseDescription> getLicenseDescriptions(); }
@Test public void isAddDublinCoreMetaTags_shouldReturnCorrectValue() throws Exception { Assert.assertEquals(true, DataManager.getInstance().getConfiguration().isAddDublinCoreMetaTags()); }
public boolean isAddDublinCoreMetaTags() { return getLocalBoolean("metadata.addDublinCoreMetaTags", false); }
Configuration extends AbstractConfiguration { public boolean isAddDublinCoreMetaTags() { return getLocalBoolean("metadata.addDublinCoreMetaTags", false); } }
Configuration extends AbstractConfiguration { public boolean isAddDublinCoreMetaTags() { return getLocalBoolean("metadata.addDublinCoreMetaTags", false); } Configuration(String configFilePath); }
Configuration extends AbstractConfiguration { public boolean isAddDublinCoreMetaTags() { return getLocalBoolean("metadata.addDublinCoreMetaTags", false); } Configuration(String configFilePath); Set<String> getStopwords(); boolean reloadingRequired(); String getConfigLocalPath(); String getLocalRessourceBundleFile(); int getViewerThumbnailsPerPage(); int getViewerMaxImageWidth(); int getViewerMaxImageHeight(); int getViewerMaxImageScale(); boolean isRememberImageZoom(); boolean isRememberImageRotation(); String getDfgViewerUrl(); String getConnectorVersionUrl(); List<Metadata> getTitleBarMetadata(); List<Metadata> getSearchHitMetadataForTemplate(String template); List<Metadata> getMainMetadataForTemplate(String template); List<Metadata> getSidebarMetadataForTemplate(String template); List<String> getNormdataFieldsForTemplate(String template); List<Metadata> getTocLabelConfiguration(String template); int getTocAnchorGroupElementsPerPage(); boolean isDisplaySidebarBrowsingTerms(); boolean isDisplaySidebarRssFeed(); boolean isDisplayWidgetUsage(); Metadata getWidgetUsageLicenceTextMetadata(); boolean isDisplaySidebarUsageWidgetLinkToJpegImage(); boolean isDisplaySidebarUsageWidgetLinkToMasterImage(); String getWidgetUsageMaxJpegSize(); String getWidgetUsageMaxMasterImageSize(); List<String> getCalendarDocStructTypes(); boolean isBrowsingMenuEnabled(); int getBrowsingMenuHitsPerPage(); List<BrowsingMenuFieldConfig> getBrowsingMenuFields(); String getBrowsingMenuSortingIgnoreLeadingChars(); String getDocstrctWhitelistFilterQuery(); String getCollectionSplittingChar(String field); List<DcSortingList> getCollectionSorting(String field); List<String> getCollectionBlacklist(String field); String getCollectionDefaultSortField(String field, String name); int getCollectionDisplayNumberOfVolumesLevel(String field); int getCollectionDisplayDepthForSearch(String field); String getCollectionHierarchyField(); boolean isAddCollectionHierarchyToBreadcrumbs(String field); String getSolrUrl(); String getContentServerWrapperUrl(); String getDownloadUrl(); String getRestApiUrl(); String getIIIFApiUrl(); boolean isUseIIIFApiUrlForCmsMediaUrls(); String getContentServerRealUrl(); String getMetsUrl(); String getMarcUrl(); String getDcUrl(); String getEseUrl(); List<Integer> getSearchHitsPerPageValues(); int getSearchHitsPerPageDefaultValue(); int getFulltextFragmentLength(); boolean isAdvancedSearchEnabled(); int getAdvancedSearchDefaultItemNumber(); List<AdvancedSearchFieldConfiguration> getAdvancedSearchFields(); boolean isAggregateHits(); boolean isDisplayAdditionalMetadataEnabled(); List<String> getDisplayAdditionalMetadataIgnoreFields(); List<String> getDisplayAdditionalMetadataTranslateFields(); boolean isAdvancedSearchFieldHierarchical(String field); boolean isAdvancedSearchFieldRange(String field); boolean isAdvancedSearchFieldUntokenizeForPhraseSearch(String field); String getAdvancedSearchFieldSeparatorLabel(String field); boolean isTimelineSearchEnabled(); boolean isCalendarSearchEnabled(); String getStaticQuerySuffix(); String getPreviousVersionIdentifierField(); String getNextVersionIdentifierField(); String getVersionLabelField(); String getIndexedMetsFolder(); String getIndexedLidoFolder(); String getIndexedDenkxwebFolder(); String getIndexedDublinCoreFolder(); String getPageSelectionFormat(); String getMediaFolder(); String getPdfFolder(); String getVocabulariesFolder(); String getOrigContentFolder(); String getCmsTextFolder(); String getAltoFolder(); String getAbbyyFolder(); String getFulltextFolder(); String getTeiFolder(); String getCmdiFolder(); String getWcFolder(); String getAnnotationFolder(); String getHotfolder(); @SuppressWarnings("static-method") String getTempFolder(); boolean isUrnDoRedirect(); boolean isUserRegistrationEnabled(); List<SecurityQuestion> getSecurityQuestions(); boolean isShowOpenIdConnect(); List<IAuthenticationProvider> getAuthenticationProviders(); String getSmtpServer(); String getSmtpUser(); String getSmtpPassword(); String getSmtpSenderAddress(); String getSmtpSenderName(); String getSmtpSecurity(); String getAnonymousUserEmailAddress(); boolean isDisplayCollectionBrowsing(); boolean isDisplayUserNavigation(); boolean isDisplayTagCloudNavigation(); boolean isDisplayStatistics(); boolean isDisplayTimeMatrix(); boolean isDisplayCrowdsourcingModuleLinks(); String getTheme(); String getThemeRootPath(); String getName(); String getDescription(); boolean isDisplayTagCloudStartpage(); boolean isDisplaySearchResultNavigation(); boolean isFoldout(String sidebarElement); boolean isSidebarPageViewLinkVisible(); boolean isSidebarCalendarViewLinkVisible(); boolean isSidebarTocViewLinkVisible(); boolean isSidebarThumbsViewLinkVisible(); boolean isSidebarMetadataViewLinkVisible(); boolean isShowSidebarEventMetadata(); boolean isShowRecordLabelIfNoOtherViews(); boolean isSidebarFulltextLinkVisible(); boolean isSidebarTocWidgetVisible(); boolean isSidebarTocWidgetVisibleInFullscreen(); boolean isSidebarOpacLinkVisible(); boolean getSidebarTocPageNumbersVisible(); int getSidebarTocLengthBeforeCut(); int getSidebarTocInitialCollapseLevel(); int getSidebarTocCollapseLengthThreshold(); int getSidebarTocLowestLevelToCollapseForLength(); boolean isSidebarTocTreeView(); boolean isTocTreeView(String docStructType); List<String> getAllDrillDownFields(); List<String> getDrillDownFields(); List<String> getHierarchicalDrillDownFields(); int getInitialDrillDownElementNumber(String field); String getSortOrder(String field); List<String> getPriorityValuesForDrillDownField(String field); String getLabelFieldForDrillDownField(String facetField); @SuppressWarnings("static-method") List<String> getRangeFacetFields(); boolean isSortingEnabled(); String getDefaultSortField(); List<String> getSortFields(); List<String> getStaticSortFields(); String getUrnResolverUrl(); int getUnconditionalImageAccessMaxWidth(); boolean isFullAccessForLocalhost(); boolean isGeneratePdfInTaskManager(); boolean isPdfApiDisabled(); boolean isTitlePdfEnabled(); boolean isTocPdfEnabled(); boolean isMetadataPdfEnabled(); boolean isPagePdfEnabled(); boolean isDocHierarchyPdfEnabled(); boolean isTitleEpubEnabled(); boolean isTocEpubEnabled(); boolean isMetadataEpubEnabled(); String getDownloadFolder(String type); int getRssFeedItems(); String getRssTitle(); String getRssDescription(); String getRssCopyrightText(); String getRulesetFilePath(); String getDefaultCollection(); int getThumbnailsWidth(); int getThumbnailsHeight(); int getThumbnailsCompression(); String getAnchorThumbnailMode(); int getMultivolumeThumbnailWidth(); int getMultivolumeThumbnailHeight(); boolean getDisplayBreadcrumbs(); boolean getDisplayMetadataPageLinkBlock(); boolean isAddDublinCoreMetaTags(); boolean isAddHighwirePressMetaTags(); int getMetadataParamNumber(); boolean useTiles(); boolean useTilesFullscreen(); boolean useTiles(PageType view, ImageType image); int getFooterHeight(); int getFullscreenFooterHeight(); int getFooterHeight(PageType view, ImageType image); String getImageViewType(); String getZoomFullscreenViewType(); String getZoomImageViewType(PageType view, ImageType image); boolean useOpenSeadragon(); List<String> getImageViewZoomScales(); List<String> getImageViewZoomScales(String view); List<String> getImageViewZoomScales(PageType view, ImageType image); Map<Integer, List<Integer>> getTileSizes(); Map<Integer, List<Integer>> getTileSizes(PageType view, ImageType image); SubnodeConfiguration getZoomImageViewConfig(PageType pageType, ImageType imageType); int getBreadcrumbsClipping(); boolean isDisplayTopstructLabel(); boolean getDisplayStructType(); int getSearchHitMetadataValueNumber(); int getSearchHitMetadataValueLength(); List<String> getWatermarkTextConfiguration(); String getWatermarkFormat(); boolean isOriginalContentDownload(); String getStopwordsFilePath(); String getPageType(PageType type); String getDocstructTargetPageType(String docstruct); String getPageTypeExitView(PageType type); int getFulltextPercentageWarningThreshold(); boolean isUseViewerLocaleAsRecordLanguage(); String getFeedbackEmailAddress(); boolean isBookmarksEnabled(); boolean isForceJpegConversion(); int getPageLoaderThreshold(); boolean isPreventProxyCaching(); boolean isSolrCompressionEnabled(); boolean isSolrBackwardsCompatible(); boolean isUserCommentsEnabled(); String getUserCommentsConditionalQuery(); List<String> getUserCommentsNotificationEmailAddresses(); String getViewerHome(); List<String> getWatermarkIdField(); String getSubthemeMainTheme(); String getSubthemeDiscriminatorField(); int getTagCloudSampleSize(String fieldName); List<StringPair> getTocVolumeSortFieldsForTemplate(String template); String getTocVolumeGroupFieldForTemplate(String template); boolean getDisplayTitleBreadcrumbs(); boolean isDisplayTitlePURL(); int getTitleBreadcrumbsMaxTitleLength(); boolean getIncludeAnchorInTitleBreadcrumbs(); boolean isDisplaySearchRssLinks(); boolean showThumbnailsInToc(); String getStartYearForTimeline(); String getEndYearForTimeline(); String getTimelineHits(); boolean isPiwikTrackingEnabled(); String getPiwikBaseURL(); String getPiwikSiteID(); boolean isSearchSavingEnabled(); boolean isBoostTopLevelDocstructs(); boolean isGroupDuplicateHits(); List<String> getRecordGroupIdentifierFields(); List<String> getAncestorIdentifierFields(); boolean isTocListSiblingRecords(); List<SearchFilter> getSearchFilters(); List<Map<String, String>> getWebApiFields(); String getDbPersistenceUnit(); boolean useCustomNavBar(); String getCmsTemplateFolder(); String getCmsMediaFolder(); String getTempMediaFolder(); List<String> getCmsClassifications(); int getCmsMediaDisplayWidth(); int getCmsMediaDisplayHeight(); boolean isTranskribusEnabled(); String getTranskribusUserName(); String getTranskribusPassword(); String getTranskribusDefaultCollection(); String getTranskribusRestApiUrl(); List<String> getTranskribusAllowedDocumentTypes(); int getTocIndentation(); boolean isPageBrowseEnabled(); List<Integer> getPageBrowseSteps(); String getTaskManagerServiceUrl(); String getTaskManagerRestUrl(); String getReCaptchaSiteKey(); boolean isUseReCaptcha(); boolean isSearchInItemEnabled(); String getDefaultBrowseIcon(String field); boolean isSearchExcelExportEnabled(); List<String> getSearchExcelExportFields(); int getExcelDownloadTimeout(); boolean isDisplayEmptyTocInSidebar(); boolean isDoublePageModeEnabled(); List<String> getRestrictedImageUrls(); List<String> getIIIFLicenses(); List<String> getIIIFMetadataFields(); List<String> getIIIFEventFields(); String getIIIFMetadataLabel(String field); int getIIIFDiscoveryAvtivitiesPerPage(); List<String> getIIIFLogo(); String getIIIFNavDateField(); List<String> getIIIFAttribution(); List<String> getIIIFDescriptionFields(); String getSitelinksField(); String getSitelinksFilterQuery(); List<String> getConfiguredCollections(); String getWebApiToken(); boolean isAllowRedirectCollectionToWork(); String getTwitterUserName(); float getLimitImageHeightUpperRatioThreshold(); float getLimitImageHeightLowerRatioThreshold(); boolean isLimitImageHeight(); boolean isAddCORSHeader(); String getCORSHeaderValue(); boolean isDiscloseImageContentLocation(); String getAccessConditionDisplayField(); String getCopyrightDisplayField(); boolean isDisplayCopyrightInfo(); boolean isDisplaySocialMediaShareLinks(); boolean isDisplayAnchorLabelInTitleBar(String template); String getAnchorLabelInTitleBarPrefix(String template); String getAnchorLabelInTitleBarSuffix(String template); String getMapBoxToken(); GeoMapMarker getGeoMapMarker(String name); List<String> getGeoMapMarkerFields(); List<GeoMapMarker> getGeoMapMarkers(); static GeoMapMarker readGeoMapMarker(HierarchicalConfiguration config); List<LicenseDescription> getLicenseDescriptions(); }
Configuration extends AbstractConfiguration { public boolean isAddDublinCoreMetaTags() { return getLocalBoolean("metadata.addDublinCoreMetaTags", false); } Configuration(String configFilePath); Set<String> getStopwords(); boolean reloadingRequired(); String getConfigLocalPath(); String getLocalRessourceBundleFile(); int getViewerThumbnailsPerPage(); int getViewerMaxImageWidth(); int getViewerMaxImageHeight(); int getViewerMaxImageScale(); boolean isRememberImageZoom(); boolean isRememberImageRotation(); String getDfgViewerUrl(); String getConnectorVersionUrl(); List<Metadata> getTitleBarMetadata(); List<Metadata> getSearchHitMetadataForTemplate(String template); List<Metadata> getMainMetadataForTemplate(String template); List<Metadata> getSidebarMetadataForTemplate(String template); List<String> getNormdataFieldsForTemplate(String template); List<Metadata> getTocLabelConfiguration(String template); int getTocAnchorGroupElementsPerPage(); boolean isDisplaySidebarBrowsingTerms(); boolean isDisplaySidebarRssFeed(); boolean isDisplayWidgetUsage(); Metadata getWidgetUsageLicenceTextMetadata(); boolean isDisplaySidebarUsageWidgetLinkToJpegImage(); boolean isDisplaySidebarUsageWidgetLinkToMasterImage(); String getWidgetUsageMaxJpegSize(); String getWidgetUsageMaxMasterImageSize(); List<String> getCalendarDocStructTypes(); boolean isBrowsingMenuEnabled(); int getBrowsingMenuHitsPerPage(); List<BrowsingMenuFieldConfig> getBrowsingMenuFields(); String getBrowsingMenuSortingIgnoreLeadingChars(); String getDocstrctWhitelistFilterQuery(); String getCollectionSplittingChar(String field); List<DcSortingList> getCollectionSorting(String field); List<String> getCollectionBlacklist(String field); String getCollectionDefaultSortField(String field, String name); int getCollectionDisplayNumberOfVolumesLevel(String field); int getCollectionDisplayDepthForSearch(String field); String getCollectionHierarchyField(); boolean isAddCollectionHierarchyToBreadcrumbs(String field); String getSolrUrl(); String getContentServerWrapperUrl(); String getDownloadUrl(); String getRestApiUrl(); String getIIIFApiUrl(); boolean isUseIIIFApiUrlForCmsMediaUrls(); String getContentServerRealUrl(); String getMetsUrl(); String getMarcUrl(); String getDcUrl(); String getEseUrl(); List<Integer> getSearchHitsPerPageValues(); int getSearchHitsPerPageDefaultValue(); int getFulltextFragmentLength(); boolean isAdvancedSearchEnabled(); int getAdvancedSearchDefaultItemNumber(); List<AdvancedSearchFieldConfiguration> getAdvancedSearchFields(); boolean isAggregateHits(); boolean isDisplayAdditionalMetadataEnabled(); List<String> getDisplayAdditionalMetadataIgnoreFields(); List<String> getDisplayAdditionalMetadataTranslateFields(); boolean isAdvancedSearchFieldHierarchical(String field); boolean isAdvancedSearchFieldRange(String field); boolean isAdvancedSearchFieldUntokenizeForPhraseSearch(String field); String getAdvancedSearchFieldSeparatorLabel(String field); boolean isTimelineSearchEnabled(); boolean isCalendarSearchEnabled(); String getStaticQuerySuffix(); String getPreviousVersionIdentifierField(); String getNextVersionIdentifierField(); String getVersionLabelField(); String getIndexedMetsFolder(); String getIndexedLidoFolder(); String getIndexedDenkxwebFolder(); String getIndexedDublinCoreFolder(); String getPageSelectionFormat(); String getMediaFolder(); String getPdfFolder(); String getVocabulariesFolder(); String getOrigContentFolder(); String getCmsTextFolder(); String getAltoFolder(); String getAbbyyFolder(); String getFulltextFolder(); String getTeiFolder(); String getCmdiFolder(); String getWcFolder(); String getAnnotationFolder(); String getHotfolder(); @SuppressWarnings("static-method") String getTempFolder(); boolean isUrnDoRedirect(); boolean isUserRegistrationEnabled(); List<SecurityQuestion> getSecurityQuestions(); boolean isShowOpenIdConnect(); List<IAuthenticationProvider> getAuthenticationProviders(); String getSmtpServer(); String getSmtpUser(); String getSmtpPassword(); String getSmtpSenderAddress(); String getSmtpSenderName(); String getSmtpSecurity(); String getAnonymousUserEmailAddress(); boolean isDisplayCollectionBrowsing(); boolean isDisplayUserNavigation(); boolean isDisplayTagCloudNavigation(); boolean isDisplayStatistics(); boolean isDisplayTimeMatrix(); boolean isDisplayCrowdsourcingModuleLinks(); String getTheme(); String getThemeRootPath(); String getName(); String getDescription(); boolean isDisplayTagCloudStartpage(); boolean isDisplaySearchResultNavigation(); boolean isFoldout(String sidebarElement); boolean isSidebarPageViewLinkVisible(); boolean isSidebarCalendarViewLinkVisible(); boolean isSidebarTocViewLinkVisible(); boolean isSidebarThumbsViewLinkVisible(); boolean isSidebarMetadataViewLinkVisible(); boolean isShowSidebarEventMetadata(); boolean isShowRecordLabelIfNoOtherViews(); boolean isSidebarFulltextLinkVisible(); boolean isSidebarTocWidgetVisible(); boolean isSidebarTocWidgetVisibleInFullscreen(); boolean isSidebarOpacLinkVisible(); boolean getSidebarTocPageNumbersVisible(); int getSidebarTocLengthBeforeCut(); int getSidebarTocInitialCollapseLevel(); int getSidebarTocCollapseLengthThreshold(); int getSidebarTocLowestLevelToCollapseForLength(); boolean isSidebarTocTreeView(); boolean isTocTreeView(String docStructType); List<String> getAllDrillDownFields(); List<String> getDrillDownFields(); List<String> getHierarchicalDrillDownFields(); int getInitialDrillDownElementNumber(String field); String getSortOrder(String field); List<String> getPriorityValuesForDrillDownField(String field); String getLabelFieldForDrillDownField(String facetField); @SuppressWarnings("static-method") List<String> getRangeFacetFields(); boolean isSortingEnabled(); String getDefaultSortField(); List<String> getSortFields(); List<String> getStaticSortFields(); String getUrnResolverUrl(); int getUnconditionalImageAccessMaxWidth(); boolean isFullAccessForLocalhost(); boolean isGeneratePdfInTaskManager(); boolean isPdfApiDisabled(); boolean isTitlePdfEnabled(); boolean isTocPdfEnabled(); boolean isMetadataPdfEnabled(); boolean isPagePdfEnabled(); boolean isDocHierarchyPdfEnabled(); boolean isTitleEpubEnabled(); boolean isTocEpubEnabled(); boolean isMetadataEpubEnabled(); String getDownloadFolder(String type); int getRssFeedItems(); String getRssTitle(); String getRssDescription(); String getRssCopyrightText(); String getRulesetFilePath(); String getDefaultCollection(); int getThumbnailsWidth(); int getThumbnailsHeight(); int getThumbnailsCompression(); String getAnchorThumbnailMode(); int getMultivolumeThumbnailWidth(); int getMultivolumeThumbnailHeight(); boolean getDisplayBreadcrumbs(); boolean getDisplayMetadataPageLinkBlock(); boolean isAddDublinCoreMetaTags(); boolean isAddHighwirePressMetaTags(); int getMetadataParamNumber(); boolean useTiles(); boolean useTilesFullscreen(); boolean useTiles(PageType view, ImageType image); int getFooterHeight(); int getFullscreenFooterHeight(); int getFooterHeight(PageType view, ImageType image); String getImageViewType(); String getZoomFullscreenViewType(); String getZoomImageViewType(PageType view, ImageType image); boolean useOpenSeadragon(); List<String> getImageViewZoomScales(); List<String> getImageViewZoomScales(String view); List<String> getImageViewZoomScales(PageType view, ImageType image); Map<Integer, List<Integer>> getTileSizes(); Map<Integer, List<Integer>> getTileSizes(PageType view, ImageType image); SubnodeConfiguration getZoomImageViewConfig(PageType pageType, ImageType imageType); int getBreadcrumbsClipping(); boolean isDisplayTopstructLabel(); boolean getDisplayStructType(); int getSearchHitMetadataValueNumber(); int getSearchHitMetadataValueLength(); List<String> getWatermarkTextConfiguration(); String getWatermarkFormat(); boolean isOriginalContentDownload(); String getStopwordsFilePath(); String getPageType(PageType type); String getDocstructTargetPageType(String docstruct); String getPageTypeExitView(PageType type); int getFulltextPercentageWarningThreshold(); boolean isUseViewerLocaleAsRecordLanguage(); String getFeedbackEmailAddress(); boolean isBookmarksEnabled(); boolean isForceJpegConversion(); int getPageLoaderThreshold(); boolean isPreventProxyCaching(); boolean isSolrCompressionEnabled(); boolean isSolrBackwardsCompatible(); boolean isUserCommentsEnabled(); String getUserCommentsConditionalQuery(); List<String> getUserCommentsNotificationEmailAddresses(); String getViewerHome(); List<String> getWatermarkIdField(); String getSubthemeMainTheme(); String getSubthemeDiscriminatorField(); int getTagCloudSampleSize(String fieldName); List<StringPair> getTocVolumeSortFieldsForTemplate(String template); String getTocVolumeGroupFieldForTemplate(String template); boolean getDisplayTitleBreadcrumbs(); boolean isDisplayTitlePURL(); int getTitleBreadcrumbsMaxTitleLength(); boolean getIncludeAnchorInTitleBreadcrumbs(); boolean isDisplaySearchRssLinks(); boolean showThumbnailsInToc(); String getStartYearForTimeline(); String getEndYearForTimeline(); String getTimelineHits(); boolean isPiwikTrackingEnabled(); String getPiwikBaseURL(); String getPiwikSiteID(); boolean isSearchSavingEnabled(); boolean isBoostTopLevelDocstructs(); boolean isGroupDuplicateHits(); List<String> getRecordGroupIdentifierFields(); List<String> getAncestorIdentifierFields(); boolean isTocListSiblingRecords(); List<SearchFilter> getSearchFilters(); List<Map<String, String>> getWebApiFields(); String getDbPersistenceUnit(); boolean useCustomNavBar(); String getCmsTemplateFolder(); String getCmsMediaFolder(); String getTempMediaFolder(); List<String> getCmsClassifications(); int getCmsMediaDisplayWidth(); int getCmsMediaDisplayHeight(); boolean isTranskribusEnabled(); String getTranskribusUserName(); String getTranskribusPassword(); String getTranskribusDefaultCollection(); String getTranskribusRestApiUrl(); List<String> getTranskribusAllowedDocumentTypes(); int getTocIndentation(); boolean isPageBrowseEnabled(); List<Integer> getPageBrowseSteps(); String getTaskManagerServiceUrl(); String getTaskManagerRestUrl(); String getReCaptchaSiteKey(); boolean isUseReCaptcha(); boolean isSearchInItemEnabled(); String getDefaultBrowseIcon(String field); boolean isSearchExcelExportEnabled(); List<String> getSearchExcelExportFields(); int getExcelDownloadTimeout(); boolean isDisplayEmptyTocInSidebar(); boolean isDoublePageModeEnabled(); List<String> getRestrictedImageUrls(); List<String> getIIIFLicenses(); List<String> getIIIFMetadataFields(); List<String> getIIIFEventFields(); String getIIIFMetadataLabel(String field); int getIIIFDiscoveryAvtivitiesPerPage(); List<String> getIIIFLogo(); String getIIIFNavDateField(); List<String> getIIIFAttribution(); List<String> getIIIFDescriptionFields(); String getSitelinksField(); String getSitelinksFilterQuery(); List<String> getConfiguredCollections(); String getWebApiToken(); boolean isAllowRedirectCollectionToWork(); String getTwitterUserName(); float getLimitImageHeightUpperRatioThreshold(); float getLimitImageHeightLowerRatioThreshold(); boolean isLimitImageHeight(); boolean isAddCORSHeader(); String getCORSHeaderValue(); boolean isDiscloseImageContentLocation(); String getAccessConditionDisplayField(); String getCopyrightDisplayField(); boolean isDisplayCopyrightInfo(); boolean isDisplaySocialMediaShareLinks(); boolean isDisplayAnchorLabelInTitleBar(String template); String getAnchorLabelInTitleBarPrefix(String template); String getAnchorLabelInTitleBarSuffix(String template); String getMapBoxToken(); GeoMapMarker getGeoMapMarker(String name); List<String> getGeoMapMarkerFields(); List<GeoMapMarker> getGeoMapMarkers(); static GeoMapMarker readGeoMapMarker(HierarchicalConfiguration config); List<LicenseDescription> getLicenseDescriptions(); }
@Test public void isAddHighwirePressMetaTags_shouldReturnCorrectValue() throws Exception { Assert.assertEquals(true, DataManager.getInstance().getConfiguration().isAddHighwirePressMetaTags()); }
public boolean isAddHighwirePressMetaTags() { return getLocalBoolean("metadata.addHighwirePressMetaTags", false); }
Configuration extends AbstractConfiguration { public boolean isAddHighwirePressMetaTags() { return getLocalBoolean("metadata.addHighwirePressMetaTags", false); } }
Configuration extends AbstractConfiguration { public boolean isAddHighwirePressMetaTags() { return getLocalBoolean("metadata.addHighwirePressMetaTags", false); } Configuration(String configFilePath); }
Configuration extends AbstractConfiguration { public boolean isAddHighwirePressMetaTags() { return getLocalBoolean("metadata.addHighwirePressMetaTags", false); } Configuration(String configFilePath); Set<String> getStopwords(); boolean reloadingRequired(); String getConfigLocalPath(); String getLocalRessourceBundleFile(); int getViewerThumbnailsPerPage(); int getViewerMaxImageWidth(); int getViewerMaxImageHeight(); int getViewerMaxImageScale(); boolean isRememberImageZoom(); boolean isRememberImageRotation(); String getDfgViewerUrl(); String getConnectorVersionUrl(); List<Metadata> getTitleBarMetadata(); List<Metadata> getSearchHitMetadataForTemplate(String template); List<Metadata> getMainMetadataForTemplate(String template); List<Metadata> getSidebarMetadataForTemplate(String template); List<String> getNormdataFieldsForTemplate(String template); List<Metadata> getTocLabelConfiguration(String template); int getTocAnchorGroupElementsPerPage(); boolean isDisplaySidebarBrowsingTerms(); boolean isDisplaySidebarRssFeed(); boolean isDisplayWidgetUsage(); Metadata getWidgetUsageLicenceTextMetadata(); boolean isDisplaySidebarUsageWidgetLinkToJpegImage(); boolean isDisplaySidebarUsageWidgetLinkToMasterImage(); String getWidgetUsageMaxJpegSize(); String getWidgetUsageMaxMasterImageSize(); List<String> getCalendarDocStructTypes(); boolean isBrowsingMenuEnabled(); int getBrowsingMenuHitsPerPage(); List<BrowsingMenuFieldConfig> getBrowsingMenuFields(); String getBrowsingMenuSortingIgnoreLeadingChars(); String getDocstrctWhitelistFilterQuery(); String getCollectionSplittingChar(String field); List<DcSortingList> getCollectionSorting(String field); List<String> getCollectionBlacklist(String field); String getCollectionDefaultSortField(String field, String name); int getCollectionDisplayNumberOfVolumesLevel(String field); int getCollectionDisplayDepthForSearch(String field); String getCollectionHierarchyField(); boolean isAddCollectionHierarchyToBreadcrumbs(String field); String getSolrUrl(); String getContentServerWrapperUrl(); String getDownloadUrl(); String getRestApiUrl(); String getIIIFApiUrl(); boolean isUseIIIFApiUrlForCmsMediaUrls(); String getContentServerRealUrl(); String getMetsUrl(); String getMarcUrl(); String getDcUrl(); String getEseUrl(); List<Integer> getSearchHitsPerPageValues(); int getSearchHitsPerPageDefaultValue(); int getFulltextFragmentLength(); boolean isAdvancedSearchEnabled(); int getAdvancedSearchDefaultItemNumber(); List<AdvancedSearchFieldConfiguration> getAdvancedSearchFields(); boolean isAggregateHits(); boolean isDisplayAdditionalMetadataEnabled(); List<String> getDisplayAdditionalMetadataIgnoreFields(); List<String> getDisplayAdditionalMetadataTranslateFields(); boolean isAdvancedSearchFieldHierarchical(String field); boolean isAdvancedSearchFieldRange(String field); boolean isAdvancedSearchFieldUntokenizeForPhraseSearch(String field); String getAdvancedSearchFieldSeparatorLabel(String field); boolean isTimelineSearchEnabled(); boolean isCalendarSearchEnabled(); String getStaticQuerySuffix(); String getPreviousVersionIdentifierField(); String getNextVersionIdentifierField(); String getVersionLabelField(); String getIndexedMetsFolder(); String getIndexedLidoFolder(); String getIndexedDenkxwebFolder(); String getIndexedDublinCoreFolder(); String getPageSelectionFormat(); String getMediaFolder(); String getPdfFolder(); String getVocabulariesFolder(); String getOrigContentFolder(); String getCmsTextFolder(); String getAltoFolder(); String getAbbyyFolder(); String getFulltextFolder(); String getTeiFolder(); String getCmdiFolder(); String getWcFolder(); String getAnnotationFolder(); String getHotfolder(); @SuppressWarnings("static-method") String getTempFolder(); boolean isUrnDoRedirect(); boolean isUserRegistrationEnabled(); List<SecurityQuestion> getSecurityQuestions(); boolean isShowOpenIdConnect(); List<IAuthenticationProvider> getAuthenticationProviders(); String getSmtpServer(); String getSmtpUser(); String getSmtpPassword(); String getSmtpSenderAddress(); String getSmtpSenderName(); String getSmtpSecurity(); String getAnonymousUserEmailAddress(); boolean isDisplayCollectionBrowsing(); boolean isDisplayUserNavigation(); boolean isDisplayTagCloudNavigation(); boolean isDisplayStatistics(); boolean isDisplayTimeMatrix(); boolean isDisplayCrowdsourcingModuleLinks(); String getTheme(); String getThemeRootPath(); String getName(); String getDescription(); boolean isDisplayTagCloudStartpage(); boolean isDisplaySearchResultNavigation(); boolean isFoldout(String sidebarElement); boolean isSidebarPageViewLinkVisible(); boolean isSidebarCalendarViewLinkVisible(); boolean isSidebarTocViewLinkVisible(); boolean isSidebarThumbsViewLinkVisible(); boolean isSidebarMetadataViewLinkVisible(); boolean isShowSidebarEventMetadata(); boolean isShowRecordLabelIfNoOtherViews(); boolean isSidebarFulltextLinkVisible(); boolean isSidebarTocWidgetVisible(); boolean isSidebarTocWidgetVisibleInFullscreen(); boolean isSidebarOpacLinkVisible(); boolean getSidebarTocPageNumbersVisible(); int getSidebarTocLengthBeforeCut(); int getSidebarTocInitialCollapseLevel(); int getSidebarTocCollapseLengthThreshold(); int getSidebarTocLowestLevelToCollapseForLength(); boolean isSidebarTocTreeView(); boolean isTocTreeView(String docStructType); List<String> getAllDrillDownFields(); List<String> getDrillDownFields(); List<String> getHierarchicalDrillDownFields(); int getInitialDrillDownElementNumber(String field); String getSortOrder(String field); List<String> getPriorityValuesForDrillDownField(String field); String getLabelFieldForDrillDownField(String facetField); @SuppressWarnings("static-method") List<String> getRangeFacetFields(); boolean isSortingEnabled(); String getDefaultSortField(); List<String> getSortFields(); List<String> getStaticSortFields(); String getUrnResolverUrl(); int getUnconditionalImageAccessMaxWidth(); boolean isFullAccessForLocalhost(); boolean isGeneratePdfInTaskManager(); boolean isPdfApiDisabled(); boolean isTitlePdfEnabled(); boolean isTocPdfEnabled(); boolean isMetadataPdfEnabled(); boolean isPagePdfEnabled(); boolean isDocHierarchyPdfEnabled(); boolean isTitleEpubEnabled(); boolean isTocEpubEnabled(); boolean isMetadataEpubEnabled(); String getDownloadFolder(String type); int getRssFeedItems(); String getRssTitle(); String getRssDescription(); String getRssCopyrightText(); String getRulesetFilePath(); String getDefaultCollection(); int getThumbnailsWidth(); int getThumbnailsHeight(); int getThumbnailsCompression(); String getAnchorThumbnailMode(); int getMultivolumeThumbnailWidth(); int getMultivolumeThumbnailHeight(); boolean getDisplayBreadcrumbs(); boolean getDisplayMetadataPageLinkBlock(); boolean isAddDublinCoreMetaTags(); boolean isAddHighwirePressMetaTags(); int getMetadataParamNumber(); boolean useTiles(); boolean useTilesFullscreen(); boolean useTiles(PageType view, ImageType image); int getFooterHeight(); int getFullscreenFooterHeight(); int getFooterHeight(PageType view, ImageType image); String getImageViewType(); String getZoomFullscreenViewType(); String getZoomImageViewType(PageType view, ImageType image); boolean useOpenSeadragon(); List<String> getImageViewZoomScales(); List<String> getImageViewZoomScales(String view); List<String> getImageViewZoomScales(PageType view, ImageType image); Map<Integer, List<Integer>> getTileSizes(); Map<Integer, List<Integer>> getTileSizes(PageType view, ImageType image); SubnodeConfiguration getZoomImageViewConfig(PageType pageType, ImageType imageType); int getBreadcrumbsClipping(); boolean isDisplayTopstructLabel(); boolean getDisplayStructType(); int getSearchHitMetadataValueNumber(); int getSearchHitMetadataValueLength(); List<String> getWatermarkTextConfiguration(); String getWatermarkFormat(); boolean isOriginalContentDownload(); String getStopwordsFilePath(); String getPageType(PageType type); String getDocstructTargetPageType(String docstruct); String getPageTypeExitView(PageType type); int getFulltextPercentageWarningThreshold(); boolean isUseViewerLocaleAsRecordLanguage(); String getFeedbackEmailAddress(); boolean isBookmarksEnabled(); boolean isForceJpegConversion(); int getPageLoaderThreshold(); boolean isPreventProxyCaching(); boolean isSolrCompressionEnabled(); boolean isSolrBackwardsCompatible(); boolean isUserCommentsEnabled(); String getUserCommentsConditionalQuery(); List<String> getUserCommentsNotificationEmailAddresses(); String getViewerHome(); List<String> getWatermarkIdField(); String getSubthemeMainTheme(); String getSubthemeDiscriminatorField(); int getTagCloudSampleSize(String fieldName); List<StringPair> getTocVolumeSortFieldsForTemplate(String template); String getTocVolumeGroupFieldForTemplate(String template); boolean getDisplayTitleBreadcrumbs(); boolean isDisplayTitlePURL(); int getTitleBreadcrumbsMaxTitleLength(); boolean getIncludeAnchorInTitleBreadcrumbs(); boolean isDisplaySearchRssLinks(); boolean showThumbnailsInToc(); String getStartYearForTimeline(); String getEndYearForTimeline(); String getTimelineHits(); boolean isPiwikTrackingEnabled(); String getPiwikBaseURL(); String getPiwikSiteID(); boolean isSearchSavingEnabled(); boolean isBoostTopLevelDocstructs(); boolean isGroupDuplicateHits(); List<String> getRecordGroupIdentifierFields(); List<String> getAncestorIdentifierFields(); boolean isTocListSiblingRecords(); List<SearchFilter> getSearchFilters(); List<Map<String, String>> getWebApiFields(); String getDbPersistenceUnit(); boolean useCustomNavBar(); String getCmsTemplateFolder(); String getCmsMediaFolder(); String getTempMediaFolder(); List<String> getCmsClassifications(); int getCmsMediaDisplayWidth(); int getCmsMediaDisplayHeight(); boolean isTranskribusEnabled(); String getTranskribusUserName(); String getTranskribusPassword(); String getTranskribusDefaultCollection(); String getTranskribusRestApiUrl(); List<String> getTranskribusAllowedDocumentTypes(); int getTocIndentation(); boolean isPageBrowseEnabled(); List<Integer> getPageBrowseSteps(); String getTaskManagerServiceUrl(); String getTaskManagerRestUrl(); String getReCaptchaSiteKey(); boolean isUseReCaptcha(); boolean isSearchInItemEnabled(); String getDefaultBrowseIcon(String field); boolean isSearchExcelExportEnabled(); List<String> getSearchExcelExportFields(); int getExcelDownloadTimeout(); boolean isDisplayEmptyTocInSidebar(); boolean isDoublePageModeEnabled(); List<String> getRestrictedImageUrls(); List<String> getIIIFLicenses(); List<String> getIIIFMetadataFields(); List<String> getIIIFEventFields(); String getIIIFMetadataLabel(String field); int getIIIFDiscoveryAvtivitiesPerPage(); List<String> getIIIFLogo(); String getIIIFNavDateField(); List<String> getIIIFAttribution(); List<String> getIIIFDescriptionFields(); String getSitelinksField(); String getSitelinksFilterQuery(); List<String> getConfiguredCollections(); String getWebApiToken(); boolean isAllowRedirectCollectionToWork(); String getTwitterUserName(); float getLimitImageHeightUpperRatioThreshold(); float getLimitImageHeightLowerRatioThreshold(); boolean isLimitImageHeight(); boolean isAddCORSHeader(); String getCORSHeaderValue(); boolean isDiscloseImageContentLocation(); String getAccessConditionDisplayField(); String getCopyrightDisplayField(); boolean isDisplayCopyrightInfo(); boolean isDisplaySocialMediaShareLinks(); boolean isDisplayAnchorLabelInTitleBar(String template); String getAnchorLabelInTitleBarPrefix(String template); String getAnchorLabelInTitleBarSuffix(String template); String getMapBoxToken(); GeoMapMarker getGeoMapMarker(String name); List<String> getGeoMapMarkerFields(); List<GeoMapMarker> getGeoMapMarkers(); static GeoMapMarker readGeoMapMarker(HierarchicalConfiguration config); List<LicenseDescription> getLicenseDescriptions(); }
Configuration extends AbstractConfiguration { public boolean isAddHighwirePressMetaTags() { return getLocalBoolean("metadata.addHighwirePressMetaTags", false); } Configuration(String configFilePath); Set<String> getStopwords(); boolean reloadingRequired(); String getConfigLocalPath(); String getLocalRessourceBundleFile(); int getViewerThumbnailsPerPage(); int getViewerMaxImageWidth(); int getViewerMaxImageHeight(); int getViewerMaxImageScale(); boolean isRememberImageZoom(); boolean isRememberImageRotation(); String getDfgViewerUrl(); String getConnectorVersionUrl(); List<Metadata> getTitleBarMetadata(); List<Metadata> getSearchHitMetadataForTemplate(String template); List<Metadata> getMainMetadataForTemplate(String template); List<Metadata> getSidebarMetadataForTemplate(String template); List<String> getNormdataFieldsForTemplate(String template); List<Metadata> getTocLabelConfiguration(String template); int getTocAnchorGroupElementsPerPage(); boolean isDisplaySidebarBrowsingTerms(); boolean isDisplaySidebarRssFeed(); boolean isDisplayWidgetUsage(); Metadata getWidgetUsageLicenceTextMetadata(); boolean isDisplaySidebarUsageWidgetLinkToJpegImage(); boolean isDisplaySidebarUsageWidgetLinkToMasterImage(); String getWidgetUsageMaxJpegSize(); String getWidgetUsageMaxMasterImageSize(); List<String> getCalendarDocStructTypes(); boolean isBrowsingMenuEnabled(); int getBrowsingMenuHitsPerPage(); List<BrowsingMenuFieldConfig> getBrowsingMenuFields(); String getBrowsingMenuSortingIgnoreLeadingChars(); String getDocstrctWhitelistFilterQuery(); String getCollectionSplittingChar(String field); List<DcSortingList> getCollectionSorting(String field); List<String> getCollectionBlacklist(String field); String getCollectionDefaultSortField(String field, String name); int getCollectionDisplayNumberOfVolumesLevel(String field); int getCollectionDisplayDepthForSearch(String field); String getCollectionHierarchyField(); boolean isAddCollectionHierarchyToBreadcrumbs(String field); String getSolrUrl(); String getContentServerWrapperUrl(); String getDownloadUrl(); String getRestApiUrl(); String getIIIFApiUrl(); boolean isUseIIIFApiUrlForCmsMediaUrls(); String getContentServerRealUrl(); String getMetsUrl(); String getMarcUrl(); String getDcUrl(); String getEseUrl(); List<Integer> getSearchHitsPerPageValues(); int getSearchHitsPerPageDefaultValue(); int getFulltextFragmentLength(); boolean isAdvancedSearchEnabled(); int getAdvancedSearchDefaultItemNumber(); List<AdvancedSearchFieldConfiguration> getAdvancedSearchFields(); boolean isAggregateHits(); boolean isDisplayAdditionalMetadataEnabled(); List<String> getDisplayAdditionalMetadataIgnoreFields(); List<String> getDisplayAdditionalMetadataTranslateFields(); boolean isAdvancedSearchFieldHierarchical(String field); boolean isAdvancedSearchFieldRange(String field); boolean isAdvancedSearchFieldUntokenizeForPhraseSearch(String field); String getAdvancedSearchFieldSeparatorLabel(String field); boolean isTimelineSearchEnabled(); boolean isCalendarSearchEnabled(); String getStaticQuerySuffix(); String getPreviousVersionIdentifierField(); String getNextVersionIdentifierField(); String getVersionLabelField(); String getIndexedMetsFolder(); String getIndexedLidoFolder(); String getIndexedDenkxwebFolder(); String getIndexedDublinCoreFolder(); String getPageSelectionFormat(); String getMediaFolder(); String getPdfFolder(); String getVocabulariesFolder(); String getOrigContentFolder(); String getCmsTextFolder(); String getAltoFolder(); String getAbbyyFolder(); String getFulltextFolder(); String getTeiFolder(); String getCmdiFolder(); String getWcFolder(); String getAnnotationFolder(); String getHotfolder(); @SuppressWarnings("static-method") String getTempFolder(); boolean isUrnDoRedirect(); boolean isUserRegistrationEnabled(); List<SecurityQuestion> getSecurityQuestions(); boolean isShowOpenIdConnect(); List<IAuthenticationProvider> getAuthenticationProviders(); String getSmtpServer(); String getSmtpUser(); String getSmtpPassword(); String getSmtpSenderAddress(); String getSmtpSenderName(); String getSmtpSecurity(); String getAnonymousUserEmailAddress(); boolean isDisplayCollectionBrowsing(); boolean isDisplayUserNavigation(); boolean isDisplayTagCloudNavigation(); boolean isDisplayStatistics(); boolean isDisplayTimeMatrix(); boolean isDisplayCrowdsourcingModuleLinks(); String getTheme(); String getThemeRootPath(); String getName(); String getDescription(); boolean isDisplayTagCloudStartpage(); boolean isDisplaySearchResultNavigation(); boolean isFoldout(String sidebarElement); boolean isSidebarPageViewLinkVisible(); boolean isSidebarCalendarViewLinkVisible(); boolean isSidebarTocViewLinkVisible(); boolean isSidebarThumbsViewLinkVisible(); boolean isSidebarMetadataViewLinkVisible(); boolean isShowSidebarEventMetadata(); boolean isShowRecordLabelIfNoOtherViews(); boolean isSidebarFulltextLinkVisible(); boolean isSidebarTocWidgetVisible(); boolean isSidebarTocWidgetVisibleInFullscreen(); boolean isSidebarOpacLinkVisible(); boolean getSidebarTocPageNumbersVisible(); int getSidebarTocLengthBeforeCut(); int getSidebarTocInitialCollapseLevel(); int getSidebarTocCollapseLengthThreshold(); int getSidebarTocLowestLevelToCollapseForLength(); boolean isSidebarTocTreeView(); boolean isTocTreeView(String docStructType); List<String> getAllDrillDownFields(); List<String> getDrillDownFields(); List<String> getHierarchicalDrillDownFields(); int getInitialDrillDownElementNumber(String field); String getSortOrder(String field); List<String> getPriorityValuesForDrillDownField(String field); String getLabelFieldForDrillDownField(String facetField); @SuppressWarnings("static-method") List<String> getRangeFacetFields(); boolean isSortingEnabled(); String getDefaultSortField(); List<String> getSortFields(); List<String> getStaticSortFields(); String getUrnResolverUrl(); int getUnconditionalImageAccessMaxWidth(); boolean isFullAccessForLocalhost(); boolean isGeneratePdfInTaskManager(); boolean isPdfApiDisabled(); boolean isTitlePdfEnabled(); boolean isTocPdfEnabled(); boolean isMetadataPdfEnabled(); boolean isPagePdfEnabled(); boolean isDocHierarchyPdfEnabled(); boolean isTitleEpubEnabled(); boolean isTocEpubEnabled(); boolean isMetadataEpubEnabled(); String getDownloadFolder(String type); int getRssFeedItems(); String getRssTitle(); String getRssDescription(); String getRssCopyrightText(); String getRulesetFilePath(); String getDefaultCollection(); int getThumbnailsWidth(); int getThumbnailsHeight(); int getThumbnailsCompression(); String getAnchorThumbnailMode(); int getMultivolumeThumbnailWidth(); int getMultivolumeThumbnailHeight(); boolean getDisplayBreadcrumbs(); boolean getDisplayMetadataPageLinkBlock(); boolean isAddDublinCoreMetaTags(); boolean isAddHighwirePressMetaTags(); int getMetadataParamNumber(); boolean useTiles(); boolean useTilesFullscreen(); boolean useTiles(PageType view, ImageType image); int getFooterHeight(); int getFullscreenFooterHeight(); int getFooterHeight(PageType view, ImageType image); String getImageViewType(); String getZoomFullscreenViewType(); String getZoomImageViewType(PageType view, ImageType image); boolean useOpenSeadragon(); List<String> getImageViewZoomScales(); List<String> getImageViewZoomScales(String view); List<String> getImageViewZoomScales(PageType view, ImageType image); Map<Integer, List<Integer>> getTileSizes(); Map<Integer, List<Integer>> getTileSizes(PageType view, ImageType image); SubnodeConfiguration getZoomImageViewConfig(PageType pageType, ImageType imageType); int getBreadcrumbsClipping(); boolean isDisplayTopstructLabel(); boolean getDisplayStructType(); int getSearchHitMetadataValueNumber(); int getSearchHitMetadataValueLength(); List<String> getWatermarkTextConfiguration(); String getWatermarkFormat(); boolean isOriginalContentDownload(); String getStopwordsFilePath(); String getPageType(PageType type); String getDocstructTargetPageType(String docstruct); String getPageTypeExitView(PageType type); int getFulltextPercentageWarningThreshold(); boolean isUseViewerLocaleAsRecordLanguage(); String getFeedbackEmailAddress(); boolean isBookmarksEnabled(); boolean isForceJpegConversion(); int getPageLoaderThreshold(); boolean isPreventProxyCaching(); boolean isSolrCompressionEnabled(); boolean isSolrBackwardsCompatible(); boolean isUserCommentsEnabled(); String getUserCommentsConditionalQuery(); List<String> getUserCommentsNotificationEmailAddresses(); String getViewerHome(); List<String> getWatermarkIdField(); String getSubthemeMainTheme(); String getSubthemeDiscriminatorField(); int getTagCloudSampleSize(String fieldName); List<StringPair> getTocVolumeSortFieldsForTemplate(String template); String getTocVolumeGroupFieldForTemplate(String template); boolean getDisplayTitleBreadcrumbs(); boolean isDisplayTitlePURL(); int getTitleBreadcrumbsMaxTitleLength(); boolean getIncludeAnchorInTitleBreadcrumbs(); boolean isDisplaySearchRssLinks(); boolean showThumbnailsInToc(); String getStartYearForTimeline(); String getEndYearForTimeline(); String getTimelineHits(); boolean isPiwikTrackingEnabled(); String getPiwikBaseURL(); String getPiwikSiteID(); boolean isSearchSavingEnabled(); boolean isBoostTopLevelDocstructs(); boolean isGroupDuplicateHits(); List<String> getRecordGroupIdentifierFields(); List<String> getAncestorIdentifierFields(); boolean isTocListSiblingRecords(); List<SearchFilter> getSearchFilters(); List<Map<String, String>> getWebApiFields(); String getDbPersistenceUnit(); boolean useCustomNavBar(); String getCmsTemplateFolder(); String getCmsMediaFolder(); String getTempMediaFolder(); List<String> getCmsClassifications(); int getCmsMediaDisplayWidth(); int getCmsMediaDisplayHeight(); boolean isTranskribusEnabled(); String getTranskribusUserName(); String getTranskribusPassword(); String getTranskribusDefaultCollection(); String getTranskribusRestApiUrl(); List<String> getTranskribusAllowedDocumentTypes(); int getTocIndentation(); boolean isPageBrowseEnabled(); List<Integer> getPageBrowseSteps(); String getTaskManagerServiceUrl(); String getTaskManagerRestUrl(); String getReCaptchaSiteKey(); boolean isUseReCaptcha(); boolean isSearchInItemEnabled(); String getDefaultBrowseIcon(String field); boolean isSearchExcelExportEnabled(); List<String> getSearchExcelExportFields(); int getExcelDownloadTimeout(); boolean isDisplayEmptyTocInSidebar(); boolean isDoublePageModeEnabled(); List<String> getRestrictedImageUrls(); List<String> getIIIFLicenses(); List<String> getIIIFMetadataFields(); List<String> getIIIFEventFields(); String getIIIFMetadataLabel(String field); int getIIIFDiscoveryAvtivitiesPerPage(); List<String> getIIIFLogo(); String getIIIFNavDateField(); List<String> getIIIFAttribution(); List<String> getIIIFDescriptionFields(); String getSitelinksField(); String getSitelinksFilterQuery(); List<String> getConfiguredCollections(); String getWebApiToken(); boolean isAllowRedirectCollectionToWork(); String getTwitterUserName(); float getLimitImageHeightUpperRatioThreshold(); float getLimitImageHeightLowerRatioThreshold(); boolean isLimitImageHeight(); boolean isAddCORSHeader(); String getCORSHeaderValue(); boolean isDiscloseImageContentLocation(); String getAccessConditionDisplayField(); String getCopyrightDisplayField(); boolean isDisplayCopyrightInfo(); boolean isDisplaySocialMediaShareLinks(); boolean isDisplayAnchorLabelInTitleBar(String template); String getAnchorLabelInTitleBarPrefix(String template); String getAnchorLabelInTitleBarSuffix(String template); String getMapBoxToken(); GeoMapMarker getGeoMapMarker(String name); List<String> getGeoMapMarkerFields(); List<GeoMapMarker> getGeoMapMarkers(); static GeoMapMarker readGeoMapMarker(HierarchicalConfiguration config); List<LicenseDescription> getLicenseDescriptions(); }
@Test public void getMetadataParamNumber_shouldReturnCorrectValue() throws Exception { Assert.assertEquals(5, DataManager.getInstance().getConfiguration().getMetadataParamNumber()); }
public int getMetadataParamNumber() { return getLocalInt("metadata.metadataParamNumber", 10); }
Configuration extends AbstractConfiguration { public int getMetadataParamNumber() { return getLocalInt("metadata.metadataParamNumber", 10); } }
Configuration extends AbstractConfiguration { public int getMetadataParamNumber() { return getLocalInt("metadata.metadataParamNumber", 10); } Configuration(String configFilePath); }
Configuration extends AbstractConfiguration { public int getMetadataParamNumber() { return getLocalInt("metadata.metadataParamNumber", 10); } Configuration(String configFilePath); Set<String> getStopwords(); boolean reloadingRequired(); String getConfigLocalPath(); String getLocalRessourceBundleFile(); int getViewerThumbnailsPerPage(); int getViewerMaxImageWidth(); int getViewerMaxImageHeight(); int getViewerMaxImageScale(); boolean isRememberImageZoom(); boolean isRememberImageRotation(); String getDfgViewerUrl(); String getConnectorVersionUrl(); List<Metadata> getTitleBarMetadata(); List<Metadata> getSearchHitMetadataForTemplate(String template); List<Metadata> getMainMetadataForTemplate(String template); List<Metadata> getSidebarMetadataForTemplate(String template); List<String> getNormdataFieldsForTemplate(String template); List<Metadata> getTocLabelConfiguration(String template); int getTocAnchorGroupElementsPerPage(); boolean isDisplaySidebarBrowsingTerms(); boolean isDisplaySidebarRssFeed(); boolean isDisplayWidgetUsage(); Metadata getWidgetUsageLicenceTextMetadata(); boolean isDisplaySidebarUsageWidgetLinkToJpegImage(); boolean isDisplaySidebarUsageWidgetLinkToMasterImage(); String getWidgetUsageMaxJpegSize(); String getWidgetUsageMaxMasterImageSize(); List<String> getCalendarDocStructTypes(); boolean isBrowsingMenuEnabled(); int getBrowsingMenuHitsPerPage(); List<BrowsingMenuFieldConfig> getBrowsingMenuFields(); String getBrowsingMenuSortingIgnoreLeadingChars(); String getDocstrctWhitelistFilterQuery(); String getCollectionSplittingChar(String field); List<DcSortingList> getCollectionSorting(String field); List<String> getCollectionBlacklist(String field); String getCollectionDefaultSortField(String field, String name); int getCollectionDisplayNumberOfVolumesLevel(String field); int getCollectionDisplayDepthForSearch(String field); String getCollectionHierarchyField(); boolean isAddCollectionHierarchyToBreadcrumbs(String field); String getSolrUrl(); String getContentServerWrapperUrl(); String getDownloadUrl(); String getRestApiUrl(); String getIIIFApiUrl(); boolean isUseIIIFApiUrlForCmsMediaUrls(); String getContentServerRealUrl(); String getMetsUrl(); String getMarcUrl(); String getDcUrl(); String getEseUrl(); List<Integer> getSearchHitsPerPageValues(); int getSearchHitsPerPageDefaultValue(); int getFulltextFragmentLength(); boolean isAdvancedSearchEnabled(); int getAdvancedSearchDefaultItemNumber(); List<AdvancedSearchFieldConfiguration> getAdvancedSearchFields(); boolean isAggregateHits(); boolean isDisplayAdditionalMetadataEnabled(); List<String> getDisplayAdditionalMetadataIgnoreFields(); List<String> getDisplayAdditionalMetadataTranslateFields(); boolean isAdvancedSearchFieldHierarchical(String field); boolean isAdvancedSearchFieldRange(String field); boolean isAdvancedSearchFieldUntokenizeForPhraseSearch(String field); String getAdvancedSearchFieldSeparatorLabel(String field); boolean isTimelineSearchEnabled(); boolean isCalendarSearchEnabled(); String getStaticQuerySuffix(); String getPreviousVersionIdentifierField(); String getNextVersionIdentifierField(); String getVersionLabelField(); String getIndexedMetsFolder(); String getIndexedLidoFolder(); String getIndexedDenkxwebFolder(); String getIndexedDublinCoreFolder(); String getPageSelectionFormat(); String getMediaFolder(); String getPdfFolder(); String getVocabulariesFolder(); String getOrigContentFolder(); String getCmsTextFolder(); String getAltoFolder(); String getAbbyyFolder(); String getFulltextFolder(); String getTeiFolder(); String getCmdiFolder(); String getWcFolder(); String getAnnotationFolder(); String getHotfolder(); @SuppressWarnings("static-method") String getTempFolder(); boolean isUrnDoRedirect(); boolean isUserRegistrationEnabled(); List<SecurityQuestion> getSecurityQuestions(); boolean isShowOpenIdConnect(); List<IAuthenticationProvider> getAuthenticationProviders(); String getSmtpServer(); String getSmtpUser(); String getSmtpPassword(); String getSmtpSenderAddress(); String getSmtpSenderName(); String getSmtpSecurity(); String getAnonymousUserEmailAddress(); boolean isDisplayCollectionBrowsing(); boolean isDisplayUserNavigation(); boolean isDisplayTagCloudNavigation(); boolean isDisplayStatistics(); boolean isDisplayTimeMatrix(); boolean isDisplayCrowdsourcingModuleLinks(); String getTheme(); String getThemeRootPath(); String getName(); String getDescription(); boolean isDisplayTagCloudStartpage(); boolean isDisplaySearchResultNavigation(); boolean isFoldout(String sidebarElement); boolean isSidebarPageViewLinkVisible(); boolean isSidebarCalendarViewLinkVisible(); boolean isSidebarTocViewLinkVisible(); boolean isSidebarThumbsViewLinkVisible(); boolean isSidebarMetadataViewLinkVisible(); boolean isShowSidebarEventMetadata(); boolean isShowRecordLabelIfNoOtherViews(); boolean isSidebarFulltextLinkVisible(); boolean isSidebarTocWidgetVisible(); boolean isSidebarTocWidgetVisibleInFullscreen(); boolean isSidebarOpacLinkVisible(); boolean getSidebarTocPageNumbersVisible(); int getSidebarTocLengthBeforeCut(); int getSidebarTocInitialCollapseLevel(); int getSidebarTocCollapseLengthThreshold(); int getSidebarTocLowestLevelToCollapseForLength(); boolean isSidebarTocTreeView(); boolean isTocTreeView(String docStructType); List<String> getAllDrillDownFields(); List<String> getDrillDownFields(); List<String> getHierarchicalDrillDownFields(); int getInitialDrillDownElementNumber(String field); String getSortOrder(String field); List<String> getPriorityValuesForDrillDownField(String field); String getLabelFieldForDrillDownField(String facetField); @SuppressWarnings("static-method") List<String> getRangeFacetFields(); boolean isSortingEnabled(); String getDefaultSortField(); List<String> getSortFields(); List<String> getStaticSortFields(); String getUrnResolverUrl(); int getUnconditionalImageAccessMaxWidth(); boolean isFullAccessForLocalhost(); boolean isGeneratePdfInTaskManager(); boolean isPdfApiDisabled(); boolean isTitlePdfEnabled(); boolean isTocPdfEnabled(); boolean isMetadataPdfEnabled(); boolean isPagePdfEnabled(); boolean isDocHierarchyPdfEnabled(); boolean isTitleEpubEnabled(); boolean isTocEpubEnabled(); boolean isMetadataEpubEnabled(); String getDownloadFolder(String type); int getRssFeedItems(); String getRssTitle(); String getRssDescription(); String getRssCopyrightText(); String getRulesetFilePath(); String getDefaultCollection(); int getThumbnailsWidth(); int getThumbnailsHeight(); int getThumbnailsCompression(); String getAnchorThumbnailMode(); int getMultivolumeThumbnailWidth(); int getMultivolumeThumbnailHeight(); boolean getDisplayBreadcrumbs(); boolean getDisplayMetadataPageLinkBlock(); boolean isAddDublinCoreMetaTags(); boolean isAddHighwirePressMetaTags(); int getMetadataParamNumber(); boolean useTiles(); boolean useTilesFullscreen(); boolean useTiles(PageType view, ImageType image); int getFooterHeight(); int getFullscreenFooterHeight(); int getFooterHeight(PageType view, ImageType image); String getImageViewType(); String getZoomFullscreenViewType(); String getZoomImageViewType(PageType view, ImageType image); boolean useOpenSeadragon(); List<String> getImageViewZoomScales(); List<String> getImageViewZoomScales(String view); List<String> getImageViewZoomScales(PageType view, ImageType image); Map<Integer, List<Integer>> getTileSizes(); Map<Integer, List<Integer>> getTileSizes(PageType view, ImageType image); SubnodeConfiguration getZoomImageViewConfig(PageType pageType, ImageType imageType); int getBreadcrumbsClipping(); boolean isDisplayTopstructLabel(); boolean getDisplayStructType(); int getSearchHitMetadataValueNumber(); int getSearchHitMetadataValueLength(); List<String> getWatermarkTextConfiguration(); String getWatermarkFormat(); boolean isOriginalContentDownload(); String getStopwordsFilePath(); String getPageType(PageType type); String getDocstructTargetPageType(String docstruct); String getPageTypeExitView(PageType type); int getFulltextPercentageWarningThreshold(); boolean isUseViewerLocaleAsRecordLanguage(); String getFeedbackEmailAddress(); boolean isBookmarksEnabled(); boolean isForceJpegConversion(); int getPageLoaderThreshold(); boolean isPreventProxyCaching(); boolean isSolrCompressionEnabled(); boolean isSolrBackwardsCompatible(); boolean isUserCommentsEnabled(); String getUserCommentsConditionalQuery(); List<String> getUserCommentsNotificationEmailAddresses(); String getViewerHome(); List<String> getWatermarkIdField(); String getSubthemeMainTheme(); String getSubthemeDiscriminatorField(); int getTagCloudSampleSize(String fieldName); List<StringPair> getTocVolumeSortFieldsForTemplate(String template); String getTocVolumeGroupFieldForTemplate(String template); boolean getDisplayTitleBreadcrumbs(); boolean isDisplayTitlePURL(); int getTitleBreadcrumbsMaxTitleLength(); boolean getIncludeAnchorInTitleBreadcrumbs(); boolean isDisplaySearchRssLinks(); boolean showThumbnailsInToc(); String getStartYearForTimeline(); String getEndYearForTimeline(); String getTimelineHits(); boolean isPiwikTrackingEnabled(); String getPiwikBaseURL(); String getPiwikSiteID(); boolean isSearchSavingEnabled(); boolean isBoostTopLevelDocstructs(); boolean isGroupDuplicateHits(); List<String> getRecordGroupIdentifierFields(); List<String> getAncestorIdentifierFields(); boolean isTocListSiblingRecords(); List<SearchFilter> getSearchFilters(); List<Map<String, String>> getWebApiFields(); String getDbPersistenceUnit(); boolean useCustomNavBar(); String getCmsTemplateFolder(); String getCmsMediaFolder(); String getTempMediaFolder(); List<String> getCmsClassifications(); int getCmsMediaDisplayWidth(); int getCmsMediaDisplayHeight(); boolean isTranskribusEnabled(); String getTranskribusUserName(); String getTranskribusPassword(); String getTranskribusDefaultCollection(); String getTranskribusRestApiUrl(); List<String> getTranskribusAllowedDocumentTypes(); int getTocIndentation(); boolean isPageBrowseEnabled(); List<Integer> getPageBrowseSteps(); String getTaskManagerServiceUrl(); String getTaskManagerRestUrl(); String getReCaptchaSiteKey(); boolean isUseReCaptcha(); boolean isSearchInItemEnabled(); String getDefaultBrowseIcon(String field); boolean isSearchExcelExportEnabled(); List<String> getSearchExcelExportFields(); int getExcelDownloadTimeout(); boolean isDisplayEmptyTocInSidebar(); boolean isDoublePageModeEnabled(); List<String> getRestrictedImageUrls(); List<String> getIIIFLicenses(); List<String> getIIIFMetadataFields(); List<String> getIIIFEventFields(); String getIIIFMetadataLabel(String field); int getIIIFDiscoveryAvtivitiesPerPage(); List<String> getIIIFLogo(); String getIIIFNavDateField(); List<String> getIIIFAttribution(); List<String> getIIIFDescriptionFields(); String getSitelinksField(); String getSitelinksFilterQuery(); List<String> getConfiguredCollections(); String getWebApiToken(); boolean isAllowRedirectCollectionToWork(); String getTwitterUserName(); float getLimitImageHeightUpperRatioThreshold(); float getLimitImageHeightLowerRatioThreshold(); boolean isLimitImageHeight(); boolean isAddCORSHeader(); String getCORSHeaderValue(); boolean isDiscloseImageContentLocation(); String getAccessConditionDisplayField(); String getCopyrightDisplayField(); boolean isDisplayCopyrightInfo(); boolean isDisplaySocialMediaShareLinks(); boolean isDisplayAnchorLabelInTitleBar(String template); String getAnchorLabelInTitleBarPrefix(String template); String getAnchorLabelInTitleBarSuffix(String template); String getMapBoxToken(); GeoMapMarker getGeoMapMarker(String name); List<String> getGeoMapMarkerFields(); List<GeoMapMarker> getGeoMapMarkers(); static GeoMapMarker readGeoMapMarker(HierarchicalConfiguration config); List<LicenseDescription> getLicenseDescriptions(); }
Configuration extends AbstractConfiguration { public int getMetadataParamNumber() { return getLocalInt("metadata.metadataParamNumber", 10); } Configuration(String configFilePath); Set<String> getStopwords(); boolean reloadingRequired(); String getConfigLocalPath(); String getLocalRessourceBundleFile(); int getViewerThumbnailsPerPage(); int getViewerMaxImageWidth(); int getViewerMaxImageHeight(); int getViewerMaxImageScale(); boolean isRememberImageZoom(); boolean isRememberImageRotation(); String getDfgViewerUrl(); String getConnectorVersionUrl(); List<Metadata> getTitleBarMetadata(); List<Metadata> getSearchHitMetadataForTemplate(String template); List<Metadata> getMainMetadataForTemplate(String template); List<Metadata> getSidebarMetadataForTemplate(String template); List<String> getNormdataFieldsForTemplate(String template); List<Metadata> getTocLabelConfiguration(String template); int getTocAnchorGroupElementsPerPage(); boolean isDisplaySidebarBrowsingTerms(); boolean isDisplaySidebarRssFeed(); boolean isDisplayWidgetUsage(); Metadata getWidgetUsageLicenceTextMetadata(); boolean isDisplaySidebarUsageWidgetLinkToJpegImage(); boolean isDisplaySidebarUsageWidgetLinkToMasterImage(); String getWidgetUsageMaxJpegSize(); String getWidgetUsageMaxMasterImageSize(); List<String> getCalendarDocStructTypes(); boolean isBrowsingMenuEnabled(); int getBrowsingMenuHitsPerPage(); List<BrowsingMenuFieldConfig> getBrowsingMenuFields(); String getBrowsingMenuSortingIgnoreLeadingChars(); String getDocstrctWhitelistFilterQuery(); String getCollectionSplittingChar(String field); List<DcSortingList> getCollectionSorting(String field); List<String> getCollectionBlacklist(String field); String getCollectionDefaultSortField(String field, String name); int getCollectionDisplayNumberOfVolumesLevel(String field); int getCollectionDisplayDepthForSearch(String field); String getCollectionHierarchyField(); boolean isAddCollectionHierarchyToBreadcrumbs(String field); String getSolrUrl(); String getContentServerWrapperUrl(); String getDownloadUrl(); String getRestApiUrl(); String getIIIFApiUrl(); boolean isUseIIIFApiUrlForCmsMediaUrls(); String getContentServerRealUrl(); String getMetsUrl(); String getMarcUrl(); String getDcUrl(); String getEseUrl(); List<Integer> getSearchHitsPerPageValues(); int getSearchHitsPerPageDefaultValue(); int getFulltextFragmentLength(); boolean isAdvancedSearchEnabled(); int getAdvancedSearchDefaultItemNumber(); List<AdvancedSearchFieldConfiguration> getAdvancedSearchFields(); boolean isAggregateHits(); boolean isDisplayAdditionalMetadataEnabled(); List<String> getDisplayAdditionalMetadataIgnoreFields(); List<String> getDisplayAdditionalMetadataTranslateFields(); boolean isAdvancedSearchFieldHierarchical(String field); boolean isAdvancedSearchFieldRange(String field); boolean isAdvancedSearchFieldUntokenizeForPhraseSearch(String field); String getAdvancedSearchFieldSeparatorLabel(String field); boolean isTimelineSearchEnabled(); boolean isCalendarSearchEnabled(); String getStaticQuerySuffix(); String getPreviousVersionIdentifierField(); String getNextVersionIdentifierField(); String getVersionLabelField(); String getIndexedMetsFolder(); String getIndexedLidoFolder(); String getIndexedDenkxwebFolder(); String getIndexedDublinCoreFolder(); String getPageSelectionFormat(); String getMediaFolder(); String getPdfFolder(); String getVocabulariesFolder(); String getOrigContentFolder(); String getCmsTextFolder(); String getAltoFolder(); String getAbbyyFolder(); String getFulltextFolder(); String getTeiFolder(); String getCmdiFolder(); String getWcFolder(); String getAnnotationFolder(); String getHotfolder(); @SuppressWarnings("static-method") String getTempFolder(); boolean isUrnDoRedirect(); boolean isUserRegistrationEnabled(); List<SecurityQuestion> getSecurityQuestions(); boolean isShowOpenIdConnect(); List<IAuthenticationProvider> getAuthenticationProviders(); String getSmtpServer(); String getSmtpUser(); String getSmtpPassword(); String getSmtpSenderAddress(); String getSmtpSenderName(); String getSmtpSecurity(); String getAnonymousUserEmailAddress(); boolean isDisplayCollectionBrowsing(); boolean isDisplayUserNavigation(); boolean isDisplayTagCloudNavigation(); boolean isDisplayStatistics(); boolean isDisplayTimeMatrix(); boolean isDisplayCrowdsourcingModuleLinks(); String getTheme(); String getThemeRootPath(); String getName(); String getDescription(); boolean isDisplayTagCloudStartpage(); boolean isDisplaySearchResultNavigation(); boolean isFoldout(String sidebarElement); boolean isSidebarPageViewLinkVisible(); boolean isSidebarCalendarViewLinkVisible(); boolean isSidebarTocViewLinkVisible(); boolean isSidebarThumbsViewLinkVisible(); boolean isSidebarMetadataViewLinkVisible(); boolean isShowSidebarEventMetadata(); boolean isShowRecordLabelIfNoOtherViews(); boolean isSidebarFulltextLinkVisible(); boolean isSidebarTocWidgetVisible(); boolean isSidebarTocWidgetVisibleInFullscreen(); boolean isSidebarOpacLinkVisible(); boolean getSidebarTocPageNumbersVisible(); int getSidebarTocLengthBeforeCut(); int getSidebarTocInitialCollapseLevel(); int getSidebarTocCollapseLengthThreshold(); int getSidebarTocLowestLevelToCollapseForLength(); boolean isSidebarTocTreeView(); boolean isTocTreeView(String docStructType); List<String> getAllDrillDownFields(); List<String> getDrillDownFields(); List<String> getHierarchicalDrillDownFields(); int getInitialDrillDownElementNumber(String field); String getSortOrder(String field); List<String> getPriorityValuesForDrillDownField(String field); String getLabelFieldForDrillDownField(String facetField); @SuppressWarnings("static-method") List<String> getRangeFacetFields(); boolean isSortingEnabled(); String getDefaultSortField(); List<String> getSortFields(); List<String> getStaticSortFields(); String getUrnResolverUrl(); int getUnconditionalImageAccessMaxWidth(); boolean isFullAccessForLocalhost(); boolean isGeneratePdfInTaskManager(); boolean isPdfApiDisabled(); boolean isTitlePdfEnabled(); boolean isTocPdfEnabled(); boolean isMetadataPdfEnabled(); boolean isPagePdfEnabled(); boolean isDocHierarchyPdfEnabled(); boolean isTitleEpubEnabled(); boolean isTocEpubEnabled(); boolean isMetadataEpubEnabled(); String getDownloadFolder(String type); int getRssFeedItems(); String getRssTitle(); String getRssDescription(); String getRssCopyrightText(); String getRulesetFilePath(); String getDefaultCollection(); int getThumbnailsWidth(); int getThumbnailsHeight(); int getThumbnailsCompression(); String getAnchorThumbnailMode(); int getMultivolumeThumbnailWidth(); int getMultivolumeThumbnailHeight(); boolean getDisplayBreadcrumbs(); boolean getDisplayMetadataPageLinkBlock(); boolean isAddDublinCoreMetaTags(); boolean isAddHighwirePressMetaTags(); int getMetadataParamNumber(); boolean useTiles(); boolean useTilesFullscreen(); boolean useTiles(PageType view, ImageType image); int getFooterHeight(); int getFullscreenFooterHeight(); int getFooterHeight(PageType view, ImageType image); String getImageViewType(); String getZoomFullscreenViewType(); String getZoomImageViewType(PageType view, ImageType image); boolean useOpenSeadragon(); List<String> getImageViewZoomScales(); List<String> getImageViewZoomScales(String view); List<String> getImageViewZoomScales(PageType view, ImageType image); Map<Integer, List<Integer>> getTileSizes(); Map<Integer, List<Integer>> getTileSizes(PageType view, ImageType image); SubnodeConfiguration getZoomImageViewConfig(PageType pageType, ImageType imageType); int getBreadcrumbsClipping(); boolean isDisplayTopstructLabel(); boolean getDisplayStructType(); int getSearchHitMetadataValueNumber(); int getSearchHitMetadataValueLength(); List<String> getWatermarkTextConfiguration(); String getWatermarkFormat(); boolean isOriginalContentDownload(); String getStopwordsFilePath(); String getPageType(PageType type); String getDocstructTargetPageType(String docstruct); String getPageTypeExitView(PageType type); int getFulltextPercentageWarningThreshold(); boolean isUseViewerLocaleAsRecordLanguage(); String getFeedbackEmailAddress(); boolean isBookmarksEnabled(); boolean isForceJpegConversion(); int getPageLoaderThreshold(); boolean isPreventProxyCaching(); boolean isSolrCompressionEnabled(); boolean isSolrBackwardsCompatible(); boolean isUserCommentsEnabled(); String getUserCommentsConditionalQuery(); List<String> getUserCommentsNotificationEmailAddresses(); String getViewerHome(); List<String> getWatermarkIdField(); String getSubthemeMainTheme(); String getSubthemeDiscriminatorField(); int getTagCloudSampleSize(String fieldName); List<StringPair> getTocVolumeSortFieldsForTemplate(String template); String getTocVolumeGroupFieldForTemplate(String template); boolean getDisplayTitleBreadcrumbs(); boolean isDisplayTitlePURL(); int getTitleBreadcrumbsMaxTitleLength(); boolean getIncludeAnchorInTitleBreadcrumbs(); boolean isDisplaySearchRssLinks(); boolean showThumbnailsInToc(); String getStartYearForTimeline(); String getEndYearForTimeline(); String getTimelineHits(); boolean isPiwikTrackingEnabled(); String getPiwikBaseURL(); String getPiwikSiteID(); boolean isSearchSavingEnabled(); boolean isBoostTopLevelDocstructs(); boolean isGroupDuplicateHits(); List<String> getRecordGroupIdentifierFields(); List<String> getAncestorIdentifierFields(); boolean isTocListSiblingRecords(); List<SearchFilter> getSearchFilters(); List<Map<String, String>> getWebApiFields(); String getDbPersistenceUnit(); boolean useCustomNavBar(); String getCmsTemplateFolder(); String getCmsMediaFolder(); String getTempMediaFolder(); List<String> getCmsClassifications(); int getCmsMediaDisplayWidth(); int getCmsMediaDisplayHeight(); boolean isTranskribusEnabled(); String getTranskribusUserName(); String getTranskribusPassword(); String getTranskribusDefaultCollection(); String getTranskribusRestApiUrl(); List<String> getTranskribusAllowedDocumentTypes(); int getTocIndentation(); boolean isPageBrowseEnabled(); List<Integer> getPageBrowseSteps(); String getTaskManagerServiceUrl(); String getTaskManagerRestUrl(); String getReCaptchaSiteKey(); boolean isUseReCaptcha(); boolean isSearchInItemEnabled(); String getDefaultBrowseIcon(String field); boolean isSearchExcelExportEnabled(); List<String> getSearchExcelExportFields(); int getExcelDownloadTimeout(); boolean isDisplayEmptyTocInSidebar(); boolean isDoublePageModeEnabled(); List<String> getRestrictedImageUrls(); List<String> getIIIFLicenses(); List<String> getIIIFMetadataFields(); List<String> getIIIFEventFields(); String getIIIFMetadataLabel(String field); int getIIIFDiscoveryAvtivitiesPerPage(); List<String> getIIIFLogo(); String getIIIFNavDateField(); List<String> getIIIFAttribution(); List<String> getIIIFDescriptionFields(); String getSitelinksField(); String getSitelinksFilterQuery(); List<String> getConfiguredCollections(); String getWebApiToken(); boolean isAllowRedirectCollectionToWork(); String getTwitterUserName(); float getLimitImageHeightUpperRatioThreshold(); float getLimitImageHeightLowerRatioThreshold(); boolean isLimitImageHeight(); boolean isAddCORSHeader(); String getCORSHeaderValue(); boolean isDiscloseImageContentLocation(); String getAccessConditionDisplayField(); String getCopyrightDisplayField(); boolean isDisplayCopyrightInfo(); boolean isDisplaySocialMediaShareLinks(); boolean isDisplayAnchorLabelInTitleBar(String template); String getAnchorLabelInTitleBarPrefix(String template); String getAnchorLabelInTitleBarSuffix(String template); String getMapBoxToken(); GeoMapMarker getGeoMapMarker(String name); List<String> getGeoMapMarkerFields(); List<GeoMapMarker> getGeoMapMarkers(); static GeoMapMarker readGeoMapMarker(HierarchicalConfiguration config); List<LicenseDescription> getLicenseDescriptions(); }
@Test public void isMetadataPdfEnabled_shouldReturnCorrectValue() throws Exception { Assert.assertEquals(false, DataManager.getInstance().getConfiguration().isMetadataPdfEnabled()); }
public boolean isMetadataPdfEnabled() { return getLocalBoolean("pdf.metadataPdfEnabled", true); }
Configuration extends AbstractConfiguration { public boolean isMetadataPdfEnabled() { return getLocalBoolean("pdf.metadataPdfEnabled", true); } }
Configuration extends AbstractConfiguration { public boolean isMetadataPdfEnabled() { return getLocalBoolean("pdf.metadataPdfEnabled", true); } Configuration(String configFilePath); }
Configuration extends AbstractConfiguration { public boolean isMetadataPdfEnabled() { return getLocalBoolean("pdf.metadataPdfEnabled", true); } Configuration(String configFilePath); Set<String> getStopwords(); boolean reloadingRequired(); String getConfigLocalPath(); String getLocalRessourceBundleFile(); int getViewerThumbnailsPerPage(); int getViewerMaxImageWidth(); int getViewerMaxImageHeight(); int getViewerMaxImageScale(); boolean isRememberImageZoom(); boolean isRememberImageRotation(); String getDfgViewerUrl(); String getConnectorVersionUrl(); List<Metadata> getTitleBarMetadata(); List<Metadata> getSearchHitMetadataForTemplate(String template); List<Metadata> getMainMetadataForTemplate(String template); List<Metadata> getSidebarMetadataForTemplate(String template); List<String> getNormdataFieldsForTemplate(String template); List<Metadata> getTocLabelConfiguration(String template); int getTocAnchorGroupElementsPerPage(); boolean isDisplaySidebarBrowsingTerms(); boolean isDisplaySidebarRssFeed(); boolean isDisplayWidgetUsage(); Metadata getWidgetUsageLicenceTextMetadata(); boolean isDisplaySidebarUsageWidgetLinkToJpegImage(); boolean isDisplaySidebarUsageWidgetLinkToMasterImage(); String getWidgetUsageMaxJpegSize(); String getWidgetUsageMaxMasterImageSize(); List<String> getCalendarDocStructTypes(); boolean isBrowsingMenuEnabled(); int getBrowsingMenuHitsPerPage(); List<BrowsingMenuFieldConfig> getBrowsingMenuFields(); String getBrowsingMenuSortingIgnoreLeadingChars(); String getDocstrctWhitelistFilterQuery(); String getCollectionSplittingChar(String field); List<DcSortingList> getCollectionSorting(String field); List<String> getCollectionBlacklist(String field); String getCollectionDefaultSortField(String field, String name); int getCollectionDisplayNumberOfVolumesLevel(String field); int getCollectionDisplayDepthForSearch(String field); String getCollectionHierarchyField(); boolean isAddCollectionHierarchyToBreadcrumbs(String field); String getSolrUrl(); String getContentServerWrapperUrl(); String getDownloadUrl(); String getRestApiUrl(); String getIIIFApiUrl(); boolean isUseIIIFApiUrlForCmsMediaUrls(); String getContentServerRealUrl(); String getMetsUrl(); String getMarcUrl(); String getDcUrl(); String getEseUrl(); List<Integer> getSearchHitsPerPageValues(); int getSearchHitsPerPageDefaultValue(); int getFulltextFragmentLength(); boolean isAdvancedSearchEnabled(); int getAdvancedSearchDefaultItemNumber(); List<AdvancedSearchFieldConfiguration> getAdvancedSearchFields(); boolean isAggregateHits(); boolean isDisplayAdditionalMetadataEnabled(); List<String> getDisplayAdditionalMetadataIgnoreFields(); List<String> getDisplayAdditionalMetadataTranslateFields(); boolean isAdvancedSearchFieldHierarchical(String field); boolean isAdvancedSearchFieldRange(String field); boolean isAdvancedSearchFieldUntokenizeForPhraseSearch(String field); String getAdvancedSearchFieldSeparatorLabel(String field); boolean isTimelineSearchEnabled(); boolean isCalendarSearchEnabled(); String getStaticQuerySuffix(); String getPreviousVersionIdentifierField(); String getNextVersionIdentifierField(); String getVersionLabelField(); String getIndexedMetsFolder(); String getIndexedLidoFolder(); String getIndexedDenkxwebFolder(); String getIndexedDublinCoreFolder(); String getPageSelectionFormat(); String getMediaFolder(); String getPdfFolder(); String getVocabulariesFolder(); String getOrigContentFolder(); String getCmsTextFolder(); String getAltoFolder(); String getAbbyyFolder(); String getFulltextFolder(); String getTeiFolder(); String getCmdiFolder(); String getWcFolder(); String getAnnotationFolder(); String getHotfolder(); @SuppressWarnings("static-method") String getTempFolder(); boolean isUrnDoRedirect(); boolean isUserRegistrationEnabled(); List<SecurityQuestion> getSecurityQuestions(); boolean isShowOpenIdConnect(); List<IAuthenticationProvider> getAuthenticationProviders(); String getSmtpServer(); String getSmtpUser(); String getSmtpPassword(); String getSmtpSenderAddress(); String getSmtpSenderName(); String getSmtpSecurity(); String getAnonymousUserEmailAddress(); boolean isDisplayCollectionBrowsing(); boolean isDisplayUserNavigation(); boolean isDisplayTagCloudNavigation(); boolean isDisplayStatistics(); boolean isDisplayTimeMatrix(); boolean isDisplayCrowdsourcingModuleLinks(); String getTheme(); String getThemeRootPath(); String getName(); String getDescription(); boolean isDisplayTagCloudStartpage(); boolean isDisplaySearchResultNavigation(); boolean isFoldout(String sidebarElement); boolean isSidebarPageViewLinkVisible(); boolean isSidebarCalendarViewLinkVisible(); boolean isSidebarTocViewLinkVisible(); boolean isSidebarThumbsViewLinkVisible(); boolean isSidebarMetadataViewLinkVisible(); boolean isShowSidebarEventMetadata(); boolean isShowRecordLabelIfNoOtherViews(); boolean isSidebarFulltextLinkVisible(); boolean isSidebarTocWidgetVisible(); boolean isSidebarTocWidgetVisibleInFullscreen(); boolean isSidebarOpacLinkVisible(); boolean getSidebarTocPageNumbersVisible(); int getSidebarTocLengthBeforeCut(); int getSidebarTocInitialCollapseLevel(); int getSidebarTocCollapseLengthThreshold(); int getSidebarTocLowestLevelToCollapseForLength(); boolean isSidebarTocTreeView(); boolean isTocTreeView(String docStructType); List<String> getAllDrillDownFields(); List<String> getDrillDownFields(); List<String> getHierarchicalDrillDownFields(); int getInitialDrillDownElementNumber(String field); String getSortOrder(String field); List<String> getPriorityValuesForDrillDownField(String field); String getLabelFieldForDrillDownField(String facetField); @SuppressWarnings("static-method") List<String> getRangeFacetFields(); boolean isSortingEnabled(); String getDefaultSortField(); List<String> getSortFields(); List<String> getStaticSortFields(); String getUrnResolverUrl(); int getUnconditionalImageAccessMaxWidth(); boolean isFullAccessForLocalhost(); boolean isGeneratePdfInTaskManager(); boolean isPdfApiDisabled(); boolean isTitlePdfEnabled(); boolean isTocPdfEnabled(); boolean isMetadataPdfEnabled(); boolean isPagePdfEnabled(); boolean isDocHierarchyPdfEnabled(); boolean isTitleEpubEnabled(); boolean isTocEpubEnabled(); boolean isMetadataEpubEnabled(); String getDownloadFolder(String type); int getRssFeedItems(); String getRssTitle(); String getRssDescription(); String getRssCopyrightText(); String getRulesetFilePath(); String getDefaultCollection(); int getThumbnailsWidth(); int getThumbnailsHeight(); int getThumbnailsCompression(); String getAnchorThumbnailMode(); int getMultivolumeThumbnailWidth(); int getMultivolumeThumbnailHeight(); boolean getDisplayBreadcrumbs(); boolean getDisplayMetadataPageLinkBlock(); boolean isAddDublinCoreMetaTags(); boolean isAddHighwirePressMetaTags(); int getMetadataParamNumber(); boolean useTiles(); boolean useTilesFullscreen(); boolean useTiles(PageType view, ImageType image); int getFooterHeight(); int getFullscreenFooterHeight(); int getFooterHeight(PageType view, ImageType image); String getImageViewType(); String getZoomFullscreenViewType(); String getZoomImageViewType(PageType view, ImageType image); boolean useOpenSeadragon(); List<String> getImageViewZoomScales(); List<String> getImageViewZoomScales(String view); List<String> getImageViewZoomScales(PageType view, ImageType image); Map<Integer, List<Integer>> getTileSizes(); Map<Integer, List<Integer>> getTileSizes(PageType view, ImageType image); SubnodeConfiguration getZoomImageViewConfig(PageType pageType, ImageType imageType); int getBreadcrumbsClipping(); boolean isDisplayTopstructLabel(); boolean getDisplayStructType(); int getSearchHitMetadataValueNumber(); int getSearchHitMetadataValueLength(); List<String> getWatermarkTextConfiguration(); String getWatermarkFormat(); boolean isOriginalContentDownload(); String getStopwordsFilePath(); String getPageType(PageType type); String getDocstructTargetPageType(String docstruct); String getPageTypeExitView(PageType type); int getFulltextPercentageWarningThreshold(); boolean isUseViewerLocaleAsRecordLanguage(); String getFeedbackEmailAddress(); boolean isBookmarksEnabled(); boolean isForceJpegConversion(); int getPageLoaderThreshold(); boolean isPreventProxyCaching(); boolean isSolrCompressionEnabled(); boolean isSolrBackwardsCompatible(); boolean isUserCommentsEnabled(); String getUserCommentsConditionalQuery(); List<String> getUserCommentsNotificationEmailAddresses(); String getViewerHome(); List<String> getWatermarkIdField(); String getSubthemeMainTheme(); String getSubthemeDiscriminatorField(); int getTagCloudSampleSize(String fieldName); List<StringPair> getTocVolumeSortFieldsForTemplate(String template); String getTocVolumeGroupFieldForTemplate(String template); boolean getDisplayTitleBreadcrumbs(); boolean isDisplayTitlePURL(); int getTitleBreadcrumbsMaxTitleLength(); boolean getIncludeAnchorInTitleBreadcrumbs(); boolean isDisplaySearchRssLinks(); boolean showThumbnailsInToc(); String getStartYearForTimeline(); String getEndYearForTimeline(); String getTimelineHits(); boolean isPiwikTrackingEnabled(); String getPiwikBaseURL(); String getPiwikSiteID(); boolean isSearchSavingEnabled(); boolean isBoostTopLevelDocstructs(); boolean isGroupDuplicateHits(); List<String> getRecordGroupIdentifierFields(); List<String> getAncestorIdentifierFields(); boolean isTocListSiblingRecords(); List<SearchFilter> getSearchFilters(); List<Map<String, String>> getWebApiFields(); String getDbPersistenceUnit(); boolean useCustomNavBar(); String getCmsTemplateFolder(); String getCmsMediaFolder(); String getTempMediaFolder(); List<String> getCmsClassifications(); int getCmsMediaDisplayWidth(); int getCmsMediaDisplayHeight(); boolean isTranskribusEnabled(); String getTranskribusUserName(); String getTranskribusPassword(); String getTranskribusDefaultCollection(); String getTranskribusRestApiUrl(); List<String> getTranskribusAllowedDocumentTypes(); int getTocIndentation(); boolean isPageBrowseEnabled(); List<Integer> getPageBrowseSteps(); String getTaskManagerServiceUrl(); String getTaskManagerRestUrl(); String getReCaptchaSiteKey(); boolean isUseReCaptcha(); boolean isSearchInItemEnabled(); String getDefaultBrowseIcon(String field); boolean isSearchExcelExportEnabled(); List<String> getSearchExcelExportFields(); int getExcelDownloadTimeout(); boolean isDisplayEmptyTocInSidebar(); boolean isDoublePageModeEnabled(); List<String> getRestrictedImageUrls(); List<String> getIIIFLicenses(); List<String> getIIIFMetadataFields(); List<String> getIIIFEventFields(); String getIIIFMetadataLabel(String field); int getIIIFDiscoveryAvtivitiesPerPage(); List<String> getIIIFLogo(); String getIIIFNavDateField(); List<String> getIIIFAttribution(); List<String> getIIIFDescriptionFields(); String getSitelinksField(); String getSitelinksFilterQuery(); List<String> getConfiguredCollections(); String getWebApiToken(); boolean isAllowRedirectCollectionToWork(); String getTwitterUserName(); float getLimitImageHeightUpperRatioThreshold(); float getLimitImageHeightLowerRatioThreshold(); boolean isLimitImageHeight(); boolean isAddCORSHeader(); String getCORSHeaderValue(); boolean isDiscloseImageContentLocation(); String getAccessConditionDisplayField(); String getCopyrightDisplayField(); boolean isDisplayCopyrightInfo(); boolean isDisplaySocialMediaShareLinks(); boolean isDisplayAnchorLabelInTitleBar(String template); String getAnchorLabelInTitleBarPrefix(String template); String getAnchorLabelInTitleBarSuffix(String template); String getMapBoxToken(); GeoMapMarker getGeoMapMarker(String name); List<String> getGeoMapMarkerFields(); List<GeoMapMarker> getGeoMapMarkers(); static GeoMapMarker readGeoMapMarker(HierarchicalConfiguration config); List<LicenseDescription> getLicenseDescriptions(); }
Configuration extends AbstractConfiguration { public boolean isMetadataPdfEnabled() { return getLocalBoolean("pdf.metadataPdfEnabled", true); } Configuration(String configFilePath); Set<String> getStopwords(); boolean reloadingRequired(); String getConfigLocalPath(); String getLocalRessourceBundleFile(); int getViewerThumbnailsPerPage(); int getViewerMaxImageWidth(); int getViewerMaxImageHeight(); int getViewerMaxImageScale(); boolean isRememberImageZoom(); boolean isRememberImageRotation(); String getDfgViewerUrl(); String getConnectorVersionUrl(); List<Metadata> getTitleBarMetadata(); List<Metadata> getSearchHitMetadataForTemplate(String template); List<Metadata> getMainMetadataForTemplate(String template); List<Metadata> getSidebarMetadataForTemplate(String template); List<String> getNormdataFieldsForTemplate(String template); List<Metadata> getTocLabelConfiguration(String template); int getTocAnchorGroupElementsPerPage(); boolean isDisplaySidebarBrowsingTerms(); boolean isDisplaySidebarRssFeed(); boolean isDisplayWidgetUsage(); Metadata getWidgetUsageLicenceTextMetadata(); boolean isDisplaySidebarUsageWidgetLinkToJpegImage(); boolean isDisplaySidebarUsageWidgetLinkToMasterImage(); String getWidgetUsageMaxJpegSize(); String getWidgetUsageMaxMasterImageSize(); List<String> getCalendarDocStructTypes(); boolean isBrowsingMenuEnabled(); int getBrowsingMenuHitsPerPage(); List<BrowsingMenuFieldConfig> getBrowsingMenuFields(); String getBrowsingMenuSortingIgnoreLeadingChars(); String getDocstrctWhitelistFilterQuery(); String getCollectionSplittingChar(String field); List<DcSortingList> getCollectionSorting(String field); List<String> getCollectionBlacklist(String field); String getCollectionDefaultSortField(String field, String name); int getCollectionDisplayNumberOfVolumesLevel(String field); int getCollectionDisplayDepthForSearch(String field); String getCollectionHierarchyField(); boolean isAddCollectionHierarchyToBreadcrumbs(String field); String getSolrUrl(); String getContentServerWrapperUrl(); String getDownloadUrl(); String getRestApiUrl(); String getIIIFApiUrl(); boolean isUseIIIFApiUrlForCmsMediaUrls(); String getContentServerRealUrl(); String getMetsUrl(); String getMarcUrl(); String getDcUrl(); String getEseUrl(); List<Integer> getSearchHitsPerPageValues(); int getSearchHitsPerPageDefaultValue(); int getFulltextFragmentLength(); boolean isAdvancedSearchEnabled(); int getAdvancedSearchDefaultItemNumber(); List<AdvancedSearchFieldConfiguration> getAdvancedSearchFields(); boolean isAggregateHits(); boolean isDisplayAdditionalMetadataEnabled(); List<String> getDisplayAdditionalMetadataIgnoreFields(); List<String> getDisplayAdditionalMetadataTranslateFields(); boolean isAdvancedSearchFieldHierarchical(String field); boolean isAdvancedSearchFieldRange(String field); boolean isAdvancedSearchFieldUntokenizeForPhraseSearch(String field); String getAdvancedSearchFieldSeparatorLabel(String field); boolean isTimelineSearchEnabled(); boolean isCalendarSearchEnabled(); String getStaticQuerySuffix(); String getPreviousVersionIdentifierField(); String getNextVersionIdentifierField(); String getVersionLabelField(); String getIndexedMetsFolder(); String getIndexedLidoFolder(); String getIndexedDenkxwebFolder(); String getIndexedDublinCoreFolder(); String getPageSelectionFormat(); String getMediaFolder(); String getPdfFolder(); String getVocabulariesFolder(); String getOrigContentFolder(); String getCmsTextFolder(); String getAltoFolder(); String getAbbyyFolder(); String getFulltextFolder(); String getTeiFolder(); String getCmdiFolder(); String getWcFolder(); String getAnnotationFolder(); String getHotfolder(); @SuppressWarnings("static-method") String getTempFolder(); boolean isUrnDoRedirect(); boolean isUserRegistrationEnabled(); List<SecurityQuestion> getSecurityQuestions(); boolean isShowOpenIdConnect(); List<IAuthenticationProvider> getAuthenticationProviders(); String getSmtpServer(); String getSmtpUser(); String getSmtpPassword(); String getSmtpSenderAddress(); String getSmtpSenderName(); String getSmtpSecurity(); String getAnonymousUserEmailAddress(); boolean isDisplayCollectionBrowsing(); boolean isDisplayUserNavigation(); boolean isDisplayTagCloudNavigation(); boolean isDisplayStatistics(); boolean isDisplayTimeMatrix(); boolean isDisplayCrowdsourcingModuleLinks(); String getTheme(); String getThemeRootPath(); String getName(); String getDescription(); boolean isDisplayTagCloudStartpage(); boolean isDisplaySearchResultNavigation(); boolean isFoldout(String sidebarElement); boolean isSidebarPageViewLinkVisible(); boolean isSidebarCalendarViewLinkVisible(); boolean isSidebarTocViewLinkVisible(); boolean isSidebarThumbsViewLinkVisible(); boolean isSidebarMetadataViewLinkVisible(); boolean isShowSidebarEventMetadata(); boolean isShowRecordLabelIfNoOtherViews(); boolean isSidebarFulltextLinkVisible(); boolean isSidebarTocWidgetVisible(); boolean isSidebarTocWidgetVisibleInFullscreen(); boolean isSidebarOpacLinkVisible(); boolean getSidebarTocPageNumbersVisible(); int getSidebarTocLengthBeforeCut(); int getSidebarTocInitialCollapseLevel(); int getSidebarTocCollapseLengthThreshold(); int getSidebarTocLowestLevelToCollapseForLength(); boolean isSidebarTocTreeView(); boolean isTocTreeView(String docStructType); List<String> getAllDrillDownFields(); List<String> getDrillDownFields(); List<String> getHierarchicalDrillDownFields(); int getInitialDrillDownElementNumber(String field); String getSortOrder(String field); List<String> getPriorityValuesForDrillDownField(String field); String getLabelFieldForDrillDownField(String facetField); @SuppressWarnings("static-method") List<String> getRangeFacetFields(); boolean isSortingEnabled(); String getDefaultSortField(); List<String> getSortFields(); List<String> getStaticSortFields(); String getUrnResolverUrl(); int getUnconditionalImageAccessMaxWidth(); boolean isFullAccessForLocalhost(); boolean isGeneratePdfInTaskManager(); boolean isPdfApiDisabled(); boolean isTitlePdfEnabled(); boolean isTocPdfEnabled(); boolean isMetadataPdfEnabled(); boolean isPagePdfEnabled(); boolean isDocHierarchyPdfEnabled(); boolean isTitleEpubEnabled(); boolean isTocEpubEnabled(); boolean isMetadataEpubEnabled(); String getDownloadFolder(String type); int getRssFeedItems(); String getRssTitle(); String getRssDescription(); String getRssCopyrightText(); String getRulesetFilePath(); String getDefaultCollection(); int getThumbnailsWidth(); int getThumbnailsHeight(); int getThumbnailsCompression(); String getAnchorThumbnailMode(); int getMultivolumeThumbnailWidth(); int getMultivolumeThumbnailHeight(); boolean getDisplayBreadcrumbs(); boolean getDisplayMetadataPageLinkBlock(); boolean isAddDublinCoreMetaTags(); boolean isAddHighwirePressMetaTags(); int getMetadataParamNumber(); boolean useTiles(); boolean useTilesFullscreen(); boolean useTiles(PageType view, ImageType image); int getFooterHeight(); int getFullscreenFooterHeight(); int getFooterHeight(PageType view, ImageType image); String getImageViewType(); String getZoomFullscreenViewType(); String getZoomImageViewType(PageType view, ImageType image); boolean useOpenSeadragon(); List<String> getImageViewZoomScales(); List<String> getImageViewZoomScales(String view); List<String> getImageViewZoomScales(PageType view, ImageType image); Map<Integer, List<Integer>> getTileSizes(); Map<Integer, List<Integer>> getTileSizes(PageType view, ImageType image); SubnodeConfiguration getZoomImageViewConfig(PageType pageType, ImageType imageType); int getBreadcrumbsClipping(); boolean isDisplayTopstructLabel(); boolean getDisplayStructType(); int getSearchHitMetadataValueNumber(); int getSearchHitMetadataValueLength(); List<String> getWatermarkTextConfiguration(); String getWatermarkFormat(); boolean isOriginalContentDownload(); String getStopwordsFilePath(); String getPageType(PageType type); String getDocstructTargetPageType(String docstruct); String getPageTypeExitView(PageType type); int getFulltextPercentageWarningThreshold(); boolean isUseViewerLocaleAsRecordLanguage(); String getFeedbackEmailAddress(); boolean isBookmarksEnabled(); boolean isForceJpegConversion(); int getPageLoaderThreshold(); boolean isPreventProxyCaching(); boolean isSolrCompressionEnabled(); boolean isSolrBackwardsCompatible(); boolean isUserCommentsEnabled(); String getUserCommentsConditionalQuery(); List<String> getUserCommentsNotificationEmailAddresses(); String getViewerHome(); List<String> getWatermarkIdField(); String getSubthemeMainTheme(); String getSubthemeDiscriminatorField(); int getTagCloudSampleSize(String fieldName); List<StringPair> getTocVolumeSortFieldsForTemplate(String template); String getTocVolumeGroupFieldForTemplate(String template); boolean getDisplayTitleBreadcrumbs(); boolean isDisplayTitlePURL(); int getTitleBreadcrumbsMaxTitleLength(); boolean getIncludeAnchorInTitleBreadcrumbs(); boolean isDisplaySearchRssLinks(); boolean showThumbnailsInToc(); String getStartYearForTimeline(); String getEndYearForTimeline(); String getTimelineHits(); boolean isPiwikTrackingEnabled(); String getPiwikBaseURL(); String getPiwikSiteID(); boolean isSearchSavingEnabled(); boolean isBoostTopLevelDocstructs(); boolean isGroupDuplicateHits(); List<String> getRecordGroupIdentifierFields(); List<String> getAncestorIdentifierFields(); boolean isTocListSiblingRecords(); List<SearchFilter> getSearchFilters(); List<Map<String, String>> getWebApiFields(); String getDbPersistenceUnit(); boolean useCustomNavBar(); String getCmsTemplateFolder(); String getCmsMediaFolder(); String getTempMediaFolder(); List<String> getCmsClassifications(); int getCmsMediaDisplayWidth(); int getCmsMediaDisplayHeight(); boolean isTranskribusEnabled(); String getTranskribusUserName(); String getTranskribusPassword(); String getTranskribusDefaultCollection(); String getTranskribusRestApiUrl(); List<String> getTranskribusAllowedDocumentTypes(); int getTocIndentation(); boolean isPageBrowseEnabled(); List<Integer> getPageBrowseSteps(); String getTaskManagerServiceUrl(); String getTaskManagerRestUrl(); String getReCaptchaSiteKey(); boolean isUseReCaptcha(); boolean isSearchInItemEnabled(); String getDefaultBrowseIcon(String field); boolean isSearchExcelExportEnabled(); List<String> getSearchExcelExportFields(); int getExcelDownloadTimeout(); boolean isDisplayEmptyTocInSidebar(); boolean isDoublePageModeEnabled(); List<String> getRestrictedImageUrls(); List<String> getIIIFLicenses(); List<String> getIIIFMetadataFields(); List<String> getIIIFEventFields(); String getIIIFMetadataLabel(String field); int getIIIFDiscoveryAvtivitiesPerPage(); List<String> getIIIFLogo(); String getIIIFNavDateField(); List<String> getIIIFAttribution(); List<String> getIIIFDescriptionFields(); String getSitelinksField(); String getSitelinksFilterQuery(); List<String> getConfiguredCollections(); String getWebApiToken(); boolean isAllowRedirectCollectionToWork(); String getTwitterUserName(); float getLimitImageHeightUpperRatioThreshold(); float getLimitImageHeightLowerRatioThreshold(); boolean isLimitImageHeight(); boolean isAddCORSHeader(); String getCORSHeaderValue(); boolean isDiscloseImageContentLocation(); String getAccessConditionDisplayField(); String getCopyrightDisplayField(); boolean isDisplayCopyrightInfo(); boolean isDisplaySocialMediaShareLinks(); boolean isDisplayAnchorLabelInTitleBar(String template); String getAnchorLabelInTitleBarPrefix(String template); String getAnchorLabelInTitleBarSuffix(String template); String getMapBoxToken(); GeoMapMarker getGeoMapMarker(String name); List<String> getGeoMapMarkerFields(); List<GeoMapMarker> getGeoMapMarkers(); static GeoMapMarker readGeoMapMarker(HierarchicalConfiguration config); List<LicenseDescription> getLicenseDescriptions(); }
@Test public void isOriginalContentDownload_shouldReturnCorrectValue() throws Exception { Assert.assertEquals(false, DataManager.getInstance().getConfiguration().isOriginalContentDownload()); }
public boolean isOriginalContentDownload() { return getLocalBoolean("content.originalContentDownload", false); }
Configuration extends AbstractConfiguration { public boolean isOriginalContentDownload() { return getLocalBoolean("content.originalContentDownload", false); } }
Configuration extends AbstractConfiguration { public boolean isOriginalContentDownload() { return getLocalBoolean("content.originalContentDownload", false); } Configuration(String configFilePath); }
Configuration extends AbstractConfiguration { public boolean isOriginalContentDownload() { return getLocalBoolean("content.originalContentDownload", false); } Configuration(String configFilePath); Set<String> getStopwords(); boolean reloadingRequired(); String getConfigLocalPath(); String getLocalRessourceBundleFile(); int getViewerThumbnailsPerPage(); int getViewerMaxImageWidth(); int getViewerMaxImageHeight(); int getViewerMaxImageScale(); boolean isRememberImageZoom(); boolean isRememberImageRotation(); String getDfgViewerUrl(); String getConnectorVersionUrl(); List<Metadata> getTitleBarMetadata(); List<Metadata> getSearchHitMetadataForTemplate(String template); List<Metadata> getMainMetadataForTemplate(String template); List<Metadata> getSidebarMetadataForTemplate(String template); List<String> getNormdataFieldsForTemplate(String template); List<Metadata> getTocLabelConfiguration(String template); int getTocAnchorGroupElementsPerPage(); boolean isDisplaySidebarBrowsingTerms(); boolean isDisplaySidebarRssFeed(); boolean isDisplayWidgetUsage(); Metadata getWidgetUsageLicenceTextMetadata(); boolean isDisplaySidebarUsageWidgetLinkToJpegImage(); boolean isDisplaySidebarUsageWidgetLinkToMasterImage(); String getWidgetUsageMaxJpegSize(); String getWidgetUsageMaxMasterImageSize(); List<String> getCalendarDocStructTypes(); boolean isBrowsingMenuEnabled(); int getBrowsingMenuHitsPerPage(); List<BrowsingMenuFieldConfig> getBrowsingMenuFields(); String getBrowsingMenuSortingIgnoreLeadingChars(); String getDocstrctWhitelistFilterQuery(); String getCollectionSplittingChar(String field); List<DcSortingList> getCollectionSorting(String field); List<String> getCollectionBlacklist(String field); String getCollectionDefaultSortField(String field, String name); int getCollectionDisplayNumberOfVolumesLevel(String field); int getCollectionDisplayDepthForSearch(String field); String getCollectionHierarchyField(); boolean isAddCollectionHierarchyToBreadcrumbs(String field); String getSolrUrl(); String getContentServerWrapperUrl(); String getDownloadUrl(); String getRestApiUrl(); String getIIIFApiUrl(); boolean isUseIIIFApiUrlForCmsMediaUrls(); String getContentServerRealUrl(); String getMetsUrl(); String getMarcUrl(); String getDcUrl(); String getEseUrl(); List<Integer> getSearchHitsPerPageValues(); int getSearchHitsPerPageDefaultValue(); int getFulltextFragmentLength(); boolean isAdvancedSearchEnabled(); int getAdvancedSearchDefaultItemNumber(); List<AdvancedSearchFieldConfiguration> getAdvancedSearchFields(); boolean isAggregateHits(); boolean isDisplayAdditionalMetadataEnabled(); List<String> getDisplayAdditionalMetadataIgnoreFields(); List<String> getDisplayAdditionalMetadataTranslateFields(); boolean isAdvancedSearchFieldHierarchical(String field); boolean isAdvancedSearchFieldRange(String field); boolean isAdvancedSearchFieldUntokenizeForPhraseSearch(String field); String getAdvancedSearchFieldSeparatorLabel(String field); boolean isTimelineSearchEnabled(); boolean isCalendarSearchEnabled(); String getStaticQuerySuffix(); String getPreviousVersionIdentifierField(); String getNextVersionIdentifierField(); String getVersionLabelField(); String getIndexedMetsFolder(); String getIndexedLidoFolder(); String getIndexedDenkxwebFolder(); String getIndexedDublinCoreFolder(); String getPageSelectionFormat(); String getMediaFolder(); String getPdfFolder(); String getVocabulariesFolder(); String getOrigContentFolder(); String getCmsTextFolder(); String getAltoFolder(); String getAbbyyFolder(); String getFulltextFolder(); String getTeiFolder(); String getCmdiFolder(); String getWcFolder(); String getAnnotationFolder(); String getHotfolder(); @SuppressWarnings("static-method") String getTempFolder(); boolean isUrnDoRedirect(); boolean isUserRegistrationEnabled(); List<SecurityQuestion> getSecurityQuestions(); boolean isShowOpenIdConnect(); List<IAuthenticationProvider> getAuthenticationProviders(); String getSmtpServer(); String getSmtpUser(); String getSmtpPassword(); String getSmtpSenderAddress(); String getSmtpSenderName(); String getSmtpSecurity(); String getAnonymousUserEmailAddress(); boolean isDisplayCollectionBrowsing(); boolean isDisplayUserNavigation(); boolean isDisplayTagCloudNavigation(); boolean isDisplayStatistics(); boolean isDisplayTimeMatrix(); boolean isDisplayCrowdsourcingModuleLinks(); String getTheme(); String getThemeRootPath(); String getName(); String getDescription(); boolean isDisplayTagCloudStartpage(); boolean isDisplaySearchResultNavigation(); boolean isFoldout(String sidebarElement); boolean isSidebarPageViewLinkVisible(); boolean isSidebarCalendarViewLinkVisible(); boolean isSidebarTocViewLinkVisible(); boolean isSidebarThumbsViewLinkVisible(); boolean isSidebarMetadataViewLinkVisible(); boolean isShowSidebarEventMetadata(); boolean isShowRecordLabelIfNoOtherViews(); boolean isSidebarFulltextLinkVisible(); boolean isSidebarTocWidgetVisible(); boolean isSidebarTocWidgetVisibleInFullscreen(); boolean isSidebarOpacLinkVisible(); boolean getSidebarTocPageNumbersVisible(); int getSidebarTocLengthBeforeCut(); int getSidebarTocInitialCollapseLevel(); int getSidebarTocCollapseLengthThreshold(); int getSidebarTocLowestLevelToCollapseForLength(); boolean isSidebarTocTreeView(); boolean isTocTreeView(String docStructType); List<String> getAllDrillDownFields(); List<String> getDrillDownFields(); List<String> getHierarchicalDrillDownFields(); int getInitialDrillDownElementNumber(String field); String getSortOrder(String field); List<String> getPriorityValuesForDrillDownField(String field); String getLabelFieldForDrillDownField(String facetField); @SuppressWarnings("static-method") List<String> getRangeFacetFields(); boolean isSortingEnabled(); String getDefaultSortField(); List<String> getSortFields(); List<String> getStaticSortFields(); String getUrnResolverUrl(); int getUnconditionalImageAccessMaxWidth(); boolean isFullAccessForLocalhost(); boolean isGeneratePdfInTaskManager(); boolean isPdfApiDisabled(); boolean isTitlePdfEnabled(); boolean isTocPdfEnabled(); boolean isMetadataPdfEnabled(); boolean isPagePdfEnabled(); boolean isDocHierarchyPdfEnabled(); boolean isTitleEpubEnabled(); boolean isTocEpubEnabled(); boolean isMetadataEpubEnabled(); String getDownloadFolder(String type); int getRssFeedItems(); String getRssTitle(); String getRssDescription(); String getRssCopyrightText(); String getRulesetFilePath(); String getDefaultCollection(); int getThumbnailsWidth(); int getThumbnailsHeight(); int getThumbnailsCompression(); String getAnchorThumbnailMode(); int getMultivolumeThumbnailWidth(); int getMultivolumeThumbnailHeight(); boolean getDisplayBreadcrumbs(); boolean getDisplayMetadataPageLinkBlock(); boolean isAddDublinCoreMetaTags(); boolean isAddHighwirePressMetaTags(); int getMetadataParamNumber(); boolean useTiles(); boolean useTilesFullscreen(); boolean useTiles(PageType view, ImageType image); int getFooterHeight(); int getFullscreenFooterHeight(); int getFooterHeight(PageType view, ImageType image); String getImageViewType(); String getZoomFullscreenViewType(); String getZoomImageViewType(PageType view, ImageType image); boolean useOpenSeadragon(); List<String> getImageViewZoomScales(); List<String> getImageViewZoomScales(String view); List<String> getImageViewZoomScales(PageType view, ImageType image); Map<Integer, List<Integer>> getTileSizes(); Map<Integer, List<Integer>> getTileSizes(PageType view, ImageType image); SubnodeConfiguration getZoomImageViewConfig(PageType pageType, ImageType imageType); int getBreadcrumbsClipping(); boolean isDisplayTopstructLabel(); boolean getDisplayStructType(); int getSearchHitMetadataValueNumber(); int getSearchHitMetadataValueLength(); List<String> getWatermarkTextConfiguration(); String getWatermarkFormat(); boolean isOriginalContentDownload(); String getStopwordsFilePath(); String getPageType(PageType type); String getDocstructTargetPageType(String docstruct); String getPageTypeExitView(PageType type); int getFulltextPercentageWarningThreshold(); boolean isUseViewerLocaleAsRecordLanguage(); String getFeedbackEmailAddress(); boolean isBookmarksEnabled(); boolean isForceJpegConversion(); int getPageLoaderThreshold(); boolean isPreventProxyCaching(); boolean isSolrCompressionEnabled(); boolean isSolrBackwardsCompatible(); boolean isUserCommentsEnabled(); String getUserCommentsConditionalQuery(); List<String> getUserCommentsNotificationEmailAddresses(); String getViewerHome(); List<String> getWatermarkIdField(); String getSubthemeMainTheme(); String getSubthemeDiscriminatorField(); int getTagCloudSampleSize(String fieldName); List<StringPair> getTocVolumeSortFieldsForTemplate(String template); String getTocVolumeGroupFieldForTemplate(String template); boolean getDisplayTitleBreadcrumbs(); boolean isDisplayTitlePURL(); int getTitleBreadcrumbsMaxTitleLength(); boolean getIncludeAnchorInTitleBreadcrumbs(); boolean isDisplaySearchRssLinks(); boolean showThumbnailsInToc(); String getStartYearForTimeline(); String getEndYearForTimeline(); String getTimelineHits(); boolean isPiwikTrackingEnabled(); String getPiwikBaseURL(); String getPiwikSiteID(); boolean isSearchSavingEnabled(); boolean isBoostTopLevelDocstructs(); boolean isGroupDuplicateHits(); List<String> getRecordGroupIdentifierFields(); List<String> getAncestorIdentifierFields(); boolean isTocListSiblingRecords(); List<SearchFilter> getSearchFilters(); List<Map<String, String>> getWebApiFields(); String getDbPersistenceUnit(); boolean useCustomNavBar(); String getCmsTemplateFolder(); String getCmsMediaFolder(); String getTempMediaFolder(); List<String> getCmsClassifications(); int getCmsMediaDisplayWidth(); int getCmsMediaDisplayHeight(); boolean isTranskribusEnabled(); String getTranskribusUserName(); String getTranskribusPassword(); String getTranskribusDefaultCollection(); String getTranskribusRestApiUrl(); List<String> getTranskribusAllowedDocumentTypes(); int getTocIndentation(); boolean isPageBrowseEnabled(); List<Integer> getPageBrowseSteps(); String getTaskManagerServiceUrl(); String getTaskManagerRestUrl(); String getReCaptchaSiteKey(); boolean isUseReCaptcha(); boolean isSearchInItemEnabled(); String getDefaultBrowseIcon(String field); boolean isSearchExcelExportEnabled(); List<String> getSearchExcelExportFields(); int getExcelDownloadTimeout(); boolean isDisplayEmptyTocInSidebar(); boolean isDoublePageModeEnabled(); List<String> getRestrictedImageUrls(); List<String> getIIIFLicenses(); List<String> getIIIFMetadataFields(); List<String> getIIIFEventFields(); String getIIIFMetadataLabel(String field); int getIIIFDiscoveryAvtivitiesPerPage(); List<String> getIIIFLogo(); String getIIIFNavDateField(); List<String> getIIIFAttribution(); List<String> getIIIFDescriptionFields(); String getSitelinksField(); String getSitelinksFilterQuery(); List<String> getConfiguredCollections(); String getWebApiToken(); boolean isAllowRedirectCollectionToWork(); String getTwitterUserName(); float getLimitImageHeightUpperRatioThreshold(); float getLimitImageHeightLowerRatioThreshold(); boolean isLimitImageHeight(); boolean isAddCORSHeader(); String getCORSHeaderValue(); boolean isDiscloseImageContentLocation(); String getAccessConditionDisplayField(); String getCopyrightDisplayField(); boolean isDisplayCopyrightInfo(); boolean isDisplaySocialMediaShareLinks(); boolean isDisplayAnchorLabelInTitleBar(String template); String getAnchorLabelInTitleBarPrefix(String template); String getAnchorLabelInTitleBarSuffix(String template); String getMapBoxToken(); GeoMapMarker getGeoMapMarker(String name); List<String> getGeoMapMarkerFields(); List<GeoMapMarker> getGeoMapMarkers(); static GeoMapMarker readGeoMapMarker(HierarchicalConfiguration config); List<LicenseDescription> getLicenseDescriptions(); }
Configuration extends AbstractConfiguration { public boolean isOriginalContentDownload() { return getLocalBoolean("content.originalContentDownload", false); } Configuration(String configFilePath); Set<String> getStopwords(); boolean reloadingRequired(); String getConfigLocalPath(); String getLocalRessourceBundleFile(); int getViewerThumbnailsPerPage(); int getViewerMaxImageWidth(); int getViewerMaxImageHeight(); int getViewerMaxImageScale(); boolean isRememberImageZoom(); boolean isRememberImageRotation(); String getDfgViewerUrl(); String getConnectorVersionUrl(); List<Metadata> getTitleBarMetadata(); List<Metadata> getSearchHitMetadataForTemplate(String template); List<Metadata> getMainMetadataForTemplate(String template); List<Metadata> getSidebarMetadataForTemplate(String template); List<String> getNormdataFieldsForTemplate(String template); List<Metadata> getTocLabelConfiguration(String template); int getTocAnchorGroupElementsPerPage(); boolean isDisplaySidebarBrowsingTerms(); boolean isDisplaySidebarRssFeed(); boolean isDisplayWidgetUsage(); Metadata getWidgetUsageLicenceTextMetadata(); boolean isDisplaySidebarUsageWidgetLinkToJpegImage(); boolean isDisplaySidebarUsageWidgetLinkToMasterImage(); String getWidgetUsageMaxJpegSize(); String getWidgetUsageMaxMasterImageSize(); List<String> getCalendarDocStructTypes(); boolean isBrowsingMenuEnabled(); int getBrowsingMenuHitsPerPage(); List<BrowsingMenuFieldConfig> getBrowsingMenuFields(); String getBrowsingMenuSortingIgnoreLeadingChars(); String getDocstrctWhitelistFilterQuery(); String getCollectionSplittingChar(String field); List<DcSortingList> getCollectionSorting(String field); List<String> getCollectionBlacklist(String field); String getCollectionDefaultSortField(String field, String name); int getCollectionDisplayNumberOfVolumesLevel(String field); int getCollectionDisplayDepthForSearch(String field); String getCollectionHierarchyField(); boolean isAddCollectionHierarchyToBreadcrumbs(String field); String getSolrUrl(); String getContentServerWrapperUrl(); String getDownloadUrl(); String getRestApiUrl(); String getIIIFApiUrl(); boolean isUseIIIFApiUrlForCmsMediaUrls(); String getContentServerRealUrl(); String getMetsUrl(); String getMarcUrl(); String getDcUrl(); String getEseUrl(); List<Integer> getSearchHitsPerPageValues(); int getSearchHitsPerPageDefaultValue(); int getFulltextFragmentLength(); boolean isAdvancedSearchEnabled(); int getAdvancedSearchDefaultItemNumber(); List<AdvancedSearchFieldConfiguration> getAdvancedSearchFields(); boolean isAggregateHits(); boolean isDisplayAdditionalMetadataEnabled(); List<String> getDisplayAdditionalMetadataIgnoreFields(); List<String> getDisplayAdditionalMetadataTranslateFields(); boolean isAdvancedSearchFieldHierarchical(String field); boolean isAdvancedSearchFieldRange(String field); boolean isAdvancedSearchFieldUntokenizeForPhraseSearch(String field); String getAdvancedSearchFieldSeparatorLabel(String field); boolean isTimelineSearchEnabled(); boolean isCalendarSearchEnabled(); String getStaticQuerySuffix(); String getPreviousVersionIdentifierField(); String getNextVersionIdentifierField(); String getVersionLabelField(); String getIndexedMetsFolder(); String getIndexedLidoFolder(); String getIndexedDenkxwebFolder(); String getIndexedDublinCoreFolder(); String getPageSelectionFormat(); String getMediaFolder(); String getPdfFolder(); String getVocabulariesFolder(); String getOrigContentFolder(); String getCmsTextFolder(); String getAltoFolder(); String getAbbyyFolder(); String getFulltextFolder(); String getTeiFolder(); String getCmdiFolder(); String getWcFolder(); String getAnnotationFolder(); String getHotfolder(); @SuppressWarnings("static-method") String getTempFolder(); boolean isUrnDoRedirect(); boolean isUserRegistrationEnabled(); List<SecurityQuestion> getSecurityQuestions(); boolean isShowOpenIdConnect(); List<IAuthenticationProvider> getAuthenticationProviders(); String getSmtpServer(); String getSmtpUser(); String getSmtpPassword(); String getSmtpSenderAddress(); String getSmtpSenderName(); String getSmtpSecurity(); String getAnonymousUserEmailAddress(); boolean isDisplayCollectionBrowsing(); boolean isDisplayUserNavigation(); boolean isDisplayTagCloudNavigation(); boolean isDisplayStatistics(); boolean isDisplayTimeMatrix(); boolean isDisplayCrowdsourcingModuleLinks(); String getTheme(); String getThemeRootPath(); String getName(); String getDescription(); boolean isDisplayTagCloudStartpage(); boolean isDisplaySearchResultNavigation(); boolean isFoldout(String sidebarElement); boolean isSidebarPageViewLinkVisible(); boolean isSidebarCalendarViewLinkVisible(); boolean isSidebarTocViewLinkVisible(); boolean isSidebarThumbsViewLinkVisible(); boolean isSidebarMetadataViewLinkVisible(); boolean isShowSidebarEventMetadata(); boolean isShowRecordLabelIfNoOtherViews(); boolean isSidebarFulltextLinkVisible(); boolean isSidebarTocWidgetVisible(); boolean isSidebarTocWidgetVisibleInFullscreen(); boolean isSidebarOpacLinkVisible(); boolean getSidebarTocPageNumbersVisible(); int getSidebarTocLengthBeforeCut(); int getSidebarTocInitialCollapseLevel(); int getSidebarTocCollapseLengthThreshold(); int getSidebarTocLowestLevelToCollapseForLength(); boolean isSidebarTocTreeView(); boolean isTocTreeView(String docStructType); List<String> getAllDrillDownFields(); List<String> getDrillDownFields(); List<String> getHierarchicalDrillDownFields(); int getInitialDrillDownElementNumber(String field); String getSortOrder(String field); List<String> getPriorityValuesForDrillDownField(String field); String getLabelFieldForDrillDownField(String facetField); @SuppressWarnings("static-method") List<String> getRangeFacetFields(); boolean isSortingEnabled(); String getDefaultSortField(); List<String> getSortFields(); List<String> getStaticSortFields(); String getUrnResolverUrl(); int getUnconditionalImageAccessMaxWidth(); boolean isFullAccessForLocalhost(); boolean isGeneratePdfInTaskManager(); boolean isPdfApiDisabled(); boolean isTitlePdfEnabled(); boolean isTocPdfEnabled(); boolean isMetadataPdfEnabled(); boolean isPagePdfEnabled(); boolean isDocHierarchyPdfEnabled(); boolean isTitleEpubEnabled(); boolean isTocEpubEnabled(); boolean isMetadataEpubEnabled(); String getDownloadFolder(String type); int getRssFeedItems(); String getRssTitle(); String getRssDescription(); String getRssCopyrightText(); String getRulesetFilePath(); String getDefaultCollection(); int getThumbnailsWidth(); int getThumbnailsHeight(); int getThumbnailsCompression(); String getAnchorThumbnailMode(); int getMultivolumeThumbnailWidth(); int getMultivolumeThumbnailHeight(); boolean getDisplayBreadcrumbs(); boolean getDisplayMetadataPageLinkBlock(); boolean isAddDublinCoreMetaTags(); boolean isAddHighwirePressMetaTags(); int getMetadataParamNumber(); boolean useTiles(); boolean useTilesFullscreen(); boolean useTiles(PageType view, ImageType image); int getFooterHeight(); int getFullscreenFooterHeight(); int getFooterHeight(PageType view, ImageType image); String getImageViewType(); String getZoomFullscreenViewType(); String getZoomImageViewType(PageType view, ImageType image); boolean useOpenSeadragon(); List<String> getImageViewZoomScales(); List<String> getImageViewZoomScales(String view); List<String> getImageViewZoomScales(PageType view, ImageType image); Map<Integer, List<Integer>> getTileSizes(); Map<Integer, List<Integer>> getTileSizes(PageType view, ImageType image); SubnodeConfiguration getZoomImageViewConfig(PageType pageType, ImageType imageType); int getBreadcrumbsClipping(); boolean isDisplayTopstructLabel(); boolean getDisplayStructType(); int getSearchHitMetadataValueNumber(); int getSearchHitMetadataValueLength(); List<String> getWatermarkTextConfiguration(); String getWatermarkFormat(); boolean isOriginalContentDownload(); String getStopwordsFilePath(); String getPageType(PageType type); String getDocstructTargetPageType(String docstruct); String getPageTypeExitView(PageType type); int getFulltextPercentageWarningThreshold(); boolean isUseViewerLocaleAsRecordLanguage(); String getFeedbackEmailAddress(); boolean isBookmarksEnabled(); boolean isForceJpegConversion(); int getPageLoaderThreshold(); boolean isPreventProxyCaching(); boolean isSolrCompressionEnabled(); boolean isSolrBackwardsCompatible(); boolean isUserCommentsEnabled(); String getUserCommentsConditionalQuery(); List<String> getUserCommentsNotificationEmailAddresses(); String getViewerHome(); List<String> getWatermarkIdField(); String getSubthemeMainTheme(); String getSubthemeDiscriminatorField(); int getTagCloudSampleSize(String fieldName); List<StringPair> getTocVolumeSortFieldsForTemplate(String template); String getTocVolumeGroupFieldForTemplate(String template); boolean getDisplayTitleBreadcrumbs(); boolean isDisplayTitlePURL(); int getTitleBreadcrumbsMaxTitleLength(); boolean getIncludeAnchorInTitleBreadcrumbs(); boolean isDisplaySearchRssLinks(); boolean showThumbnailsInToc(); String getStartYearForTimeline(); String getEndYearForTimeline(); String getTimelineHits(); boolean isPiwikTrackingEnabled(); String getPiwikBaseURL(); String getPiwikSiteID(); boolean isSearchSavingEnabled(); boolean isBoostTopLevelDocstructs(); boolean isGroupDuplicateHits(); List<String> getRecordGroupIdentifierFields(); List<String> getAncestorIdentifierFields(); boolean isTocListSiblingRecords(); List<SearchFilter> getSearchFilters(); List<Map<String, String>> getWebApiFields(); String getDbPersistenceUnit(); boolean useCustomNavBar(); String getCmsTemplateFolder(); String getCmsMediaFolder(); String getTempMediaFolder(); List<String> getCmsClassifications(); int getCmsMediaDisplayWidth(); int getCmsMediaDisplayHeight(); boolean isTranskribusEnabled(); String getTranskribusUserName(); String getTranskribusPassword(); String getTranskribusDefaultCollection(); String getTranskribusRestApiUrl(); List<String> getTranskribusAllowedDocumentTypes(); int getTocIndentation(); boolean isPageBrowseEnabled(); List<Integer> getPageBrowseSteps(); String getTaskManagerServiceUrl(); String getTaskManagerRestUrl(); String getReCaptchaSiteKey(); boolean isUseReCaptcha(); boolean isSearchInItemEnabled(); String getDefaultBrowseIcon(String field); boolean isSearchExcelExportEnabled(); List<String> getSearchExcelExportFields(); int getExcelDownloadTimeout(); boolean isDisplayEmptyTocInSidebar(); boolean isDoublePageModeEnabled(); List<String> getRestrictedImageUrls(); List<String> getIIIFLicenses(); List<String> getIIIFMetadataFields(); List<String> getIIIFEventFields(); String getIIIFMetadataLabel(String field); int getIIIFDiscoveryAvtivitiesPerPage(); List<String> getIIIFLogo(); String getIIIFNavDateField(); List<String> getIIIFAttribution(); List<String> getIIIFDescriptionFields(); String getSitelinksField(); String getSitelinksFilterQuery(); List<String> getConfiguredCollections(); String getWebApiToken(); boolean isAllowRedirectCollectionToWork(); String getTwitterUserName(); float getLimitImageHeightUpperRatioThreshold(); float getLimitImageHeightLowerRatioThreshold(); boolean isLimitImageHeight(); boolean isAddCORSHeader(); String getCORSHeaderValue(); boolean isDiscloseImageContentLocation(); String getAccessConditionDisplayField(); String getCopyrightDisplayField(); boolean isDisplayCopyrightInfo(); boolean isDisplaySocialMediaShareLinks(); boolean isDisplayAnchorLabelInTitleBar(String template); String getAnchorLabelInTitleBarPrefix(String template); String getAnchorLabelInTitleBarSuffix(String template); String getMapBoxToken(); GeoMapMarker getGeoMapMarker(String name); List<String> getGeoMapMarkerFields(); List<GeoMapMarker> getGeoMapMarkers(); static GeoMapMarker readGeoMapMarker(HierarchicalConfiguration config); List<LicenseDescription> getLicenseDescriptions(); }
@Test public void isGeneratePdfInTaskManager_shouldReturnCorrectValue() throws Exception { Assert.assertTrue(DataManager.getInstance().getConfiguration().isGeneratePdfInTaskManager()); }
public boolean isGeneratePdfInTaskManager() { return getLocalBoolean("pdf.externalPdfGeneration", false); }
Configuration extends AbstractConfiguration { public boolean isGeneratePdfInTaskManager() { return getLocalBoolean("pdf.externalPdfGeneration", false); } }
Configuration extends AbstractConfiguration { public boolean isGeneratePdfInTaskManager() { return getLocalBoolean("pdf.externalPdfGeneration", false); } Configuration(String configFilePath); }
Configuration extends AbstractConfiguration { public boolean isGeneratePdfInTaskManager() { return getLocalBoolean("pdf.externalPdfGeneration", false); } Configuration(String configFilePath); Set<String> getStopwords(); boolean reloadingRequired(); String getConfigLocalPath(); String getLocalRessourceBundleFile(); int getViewerThumbnailsPerPage(); int getViewerMaxImageWidth(); int getViewerMaxImageHeight(); int getViewerMaxImageScale(); boolean isRememberImageZoom(); boolean isRememberImageRotation(); String getDfgViewerUrl(); String getConnectorVersionUrl(); List<Metadata> getTitleBarMetadata(); List<Metadata> getSearchHitMetadataForTemplate(String template); List<Metadata> getMainMetadataForTemplate(String template); List<Metadata> getSidebarMetadataForTemplate(String template); List<String> getNormdataFieldsForTemplate(String template); List<Metadata> getTocLabelConfiguration(String template); int getTocAnchorGroupElementsPerPage(); boolean isDisplaySidebarBrowsingTerms(); boolean isDisplaySidebarRssFeed(); boolean isDisplayWidgetUsage(); Metadata getWidgetUsageLicenceTextMetadata(); boolean isDisplaySidebarUsageWidgetLinkToJpegImage(); boolean isDisplaySidebarUsageWidgetLinkToMasterImage(); String getWidgetUsageMaxJpegSize(); String getWidgetUsageMaxMasterImageSize(); List<String> getCalendarDocStructTypes(); boolean isBrowsingMenuEnabled(); int getBrowsingMenuHitsPerPage(); List<BrowsingMenuFieldConfig> getBrowsingMenuFields(); String getBrowsingMenuSortingIgnoreLeadingChars(); String getDocstrctWhitelistFilterQuery(); String getCollectionSplittingChar(String field); List<DcSortingList> getCollectionSorting(String field); List<String> getCollectionBlacklist(String field); String getCollectionDefaultSortField(String field, String name); int getCollectionDisplayNumberOfVolumesLevel(String field); int getCollectionDisplayDepthForSearch(String field); String getCollectionHierarchyField(); boolean isAddCollectionHierarchyToBreadcrumbs(String field); String getSolrUrl(); String getContentServerWrapperUrl(); String getDownloadUrl(); String getRestApiUrl(); String getIIIFApiUrl(); boolean isUseIIIFApiUrlForCmsMediaUrls(); String getContentServerRealUrl(); String getMetsUrl(); String getMarcUrl(); String getDcUrl(); String getEseUrl(); List<Integer> getSearchHitsPerPageValues(); int getSearchHitsPerPageDefaultValue(); int getFulltextFragmentLength(); boolean isAdvancedSearchEnabled(); int getAdvancedSearchDefaultItemNumber(); List<AdvancedSearchFieldConfiguration> getAdvancedSearchFields(); boolean isAggregateHits(); boolean isDisplayAdditionalMetadataEnabled(); List<String> getDisplayAdditionalMetadataIgnoreFields(); List<String> getDisplayAdditionalMetadataTranslateFields(); boolean isAdvancedSearchFieldHierarchical(String field); boolean isAdvancedSearchFieldRange(String field); boolean isAdvancedSearchFieldUntokenizeForPhraseSearch(String field); String getAdvancedSearchFieldSeparatorLabel(String field); boolean isTimelineSearchEnabled(); boolean isCalendarSearchEnabled(); String getStaticQuerySuffix(); String getPreviousVersionIdentifierField(); String getNextVersionIdentifierField(); String getVersionLabelField(); String getIndexedMetsFolder(); String getIndexedLidoFolder(); String getIndexedDenkxwebFolder(); String getIndexedDublinCoreFolder(); String getPageSelectionFormat(); String getMediaFolder(); String getPdfFolder(); String getVocabulariesFolder(); String getOrigContentFolder(); String getCmsTextFolder(); String getAltoFolder(); String getAbbyyFolder(); String getFulltextFolder(); String getTeiFolder(); String getCmdiFolder(); String getWcFolder(); String getAnnotationFolder(); String getHotfolder(); @SuppressWarnings("static-method") String getTempFolder(); boolean isUrnDoRedirect(); boolean isUserRegistrationEnabled(); List<SecurityQuestion> getSecurityQuestions(); boolean isShowOpenIdConnect(); List<IAuthenticationProvider> getAuthenticationProviders(); String getSmtpServer(); String getSmtpUser(); String getSmtpPassword(); String getSmtpSenderAddress(); String getSmtpSenderName(); String getSmtpSecurity(); String getAnonymousUserEmailAddress(); boolean isDisplayCollectionBrowsing(); boolean isDisplayUserNavigation(); boolean isDisplayTagCloudNavigation(); boolean isDisplayStatistics(); boolean isDisplayTimeMatrix(); boolean isDisplayCrowdsourcingModuleLinks(); String getTheme(); String getThemeRootPath(); String getName(); String getDescription(); boolean isDisplayTagCloudStartpage(); boolean isDisplaySearchResultNavigation(); boolean isFoldout(String sidebarElement); boolean isSidebarPageViewLinkVisible(); boolean isSidebarCalendarViewLinkVisible(); boolean isSidebarTocViewLinkVisible(); boolean isSidebarThumbsViewLinkVisible(); boolean isSidebarMetadataViewLinkVisible(); boolean isShowSidebarEventMetadata(); boolean isShowRecordLabelIfNoOtherViews(); boolean isSidebarFulltextLinkVisible(); boolean isSidebarTocWidgetVisible(); boolean isSidebarTocWidgetVisibleInFullscreen(); boolean isSidebarOpacLinkVisible(); boolean getSidebarTocPageNumbersVisible(); int getSidebarTocLengthBeforeCut(); int getSidebarTocInitialCollapseLevel(); int getSidebarTocCollapseLengthThreshold(); int getSidebarTocLowestLevelToCollapseForLength(); boolean isSidebarTocTreeView(); boolean isTocTreeView(String docStructType); List<String> getAllDrillDownFields(); List<String> getDrillDownFields(); List<String> getHierarchicalDrillDownFields(); int getInitialDrillDownElementNumber(String field); String getSortOrder(String field); List<String> getPriorityValuesForDrillDownField(String field); String getLabelFieldForDrillDownField(String facetField); @SuppressWarnings("static-method") List<String> getRangeFacetFields(); boolean isSortingEnabled(); String getDefaultSortField(); List<String> getSortFields(); List<String> getStaticSortFields(); String getUrnResolverUrl(); int getUnconditionalImageAccessMaxWidth(); boolean isFullAccessForLocalhost(); boolean isGeneratePdfInTaskManager(); boolean isPdfApiDisabled(); boolean isTitlePdfEnabled(); boolean isTocPdfEnabled(); boolean isMetadataPdfEnabled(); boolean isPagePdfEnabled(); boolean isDocHierarchyPdfEnabled(); boolean isTitleEpubEnabled(); boolean isTocEpubEnabled(); boolean isMetadataEpubEnabled(); String getDownloadFolder(String type); int getRssFeedItems(); String getRssTitle(); String getRssDescription(); String getRssCopyrightText(); String getRulesetFilePath(); String getDefaultCollection(); int getThumbnailsWidth(); int getThumbnailsHeight(); int getThumbnailsCompression(); String getAnchorThumbnailMode(); int getMultivolumeThumbnailWidth(); int getMultivolumeThumbnailHeight(); boolean getDisplayBreadcrumbs(); boolean getDisplayMetadataPageLinkBlock(); boolean isAddDublinCoreMetaTags(); boolean isAddHighwirePressMetaTags(); int getMetadataParamNumber(); boolean useTiles(); boolean useTilesFullscreen(); boolean useTiles(PageType view, ImageType image); int getFooterHeight(); int getFullscreenFooterHeight(); int getFooterHeight(PageType view, ImageType image); String getImageViewType(); String getZoomFullscreenViewType(); String getZoomImageViewType(PageType view, ImageType image); boolean useOpenSeadragon(); List<String> getImageViewZoomScales(); List<String> getImageViewZoomScales(String view); List<String> getImageViewZoomScales(PageType view, ImageType image); Map<Integer, List<Integer>> getTileSizes(); Map<Integer, List<Integer>> getTileSizes(PageType view, ImageType image); SubnodeConfiguration getZoomImageViewConfig(PageType pageType, ImageType imageType); int getBreadcrumbsClipping(); boolean isDisplayTopstructLabel(); boolean getDisplayStructType(); int getSearchHitMetadataValueNumber(); int getSearchHitMetadataValueLength(); List<String> getWatermarkTextConfiguration(); String getWatermarkFormat(); boolean isOriginalContentDownload(); String getStopwordsFilePath(); String getPageType(PageType type); String getDocstructTargetPageType(String docstruct); String getPageTypeExitView(PageType type); int getFulltextPercentageWarningThreshold(); boolean isUseViewerLocaleAsRecordLanguage(); String getFeedbackEmailAddress(); boolean isBookmarksEnabled(); boolean isForceJpegConversion(); int getPageLoaderThreshold(); boolean isPreventProxyCaching(); boolean isSolrCompressionEnabled(); boolean isSolrBackwardsCompatible(); boolean isUserCommentsEnabled(); String getUserCommentsConditionalQuery(); List<String> getUserCommentsNotificationEmailAddresses(); String getViewerHome(); List<String> getWatermarkIdField(); String getSubthemeMainTheme(); String getSubthemeDiscriminatorField(); int getTagCloudSampleSize(String fieldName); List<StringPair> getTocVolumeSortFieldsForTemplate(String template); String getTocVolumeGroupFieldForTemplate(String template); boolean getDisplayTitleBreadcrumbs(); boolean isDisplayTitlePURL(); int getTitleBreadcrumbsMaxTitleLength(); boolean getIncludeAnchorInTitleBreadcrumbs(); boolean isDisplaySearchRssLinks(); boolean showThumbnailsInToc(); String getStartYearForTimeline(); String getEndYearForTimeline(); String getTimelineHits(); boolean isPiwikTrackingEnabled(); String getPiwikBaseURL(); String getPiwikSiteID(); boolean isSearchSavingEnabled(); boolean isBoostTopLevelDocstructs(); boolean isGroupDuplicateHits(); List<String> getRecordGroupIdentifierFields(); List<String> getAncestorIdentifierFields(); boolean isTocListSiblingRecords(); List<SearchFilter> getSearchFilters(); List<Map<String, String>> getWebApiFields(); String getDbPersistenceUnit(); boolean useCustomNavBar(); String getCmsTemplateFolder(); String getCmsMediaFolder(); String getTempMediaFolder(); List<String> getCmsClassifications(); int getCmsMediaDisplayWidth(); int getCmsMediaDisplayHeight(); boolean isTranskribusEnabled(); String getTranskribusUserName(); String getTranskribusPassword(); String getTranskribusDefaultCollection(); String getTranskribusRestApiUrl(); List<String> getTranskribusAllowedDocumentTypes(); int getTocIndentation(); boolean isPageBrowseEnabled(); List<Integer> getPageBrowseSteps(); String getTaskManagerServiceUrl(); String getTaskManagerRestUrl(); String getReCaptchaSiteKey(); boolean isUseReCaptcha(); boolean isSearchInItemEnabled(); String getDefaultBrowseIcon(String field); boolean isSearchExcelExportEnabled(); List<String> getSearchExcelExportFields(); int getExcelDownloadTimeout(); boolean isDisplayEmptyTocInSidebar(); boolean isDoublePageModeEnabled(); List<String> getRestrictedImageUrls(); List<String> getIIIFLicenses(); List<String> getIIIFMetadataFields(); List<String> getIIIFEventFields(); String getIIIFMetadataLabel(String field); int getIIIFDiscoveryAvtivitiesPerPage(); List<String> getIIIFLogo(); String getIIIFNavDateField(); List<String> getIIIFAttribution(); List<String> getIIIFDescriptionFields(); String getSitelinksField(); String getSitelinksFilterQuery(); List<String> getConfiguredCollections(); String getWebApiToken(); boolean isAllowRedirectCollectionToWork(); String getTwitterUserName(); float getLimitImageHeightUpperRatioThreshold(); float getLimitImageHeightLowerRatioThreshold(); boolean isLimitImageHeight(); boolean isAddCORSHeader(); String getCORSHeaderValue(); boolean isDiscloseImageContentLocation(); String getAccessConditionDisplayField(); String getCopyrightDisplayField(); boolean isDisplayCopyrightInfo(); boolean isDisplaySocialMediaShareLinks(); boolean isDisplayAnchorLabelInTitleBar(String template); String getAnchorLabelInTitleBarPrefix(String template); String getAnchorLabelInTitleBarSuffix(String template); String getMapBoxToken(); GeoMapMarker getGeoMapMarker(String name); List<String> getGeoMapMarkerFields(); List<GeoMapMarker> getGeoMapMarkers(); static GeoMapMarker readGeoMapMarker(HierarchicalConfiguration config); List<LicenseDescription> getLicenseDescriptions(); }
Configuration extends AbstractConfiguration { public boolean isGeneratePdfInTaskManager() { return getLocalBoolean("pdf.externalPdfGeneration", false); } Configuration(String configFilePath); Set<String> getStopwords(); boolean reloadingRequired(); String getConfigLocalPath(); String getLocalRessourceBundleFile(); int getViewerThumbnailsPerPage(); int getViewerMaxImageWidth(); int getViewerMaxImageHeight(); int getViewerMaxImageScale(); boolean isRememberImageZoom(); boolean isRememberImageRotation(); String getDfgViewerUrl(); String getConnectorVersionUrl(); List<Metadata> getTitleBarMetadata(); List<Metadata> getSearchHitMetadataForTemplate(String template); List<Metadata> getMainMetadataForTemplate(String template); List<Metadata> getSidebarMetadataForTemplate(String template); List<String> getNormdataFieldsForTemplate(String template); List<Metadata> getTocLabelConfiguration(String template); int getTocAnchorGroupElementsPerPage(); boolean isDisplaySidebarBrowsingTerms(); boolean isDisplaySidebarRssFeed(); boolean isDisplayWidgetUsage(); Metadata getWidgetUsageLicenceTextMetadata(); boolean isDisplaySidebarUsageWidgetLinkToJpegImage(); boolean isDisplaySidebarUsageWidgetLinkToMasterImage(); String getWidgetUsageMaxJpegSize(); String getWidgetUsageMaxMasterImageSize(); List<String> getCalendarDocStructTypes(); boolean isBrowsingMenuEnabled(); int getBrowsingMenuHitsPerPage(); List<BrowsingMenuFieldConfig> getBrowsingMenuFields(); String getBrowsingMenuSortingIgnoreLeadingChars(); String getDocstrctWhitelistFilterQuery(); String getCollectionSplittingChar(String field); List<DcSortingList> getCollectionSorting(String field); List<String> getCollectionBlacklist(String field); String getCollectionDefaultSortField(String field, String name); int getCollectionDisplayNumberOfVolumesLevel(String field); int getCollectionDisplayDepthForSearch(String field); String getCollectionHierarchyField(); boolean isAddCollectionHierarchyToBreadcrumbs(String field); String getSolrUrl(); String getContentServerWrapperUrl(); String getDownloadUrl(); String getRestApiUrl(); String getIIIFApiUrl(); boolean isUseIIIFApiUrlForCmsMediaUrls(); String getContentServerRealUrl(); String getMetsUrl(); String getMarcUrl(); String getDcUrl(); String getEseUrl(); List<Integer> getSearchHitsPerPageValues(); int getSearchHitsPerPageDefaultValue(); int getFulltextFragmentLength(); boolean isAdvancedSearchEnabled(); int getAdvancedSearchDefaultItemNumber(); List<AdvancedSearchFieldConfiguration> getAdvancedSearchFields(); boolean isAggregateHits(); boolean isDisplayAdditionalMetadataEnabled(); List<String> getDisplayAdditionalMetadataIgnoreFields(); List<String> getDisplayAdditionalMetadataTranslateFields(); boolean isAdvancedSearchFieldHierarchical(String field); boolean isAdvancedSearchFieldRange(String field); boolean isAdvancedSearchFieldUntokenizeForPhraseSearch(String field); String getAdvancedSearchFieldSeparatorLabel(String field); boolean isTimelineSearchEnabled(); boolean isCalendarSearchEnabled(); String getStaticQuerySuffix(); String getPreviousVersionIdentifierField(); String getNextVersionIdentifierField(); String getVersionLabelField(); String getIndexedMetsFolder(); String getIndexedLidoFolder(); String getIndexedDenkxwebFolder(); String getIndexedDublinCoreFolder(); String getPageSelectionFormat(); String getMediaFolder(); String getPdfFolder(); String getVocabulariesFolder(); String getOrigContentFolder(); String getCmsTextFolder(); String getAltoFolder(); String getAbbyyFolder(); String getFulltextFolder(); String getTeiFolder(); String getCmdiFolder(); String getWcFolder(); String getAnnotationFolder(); String getHotfolder(); @SuppressWarnings("static-method") String getTempFolder(); boolean isUrnDoRedirect(); boolean isUserRegistrationEnabled(); List<SecurityQuestion> getSecurityQuestions(); boolean isShowOpenIdConnect(); List<IAuthenticationProvider> getAuthenticationProviders(); String getSmtpServer(); String getSmtpUser(); String getSmtpPassword(); String getSmtpSenderAddress(); String getSmtpSenderName(); String getSmtpSecurity(); String getAnonymousUserEmailAddress(); boolean isDisplayCollectionBrowsing(); boolean isDisplayUserNavigation(); boolean isDisplayTagCloudNavigation(); boolean isDisplayStatistics(); boolean isDisplayTimeMatrix(); boolean isDisplayCrowdsourcingModuleLinks(); String getTheme(); String getThemeRootPath(); String getName(); String getDescription(); boolean isDisplayTagCloudStartpage(); boolean isDisplaySearchResultNavigation(); boolean isFoldout(String sidebarElement); boolean isSidebarPageViewLinkVisible(); boolean isSidebarCalendarViewLinkVisible(); boolean isSidebarTocViewLinkVisible(); boolean isSidebarThumbsViewLinkVisible(); boolean isSidebarMetadataViewLinkVisible(); boolean isShowSidebarEventMetadata(); boolean isShowRecordLabelIfNoOtherViews(); boolean isSidebarFulltextLinkVisible(); boolean isSidebarTocWidgetVisible(); boolean isSidebarTocWidgetVisibleInFullscreen(); boolean isSidebarOpacLinkVisible(); boolean getSidebarTocPageNumbersVisible(); int getSidebarTocLengthBeforeCut(); int getSidebarTocInitialCollapseLevel(); int getSidebarTocCollapseLengthThreshold(); int getSidebarTocLowestLevelToCollapseForLength(); boolean isSidebarTocTreeView(); boolean isTocTreeView(String docStructType); List<String> getAllDrillDownFields(); List<String> getDrillDownFields(); List<String> getHierarchicalDrillDownFields(); int getInitialDrillDownElementNumber(String field); String getSortOrder(String field); List<String> getPriorityValuesForDrillDownField(String field); String getLabelFieldForDrillDownField(String facetField); @SuppressWarnings("static-method") List<String> getRangeFacetFields(); boolean isSortingEnabled(); String getDefaultSortField(); List<String> getSortFields(); List<String> getStaticSortFields(); String getUrnResolverUrl(); int getUnconditionalImageAccessMaxWidth(); boolean isFullAccessForLocalhost(); boolean isGeneratePdfInTaskManager(); boolean isPdfApiDisabled(); boolean isTitlePdfEnabled(); boolean isTocPdfEnabled(); boolean isMetadataPdfEnabled(); boolean isPagePdfEnabled(); boolean isDocHierarchyPdfEnabled(); boolean isTitleEpubEnabled(); boolean isTocEpubEnabled(); boolean isMetadataEpubEnabled(); String getDownloadFolder(String type); int getRssFeedItems(); String getRssTitle(); String getRssDescription(); String getRssCopyrightText(); String getRulesetFilePath(); String getDefaultCollection(); int getThumbnailsWidth(); int getThumbnailsHeight(); int getThumbnailsCompression(); String getAnchorThumbnailMode(); int getMultivolumeThumbnailWidth(); int getMultivolumeThumbnailHeight(); boolean getDisplayBreadcrumbs(); boolean getDisplayMetadataPageLinkBlock(); boolean isAddDublinCoreMetaTags(); boolean isAddHighwirePressMetaTags(); int getMetadataParamNumber(); boolean useTiles(); boolean useTilesFullscreen(); boolean useTiles(PageType view, ImageType image); int getFooterHeight(); int getFullscreenFooterHeight(); int getFooterHeight(PageType view, ImageType image); String getImageViewType(); String getZoomFullscreenViewType(); String getZoomImageViewType(PageType view, ImageType image); boolean useOpenSeadragon(); List<String> getImageViewZoomScales(); List<String> getImageViewZoomScales(String view); List<String> getImageViewZoomScales(PageType view, ImageType image); Map<Integer, List<Integer>> getTileSizes(); Map<Integer, List<Integer>> getTileSizes(PageType view, ImageType image); SubnodeConfiguration getZoomImageViewConfig(PageType pageType, ImageType imageType); int getBreadcrumbsClipping(); boolean isDisplayTopstructLabel(); boolean getDisplayStructType(); int getSearchHitMetadataValueNumber(); int getSearchHitMetadataValueLength(); List<String> getWatermarkTextConfiguration(); String getWatermarkFormat(); boolean isOriginalContentDownload(); String getStopwordsFilePath(); String getPageType(PageType type); String getDocstructTargetPageType(String docstruct); String getPageTypeExitView(PageType type); int getFulltextPercentageWarningThreshold(); boolean isUseViewerLocaleAsRecordLanguage(); String getFeedbackEmailAddress(); boolean isBookmarksEnabled(); boolean isForceJpegConversion(); int getPageLoaderThreshold(); boolean isPreventProxyCaching(); boolean isSolrCompressionEnabled(); boolean isSolrBackwardsCompatible(); boolean isUserCommentsEnabled(); String getUserCommentsConditionalQuery(); List<String> getUserCommentsNotificationEmailAddresses(); String getViewerHome(); List<String> getWatermarkIdField(); String getSubthemeMainTheme(); String getSubthemeDiscriminatorField(); int getTagCloudSampleSize(String fieldName); List<StringPair> getTocVolumeSortFieldsForTemplate(String template); String getTocVolumeGroupFieldForTemplate(String template); boolean getDisplayTitleBreadcrumbs(); boolean isDisplayTitlePURL(); int getTitleBreadcrumbsMaxTitleLength(); boolean getIncludeAnchorInTitleBreadcrumbs(); boolean isDisplaySearchRssLinks(); boolean showThumbnailsInToc(); String getStartYearForTimeline(); String getEndYearForTimeline(); String getTimelineHits(); boolean isPiwikTrackingEnabled(); String getPiwikBaseURL(); String getPiwikSiteID(); boolean isSearchSavingEnabled(); boolean isBoostTopLevelDocstructs(); boolean isGroupDuplicateHits(); List<String> getRecordGroupIdentifierFields(); List<String> getAncestorIdentifierFields(); boolean isTocListSiblingRecords(); List<SearchFilter> getSearchFilters(); List<Map<String, String>> getWebApiFields(); String getDbPersistenceUnit(); boolean useCustomNavBar(); String getCmsTemplateFolder(); String getCmsMediaFolder(); String getTempMediaFolder(); List<String> getCmsClassifications(); int getCmsMediaDisplayWidth(); int getCmsMediaDisplayHeight(); boolean isTranskribusEnabled(); String getTranskribusUserName(); String getTranskribusPassword(); String getTranskribusDefaultCollection(); String getTranskribusRestApiUrl(); List<String> getTranskribusAllowedDocumentTypes(); int getTocIndentation(); boolean isPageBrowseEnabled(); List<Integer> getPageBrowseSteps(); String getTaskManagerServiceUrl(); String getTaskManagerRestUrl(); String getReCaptchaSiteKey(); boolean isUseReCaptcha(); boolean isSearchInItemEnabled(); String getDefaultBrowseIcon(String field); boolean isSearchExcelExportEnabled(); List<String> getSearchExcelExportFields(); int getExcelDownloadTimeout(); boolean isDisplayEmptyTocInSidebar(); boolean isDoublePageModeEnabled(); List<String> getRestrictedImageUrls(); List<String> getIIIFLicenses(); List<String> getIIIFMetadataFields(); List<String> getIIIFEventFields(); String getIIIFMetadataLabel(String field); int getIIIFDiscoveryAvtivitiesPerPage(); List<String> getIIIFLogo(); String getIIIFNavDateField(); List<String> getIIIFAttribution(); List<String> getIIIFDescriptionFields(); String getSitelinksField(); String getSitelinksFilterQuery(); List<String> getConfiguredCollections(); String getWebApiToken(); boolean isAllowRedirectCollectionToWork(); String getTwitterUserName(); float getLimitImageHeightUpperRatioThreshold(); float getLimitImageHeightLowerRatioThreshold(); boolean isLimitImageHeight(); boolean isAddCORSHeader(); String getCORSHeaderValue(); boolean isDiscloseImageContentLocation(); String getAccessConditionDisplayField(); String getCopyrightDisplayField(); boolean isDisplayCopyrightInfo(); boolean isDisplaySocialMediaShareLinks(); boolean isDisplayAnchorLabelInTitleBar(String template); String getAnchorLabelInTitleBarPrefix(String template); String getAnchorLabelInTitleBarSuffix(String template); String getMapBoxToken(); GeoMapMarker getGeoMapMarker(String name); List<String> getGeoMapMarkerFields(); List<GeoMapMarker> getGeoMapMarkers(); static GeoMapMarker readGeoMapMarker(HierarchicalConfiguration config); List<LicenseDescription> getLicenseDescriptions(); }
@Test public void generateAccessCheckQuery_shouldWorkCorrectlyWithUrls() throws Exception { String[] result = AccessConditionUtils.generateAccessCheckQuery("PPN123456789", "file: Assert.assertEquals("+" + SolrConstants.PI_TOPSTRUCT + ":PPN123456789 +" + SolrConstants.FILENAME + ":\"bild4.png\"", result[0]); Assert.assertEquals(SolrConstants.FILENAME, result[1]); }
static String[] generateAccessCheckQuery(String identifier, String fileName) { if (StringUtils.isEmpty(fileName)) { return new String[2]; } String[] ret = new String[2]; StringBuilder sbQuery = new StringBuilder(); String useFileField = SolrConstants.FILENAME; String useFileName = FileTools.getPathFromUrlString(fileName).getFileName().toString(); boolean wildcard = false; String extension = FilenameUtils.getExtension(fileName).toLowerCase(); switch (extension) { case "webm": case "mp4": case "mp3": case "ogg": case "ogv": break; case "txt": case "xml": useFileName = useFileName.replace("." + extension, ""); wildcard = true; break; case "": wildcard = true; default: break; } sbQuery.append('+').append(SolrConstants.PI_TOPSTRUCT).append(':').append(identifier).append(" +").append(useFileField).append(':'); if (wildcard) { useFileName = ClientUtils.escapeQueryChars(useFileName) + ".*"; sbQuery.append(useFileName); } else { sbQuery.append('"').append(useFileName).append('"'); } ret[0] = sbQuery.toString(); ret[1] = useFileField; return ret; }
AccessConditionUtils { static String[] generateAccessCheckQuery(String identifier, String fileName) { if (StringUtils.isEmpty(fileName)) { return new String[2]; } String[] ret = new String[2]; StringBuilder sbQuery = new StringBuilder(); String useFileField = SolrConstants.FILENAME; String useFileName = FileTools.getPathFromUrlString(fileName).getFileName().toString(); boolean wildcard = false; String extension = FilenameUtils.getExtension(fileName).toLowerCase(); switch (extension) { case "webm": case "mp4": case "mp3": case "ogg": case "ogv": break; case "txt": case "xml": useFileName = useFileName.replace("." + extension, ""); wildcard = true; break; case "": wildcard = true; default: break; } sbQuery.append('+').append(SolrConstants.PI_TOPSTRUCT).append(':').append(identifier).append(" +").append(useFileField).append(':'); if (wildcard) { useFileName = ClientUtils.escapeQueryChars(useFileName) + ".*"; sbQuery.append(useFileName); } else { sbQuery.append('"').append(useFileName).append('"'); } ret[0] = sbQuery.toString(); ret[1] = useFileField; return ret; } }
AccessConditionUtils { static String[] generateAccessCheckQuery(String identifier, String fileName) { if (StringUtils.isEmpty(fileName)) { return new String[2]; } String[] ret = new String[2]; StringBuilder sbQuery = new StringBuilder(); String useFileField = SolrConstants.FILENAME; String useFileName = FileTools.getPathFromUrlString(fileName).getFileName().toString(); boolean wildcard = false; String extension = FilenameUtils.getExtension(fileName).toLowerCase(); switch (extension) { case "webm": case "mp4": case "mp3": case "ogg": case "ogv": break; case "txt": case "xml": useFileName = useFileName.replace("." + extension, ""); wildcard = true; break; case "": wildcard = true; default: break; } sbQuery.append('+').append(SolrConstants.PI_TOPSTRUCT).append(':').append(identifier).append(" +").append(useFileField).append(':'); if (wildcard) { useFileName = ClientUtils.escapeQueryChars(useFileName) + ".*"; sbQuery.append(useFileName); } else { sbQuery.append('"').append(useFileName).append('"'); } ret[0] = sbQuery.toString(); ret[1] = useFileField; return ret; } }
AccessConditionUtils { static String[] generateAccessCheckQuery(String identifier, String fileName) { if (StringUtils.isEmpty(fileName)) { return new String[2]; } String[] ret = new String[2]; StringBuilder sbQuery = new StringBuilder(); String useFileField = SolrConstants.FILENAME; String useFileName = FileTools.getPathFromUrlString(fileName).getFileName().toString(); boolean wildcard = false; String extension = FilenameUtils.getExtension(fileName).toLowerCase(); switch (extension) { case "webm": case "mp4": case "mp3": case "ogg": case "ogv": break; case "txt": case "xml": useFileName = useFileName.replace("." + extension, ""); wildcard = true; break; case "": wildcard = true; default: break; } sbQuery.append('+').append(SolrConstants.PI_TOPSTRUCT).append(':').append(identifier).append(" +").append(useFileField).append(':'); if (wildcard) { useFileName = ClientUtils.escapeQueryChars(useFileName) + ".*"; sbQuery.append(useFileName); } else { sbQuery.append('"').append(useFileName).append('"'); } ret[0] = sbQuery.toString(); ret[1] = useFileField; return ret; } static boolean checkAccess(HttpServletRequest request, String action, String pi, String contentFileName, boolean isThumbnail); static boolean checkAccessPermissionByIdentifierAndLogId(String identifier, String logId, String privilegeName, HttpServletRequest request); @SuppressWarnings("unchecked") static Map<String, Boolean> checkAccessPermissionByIdentiferForAllLogids(String identifier, String privilegeName, HttpServletRequest request); @SuppressWarnings("unchecked") static Map<String, Boolean> checkContentFileAccessPermission(String identifier, HttpServletRequest request, List<Path> files); static boolean checkAccessPermissionByImageUrn(String imageUrn, String privilegeName, HttpServletRequest request); static boolean checkAccessPermission(Set<String> requiredAccessConditions, String privilegeName, String query, HttpServletRequest request); static boolean checkAccessPermissionForImage(HttpServletRequest request, String pi, String contentFileName); static boolean checkAccessPermissionForThumbnail(HttpServletRequest request, String pi, String contentFileName); static boolean checkAccessPermissionForPagePdf(HttpServletRequest request, PhysicalElement page); static boolean checkAccessPermissionByIdentifierAndFilePathWithSessionMap(HttpServletRequest request, String filePath, String privilegeType); @SuppressWarnings("unchecked") static boolean checkAccessPermissionByIdentifierAndFileNameWithSessionMap(HttpServletRequest request, String pi, String contentFileName, String privilegeType); static boolean checkAccessPermission(List<LicenseType> allLicenseTypes, Set<String> requiredAccessConditions, String privilegeName, User user, String remoteAddress, String query); static boolean isFreeOpenAccess(Set<String> requiredAccessConditions, Collection<LicenseType> allLicenseTypes); static int getPdfDownloadQuotaForRecord(String pi); static boolean isConcurrentViewsLimitEnabledForAnyAccessCondition(List<String> accessConditions); }
AccessConditionUtils { static String[] generateAccessCheckQuery(String identifier, String fileName) { if (StringUtils.isEmpty(fileName)) { return new String[2]; } String[] ret = new String[2]; StringBuilder sbQuery = new StringBuilder(); String useFileField = SolrConstants.FILENAME; String useFileName = FileTools.getPathFromUrlString(fileName).getFileName().toString(); boolean wildcard = false; String extension = FilenameUtils.getExtension(fileName).toLowerCase(); switch (extension) { case "webm": case "mp4": case "mp3": case "ogg": case "ogv": break; case "txt": case "xml": useFileName = useFileName.replace("." + extension, ""); wildcard = true; break; case "": wildcard = true; default: break; } sbQuery.append('+').append(SolrConstants.PI_TOPSTRUCT).append(':').append(identifier).append(" +").append(useFileField).append(':'); if (wildcard) { useFileName = ClientUtils.escapeQueryChars(useFileName) + ".*"; sbQuery.append(useFileName); } else { sbQuery.append('"').append(useFileName).append('"'); } ret[0] = sbQuery.toString(); ret[1] = useFileField; return ret; } static boolean checkAccess(HttpServletRequest request, String action, String pi, String contentFileName, boolean isThumbnail); static boolean checkAccessPermissionByIdentifierAndLogId(String identifier, String logId, String privilegeName, HttpServletRequest request); @SuppressWarnings("unchecked") static Map<String, Boolean> checkAccessPermissionByIdentiferForAllLogids(String identifier, String privilegeName, HttpServletRequest request); @SuppressWarnings("unchecked") static Map<String, Boolean> checkContentFileAccessPermission(String identifier, HttpServletRequest request, List<Path> files); static boolean checkAccessPermissionByImageUrn(String imageUrn, String privilegeName, HttpServletRequest request); static boolean checkAccessPermission(Set<String> requiredAccessConditions, String privilegeName, String query, HttpServletRequest request); static boolean checkAccessPermissionForImage(HttpServletRequest request, String pi, String contentFileName); static boolean checkAccessPermissionForThumbnail(HttpServletRequest request, String pi, String contentFileName); static boolean checkAccessPermissionForPagePdf(HttpServletRequest request, PhysicalElement page); static boolean checkAccessPermissionByIdentifierAndFilePathWithSessionMap(HttpServletRequest request, String filePath, String privilegeType); @SuppressWarnings("unchecked") static boolean checkAccessPermissionByIdentifierAndFileNameWithSessionMap(HttpServletRequest request, String pi, String contentFileName, String privilegeType); static boolean checkAccessPermission(List<LicenseType> allLicenseTypes, Set<String> requiredAccessConditions, String privilegeName, User user, String remoteAddress, String query); static boolean isFreeOpenAccess(Set<String> requiredAccessConditions, Collection<LicenseType> allLicenseTypes); static int getPdfDownloadQuotaForRecord(String pi); static boolean isConcurrentViewsLimitEnabledForAnyAccessCondition(List<String> accessConditions); }
@Test public void isPdfApiDisabled_shouldReturnCorrectValue() throws Exception { Assert.assertEquals(false, DataManager.getInstance().getConfiguration().isPdfApiDisabled()); }
public boolean isPdfApiDisabled() { return getLocalBoolean("pdf.pdfApiDisabled", false); }
Configuration extends AbstractConfiguration { public boolean isPdfApiDisabled() { return getLocalBoolean("pdf.pdfApiDisabled", false); } }
Configuration extends AbstractConfiguration { public boolean isPdfApiDisabled() { return getLocalBoolean("pdf.pdfApiDisabled", false); } Configuration(String configFilePath); }
Configuration extends AbstractConfiguration { public boolean isPdfApiDisabled() { return getLocalBoolean("pdf.pdfApiDisabled", false); } Configuration(String configFilePath); Set<String> getStopwords(); boolean reloadingRequired(); String getConfigLocalPath(); String getLocalRessourceBundleFile(); int getViewerThumbnailsPerPage(); int getViewerMaxImageWidth(); int getViewerMaxImageHeight(); int getViewerMaxImageScale(); boolean isRememberImageZoom(); boolean isRememberImageRotation(); String getDfgViewerUrl(); String getConnectorVersionUrl(); List<Metadata> getTitleBarMetadata(); List<Metadata> getSearchHitMetadataForTemplate(String template); List<Metadata> getMainMetadataForTemplate(String template); List<Metadata> getSidebarMetadataForTemplate(String template); List<String> getNormdataFieldsForTemplate(String template); List<Metadata> getTocLabelConfiguration(String template); int getTocAnchorGroupElementsPerPage(); boolean isDisplaySidebarBrowsingTerms(); boolean isDisplaySidebarRssFeed(); boolean isDisplayWidgetUsage(); Metadata getWidgetUsageLicenceTextMetadata(); boolean isDisplaySidebarUsageWidgetLinkToJpegImage(); boolean isDisplaySidebarUsageWidgetLinkToMasterImage(); String getWidgetUsageMaxJpegSize(); String getWidgetUsageMaxMasterImageSize(); List<String> getCalendarDocStructTypes(); boolean isBrowsingMenuEnabled(); int getBrowsingMenuHitsPerPage(); List<BrowsingMenuFieldConfig> getBrowsingMenuFields(); String getBrowsingMenuSortingIgnoreLeadingChars(); String getDocstrctWhitelistFilterQuery(); String getCollectionSplittingChar(String field); List<DcSortingList> getCollectionSorting(String field); List<String> getCollectionBlacklist(String field); String getCollectionDefaultSortField(String field, String name); int getCollectionDisplayNumberOfVolumesLevel(String field); int getCollectionDisplayDepthForSearch(String field); String getCollectionHierarchyField(); boolean isAddCollectionHierarchyToBreadcrumbs(String field); String getSolrUrl(); String getContentServerWrapperUrl(); String getDownloadUrl(); String getRestApiUrl(); String getIIIFApiUrl(); boolean isUseIIIFApiUrlForCmsMediaUrls(); String getContentServerRealUrl(); String getMetsUrl(); String getMarcUrl(); String getDcUrl(); String getEseUrl(); List<Integer> getSearchHitsPerPageValues(); int getSearchHitsPerPageDefaultValue(); int getFulltextFragmentLength(); boolean isAdvancedSearchEnabled(); int getAdvancedSearchDefaultItemNumber(); List<AdvancedSearchFieldConfiguration> getAdvancedSearchFields(); boolean isAggregateHits(); boolean isDisplayAdditionalMetadataEnabled(); List<String> getDisplayAdditionalMetadataIgnoreFields(); List<String> getDisplayAdditionalMetadataTranslateFields(); boolean isAdvancedSearchFieldHierarchical(String field); boolean isAdvancedSearchFieldRange(String field); boolean isAdvancedSearchFieldUntokenizeForPhraseSearch(String field); String getAdvancedSearchFieldSeparatorLabel(String field); boolean isTimelineSearchEnabled(); boolean isCalendarSearchEnabled(); String getStaticQuerySuffix(); String getPreviousVersionIdentifierField(); String getNextVersionIdentifierField(); String getVersionLabelField(); String getIndexedMetsFolder(); String getIndexedLidoFolder(); String getIndexedDenkxwebFolder(); String getIndexedDublinCoreFolder(); String getPageSelectionFormat(); String getMediaFolder(); String getPdfFolder(); String getVocabulariesFolder(); String getOrigContentFolder(); String getCmsTextFolder(); String getAltoFolder(); String getAbbyyFolder(); String getFulltextFolder(); String getTeiFolder(); String getCmdiFolder(); String getWcFolder(); String getAnnotationFolder(); String getHotfolder(); @SuppressWarnings("static-method") String getTempFolder(); boolean isUrnDoRedirect(); boolean isUserRegistrationEnabled(); List<SecurityQuestion> getSecurityQuestions(); boolean isShowOpenIdConnect(); List<IAuthenticationProvider> getAuthenticationProviders(); String getSmtpServer(); String getSmtpUser(); String getSmtpPassword(); String getSmtpSenderAddress(); String getSmtpSenderName(); String getSmtpSecurity(); String getAnonymousUserEmailAddress(); boolean isDisplayCollectionBrowsing(); boolean isDisplayUserNavigation(); boolean isDisplayTagCloudNavigation(); boolean isDisplayStatistics(); boolean isDisplayTimeMatrix(); boolean isDisplayCrowdsourcingModuleLinks(); String getTheme(); String getThemeRootPath(); String getName(); String getDescription(); boolean isDisplayTagCloudStartpage(); boolean isDisplaySearchResultNavigation(); boolean isFoldout(String sidebarElement); boolean isSidebarPageViewLinkVisible(); boolean isSidebarCalendarViewLinkVisible(); boolean isSidebarTocViewLinkVisible(); boolean isSidebarThumbsViewLinkVisible(); boolean isSidebarMetadataViewLinkVisible(); boolean isShowSidebarEventMetadata(); boolean isShowRecordLabelIfNoOtherViews(); boolean isSidebarFulltextLinkVisible(); boolean isSidebarTocWidgetVisible(); boolean isSidebarTocWidgetVisibleInFullscreen(); boolean isSidebarOpacLinkVisible(); boolean getSidebarTocPageNumbersVisible(); int getSidebarTocLengthBeforeCut(); int getSidebarTocInitialCollapseLevel(); int getSidebarTocCollapseLengthThreshold(); int getSidebarTocLowestLevelToCollapseForLength(); boolean isSidebarTocTreeView(); boolean isTocTreeView(String docStructType); List<String> getAllDrillDownFields(); List<String> getDrillDownFields(); List<String> getHierarchicalDrillDownFields(); int getInitialDrillDownElementNumber(String field); String getSortOrder(String field); List<String> getPriorityValuesForDrillDownField(String field); String getLabelFieldForDrillDownField(String facetField); @SuppressWarnings("static-method") List<String> getRangeFacetFields(); boolean isSortingEnabled(); String getDefaultSortField(); List<String> getSortFields(); List<String> getStaticSortFields(); String getUrnResolverUrl(); int getUnconditionalImageAccessMaxWidth(); boolean isFullAccessForLocalhost(); boolean isGeneratePdfInTaskManager(); boolean isPdfApiDisabled(); boolean isTitlePdfEnabled(); boolean isTocPdfEnabled(); boolean isMetadataPdfEnabled(); boolean isPagePdfEnabled(); boolean isDocHierarchyPdfEnabled(); boolean isTitleEpubEnabled(); boolean isTocEpubEnabled(); boolean isMetadataEpubEnabled(); String getDownloadFolder(String type); int getRssFeedItems(); String getRssTitle(); String getRssDescription(); String getRssCopyrightText(); String getRulesetFilePath(); String getDefaultCollection(); int getThumbnailsWidth(); int getThumbnailsHeight(); int getThumbnailsCompression(); String getAnchorThumbnailMode(); int getMultivolumeThumbnailWidth(); int getMultivolumeThumbnailHeight(); boolean getDisplayBreadcrumbs(); boolean getDisplayMetadataPageLinkBlock(); boolean isAddDublinCoreMetaTags(); boolean isAddHighwirePressMetaTags(); int getMetadataParamNumber(); boolean useTiles(); boolean useTilesFullscreen(); boolean useTiles(PageType view, ImageType image); int getFooterHeight(); int getFullscreenFooterHeight(); int getFooterHeight(PageType view, ImageType image); String getImageViewType(); String getZoomFullscreenViewType(); String getZoomImageViewType(PageType view, ImageType image); boolean useOpenSeadragon(); List<String> getImageViewZoomScales(); List<String> getImageViewZoomScales(String view); List<String> getImageViewZoomScales(PageType view, ImageType image); Map<Integer, List<Integer>> getTileSizes(); Map<Integer, List<Integer>> getTileSizes(PageType view, ImageType image); SubnodeConfiguration getZoomImageViewConfig(PageType pageType, ImageType imageType); int getBreadcrumbsClipping(); boolean isDisplayTopstructLabel(); boolean getDisplayStructType(); int getSearchHitMetadataValueNumber(); int getSearchHitMetadataValueLength(); List<String> getWatermarkTextConfiguration(); String getWatermarkFormat(); boolean isOriginalContentDownload(); String getStopwordsFilePath(); String getPageType(PageType type); String getDocstructTargetPageType(String docstruct); String getPageTypeExitView(PageType type); int getFulltextPercentageWarningThreshold(); boolean isUseViewerLocaleAsRecordLanguage(); String getFeedbackEmailAddress(); boolean isBookmarksEnabled(); boolean isForceJpegConversion(); int getPageLoaderThreshold(); boolean isPreventProxyCaching(); boolean isSolrCompressionEnabled(); boolean isSolrBackwardsCompatible(); boolean isUserCommentsEnabled(); String getUserCommentsConditionalQuery(); List<String> getUserCommentsNotificationEmailAddresses(); String getViewerHome(); List<String> getWatermarkIdField(); String getSubthemeMainTheme(); String getSubthemeDiscriminatorField(); int getTagCloudSampleSize(String fieldName); List<StringPair> getTocVolumeSortFieldsForTemplate(String template); String getTocVolumeGroupFieldForTemplate(String template); boolean getDisplayTitleBreadcrumbs(); boolean isDisplayTitlePURL(); int getTitleBreadcrumbsMaxTitleLength(); boolean getIncludeAnchorInTitleBreadcrumbs(); boolean isDisplaySearchRssLinks(); boolean showThumbnailsInToc(); String getStartYearForTimeline(); String getEndYearForTimeline(); String getTimelineHits(); boolean isPiwikTrackingEnabled(); String getPiwikBaseURL(); String getPiwikSiteID(); boolean isSearchSavingEnabled(); boolean isBoostTopLevelDocstructs(); boolean isGroupDuplicateHits(); List<String> getRecordGroupIdentifierFields(); List<String> getAncestorIdentifierFields(); boolean isTocListSiblingRecords(); List<SearchFilter> getSearchFilters(); List<Map<String, String>> getWebApiFields(); String getDbPersistenceUnit(); boolean useCustomNavBar(); String getCmsTemplateFolder(); String getCmsMediaFolder(); String getTempMediaFolder(); List<String> getCmsClassifications(); int getCmsMediaDisplayWidth(); int getCmsMediaDisplayHeight(); boolean isTranskribusEnabled(); String getTranskribusUserName(); String getTranskribusPassword(); String getTranskribusDefaultCollection(); String getTranskribusRestApiUrl(); List<String> getTranskribusAllowedDocumentTypes(); int getTocIndentation(); boolean isPageBrowseEnabled(); List<Integer> getPageBrowseSteps(); String getTaskManagerServiceUrl(); String getTaskManagerRestUrl(); String getReCaptchaSiteKey(); boolean isUseReCaptcha(); boolean isSearchInItemEnabled(); String getDefaultBrowseIcon(String field); boolean isSearchExcelExportEnabled(); List<String> getSearchExcelExportFields(); int getExcelDownloadTimeout(); boolean isDisplayEmptyTocInSidebar(); boolean isDoublePageModeEnabled(); List<String> getRestrictedImageUrls(); List<String> getIIIFLicenses(); List<String> getIIIFMetadataFields(); List<String> getIIIFEventFields(); String getIIIFMetadataLabel(String field); int getIIIFDiscoveryAvtivitiesPerPage(); List<String> getIIIFLogo(); String getIIIFNavDateField(); List<String> getIIIFAttribution(); List<String> getIIIFDescriptionFields(); String getSitelinksField(); String getSitelinksFilterQuery(); List<String> getConfiguredCollections(); String getWebApiToken(); boolean isAllowRedirectCollectionToWork(); String getTwitterUserName(); float getLimitImageHeightUpperRatioThreshold(); float getLimitImageHeightLowerRatioThreshold(); boolean isLimitImageHeight(); boolean isAddCORSHeader(); String getCORSHeaderValue(); boolean isDiscloseImageContentLocation(); String getAccessConditionDisplayField(); String getCopyrightDisplayField(); boolean isDisplayCopyrightInfo(); boolean isDisplaySocialMediaShareLinks(); boolean isDisplayAnchorLabelInTitleBar(String template); String getAnchorLabelInTitleBarPrefix(String template); String getAnchorLabelInTitleBarSuffix(String template); String getMapBoxToken(); GeoMapMarker getGeoMapMarker(String name); List<String> getGeoMapMarkerFields(); List<GeoMapMarker> getGeoMapMarkers(); static GeoMapMarker readGeoMapMarker(HierarchicalConfiguration config); List<LicenseDescription> getLicenseDescriptions(); }
Configuration extends AbstractConfiguration { public boolean isPdfApiDisabled() { return getLocalBoolean("pdf.pdfApiDisabled", false); } Configuration(String configFilePath); Set<String> getStopwords(); boolean reloadingRequired(); String getConfigLocalPath(); String getLocalRessourceBundleFile(); int getViewerThumbnailsPerPage(); int getViewerMaxImageWidth(); int getViewerMaxImageHeight(); int getViewerMaxImageScale(); boolean isRememberImageZoom(); boolean isRememberImageRotation(); String getDfgViewerUrl(); String getConnectorVersionUrl(); List<Metadata> getTitleBarMetadata(); List<Metadata> getSearchHitMetadataForTemplate(String template); List<Metadata> getMainMetadataForTemplate(String template); List<Metadata> getSidebarMetadataForTemplate(String template); List<String> getNormdataFieldsForTemplate(String template); List<Metadata> getTocLabelConfiguration(String template); int getTocAnchorGroupElementsPerPage(); boolean isDisplaySidebarBrowsingTerms(); boolean isDisplaySidebarRssFeed(); boolean isDisplayWidgetUsage(); Metadata getWidgetUsageLicenceTextMetadata(); boolean isDisplaySidebarUsageWidgetLinkToJpegImage(); boolean isDisplaySidebarUsageWidgetLinkToMasterImage(); String getWidgetUsageMaxJpegSize(); String getWidgetUsageMaxMasterImageSize(); List<String> getCalendarDocStructTypes(); boolean isBrowsingMenuEnabled(); int getBrowsingMenuHitsPerPage(); List<BrowsingMenuFieldConfig> getBrowsingMenuFields(); String getBrowsingMenuSortingIgnoreLeadingChars(); String getDocstrctWhitelistFilterQuery(); String getCollectionSplittingChar(String field); List<DcSortingList> getCollectionSorting(String field); List<String> getCollectionBlacklist(String field); String getCollectionDefaultSortField(String field, String name); int getCollectionDisplayNumberOfVolumesLevel(String field); int getCollectionDisplayDepthForSearch(String field); String getCollectionHierarchyField(); boolean isAddCollectionHierarchyToBreadcrumbs(String field); String getSolrUrl(); String getContentServerWrapperUrl(); String getDownloadUrl(); String getRestApiUrl(); String getIIIFApiUrl(); boolean isUseIIIFApiUrlForCmsMediaUrls(); String getContentServerRealUrl(); String getMetsUrl(); String getMarcUrl(); String getDcUrl(); String getEseUrl(); List<Integer> getSearchHitsPerPageValues(); int getSearchHitsPerPageDefaultValue(); int getFulltextFragmentLength(); boolean isAdvancedSearchEnabled(); int getAdvancedSearchDefaultItemNumber(); List<AdvancedSearchFieldConfiguration> getAdvancedSearchFields(); boolean isAggregateHits(); boolean isDisplayAdditionalMetadataEnabled(); List<String> getDisplayAdditionalMetadataIgnoreFields(); List<String> getDisplayAdditionalMetadataTranslateFields(); boolean isAdvancedSearchFieldHierarchical(String field); boolean isAdvancedSearchFieldRange(String field); boolean isAdvancedSearchFieldUntokenizeForPhraseSearch(String field); String getAdvancedSearchFieldSeparatorLabel(String field); boolean isTimelineSearchEnabled(); boolean isCalendarSearchEnabled(); String getStaticQuerySuffix(); String getPreviousVersionIdentifierField(); String getNextVersionIdentifierField(); String getVersionLabelField(); String getIndexedMetsFolder(); String getIndexedLidoFolder(); String getIndexedDenkxwebFolder(); String getIndexedDublinCoreFolder(); String getPageSelectionFormat(); String getMediaFolder(); String getPdfFolder(); String getVocabulariesFolder(); String getOrigContentFolder(); String getCmsTextFolder(); String getAltoFolder(); String getAbbyyFolder(); String getFulltextFolder(); String getTeiFolder(); String getCmdiFolder(); String getWcFolder(); String getAnnotationFolder(); String getHotfolder(); @SuppressWarnings("static-method") String getTempFolder(); boolean isUrnDoRedirect(); boolean isUserRegistrationEnabled(); List<SecurityQuestion> getSecurityQuestions(); boolean isShowOpenIdConnect(); List<IAuthenticationProvider> getAuthenticationProviders(); String getSmtpServer(); String getSmtpUser(); String getSmtpPassword(); String getSmtpSenderAddress(); String getSmtpSenderName(); String getSmtpSecurity(); String getAnonymousUserEmailAddress(); boolean isDisplayCollectionBrowsing(); boolean isDisplayUserNavigation(); boolean isDisplayTagCloudNavigation(); boolean isDisplayStatistics(); boolean isDisplayTimeMatrix(); boolean isDisplayCrowdsourcingModuleLinks(); String getTheme(); String getThemeRootPath(); String getName(); String getDescription(); boolean isDisplayTagCloudStartpage(); boolean isDisplaySearchResultNavigation(); boolean isFoldout(String sidebarElement); boolean isSidebarPageViewLinkVisible(); boolean isSidebarCalendarViewLinkVisible(); boolean isSidebarTocViewLinkVisible(); boolean isSidebarThumbsViewLinkVisible(); boolean isSidebarMetadataViewLinkVisible(); boolean isShowSidebarEventMetadata(); boolean isShowRecordLabelIfNoOtherViews(); boolean isSidebarFulltextLinkVisible(); boolean isSidebarTocWidgetVisible(); boolean isSidebarTocWidgetVisibleInFullscreen(); boolean isSidebarOpacLinkVisible(); boolean getSidebarTocPageNumbersVisible(); int getSidebarTocLengthBeforeCut(); int getSidebarTocInitialCollapseLevel(); int getSidebarTocCollapseLengthThreshold(); int getSidebarTocLowestLevelToCollapseForLength(); boolean isSidebarTocTreeView(); boolean isTocTreeView(String docStructType); List<String> getAllDrillDownFields(); List<String> getDrillDownFields(); List<String> getHierarchicalDrillDownFields(); int getInitialDrillDownElementNumber(String field); String getSortOrder(String field); List<String> getPriorityValuesForDrillDownField(String field); String getLabelFieldForDrillDownField(String facetField); @SuppressWarnings("static-method") List<String> getRangeFacetFields(); boolean isSortingEnabled(); String getDefaultSortField(); List<String> getSortFields(); List<String> getStaticSortFields(); String getUrnResolverUrl(); int getUnconditionalImageAccessMaxWidth(); boolean isFullAccessForLocalhost(); boolean isGeneratePdfInTaskManager(); boolean isPdfApiDisabled(); boolean isTitlePdfEnabled(); boolean isTocPdfEnabled(); boolean isMetadataPdfEnabled(); boolean isPagePdfEnabled(); boolean isDocHierarchyPdfEnabled(); boolean isTitleEpubEnabled(); boolean isTocEpubEnabled(); boolean isMetadataEpubEnabled(); String getDownloadFolder(String type); int getRssFeedItems(); String getRssTitle(); String getRssDescription(); String getRssCopyrightText(); String getRulesetFilePath(); String getDefaultCollection(); int getThumbnailsWidth(); int getThumbnailsHeight(); int getThumbnailsCompression(); String getAnchorThumbnailMode(); int getMultivolumeThumbnailWidth(); int getMultivolumeThumbnailHeight(); boolean getDisplayBreadcrumbs(); boolean getDisplayMetadataPageLinkBlock(); boolean isAddDublinCoreMetaTags(); boolean isAddHighwirePressMetaTags(); int getMetadataParamNumber(); boolean useTiles(); boolean useTilesFullscreen(); boolean useTiles(PageType view, ImageType image); int getFooterHeight(); int getFullscreenFooterHeight(); int getFooterHeight(PageType view, ImageType image); String getImageViewType(); String getZoomFullscreenViewType(); String getZoomImageViewType(PageType view, ImageType image); boolean useOpenSeadragon(); List<String> getImageViewZoomScales(); List<String> getImageViewZoomScales(String view); List<String> getImageViewZoomScales(PageType view, ImageType image); Map<Integer, List<Integer>> getTileSizes(); Map<Integer, List<Integer>> getTileSizes(PageType view, ImageType image); SubnodeConfiguration getZoomImageViewConfig(PageType pageType, ImageType imageType); int getBreadcrumbsClipping(); boolean isDisplayTopstructLabel(); boolean getDisplayStructType(); int getSearchHitMetadataValueNumber(); int getSearchHitMetadataValueLength(); List<String> getWatermarkTextConfiguration(); String getWatermarkFormat(); boolean isOriginalContentDownload(); String getStopwordsFilePath(); String getPageType(PageType type); String getDocstructTargetPageType(String docstruct); String getPageTypeExitView(PageType type); int getFulltextPercentageWarningThreshold(); boolean isUseViewerLocaleAsRecordLanguage(); String getFeedbackEmailAddress(); boolean isBookmarksEnabled(); boolean isForceJpegConversion(); int getPageLoaderThreshold(); boolean isPreventProxyCaching(); boolean isSolrCompressionEnabled(); boolean isSolrBackwardsCompatible(); boolean isUserCommentsEnabled(); String getUserCommentsConditionalQuery(); List<String> getUserCommentsNotificationEmailAddresses(); String getViewerHome(); List<String> getWatermarkIdField(); String getSubthemeMainTheme(); String getSubthemeDiscriminatorField(); int getTagCloudSampleSize(String fieldName); List<StringPair> getTocVolumeSortFieldsForTemplate(String template); String getTocVolumeGroupFieldForTemplate(String template); boolean getDisplayTitleBreadcrumbs(); boolean isDisplayTitlePURL(); int getTitleBreadcrumbsMaxTitleLength(); boolean getIncludeAnchorInTitleBreadcrumbs(); boolean isDisplaySearchRssLinks(); boolean showThumbnailsInToc(); String getStartYearForTimeline(); String getEndYearForTimeline(); String getTimelineHits(); boolean isPiwikTrackingEnabled(); String getPiwikBaseURL(); String getPiwikSiteID(); boolean isSearchSavingEnabled(); boolean isBoostTopLevelDocstructs(); boolean isGroupDuplicateHits(); List<String> getRecordGroupIdentifierFields(); List<String> getAncestorIdentifierFields(); boolean isTocListSiblingRecords(); List<SearchFilter> getSearchFilters(); List<Map<String, String>> getWebApiFields(); String getDbPersistenceUnit(); boolean useCustomNavBar(); String getCmsTemplateFolder(); String getCmsMediaFolder(); String getTempMediaFolder(); List<String> getCmsClassifications(); int getCmsMediaDisplayWidth(); int getCmsMediaDisplayHeight(); boolean isTranskribusEnabled(); String getTranskribusUserName(); String getTranskribusPassword(); String getTranskribusDefaultCollection(); String getTranskribusRestApiUrl(); List<String> getTranskribusAllowedDocumentTypes(); int getTocIndentation(); boolean isPageBrowseEnabled(); List<Integer> getPageBrowseSteps(); String getTaskManagerServiceUrl(); String getTaskManagerRestUrl(); String getReCaptchaSiteKey(); boolean isUseReCaptcha(); boolean isSearchInItemEnabled(); String getDefaultBrowseIcon(String field); boolean isSearchExcelExportEnabled(); List<String> getSearchExcelExportFields(); int getExcelDownloadTimeout(); boolean isDisplayEmptyTocInSidebar(); boolean isDoublePageModeEnabled(); List<String> getRestrictedImageUrls(); List<String> getIIIFLicenses(); List<String> getIIIFMetadataFields(); List<String> getIIIFEventFields(); String getIIIFMetadataLabel(String field); int getIIIFDiscoveryAvtivitiesPerPage(); List<String> getIIIFLogo(); String getIIIFNavDateField(); List<String> getIIIFAttribution(); List<String> getIIIFDescriptionFields(); String getSitelinksField(); String getSitelinksFilterQuery(); List<String> getConfiguredCollections(); String getWebApiToken(); boolean isAllowRedirectCollectionToWork(); String getTwitterUserName(); float getLimitImageHeightUpperRatioThreshold(); float getLimitImageHeightLowerRatioThreshold(); boolean isLimitImageHeight(); boolean isAddCORSHeader(); String getCORSHeaderValue(); boolean isDiscloseImageContentLocation(); String getAccessConditionDisplayField(); String getCopyrightDisplayField(); boolean isDisplayCopyrightInfo(); boolean isDisplaySocialMediaShareLinks(); boolean isDisplayAnchorLabelInTitleBar(String template); String getAnchorLabelInTitleBarPrefix(String template); String getAnchorLabelInTitleBarSuffix(String template); String getMapBoxToken(); GeoMapMarker getGeoMapMarker(String name); List<String> getGeoMapMarkerFields(); List<GeoMapMarker> getGeoMapMarkers(); static GeoMapMarker readGeoMapMarker(HierarchicalConfiguration config); List<LicenseDescription> getLicenseDescriptions(); }
@Test public void isTitlePdfEnabled_shouldReturnCorrectValue() throws Exception { Assert.assertEquals(false, DataManager.getInstance().getConfiguration().isTitlePdfEnabled()); }
public boolean isTitlePdfEnabled() { boolean enabled = getLocalBoolean("pdf.titlePdfEnabled", true); return enabled; }
Configuration extends AbstractConfiguration { public boolean isTitlePdfEnabled() { boolean enabled = getLocalBoolean("pdf.titlePdfEnabled", true); return enabled; } }
Configuration extends AbstractConfiguration { public boolean isTitlePdfEnabled() { boolean enabled = getLocalBoolean("pdf.titlePdfEnabled", true); return enabled; } Configuration(String configFilePath); }
Configuration extends AbstractConfiguration { public boolean isTitlePdfEnabled() { boolean enabled = getLocalBoolean("pdf.titlePdfEnabled", true); return enabled; } Configuration(String configFilePath); Set<String> getStopwords(); boolean reloadingRequired(); String getConfigLocalPath(); String getLocalRessourceBundleFile(); int getViewerThumbnailsPerPage(); int getViewerMaxImageWidth(); int getViewerMaxImageHeight(); int getViewerMaxImageScale(); boolean isRememberImageZoom(); boolean isRememberImageRotation(); String getDfgViewerUrl(); String getConnectorVersionUrl(); List<Metadata> getTitleBarMetadata(); List<Metadata> getSearchHitMetadataForTemplate(String template); List<Metadata> getMainMetadataForTemplate(String template); List<Metadata> getSidebarMetadataForTemplate(String template); List<String> getNormdataFieldsForTemplate(String template); List<Metadata> getTocLabelConfiguration(String template); int getTocAnchorGroupElementsPerPage(); boolean isDisplaySidebarBrowsingTerms(); boolean isDisplaySidebarRssFeed(); boolean isDisplayWidgetUsage(); Metadata getWidgetUsageLicenceTextMetadata(); boolean isDisplaySidebarUsageWidgetLinkToJpegImage(); boolean isDisplaySidebarUsageWidgetLinkToMasterImage(); String getWidgetUsageMaxJpegSize(); String getWidgetUsageMaxMasterImageSize(); List<String> getCalendarDocStructTypes(); boolean isBrowsingMenuEnabled(); int getBrowsingMenuHitsPerPage(); List<BrowsingMenuFieldConfig> getBrowsingMenuFields(); String getBrowsingMenuSortingIgnoreLeadingChars(); String getDocstrctWhitelistFilterQuery(); String getCollectionSplittingChar(String field); List<DcSortingList> getCollectionSorting(String field); List<String> getCollectionBlacklist(String field); String getCollectionDefaultSortField(String field, String name); int getCollectionDisplayNumberOfVolumesLevel(String field); int getCollectionDisplayDepthForSearch(String field); String getCollectionHierarchyField(); boolean isAddCollectionHierarchyToBreadcrumbs(String field); String getSolrUrl(); String getContentServerWrapperUrl(); String getDownloadUrl(); String getRestApiUrl(); String getIIIFApiUrl(); boolean isUseIIIFApiUrlForCmsMediaUrls(); String getContentServerRealUrl(); String getMetsUrl(); String getMarcUrl(); String getDcUrl(); String getEseUrl(); List<Integer> getSearchHitsPerPageValues(); int getSearchHitsPerPageDefaultValue(); int getFulltextFragmentLength(); boolean isAdvancedSearchEnabled(); int getAdvancedSearchDefaultItemNumber(); List<AdvancedSearchFieldConfiguration> getAdvancedSearchFields(); boolean isAggregateHits(); boolean isDisplayAdditionalMetadataEnabled(); List<String> getDisplayAdditionalMetadataIgnoreFields(); List<String> getDisplayAdditionalMetadataTranslateFields(); boolean isAdvancedSearchFieldHierarchical(String field); boolean isAdvancedSearchFieldRange(String field); boolean isAdvancedSearchFieldUntokenizeForPhraseSearch(String field); String getAdvancedSearchFieldSeparatorLabel(String field); boolean isTimelineSearchEnabled(); boolean isCalendarSearchEnabled(); String getStaticQuerySuffix(); String getPreviousVersionIdentifierField(); String getNextVersionIdentifierField(); String getVersionLabelField(); String getIndexedMetsFolder(); String getIndexedLidoFolder(); String getIndexedDenkxwebFolder(); String getIndexedDublinCoreFolder(); String getPageSelectionFormat(); String getMediaFolder(); String getPdfFolder(); String getVocabulariesFolder(); String getOrigContentFolder(); String getCmsTextFolder(); String getAltoFolder(); String getAbbyyFolder(); String getFulltextFolder(); String getTeiFolder(); String getCmdiFolder(); String getWcFolder(); String getAnnotationFolder(); String getHotfolder(); @SuppressWarnings("static-method") String getTempFolder(); boolean isUrnDoRedirect(); boolean isUserRegistrationEnabled(); List<SecurityQuestion> getSecurityQuestions(); boolean isShowOpenIdConnect(); List<IAuthenticationProvider> getAuthenticationProviders(); String getSmtpServer(); String getSmtpUser(); String getSmtpPassword(); String getSmtpSenderAddress(); String getSmtpSenderName(); String getSmtpSecurity(); String getAnonymousUserEmailAddress(); boolean isDisplayCollectionBrowsing(); boolean isDisplayUserNavigation(); boolean isDisplayTagCloudNavigation(); boolean isDisplayStatistics(); boolean isDisplayTimeMatrix(); boolean isDisplayCrowdsourcingModuleLinks(); String getTheme(); String getThemeRootPath(); String getName(); String getDescription(); boolean isDisplayTagCloudStartpage(); boolean isDisplaySearchResultNavigation(); boolean isFoldout(String sidebarElement); boolean isSidebarPageViewLinkVisible(); boolean isSidebarCalendarViewLinkVisible(); boolean isSidebarTocViewLinkVisible(); boolean isSidebarThumbsViewLinkVisible(); boolean isSidebarMetadataViewLinkVisible(); boolean isShowSidebarEventMetadata(); boolean isShowRecordLabelIfNoOtherViews(); boolean isSidebarFulltextLinkVisible(); boolean isSidebarTocWidgetVisible(); boolean isSidebarTocWidgetVisibleInFullscreen(); boolean isSidebarOpacLinkVisible(); boolean getSidebarTocPageNumbersVisible(); int getSidebarTocLengthBeforeCut(); int getSidebarTocInitialCollapseLevel(); int getSidebarTocCollapseLengthThreshold(); int getSidebarTocLowestLevelToCollapseForLength(); boolean isSidebarTocTreeView(); boolean isTocTreeView(String docStructType); List<String> getAllDrillDownFields(); List<String> getDrillDownFields(); List<String> getHierarchicalDrillDownFields(); int getInitialDrillDownElementNumber(String field); String getSortOrder(String field); List<String> getPriorityValuesForDrillDownField(String field); String getLabelFieldForDrillDownField(String facetField); @SuppressWarnings("static-method") List<String> getRangeFacetFields(); boolean isSortingEnabled(); String getDefaultSortField(); List<String> getSortFields(); List<String> getStaticSortFields(); String getUrnResolverUrl(); int getUnconditionalImageAccessMaxWidth(); boolean isFullAccessForLocalhost(); boolean isGeneratePdfInTaskManager(); boolean isPdfApiDisabled(); boolean isTitlePdfEnabled(); boolean isTocPdfEnabled(); boolean isMetadataPdfEnabled(); boolean isPagePdfEnabled(); boolean isDocHierarchyPdfEnabled(); boolean isTitleEpubEnabled(); boolean isTocEpubEnabled(); boolean isMetadataEpubEnabled(); String getDownloadFolder(String type); int getRssFeedItems(); String getRssTitle(); String getRssDescription(); String getRssCopyrightText(); String getRulesetFilePath(); String getDefaultCollection(); int getThumbnailsWidth(); int getThumbnailsHeight(); int getThumbnailsCompression(); String getAnchorThumbnailMode(); int getMultivolumeThumbnailWidth(); int getMultivolumeThumbnailHeight(); boolean getDisplayBreadcrumbs(); boolean getDisplayMetadataPageLinkBlock(); boolean isAddDublinCoreMetaTags(); boolean isAddHighwirePressMetaTags(); int getMetadataParamNumber(); boolean useTiles(); boolean useTilesFullscreen(); boolean useTiles(PageType view, ImageType image); int getFooterHeight(); int getFullscreenFooterHeight(); int getFooterHeight(PageType view, ImageType image); String getImageViewType(); String getZoomFullscreenViewType(); String getZoomImageViewType(PageType view, ImageType image); boolean useOpenSeadragon(); List<String> getImageViewZoomScales(); List<String> getImageViewZoomScales(String view); List<String> getImageViewZoomScales(PageType view, ImageType image); Map<Integer, List<Integer>> getTileSizes(); Map<Integer, List<Integer>> getTileSizes(PageType view, ImageType image); SubnodeConfiguration getZoomImageViewConfig(PageType pageType, ImageType imageType); int getBreadcrumbsClipping(); boolean isDisplayTopstructLabel(); boolean getDisplayStructType(); int getSearchHitMetadataValueNumber(); int getSearchHitMetadataValueLength(); List<String> getWatermarkTextConfiguration(); String getWatermarkFormat(); boolean isOriginalContentDownload(); String getStopwordsFilePath(); String getPageType(PageType type); String getDocstructTargetPageType(String docstruct); String getPageTypeExitView(PageType type); int getFulltextPercentageWarningThreshold(); boolean isUseViewerLocaleAsRecordLanguage(); String getFeedbackEmailAddress(); boolean isBookmarksEnabled(); boolean isForceJpegConversion(); int getPageLoaderThreshold(); boolean isPreventProxyCaching(); boolean isSolrCompressionEnabled(); boolean isSolrBackwardsCompatible(); boolean isUserCommentsEnabled(); String getUserCommentsConditionalQuery(); List<String> getUserCommentsNotificationEmailAddresses(); String getViewerHome(); List<String> getWatermarkIdField(); String getSubthemeMainTheme(); String getSubthemeDiscriminatorField(); int getTagCloudSampleSize(String fieldName); List<StringPair> getTocVolumeSortFieldsForTemplate(String template); String getTocVolumeGroupFieldForTemplate(String template); boolean getDisplayTitleBreadcrumbs(); boolean isDisplayTitlePURL(); int getTitleBreadcrumbsMaxTitleLength(); boolean getIncludeAnchorInTitleBreadcrumbs(); boolean isDisplaySearchRssLinks(); boolean showThumbnailsInToc(); String getStartYearForTimeline(); String getEndYearForTimeline(); String getTimelineHits(); boolean isPiwikTrackingEnabled(); String getPiwikBaseURL(); String getPiwikSiteID(); boolean isSearchSavingEnabled(); boolean isBoostTopLevelDocstructs(); boolean isGroupDuplicateHits(); List<String> getRecordGroupIdentifierFields(); List<String> getAncestorIdentifierFields(); boolean isTocListSiblingRecords(); List<SearchFilter> getSearchFilters(); List<Map<String, String>> getWebApiFields(); String getDbPersistenceUnit(); boolean useCustomNavBar(); String getCmsTemplateFolder(); String getCmsMediaFolder(); String getTempMediaFolder(); List<String> getCmsClassifications(); int getCmsMediaDisplayWidth(); int getCmsMediaDisplayHeight(); boolean isTranskribusEnabled(); String getTranskribusUserName(); String getTranskribusPassword(); String getTranskribusDefaultCollection(); String getTranskribusRestApiUrl(); List<String> getTranskribusAllowedDocumentTypes(); int getTocIndentation(); boolean isPageBrowseEnabled(); List<Integer> getPageBrowseSteps(); String getTaskManagerServiceUrl(); String getTaskManagerRestUrl(); String getReCaptchaSiteKey(); boolean isUseReCaptcha(); boolean isSearchInItemEnabled(); String getDefaultBrowseIcon(String field); boolean isSearchExcelExportEnabled(); List<String> getSearchExcelExportFields(); int getExcelDownloadTimeout(); boolean isDisplayEmptyTocInSidebar(); boolean isDoublePageModeEnabled(); List<String> getRestrictedImageUrls(); List<String> getIIIFLicenses(); List<String> getIIIFMetadataFields(); List<String> getIIIFEventFields(); String getIIIFMetadataLabel(String field); int getIIIFDiscoveryAvtivitiesPerPage(); List<String> getIIIFLogo(); String getIIIFNavDateField(); List<String> getIIIFAttribution(); List<String> getIIIFDescriptionFields(); String getSitelinksField(); String getSitelinksFilterQuery(); List<String> getConfiguredCollections(); String getWebApiToken(); boolean isAllowRedirectCollectionToWork(); String getTwitterUserName(); float getLimitImageHeightUpperRatioThreshold(); float getLimitImageHeightLowerRatioThreshold(); boolean isLimitImageHeight(); boolean isAddCORSHeader(); String getCORSHeaderValue(); boolean isDiscloseImageContentLocation(); String getAccessConditionDisplayField(); String getCopyrightDisplayField(); boolean isDisplayCopyrightInfo(); boolean isDisplaySocialMediaShareLinks(); boolean isDisplayAnchorLabelInTitleBar(String template); String getAnchorLabelInTitleBarPrefix(String template); String getAnchorLabelInTitleBarSuffix(String template); String getMapBoxToken(); GeoMapMarker getGeoMapMarker(String name); List<String> getGeoMapMarkerFields(); List<GeoMapMarker> getGeoMapMarkers(); static GeoMapMarker readGeoMapMarker(HierarchicalConfiguration config); List<LicenseDescription> getLicenseDescriptions(); }
Configuration extends AbstractConfiguration { public boolean isTitlePdfEnabled() { boolean enabled = getLocalBoolean("pdf.titlePdfEnabled", true); return enabled; } Configuration(String configFilePath); Set<String> getStopwords(); boolean reloadingRequired(); String getConfigLocalPath(); String getLocalRessourceBundleFile(); int getViewerThumbnailsPerPage(); int getViewerMaxImageWidth(); int getViewerMaxImageHeight(); int getViewerMaxImageScale(); boolean isRememberImageZoom(); boolean isRememberImageRotation(); String getDfgViewerUrl(); String getConnectorVersionUrl(); List<Metadata> getTitleBarMetadata(); List<Metadata> getSearchHitMetadataForTemplate(String template); List<Metadata> getMainMetadataForTemplate(String template); List<Metadata> getSidebarMetadataForTemplate(String template); List<String> getNormdataFieldsForTemplate(String template); List<Metadata> getTocLabelConfiguration(String template); int getTocAnchorGroupElementsPerPage(); boolean isDisplaySidebarBrowsingTerms(); boolean isDisplaySidebarRssFeed(); boolean isDisplayWidgetUsage(); Metadata getWidgetUsageLicenceTextMetadata(); boolean isDisplaySidebarUsageWidgetLinkToJpegImage(); boolean isDisplaySidebarUsageWidgetLinkToMasterImage(); String getWidgetUsageMaxJpegSize(); String getWidgetUsageMaxMasterImageSize(); List<String> getCalendarDocStructTypes(); boolean isBrowsingMenuEnabled(); int getBrowsingMenuHitsPerPage(); List<BrowsingMenuFieldConfig> getBrowsingMenuFields(); String getBrowsingMenuSortingIgnoreLeadingChars(); String getDocstrctWhitelistFilterQuery(); String getCollectionSplittingChar(String field); List<DcSortingList> getCollectionSorting(String field); List<String> getCollectionBlacklist(String field); String getCollectionDefaultSortField(String field, String name); int getCollectionDisplayNumberOfVolumesLevel(String field); int getCollectionDisplayDepthForSearch(String field); String getCollectionHierarchyField(); boolean isAddCollectionHierarchyToBreadcrumbs(String field); String getSolrUrl(); String getContentServerWrapperUrl(); String getDownloadUrl(); String getRestApiUrl(); String getIIIFApiUrl(); boolean isUseIIIFApiUrlForCmsMediaUrls(); String getContentServerRealUrl(); String getMetsUrl(); String getMarcUrl(); String getDcUrl(); String getEseUrl(); List<Integer> getSearchHitsPerPageValues(); int getSearchHitsPerPageDefaultValue(); int getFulltextFragmentLength(); boolean isAdvancedSearchEnabled(); int getAdvancedSearchDefaultItemNumber(); List<AdvancedSearchFieldConfiguration> getAdvancedSearchFields(); boolean isAggregateHits(); boolean isDisplayAdditionalMetadataEnabled(); List<String> getDisplayAdditionalMetadataIgnoreFields(); List<String> getDisplayAdditionalMetadataTranslateFields(); boolean isAdvancedSearchFieldHierarchical(String field); boolean isAdvancedSearchFieldRange(String field); boolean isAdvancedSearchFieldUntokenizeForPhraseSearch(String field); String getAdvancedSearchFieldSeparatorLabel(String field); boolean isTimelineSearchEnabled(); boolean isCalendarSearchEnabled(); String getStaticQuerySuffix(); String getPreviousVersionIdentifierField(); String getNextVersionIdentifierField(); String getVersionLabelField(); String getIndexedMetsFolder(); String getIndexedLidoFolder(); String getIndexedDenkxwebFolder(); String getIndexedDublinCoreFolder(); String getPageSelectionFormat(); String getMediaFolder(); String getPdfFolder(); String getVocabulariesFolder(); String getOrigContentFolder(); String getCmsTextFolder(); String getAltoFolder(); String getAbbyyFolder(); String getFulltextFolder(); String getTeiFolder(); String getCmdiFolder(); String getWcFolder(); String getAnnotationFolder(); String getHotfolder(); @SuppressWarnings("static-method") String getTempFolder(); boolean isUrnDoRedirect(); boolean isUserRegistrationEnabled(); List<SecurityQuestion> getSecurityQuestions(); boolean isShowOpenIdConnect(); List<IAuthenticationProvider> getAuthenticationProviders(); String getSmtpServer(); String getSmtpUser(); String getSmtpPassword(); String getSmtpSenderAddress(); String getSmtpSenderName(); String getSmtpSecurity(); String getAnonymousUserEmailAddress(); boolean isDisplayCollectionBrowsing(); boolean isDisplayUserNavigation(); boolean isDisplayTagCloudNavigation(); boolean isDisplayStatistics(); boolean isDisplayTimeMatrix(); boolean isDisplayCrowdsourcingModuleLinks(); String getTheme(); String getThemeRootPath(); String getName(); String getDescription(); boolean isDisplayTagCloudStartpage(); boolean isDisplaySearchResultNavigation(); boolean isFoldout(String sidebarElement); boolean isSidebarPageViewLinkVisible(); boolean isSidebarCalendarViewLinkVisible(); boolean isSidebarTocViewLinkVisible(); boolean isSidebarThumbsViewLinkVisible(); boolean isSidebarMetadataViewLinkVisible(); boolean isShowSidebarEventMetadata(); boolean isShowRecordLabelIfNoOtherViews(); boolean isSidebarFulltextLinkVisible(); boolean isSidebarTocWidgetVisible(); boolean isSidebarTocWidgetVisibleInFullscreen(); boolean isSidebarOpacLinkVisible(); boolean getSidebarTocPageNumbersVisible(); int getSidebarTocLengthBeforeCut(); int getSidebarTocInitialCollapseLevel(); int getSidebarTocCollapseLengthThreshold(); int getSidebarTocLowestLevelToCollapseForLength(); boolean isSidebarTocTreeView(); boolean isTocTreeView(String docStructType); List<String> getAllDrillDownFields(); List<String> getDrillDownFields(); List<String> getHierarchicalDrillDownFields(); int getInitialDrillDownElementNumber(String field); String getSortOrder(String field); List<String> getPriorityValuesForDrillDownField(String field); String getLabelFieldForDrillDownField(String facetField); @SuppressWarnings("static-method") List<String> getRangeFacetFields(); boolean isSortingEnabled(); String getDefaultSortField(); List<String> getSortFields(); List<String> getStaticSortFields(); String getUrnResolverUrl(); int getUnconditionalImageAccessMaxWidth(); boolean isFullAccessForLocalhost(); boolean isGeneratePdfInTaskManager(); boolean isPdfApiDisabled(); boolean isTitlePdfEnabled(); boolean isTocPdfEnabled(); boolean isMetadataPdfEnabled(); boolean isPagePdfEnabled(); boolean isDocHierarchyPdfEnabled(); boolean isTitleEpubEnabled(); boolean isTocEpubEnabled(); boolean isMetadataEpubEnabled(); String getDownloadFolder(String type); int getRssFeedItems(); String getRssTitle(); String getRssDescription(); String getRssCopyrightText(); String getRulesetFilePath(); String getDefaultCollection(); int getThumbnailsWidth(); int getThumbnailsHeight(); int getThumbnailsCompression(); String getAnchorThumbnailMode(); int getMultivolumeThumbnailWidth(); int getMultivolumeThumbnailHeight(); boolean getDisplayBreadcrumbs(); boolean getDisplayMetadataPageLinkBlock(); boolean isAddDublinCoreMetaTags(); boolean isAddHighwirePressMetaTags(); int getMetadataParamNumber(); boolean useTiles(); boolean useTilesFullscreen(); boolean useTiles(PageType view, ImageType image); int getFooterHeight(); int getFullscreenFooterHeight(); int getFooterHeight(PageType view, ImageType image); String getImageViewType(); String getZoomFullscreenViewType(); String getZoomImageViewType(PageType view, ImageType image); boolean useOpenSeadragon(); List<String> getImageViewZoomScales(); List<String> getImageViewZoomScales(String view); List<String> getImageViewZoomScales(PageType view, ImageType image); Map<Integer, List<Integer>> getTileSizes(); Map<Integer, List<Integer>> getTileSizes(PageType view, ImageType image); SubnodeConfiguration getZoomImageViewConfig(PageType pageType, ImageType imageType); int getBreadcrumbsClipping(); boolean isDisplayTopstructLabel(); boolean getDisplayStructType(); int getSearchHitMetadataValueNumber(); int getSearchHitMetadataValueLength(); List<String> getWatermarkTextConfiguration(); String getWatermarkFormat(); boolean isOriginalContentDownload(); String getStopwordsFilePath(); String getPageType(PageType type); String getDocstructTargetPageType(String docstruct); String getPageTypeExitView(PageType type); int getFulltextPercentageWarningThreshold(); boolean isUseViewerLocaleAsRecordLanguage(); String getFeedbackEmailAddress(); boolean isBookmarksEnabled(); boolean isForceJpegConversion(); int getPageLoaderThreshold(); boolean isPreventProxyCaching(); boolean isSolrCompressionEnabled(); boolean isSolrBackwardsCompatible(); boolean isUserCommentsEnabled(); String getUserCommentsConditionalQuery(); List<String> getUserCommentsNotificationEmailAddresses(); String getViewerHome(); List<String> getWatermarkIdField(); String getSubthemeMainTheme(); String getSubthemeDiscriminatorField(); int getTagCloudSampleSize(String fieldName); List<StringPair> getTocVolumeSortFieldsForTemplate(String template); String getTocVolumeGroupFieldForTemplate(String template); boolean getDisplayTitleBreadcrumbs(); boolean isDisplayTitlePURL(); int getTitleBreadcrumbsMaxTitleLength(); boolean getIncludeAnchorInTitleBreadcrumbs(); boolean isDisplaySearchRssLinks(); boolean showThumbnailsInToc(); String getStartYearForTimeline(); String getEndYearForTimeline(); String getTimelineHits(); boolean isPiwikTrackingEnabled(); String getPiwikBaseURL(); String getPiwikSiteID(); boolean isSearchSavingEnabled(); boolean isBoostTopLevelDocstructs(); boolean isGroupDuplicateHits(); List<String> getRecordGroupIdentifierFields(); List<String> getAncestorIdentifierFields(); boolean isTocListSiblingRecords(); List<SearchFilter> getSearchFilters(); List<Map<String, String>> getWebApiFields(); String getDbPersistenceUnit(); boolean useCustomNavBar(); String getCmsTemplateFolder(); String getCmsMediaFolder(); String getTempMediaFolder(); List<String> getCmsClassifications(); int getCmsMediaDisplayWidth(); int getCmsMediaDisplayHeight(); boolean isTranskribusEnabled(); String getTranskribusUserName(); String getTranskribusPassword(); String getTranskribusDefaultCollection(); String getTranskribusRestApiUrl(); List<String> getTranskribusAllowedDocumentTypes(); int getTocIndentation(); boolean isPageBrowseEnabled(); List<Integer> getPageBrowseSteps(); String getTaskManagerServiceUrl(); String getTaskManagerRestUrl(); String getReCaptchaSiteKey(); boolean isUseReCaptcha(); boolean isSearchInItemEnabled(); String getDefaultBrowseIcon(String field); boolean isSearchExcelExportEnabled(); List<String> getSearchExcelExportFields(); int getExcelDownloadTimeout(); boolean isDisplayEmptyTocInSidebar(); boolean isDoublePageModeEnabled(); List<String> getRestrictedImageUrls(); List<String> getIIIFLicenses(); List<String> getIIIFMetadataFields(); List<String> getIIIFEventFields(); String getIIIFMetadataLabel(String field); int getIIIFDiscoveryAvtivitiesPerPage(); List<String> getIIIFLogo(); String getIIIFNavDateField(); List<String> getIIIFAttribution(); List<String> getIIIFDescriptionFields(); String getSitelinksField(); String getSitelinksFilterQuery(); List<String> getConfiguredCollections(); String getWebApiToken(); boolean isAllowRedirectCollectionToWork(); String getTwitterUserName(); float getLimitImageHeightUpperRatioThreshold(); float getLimitImageHeightLowerRatioThreshold(); boolean isLimitImageHeight(); boolean isAddCORSHeader(); String getCORSHeaderValue(); boolean isDiscloseImageContentLocation(); String getAccessConditionDisplayField(); String getCopyrightDisplayField(); boolean isDisplayCopyrightInfo(); boolean isDisplaySocialMediaShareLinks(); boolean isDisplayAnchorLabelInTitleBar(String template); String getAnchorLabelInTitleBarPrefix(String template); String getAnchorLabelInTitleBarSuffix(String template); String getMapBoxToken(); GeoMapMarker getGeoMapMarker(String name); List<String> getGeoMapMarkerFields(); List<GeoMapMarker> getGeoMapMarkers(); static GeoMapMarker readGeoMapMarker(HierarchicalConfiguration config); List<LicenseDescription> getLicenseDescriptions(); }
@Test public void isTocPdfEnabled_shouldReturnCorrectValue() throws Exception { Assert.assertEquals(false, DataManager.getInstance().getConfiguration().isTocPdfEnabled()); }
public boolean isTocPdfEnabled() { return getLocalBoolean("pdf.tocPdfEnabled", true); }
Configuration extends AbstractConfiguration { public boolean isTocPdfEnabled() { return getLocalBoolean("pdf.tocPdfEnabled", true); } }
Configuration extends AbstractConfiguration { public boolean isTocPdfEnabled() { return getLocalBoolean("pdf.tocPdfEnabled", true); } Configuration(String configFilePath); }
Configuration extends AbstractConfiguration { public boolean isTocPdfEnabled() { return getLocalBoolean("pdf.tocPdfEnabled", true); } Configuration(String configFilePath); Set<String> getStopwords(); boolean reloadingRequired(); String getConfigLocalPath(); String getLocalRessourceBundleFile(); int getViewerThumbnailsPerPage(); int getViewerMaxImageWidth(); int getViewerMaxImageHeight(); int getViewerMaxImageScale(); boolean isRememberImageZoom(); boolean isRememberImageRotation(); String getDfgViewerUrl(); String getConnectorVersionUrl(); List<Metadata> getTitleBarMetadata(); List<Metadata> getSearchHitMetadataForTemplate(String template); List<Metadata> getMainMetadataForTemplate(String template); List<Metadata> getSidebarMetadataForTemplate(String template); List<String> getNormdataFieldsForTemplate(String template); List<Metadata> getTocLabelConfiguration(String template); int getTocAnchorGroupElementsPerPage(); boolean isDisplaySidebarBrowsingTerms(); boolean isDisplaySidebarRssFeed(); boolean isDisplayWidgetUsage(); Metadata getWidgetUsageLicenceTextMetadata(); boolean isDisplaySidebarUsageWidgetLinkToJpegImage(); boolean isDisplaySidebarUsageWidgetLinkToMasterImage(); String getWidgetUsageMaxJpegSize(); String getWidgetUsageMaxMasterImageSize(); List<String> getCalendarDocStructTypes(); boolean isBrowsingMenuEnabled(); int getBrowsingMenuHitsPerPage(); List<BrowsingMenuFieldConfig> getBrowsingMenuFields(); String getBrowsingMenuSortingIgnoreLeadingChars(); String getDocstrctWhitelistFilterQuery(); String getCollectionSplittingChar(String field); List<DcSortingList> getCollectionSorting(String field); List<String> getCollectionBlacklist(String field); String getCollectionDefaultSortField(String field, String name); int getCollectionDisplayNumberOfVolumesLevel(String field); int getCollectionDisplayDepthForSearch(String field); String getCollectionHierarchyField(); boolean isAddCollectionHierarchyToBreadcrumbs(String field); String getSolrUrl(); String getContentServerWrapperUrl(); String getDownloadUrl(); String getRestApiUrl(); String getIIIFApiUrl(); boolean isUseIIIFApiUrlForCmsMediaUrls(); String getContentServerRealUrl(); String getMetsUrl(); String getMarcUrl(); String getDcUrl(); String getEseUrl(); List<Integer> getSearchHitsPerPageValues(); int getSearchHitsPerPageDefaultValue(); int getFulltextFragmentLength(); boolean isAdvancedSearchEnabled(); int getAdvancedSearchDefaultItemNumber(); List<AdvancedSearchFieldConfiguration> getAdvancedSearchFields(); boolean isAggregateHits(); boolean isDisplayAdditionalMetadataEnabled(); List<String> getDisplayAdditionalMetadataIgnoreFields(); List<String> getDisplayAdditionalMetadataTranslateFields(); boolean isAdvancedSearchFieldHierarchical(String field); boolean isAdvancedSearchFieldRange(String field); boolean isAdvancedSearchFieldUntokenizeForPhraseSearch(String field); String getAdvancedSearchFieldSeparatorLabel(String field); boolean isTimelineSearchEnabled(); boolean isCalendarSearchEnabled(); String getStaticQuerySuffix(); String getPreviousVersionIdentifierField(); String getNextVersionIdentifierField(); String getVersionLabelField(); String getIndexedMetsFolder(); String getIndexedLidoFolder(); String getIndexedDenkxwebFolder(); String getIndexedDublinCoreFolder(); String getPageSelectionFormat(); String getMediaFolder(); String getPdfFolder(); String getVocabulariesFolder(); String getOrigContentFolder(); String getCmsTextFolder(); String getAltoFolder(); String getAbbyyFolder(); String getFulltextFolder(); String getTeiFolder(); String getCmdiFolder(); String getWcFolder(); String getAnnotationFolder(); String getHotfolder(); @SuppressWarnings("static-method") String getTempFolder(); boolean isUrnDoRedirect(); boolean isUserRegistrationEnabled(); List<SecurityQuestion> getSecurityQuestions(); boolean isShowOpenIdConnect(); List<IAuthenticationProvider> getAuthenticationProviders(); String getSmtpServer(); String getSmtpUser(); String getSmtpPassword(); String getSmtpSenderAddress(); String getSmtpSenderName(); String getSmtpSecurity(); String getAnonymousUserEmailAddress(); boolean isDisplayCollectionBrowsing(); boolean isDisplayUserNavigation(); boolean isDisplayTagCloudNavigation(); boolean isDisplayStatistics(); boolean isDisplayTimeMatrix(); boolean isDisplayCrowdsourcingModuleLinks(); String getTheme(); String getThemeRootPath(); String getName(); String getDescription(); boolean isDisplayTagCloudStartpage(); boolean isDisplaySearchResultNavigation(); boolean isFoldout(String sidebarElement); boolean isSidebarPageViewLinkVisible(); boolean isSidebarCalendarViewLinkVisible(); boolean isSidebarTocViewLinkVisible(); boolean isSidebarThumbsViewLinkVisible(); boolean isSidebarMetadataViewLinkVisible(); boolean isShowSidebarEventMetadata(); boolean isShowRecordLabelIfNoOtherViews(); boolean isSidebarFulltextLinkVisible(); boolean isSidebarTocWidgetVisible(); boolean isSidebarTocWidgetVisibleInFullscreen(); boolean isSidebarOpacLinkVisible(); boolean getSidebarTocPageNumbersVisible(); int getSidebarTocLengthBeforeCut(); int getSidebarTocInitialCollapseLevel(); int getSidebarTocCollapseLengthThreshold(); int getSidebarTocLowestLevelToCollapseForLength(); boolean isSidebarTocTreeView(); boolean isTocTreeView(String docStructType); List<String> getAllDrillDownFields(); List<String> getDrillDownFields(); List<String> getHierarchicalDrillDownFields(); int getInitialDrillDownElementNumber(String field); String getSortOrder(String field); List<String> getPriorityValuesForDrillDownField(String field); String getLabelFieldForDrillDownField(String facetField); @SuppressWarnings("static-method") List<String> getRangeFacetFields(); boolean isSortingEnabled(); String getDefaultSortField(); List<String> getSortFields(); List<String> getStaticSortFields(); String getUrnResolverUrl(); int getUnconditionalImageAccessMaxWidth(); boolean isFullAccessForLocalhost(); boolean isGeneratePdfInTaskManager(); boolean isPdfApiDisabled(); boolean isTitlePdfEnabled(); boolean isTocPdfEnabled(); boolean isMetadataPdfEnabled(); boolean isPagePdfEnabled(); boolean isDocHierarchyPdfEnabled(); boolean isTitleEpubEnabled(); boolean isTocEpubEnabled(); boolean isMetadataEpubEnabled(); String getDownloadFolder(String type); int getRssFeedItems(); String getRssTitle(); String getRssDescription(); String getRssCopyrightText(); String getRulesetFilePath(); String getDefaultCollection(); int getThumbnailsWidth(); int getThumbnailsHeight(); int getThumbnailsCompression(); String getAnchorThumbnailMode(); int getMultivolumeThumbnailWidth(); int getMultivolumeThumbnailHeight(); boolean getDisplayBreadcrumbs(); boolean getDisplayMetadataPageLinkBlock(); boolean isAddDublinCoreMetaTags(); boolean isAddHighwirePressMetaTags(); int getMetadataParamNumber(); boolean useTiles(); boolean useTilesFullscreen(); boolean useTiles(PageType view, ImageType image); int getFooterHeight(); int getFullscreenFooterHeight(); int getFooterHeight(PageType view, ImageType image); String getImageViewType(); String getZoomFullscreenViewType(); String getZoomImageViewType(PageType view, ImageType image); boolean useOpenSeadragon(); List<String> getImageViewZoomScales(); List<String> getImageViewZoomScales(String view); List<String> getImageViewZoomScales(PageType view, ImageType image); Map<Integer, List<Integer>> getTileSizes(); Map<Integer, List<Integer>> getTileSizes(PageType view, ImageType image); SubnodeConfiguration getZoomImageViewConfig(PageType pageType, ImageType imageType); int getBreadcrumbsClipping(); boolean isDisplayTopstructLabel(); boolean getDisplayStructType(); int getSearchHitMetadataValueNumber(); int getSearchHitMetadataValueLength(); List<String> getWatermarkTextConfiguration(); String getWatermarkFormat(); boolean isOriginalContentDownload(); String getStopwordsFilePath(); String getPageType(PageType type); String getDocstructTargetPageType(String docstruct); String getPageTypeExitView(PageType type); int getFulltextPercentageWarningThreshold(); boolean isUseViewerLocaleAsRecordLanguage(); String getFeedbackEmailAddress(); boolean isBookmarksEnabled(); boolean isForceJpegConversion(); int getPageLoaderThreshold(); boolean isPreventProxyCaching(); boolean isSolrCompressionEnabled(); boolean isSolrBackwardsCompatible(); boolean isUserCommentsEnabled(); String getUserCommentsConditionalQuery(); List<String> getUserCommentsNotificationEmailAddresses(); String getViewerHome(); List<String> getWatermarkIdField(); String getSubthemeMainTheme(); String getSubthemeDiscriminatorField(); int getTagCloudSampleSize(String fieldName); List<StringPair> getTocVolumeSortFieldsForTemplate(String template); String getTocVolumeGroupFieldForTemplate(String template); boolean getDisplayTitleBreadcrumbs(); boolean isDisplayTitlePURL(); int getTitleBreadcrumbsMaxTitleLength(); boolean getIncludeAnchorInTitleBreadcrumbs(); boolean isDisplaySearchRssLinks(); boolean showThumbnailsInToc(); String getStartYearForTimeline(); String getEndYearForTimeline(); String getTimelineHits(); boolean isPiwikTrackingEnabled(); String getPiwikBaseURL(); String getPiwikSiteID(); boolean isSearchSavingEnabled(); boolean isBoostTopLevelDocstructs(); boolean isGroupDuplicateHits(); List<String> getRecordGroupIdentifierFields(); List<String> getAncestorIdentifierFields(); boolean isTocListSiblingRecords(); List<SearchFilter> getSearchFilters(); List<Map<String, String>> getWebApiFields(); String getDbPersistenceUnit(); boolean useCustomNavBar(); String getCmsTemplateFolder(); String getCmsMediaFolder(); String getTempMediaFolder(); List<String> getCmsClassifications(); int getCmsMediaDisplayWidth(); int getCmsMediaDisplayHeight(); boolean isTranskribusEnabled(); String getTranskribusUserName(); String getTranskribusPassword(); String getTranskribusDefaultCollection(); String getTranskribusRestApiUrl(); List<String> getTranskribusAllowedDocumentTypes(); int getTocIndentation(); boolean isPageBrowseEnabled(); List<Integer> getPageBrowseSteps(); String getTaskManagerServiceUrl(); String getTaskManagerRestUrl(); String getReCaptchaSiteKey(); boolean isUseReCaptcha(); boolean isSearchInItemEnabled(); String getDefaultBrowseIcon(String field); boolean isSearchExcelExportEnabled(); List<String> getSearchExcelExportFields(); int getExcelDownloadTimeout(); boolean isDisplayEmptyTocInSidebar(); boolean isDoublePageModeEnabled(); List<String> getRestrictedImageUrls(); List<String> getIIIFLicenses(); List<String> getIIIFMetadataFields(); List<String> getIIIFEventFields(); String getIIIFMetadataLabel(String field); int getIIIFDiscoveryAvtivitiesPerPage(); List<String> getIIIFLogo(); String getIIIFNavDateField(); List<String> getIIIFAttribution(); List<String> getIIIFDescriptionFields(); String getSitelinksField(); String getSitelinksFilterQuery(); List<String> getConfiguredCollections(); String getWebApiToken(); boolean isAllowRedirectCollectionToWork(); String getTwitterUserName(); float getLimitImageHeightUpperRatioThreshold(); float getLimitImageHeightLowerRatioThreshold(); boolean isLimitImageHeight(); boolean isAddCORSHeader(); String getCORSHeaderValue(); boolean isDiscloseImageContentLocation(); String getAccessConditionDisplayField(); String getCopyrightDisplayField(); boolean isDisplayCopyrightInfo(); boolean isDisplaySocialMediaShareLinks(); boolean isDisplayAnchorLabelInTitleBar(String template); String getAnchorLabelInTitleBarPrefix(String template); String getAnchorLabelInTitleBarSuffix(String template); String getMapBoxToken(); GeoMapMarker getGeoMapMarker(String name); List<String> getGeoMapMarkerFields(); List<GeoMapMarker> getGeoMapMarkers(); static GeoMapMarker readGeoMapMarker(HierarchicalConfiguration config); List<LicenseDescription> getLicenseDescriptions(); }
Configuration extends AbstractConfiguration { public boolean isTocPdfEnabled() { return getLocalBoolean("pdf.tocPdfEnabled", true); } Configuration(String configFilePath); Set<String> getStopwords(); boolean reloadingRequired(); String getConfigLocalPath(); String getLocalRessourceBundleFile(); int getViewerThumbnailsPerPage(); int getViewerMaxImageWidth(); int getViewerMaxImageHeight(); int getViewerMaxImageScale(); boolean isRememberImageZoom(); boolean isRememberImageRotation(); String getDfgViewerUrl(); String getConnectorVersionUrl(); List<Metadata> getTitleBarMetadata(); List<Metadata> getSearchHitMetadataForTemplate(String template); List<Metadata> getMainMetadataForTemplate(String template); List<Metadata> getSidebarMetadataForTemplate(String template); List<String> getNormdataFieldsForTemplate(String template); List<Metadata> getTocLabelConfiguration(String template); int getTocAnchorGroupElementsPerPage(); boolean isDisplaySidebarBrowsingTerms(); boolean isDisplaySidebarRssFeed(); boolean isDisplayWidgetUsage(); Metadata getWidgetUsageLicenceTextMetadata(); boolean isDisplaySidebarUsageWidgetLinkToJpegImage(); boolean isDisplaySidebarUsageWidgetLinkToMasterImage(); String getWidgetUsageMaxJpegSize(); String getWidgetUsageMaxMasterImageSize(); List<String> getCalendarDocStructTypes(); boolean isBrowsingMenuEnabled(); int getBrowsingMenuHitsPerPage(); List<BrowsingMenuFieldConfig> getBrowsingMenuFields(); String getBrowsingMenuSortingIgnoreLeadingChars(); String getDocstrctWhitelistFilterQuery(); String getCollectionSplittingChar(String field); List<DcSortingList> getCollectionSorting(String field); List<String> getCollectionBlacklist(String field); String getCollectionDefaultSortField(String field, String name); int getCollectionDisplayNumberOfVolumesLevel(String field); int getCollectionDisplayDepthForSearch(String field); String getCollectionHierarchyField(); boolean isAddCollectionHierarchyToBreadcrumbs(String field); String getSolrUrl(); String getContentServerWrapperUrl(); String getDownloadUrl(); String getRestApiUrl(); String getIIIFApiUrl(); boolean isUseIIIFApiUrlForCmsMediaUrls(); String getContentServerRealUrl(); String getMetsUrl(); String getMarcUrl(); String getDcUrl(); String getEseUrl(); List<Integer> getSearchHitsPerPageValues(); int getSearchHitsPerPageDefaultValue(); int getFulltextFragmentLength(); boolean isAdvancedSearchEnabled(); int getAdvancedSearchDefaultItemNumber(); List<AdvancedSearchFieldConfiguration> getAdvancedSearchFields(); boolean isAggregateHits(); boolean isDisplayAdditionalMetadataEnabled(); List<String> getDisplayAdditionalMetadataIgnoreFields(); List<String> getDisplayAdditionalMetadataTranslateFields(); boolean isAdvancedSearchFieldHierarchical(String field); boolean isAdvancedSearchFieldRange(String field); boolean isAdvancedSearchFieldUntokenizeForPhraseSearch(String field); String getAdvancedSearchFieldSeparatorLabel(String field); boolean isTimelineSearchEnabled(); boolean isCalendarSearchEnabled(); String getStaticQuerySuffix(); String getPreviousVersionIdentifierField(); String getNextVersionIdentifierField(); String getVersionLabelField(); String getIndexedMetsFolder(); String getIndexedLidoFolder(); String getIndexedDenkxwebFolder(); String getIndexedDublinCoreFolder(); String getPageSelectionFormat(); String getMediaFolder(); String getPdfFolder(); String getVocabulariesFolder(); String getOrigContentFolder(); String getCmsTextFolder(); String getAltoFolder(); String getAbbyyFolder(); String getFulltextFolder(); String getTeiFolder(); String getCmdiFolder(); String getWcFolder(); String getAnnotationFolder(); String getHotfolder(); @SuppressWarnings("static-method") String getTempFolder(); boolean isUrnDoRedirect(); boolean isUserRegistrationEnabled(); List<SecurityQuestion> getSecurityQuestions(); boolean isShowOpenIdConnect(); List<IAuthenticationProvider> getAuthenticationProviders(); String getSmtpServer(); String getSmtpUser(); String getSmtpPassword(); String getSmtpSenderAddress(); String getSmtpSenderName(); String getSmtpSecurity(); String getAnonymousUserEmailAddress(); boolean isDisplayCollectionBrowsing(); boolean isDisplayUserNavigation(); boolean isDisplayTagCloudNavigation(); boolean isDisplayStatistics(); boolean isDisplayTimeMatrix(); boolean isDisplayCrowdsourcingModuleLinks(); String getTheme(); String getThemeRootPath(); String getName(); String getDescription(); boolean isDisplayTagCloudStartpage(); boolean isDisplaySearchResultNavigation(); boolean isFoldout(String sidebarElement); boolean isSidebarPageViewLinkVisible(); boolean isSidebarCalendarViewLinkVisible(); boolean isSidebarTocViewLinkVisible(); boolean isSidebarThumbsViewLinkVisible(); boolean isSidebarMetadataViewLinkVisible(); boolean isShowSidebarEventMetadata(); boolean isShowRecordLabelIfNoOtherViews(); boolean isSidebarFulltextLinkVisible(); boolean isSidebarTocWidgetVisible(); boolean isSidebarTocWidgetVisibleInFullscreen(); boolean isSidebarOpacLinkVisible(); boolean getSidebarTocPageNumbersVisible(); int getSidebarTocLengthBeforeCut(); int getSidebarTocInitialCollapseLevel(); int getSidebarTocCollapseLengthThreshold(); int getSidebarTocLowestLevelToCollapseForLength(); boolean isSidebarTocTreeView(); boolean isTocTreeView(String docStructType); List<String> getAllDrillDownFields(); List<String> getDrillDownFields(); List<String> getHierarchicalDrillDownFields(); int getInitialDrillDownElementNumber(String field); String getSortOrder(String field); List<String> getPriorityValuesForDrillDownField(String field); String getLabelFieldForDrillDownField(String facetField); @SuppressWarnings("static-method") List<String> getRangeFacetFields(); boolean isSortingEnabled(); String getDefaultSortField(); List<String> getSortFields(); List<String> getStaticSortFields(); String getUrnResolverUrl(); int getUnconditionalImageAccessMaxWidth(); boolean isFullAccessForLocalhost(); boolean isGeneratePdfInTaskManager(); boolean isPdfApiDisabled(); boolean isTitlePdfEnabled(); boolean isTocPdfEnabled(); boolean isMetadataPdfEnabled(); boolean isPagePdfEnabled(); boolean isDocHierarchyPdfEnabled(); boolean isTitleEpubEnabled(); boolean isTocEpubEnabled(); boolean isMetadataEpubEnabled(); String getDownloadFolder(String type); int getRssFeedItems(); String getRssTitle(); String getRssDescription(); String getRssCopyrightText(); String getRulesetFilePath(); String getDefaultCollection(); int getThumbnailsWidth(); int getThumbnailsHeight(); int getThumbnailsCompression(); String getAnchorThumbnailMode(); int getMultivolumeThumbnailWidth(); int getMultivolumeThumbnailHeight(); boolean getDisplayBreadcrumbs(); boolean getDisplayMetadataPageLinkBlock(); boolean isAddDublinCoreMetaTags(); boolean isAddHighwirePressMetaTags(); int getMetadataParamNumber(); boolean useTiles(); boolean useTilesFullscreen(); boolean useTiles(PageType view, ImageType image); int getFooterHeight(); int getFullscreenFooterHeight(); int getFooterHeight(PageType view, ImageType image); String getImageViewType(); String getZoomFullscreenViewType(); String getZoomImageViewType(PageType view, ImageType image); boolean useOpenSeadragon(); List<String> getImageViewZoomScales(); List<String> getImageViewZoomScales(String view); List<String> getImageViewZoomScales(PageType view, ImageType image); Map<Integer, List<Integer>> getTileSizes(); Map<Integer, List<Integer>> getTileSizes(PageType view, ImageType image); SubnodeConfiguration getZoomImageViewConfig(PageType pageType, ImageType imageType); int getBreadcrumbsClipping(); boolean isDisplayTopstructLabel(); boolean getDisplayStructType(); int getSearchHitMetadataValueNumber(); int getSearchHitMetadataValueLength(); List<String> getWatermarkTextConfiguration(); String getWatermarkFormat(); boolean isOriginalContentDownload(); String getStopwordsFilePath(); String getPageType(PageType type); String getDocstructTargetPageType(String docstruct); String getPageTypeExitView(PageType type); int getFulltextPercentageWarningThreshold(); boolean isUseViewerLocaleAsRecordLanguage(); String getFeedbackEmailAddress(); boolean isBookmarksEnabled(); boolean isForceJpegConversion(); int getPageLoaderThreshold(); boolean isPreventProxyCaching(); boolean isSolrCompressionEnabled(); boolean isSolrBackwardsCompatible(); boolean isUserCommentsEnabled(); String getUserCommentsConditionalQuery(); List<String> getUserCommentsNotificationEmailAddresses(); String getViewerHome(); List<String> getWatermarkIdField(); String getSubthemeMainTheme(); String getSubthemeDiscriminatorField(); int getTagCloudSampleSize(String fieldName); List<StringPair> getTocVolumeSortFieldsForTemplate(String template); String getTocVolumeGroupFieldForTemplate(String template); boolean getDisplayTitleBreadcrumbs(); boolean isDisplayTitlePURL(); int getTitleBreadcrumbsMaxTitleLength(); boolean getIncludeAnchorInTitleBreadcrumbs(); boolean isDisplaySearchRssLinks(); boolean showThumbnailsInToc(); String getStartYearForTimeline(); String getEndYearForTimeline(); String getTimelineHits(); boolean isPiwikTrackingEnabled(); String getPiwikBaseURL(); String getPiwikSiteID(); boolean isSearchSavingEnabled(); boolean isBoostTopLevelDocstructs(); boolean isGroupDuplicateHits(); List<String> getRecordGroupIdentifierFields(); List<String> getAncestorIdentifierFields(); boolean isTocListSiblingRecords(); List<SearchFilter> getSearchFilters(); List<Map<String, String>> getWebApiFields(); String getDbPersistenceUnit(); boolean useCustomNavBar(); String getCmsTemplateFolder(); String getCmsMediaFolder(); String getTempMediaFolder(); List<String> getCmsClassifications(); int getCmsMediaDisplayWidth(); int getCmsMediaDisplayHeight(); boolean isTranskribusEnabled(); String getTranskribusUserName(); String getTranskribusPassword(); String getTranskribusDefaultCollection(); String getTranskribusRestApiUrl(); List<String> getTranskribusAllowedDocumentTypes(); int getTocIndentation(); boolean isPageBrowseEnabled(); List<Integer> getPageBrowseSteps(); String getTaskManagerServiceUrl(); String getTaskManagerRestUrl(); String getReCaptchaSiteKey(); boolean isUseReCaptcha(); boolean isSearchInItemEnabled(); String getDefaultBrowseIcon(String field); boolean isSearchExcelExportEnabled(); List<String> getSearchExcelExportFields(); int getExcelDownloadTimeout(); boolean isDisplayEmptyTocInSidebar(); boolean isDoublePageModeEnabled(); List<String> getRestrictedImageUrls(); List<String> getIIIFLicenses(); List<String> getIIIFMetadataFields(); List<String> getIIIFEventFields(); String getIIIFMetadataLabel(String field); int getIIIFDiscoveryAvtivitiesPerPage(); List<String> getIIIFLogo(); String getIIIFNavDateField(); List<String> getIIIFAttribution(); List<String> getIIIFDescriptionFields(); String getSitelinksField(); String getSitelinksFilterQuery(); List<String> getConfiguredCollections(); String getWebApiToken(); boolean isAllowRedirectCollectionToWork(); String getTwitterUserName(); float getLimitImageHeightUpperRatioThreshold(); float getLimitImageHeightLowerRatioThreshold(); boolean isLimitImageHeight(); boolean isAddCORSHeader(); String getCORSHeaderValue(); boolean isDiscloseImageContentLocation(); String getAccessConditionDisplayField(); String getCopyrightDisplayField(); boolean isDisplayCopyrightInfo(); boolean isDisplaySocialMediaShareLinks(); boolean isDisplayAnchorLabelInTitleBar(String template); String getAnchorLabelInTitleBarPrefix(String template); String getAnchorLabelInTitleBarSuffix(String template); String getMapBoxToken(); GeoMapMarker getGeoMapMarker(String name); List<String> getGeoMapMarkerFields(); List<GeoMapMarker> getGeoMapMarkers(); static GeoMapMarker readGeoMapMarker(HierarchicalConfiguration config); List<LicenseDescription> getLicenseDescriptions(); }
@Test public void isPagePdfEnabled_shouldReturnCorrectValue() throws Exception { Assert.assertEquals(true, DataManager.getInstance().getConfiguration().isPagePdfEnabled()); }
public boolean isPagePdfEnabled() { return getLocalBoolean("pdf.pagePdfEnabled", false); }
Configuration extends AbstractConfiguration { public boolean isPagePdfEnabled() { return getLocalBoolean("pdf.pagePdfEnabled", false); } }
Configuration extends AbstractConfiguration { public boolean isPagePdfEnabled() { return getLocalBoolean("pdf.pagePdfEnabled", false); } Configuration(String configFilePath); }
Configuration extends AbstractConfiguration { public boolean isPagePdfEnabled() { return getLocalBoolean("pdf.pagePdfEnabled", false); } Configuration(String configFilePath); Set<String> getStopwords(); boolean reloadingRequired(); String getConfigLocalPath(); String getLocalRessourceBundleFile(); int getViewerThumbnailsPerPage(); int getViewerMaxImageWidth(); int getViewerMaxImageHeight(); int getViewerMaxImageScale(); boolean isRememberImageZoom(); boolean isRememberImageRotation(); String getDfgViewerUrl(); String getConnectorVersionUrl(); List<Metadata> getTitleBarMetadata(); List<Metadata> getSearchHitMetadataForTemplate(String template); List<Metadata> getMainMetadataForTemplate(String template); List<Metadata> getSidebarMetadataForTemplate(String template); List<String> getNormdataFieldsForTemplate(String template); List<Metadata> getTocLabelConfiguration(String template); int getTocAnchorGroupElementsPerPage(); boolean isDisplaySidebarBrowsingTerms(); boolean isDisplaySidebarRssFeed(); boolean isDisplayWidgetUsage(); Metadata getWidgetUsageLicenceTextMetadata(); boolean isDisplaySidebarUsageWidgetLinkToJpegImage(); boolean isDisplaySidebarUsageWidgetLinkToMasterImage(); String getWidgetUsageMaxJpegSize(); String getWidgetUsageMaxMasterImageSize(); List<String> getCalendarDocStructTypes(); boolean isBrowsingMenuEnabled(); int getBrowsingMenuHitsPerPage(); List<BrowsingMenuFieldConfig> getBrowsingMenuFields(); String getBrowsingMenuSortingIgnoreLeadingChars(); String getDocstrctWhitelistFilterQuery(); String getCollectionSplittingChar(String field); List<DcSortingList> getCollectionSorting(String field); List<String> getCollectionBlacklist(String field); String getCollectionDefaultSortField(String field, String name); int getCollectionDisplayNumberOfVolumesLevel(String field); int getCollectionDisplayDepthForSearch(String field); String getCollectionHierarchyField(); boolean isAddCollectionHierarchyToBreadcrumbs(String field); String getSolrUrl(); String getContentServerWrapperUrl(); String getDownloadUrl(); String getRestApiUrl(); String getIIIFApiUrl(); boolean isUseIIIFApiUrlForCmsMediaUrls(); String getContentServerRealUrl(); String getMetsUrl(); String getMarcUrl(); String getDcUrl(); String getEseUrl(); List<Integer> getSearchHitsPerPageValues(); int getSearchHitsPerPageDefaultValue(); int getFulltextFragmentLength(); boolean isAdvancedSearchEnabled(); int getAdvancedSearchDefaultItemNumber(); List<AdvancedSearchFieldConfiguration> getAdvancedSearchFields(); boolean isAggregateHits(); boolean isDisplayAdditionalMetadataEnabled(); List<String> getDisplayAdditionalMetadataIgnoreFields(); List<String> getDisplayAdditionalMetadataTranslateFields(); boolean isAdvancedSearchFieldHierarchical(String field); boolean isAdvancedSearchFieldRange(String field); boolean isAdvancedSearchFieldUntokenizeForPhraseSearch(String field); String getAdvancedSearchFieldSeparatorLabel(String field); boolean isTimelineSearchEnabled(); boolean isCalendarSearchEnabled(); String getStaticQuerySuffix(); String getPreviousVersionIdentifierField(); String getNextVersionIdentifierField(); String getVersionLabelField(); String getIndexedMetsFolder(); String getIndexedLidoFolder(); String getIndexedDenkxwebFolder(); String getIndexedDublinCoreFolder(); String getPageSelectionFormat(); String getMediaFolder(); String getPdfFolder(); String getVocabulariesFolder(); String getOrigContentFolder(); String getCmsTextFolder(); String getAltoFolder(); String getAbbyyFolder(); String getFulltextFolder(); String getTeiFolder(); String getCmdiFolder(); String getWcFolder(); String getAnnotationFolder(); String getHotfolder(); @SuppressWarnings("static-method") String getTempFolder(); boolean isUrnDoRedirect(); boolean isUserRegistrationEnabled(); List<SecurityQuestion> getSecurityQuestions(); boolean isShowOpenIdConnect(); List<IAuthenticationProvider> getAuthenticationProviders(); String getSmtpServer(); String getSmtpUser(); String getSmtpPassword(); String getSmtpSenderAddress(); String getSmtpSenderName(); String getSmtpSecurity(); String getAnonymousUserEmailAddress(); boolean isDisplayCollectionBrowsing(); boolean isDisplayUserNavigation(); boolean isDisplayTagCloudNavigation(); boolean isDisplayStatistics(); boolean isDisplayTimeMatrix(); boolean isDisplayCrowdsourcingModuleLinks(); String getTheme(); String getThemeRootPath(); String getName(); String getDescription(); boolean isDisplayTagCloudStartpage(); boolean isDisplaySearchResultNavigation(); boolean isFoldout(String sidebarElement); boolean isSidebarPageViewLinkVisible(); boolean isSidebarCalendarViewLinkVisible(); boolean isSidebarTocViewLinkVisible(); boolean isSidebarThumbsViewLinkVisible(); boolean isSidebarMetadataViewLinkVisible(); boolean isShowSidebarEventMetadata(); boolean isShowRecordLabelIfNoOtherViews(); boolean isSidebarFulltextLinkVisible(); boolean isSidebarTocWidgetVisible(); boolean isSidebarTocWidgetVisibleInFullscreen(); boolean isSidebarOpacLinkVisible(); boolean getSidebarTocPageNumbersVisible(); int getSidebarTocLengthBeforeCut(); int getSidebarTocInitialCollapseLevel(); int getSidebarTocCollapseLengthThreshold(); int getSidebarTocLowestLevelToCollapseForLength(); boolean isSidebarTocTreeView(); boolean isTocTreeView(String docStructType); List<String> getAllDrillDownFields(); List<String> getDrillDownFields(); List<String> getHierarchicalDrillDownFields(); int getInitialDrillDownElementNumber(String field); String getSortOrder(String field); List<String> getPriorityValuesForDrillDownField(String field); String getLabelFieldForDrillDownField(String facetField); @SuppressWarnings("static-method") List<String> getRangeFacetFields(); boolean isSortingEnabled(); String getDefaultSortField(); List<String> getSortFields(); List<String> getStaticSortFields(); String getUrnResolverUrl(); int getUnconditionalImageAccessMaxWidth(); boolean isFullAccessForLocalhost(); boolean isGeneratePdfInTaskManager(); boolean isPdfApiDisabled(); boolean isTitlePdfEnabled(); boolean isTocPdfEnabled(); boolean isMetadataPdfEnabled(); boolean isPagePdfEnabled(); boolean isDocHierarchyPdfEnabled(); boolean isTitleEpubEnabled(); boolean isTocEpubEnabled(); boolean isMetadataEpubEnabled(); String getDownloadFolder(String type); int getRssFeedItems(); String getRssTitle(); String getRssDescription(); String getRssCopyrightText(); String getRulesetFilePath(); String getDefaultCollection(); int getThumbnailsWidth(); int getThumbnailsHeight(); int getThumbnailsCompression(); String getAnchorThumbnailMode(); int getMultivolumeThumbnailWidth(); int getMultivolumeThumbnailHeight(); boolean getDisplayBreadcrumbs(); boolean getDisplayMetadataPageLinkBlock(); boolean isAddDublinCoreMetaTags(); boolean isAddHighwirePressMetaTags(); int getMetadataParamNumber(); boolean useTiles(); boolean useTilesFullscreen(); boolean useTiles(PageType view, ImageType image); int getFooterHeight(); int getFullscreenFooterHeight(); int getFooterHeight(PageType view, ImageType image); String getImageViewType(); String getZoomFullscreenViewType(); String getZoomImageViewType(PageType view, ImageType image); boolean useOpenSeadragon(); List<String> getImageViewZoomScales(); List<String> getImageViewZoomScales(String view); List<String> getImageViewZoomScales(PageType view, ImageType image); Map<Integer, List<Integer>> getTileSizes(); Map<Integer, List<Integer>> getTileSizes(PageType view, ImageType image); SubnodeConfiguration getZoomImageViewConfig(PageType pageType, ImageType imageType); int getBreadcrumbsClipping(); boolean isDisplayTopstructLabel(); boolean getDisplayStructType(); int getSearchHitMetadataValueNumber(); int getSearchHitMetadataValueLength(); List<String> getWatermarkTextConfiguration(); String getWatermarkFormat(); boolean isOriginalContentDownload(); String getStopwordsFilePath(); String getPageType(PageType type); String getDocstructTargetPageType(String docstruct); String getPageTypeExitView(PageType type); int getFulltextPercentageWarningThreshold(); boolean isUseViewerLocaleAsRecordLanguage(); String getFeedbackEmailAddress(); boolean isBookmarksEnabled(); boolean isForceJpegConversion(); int getPageLoaderThreshold(); boolean isPreventProxyCaching(); boolean isSolrCompressionEnabled(); boolean isSolrBackwardsCompatible(); boolean isUserCommentsEnabled(); String getUserCommentsConditionalQuery(); List<String> getUserCommentsNotificationEmailAddresses(); String getViewerHome(); List<String> getWatermarkIdField(); String getSubthemeMainTheme(); String getSubthemeDiscriminatorField(); int getTagCloudSampleSize(String fieldName); List<StringPair> getTocVolumeSortFieldsForTemplate(String template); String getTocVolumeGroupFieldForTemplate(String template); boolean getDisplayTitleBreadcrumbs(); boolean isDisplayTitlePURL(); int getTitleBreadcrumbsMaxTitleLength(); boolean getIncludeAnchorInTitleBreadcrumbs(); boolean isDisplaySearchRssLinks(); boolean showThumbnailsInToc(); String getStartYearForTimeline(); String getEndYearForTimeline(); String getTimelineHits(); boolean isPiwikTrackingEnabled(); String getPiwikBaseURL(); String getPiwikSiteID(); boolean isSearchSavingEnabled(); boolean isBoostTopLevelDocstructs(); boolean isGroupDuplicateHits(); List<String> getRecordGroupIdentifierFields(); List<String> getAncestorIdentifierFields(); boolean isTocListSiblingRecords(); List<SearchFilter> getSearchFilters(); List<Map<String, String>> getWebApiFields(); String getDbPersistenceUnit(); boolean useCustomNavBar(); String getCmsTemplateFolder(); String getCmsMediaFolder(); String getTempMediaFolder(); List<String> getCmsClassifications(); int getCmsMediaDisplayWidth(); int getCmsMediaDisplayHeight(); boolean isTranskribusEnabled(); String getTranskribusUserName(); String getTranskribusPassword(); String getTranskribusDefaultCollection(); String getTranskribusRestApiUrl(); List<String> getTranskribusAllowedDocumentTypes(); int getTocIndentation(); boolean isPageBrowseEnabled(); List<Integer> getPageBrowseSteps(); String getTaskManagerServiceUrl(); String getTaskManagerRestUrl(); String getReCaptchaSiteKey(); boolean isUseReCaptcha(); boolean isSearchInItemEnabled(); String getDefaultBrowseIcon(String field); boolean isSearchExcelExportEnabled(); List<String> getSearchExcelExportFields(); int getExcelDownloadTimeout(); boolean isDisplayEmptyTocInSidebar(); boolean isDoublePageModeEnabled(); List<String> getRestrictedImageUrls(); List<String> getIIIFLicenses(); List<String> getIIIFMetadataFields(); List<String> getIIIFEventFields(); String getIIIFMetadataLabel(String field); int getIIIFDiscoveryAvtivitiesPerPage(); List<String> getIIIFLogo(); String getIIIFNavDateField(); List<String> getIIIFAttribution(); List<String> getIIIFDescriptionFields(); String getSitelinksField(); String getSitelinksFilterQuery(); List<String> getConfiguredCollections(); String getWebApiToken(); boolean isAllowRedirectCollectionToWork(); String getTwitterUserName(); float getLimitImageHeightUpperRatioThreshold(); float getLimitImageHeightLowerRatioThreshold(); boolean isLimitImageHeight(); boolean isAddCORSHeader(); String getCORSHeaderValue(); boolean isDiscloseImageContentLocation(); String getAccessConditionDisplayField(); String getCopyrightDisplayField(); boolean isDisplayCopyrightInfo(); boolean isDisplaySocialMediaShareLinks(); boolean isDisplayAnchorLabelInTitleBar(String template); String getAnchorLabelInTitleBarPrefix(String template); String getAnchorLabelInTitleBarSuffix(String template); String getMapBoxToken(); GeoMapMarker getGeoMapMarker(String name); List<String> getGeoMapMarkerFields(); List<GeoMapMarker> getGeoMapMarkers(); static GeoMapMarker readGeoMapMarker(HierarchicalConfiguration config); List<LicenseDescription> getLicenseDescriptions(); }
Configuration extends AbstractConfiguration { public boolean isPagePdfEnabled() { return getLocalBoolean("pdf.pagePdfEnabled", false); } Configuration(String configFilePath); Set<String> getStopwords(); boolean reloadingRequired(); String getConfigLocalPath(); String getLocalRessourceBundleFile(); int getViewerThumbnailsPerPage(); int getViewerMaxImageWidth(); int getViewerMaxImageHeight(); int getViewerMaxImageScale(); boolean isRememberImageZoom(); boolean isRememberImageRotation(); String getDfgViewerUrl(); String getConnectorVersionUrl(); List<Metadata> getTitleBarMetadata(); List<Metadata> getSearchHitMetadataForTemplate(String template); List<Metadata> getMainMetadataForTemplate(String template); List<Metadata> getSidebarMetadataForTemplate(String template); List<String> getNormdataFieldsForTemplate(String template); List<Metadata> getTocLabelConfiguration(String template); int getTocAnchorGroupElementsPerPage(); boolean isDisplaySidebarBrowsingTerms(); boolean isDisplaySidebarRssFeed(); boolean isDisplayWidgetUsage(); Metadata getWidgetUsageLicenceTextMetadata(); boolean isDisplaySidebarUsageWidgetLinkToJpegImage(); boolean isDisplaySidebarUsageWidgetLinkToMasterImage(); String getWidgetUsageMaxJpegSize(); String getWidgetUsageMaxMasterImageSize(); List<String> getCalendarDocStructTypes(); boolean isBrowsingMenuEnabled(); int getBrowsingMenuHitsPerPage(); List<BrowsingMenuFieldConfig> getBrowsingMenuFields(); String getBrowsingMenuSortingIgnoreLeadingChars(); String getDocstrctWhitelistFilterQuery(); String getCollectionSplittingChar(String field); List<DcSortingList> getCollectionSorting(String field); List<String> getCollectionBlacklist(String field); String getCollectionDefaultSortField(String field, String name); int getCollectionDisplayNumberOfVolumesLevel(String field); int getCollectionDisplayDepthForSearch(String field); String getCollectionHierarchyField(); boolean isAddCollectionHierarchyToBreadcrumbs(String field); String getSolrUrl(); String getContentServerWrapperUrl(); String getDownloadUrl(); String getRestApiUrl(); String getIIIFApiUrl(); boolean isUseIIIFApiUrlForCmsMediaUrls(); String getContentServerRealUrl(); String getMetsUrl(); String getMarcUrl(); String getDcUrl(); String getEseUrl(); List<Integer> getSearchHitsPerPageValues(); int getSearchHitsPerPageDefaultValue(); int getFulltextFragmentLength(); boolean isAdvancedSearchEnabled(); int getAdvancedSearchDefaultItemNumber(); List<AdvancedSearchFieldConfiguration> getAdvancedSearchFields(); boolean isAggregateHits(); boolean isDisplayAdditionalMetadataEnabled(); List<String> getDisplayAdditionalMetadataIgnoreFields(); List<String> getDisplayAdditionalMetadataTranslateFields(); boolean isAdvancedSearchFieldHierarchical(String field); boolean isAdvancedSearchFieldRange(String field); boolean isAdvancedSearchFieldUntokenizeForPhraseSearch(String field); String getAdvancedSearchFieldSeparatorLabel(String field); boolean isTimelineSearchEnabled(); boolean isCalendarSearchEnabled(); String getStaticQuerySuffix(); String getPreviousVersionIdentifierField(); String getNextVersionIdentifierField(); String getVersionLabelField(); String getIndexedMetsFolder(); String getIndexedLidoFolder(); String getIndexedDenkxwebFolder(); String getIndexedDublinCoreFolder(); String getPageSelectionFormat(); String getMediaFolder(); String getPdfFolder(); String getVocabulariesFolder(); String getOrigContentFolder(); String getCmsTextFolder(); String getAltoFolder(); String getAbbyyFolder(); String getFulltextFolder(); String getTeiFolder(); String getCmdiFolder(); String getWcFolder(); String getAnnotationFolder(); String getHotfolder(); @SuppressWarnings("static-method") String getTempFolder(); boolean isUrnDoRedirect(); boolean isUserRegistrationEnabled(); List<SecurityQuestion> getSecurityQuestions(); boolean isShowOpenIdConnect(); List<IAuthenticationProvider> getAuthenticationProviders(); String getSmtpServer(); String getSmtpUser(); String getSmtpPassword(); String getSmtpSenderAddress(); String getSmtpSenderName(); String getSmtpSecurity(); String getAnonymousUserEmailAddress(); boolean isDisplayCollectionBrowsing(); boolean isDisplayUserNavigation(); boolean isDisplayTagCloudNavigation(); boolean isDisplayStatistics(); boolean isDisplayTimeMatrix(); boolean isDisplayCrowdsourcingModuleLinks(); String getTheme(); String getThemeRootPath(); String getName(); String getDescription(); boolean isDisplayTagCloudStartpage(); boolean isDisplaySearchResultNavigation(); boolean isFoldout(String sidebarElement); boolean isSidebarPageViewLinkVisible(); boolean isSidebarCalendarViewLinkVisible(); boolean isSidebarTocViewLinkVisible(); boolean isSidebarThumbsViewLinkVisible(); boolean isSidebarMetadataViewLinkVisible(); boolean isShowSidebarEventMetadata(); boolean isShowRecordLabelIfNoOtherViews(); boolean isSidebarFulltextLinkVisible(); boolean isSidebarTocWidgetVisible(); boolean isSidebarTocWidgetVisibleInFullscreen(); boolean isSidebarOpacLinkVisible(); boolean getSidebarTocPageNumbersVisible(); int getSidebarTocLengthBeforeCut(); int getSidebarTocInitialCollapseLevel(); int getSidebarTocCollapseLengthThreshold(); int getSidebarTocLowestLevelToCollapseForLength(); boolean isSidebarTocTreeView(); boolean isTocTreeView(String docStructType); List<String> getAllDrillDownFields(); List<String> getDrillDownFields(); List<String> getHierarchicalDrillDownFields(); int getInitialDrillDownElementNumber(String field); String getSortOrder(String field); List<String> getPriorityValuesForDrillDownField(String field); String getLabelFieldForDrillDownField(String facetField); @SuppressWarnings("static-method") List<String> getRangeFacetFields(); boolean isSortingEnabled(); String getDefaultSortField(); List<String> getSortFields(); List<String> getStaticSortFields(); String getUrnResolverUrl(); int getUnconditionalImageAccessMaxWidth(); boolean isFullAccessForLocalhost(); boolean isGeneratePdfInTaskManager(); boolean isPdfApiDisabled(); boolean isTitlePdfEnabled(); boolean isTocPdfEnabled(); boolean isMetadataPdfEnabled(); boolean isPagePdfEnabled(); boolean isDocHierarchyPdfEnabled(); boolean isTitleEpubEnabled(); boolean isTocEpubEnabled(); boolean isMetadataEpubEnabled(); String getDownloadFolder(String type); int getRssFeedItems(); String getRssTitle(); String getRssDescription(); String getRssCopyrightText(); String getRulesetFilePath(); String getDefaultCollection(); int getThumbnailsWidth(); int getThumbnailsHeight(); int getThumbnailsCompression(); String getAnchorThumbnailMode(); int getMultivolumeThumbnailWidth(); int getMultivolumeThumbnailHeight(); boolean getDisplayBreadcrumbs(); boolean getDisplayMetadataPageLinkBlock(); boolean isAddDublinCoreMetaTags(); boolean isAddHighwirePressMetaTags(); int getMetadataParamNumber(); boolean useTiles(); boolean useTilesFullscreen(); boolean useTiles(PageType view, ImageType image); int getFooterHeight(); int getFullscreenFooterHeight(); int getFooterHeight(PageType view, ImageType image); String getImageViewType(); String getZoomFullscreenViewType(); String getZoomImageViewType(PageType view, ImageType image); boolean useOpenSeadragon(); List<String> getImageViewZoomScales(); List<String> getImageViewZoomScales(String view); List<String> getImageViewZoomScales(PageType view, ImageType image); Map<Integer, List<Integer>> getTileSizes(); Map<Integer, List<Integer>> getTileSizes(PageType view, ImageType image); SubnodeConfiguration getZoomImageViewConfig(PageType pageType, ImageType imageType); int getBreadcrumbsClipping(); boolean isDisplayTopstructLabel(); boolean getDisplayStructType(); int getSearchHitMetadataValueNumber(); int getSearchHitMetadataValueLength(); List<String> getWatermarkTextConfiguration(); String getWatermarkFormat(); boolean isOriginalContentDownload(); String getStopwordsFilePath(); String getPageType(PageType type); String getDocstructTargetPageType(String docstruct); String getPageTypeExitView(PageType type); int getFulltextPercentageWarningThreshold(); boolean isUseViewerLocaleAsRecordLanguage(); String getFeedbackEmailAddress(); boolean isBookmarksEnabled(); boolean isForceJpegConversion(); int getPageLoaderThreshold(); boolean isPreventProxyCaching(); boolean isSolrCompressionEnabled(); boolean isSolrBackwardsCompatible(); boolean isUserCommentsEnabled(); String getUserCommentsConditionalQuery(); List<String> getUserCommentsNotificationEmailAddresses(); String getViewerHome(); List<String> getWatermarkIdField(); String getSubthemeMainTheme(); String getSubthemeDiscriminatorField(); int getTagCloudSampleSize(String fieldName); List<StringPair> getTocVolumeSortFieldsForTemplate(String template); String getTocVolumeGroupFieldForTemplate(String template); boolean getDisplayTitleBreadcrumbs(); boolean isDisplayTitlePURL(); int getTitleBreadcrumbsMaxTitleLength(); boolean getIncludeAnchorInTitleBreadcrumbs(); boolean isDisplaySearchRssLinks(); boolean showThumbnailsInToc(); String getStartYearForTimeline(); String getEndYearForTimeline(); String getTimelineHits(); boolean isPiwikTrackingEnabled(); String getPiwikBaseURL(); String getPiwikSiteID(); boolean isSearchSavingEnabled(); boolean isBoostTopLevelDocstructs(); boolean isGroupDuplicateHits(); List<String> getRecordGroupIdentifierFields(); List<String> getAncestorIdentifierFields(); boolean isTocListSiblingRecords(); List<SearchFilter> getSearchFilters(); List<Map<String, String>> getWebApiFields(); String getDbPersistenceUnit(); boolean useCustomNavBar(); String getCmsTemplateFolder(); String getCmsMediaFolder(); String getTempMediaFolder(); List<String> getCmsClassifications(); int getCmsMediaDisplayWidth(); int getCmsMediaDisplayHeight(); boolean isTranskribusEnabled(); String getTranskribusUserName(); String getTranskribusPassword(); String getTranskribusDefaultCollection(); String getTranskribusRestApiUrl(); List<String> getTranskribusAllowedDocumentTypes(); int getTocIndentation(); boolean isPageBrowseEnabled(); List<Integer> getPageBrowseSteps(); String getTaskManagerServiceUrl(); String getTaskManagerRestUrl(); String getReCaptchaSiteKey(); boolean isUseReCaptcha(); boolean isSearchInItemEnabled(); String getDefaultBrowseIcon(String field); boolean isSearchExcelExportEnabled(); List<String> getSearchExcelExportFields(); int getExcelDownloadTimeout(); boolean isDisplayEmptyTocInSidebar(); boolean isDoublePageModeEnabled(); List<String> getRestrictedImageUrls(); List<String> getIIIFLicenses(); List<String> getIIIFMetadataFields(); List<String> getIIIFEventFields(); String getIIIFMetadataLabel(String field); int getIIIFDiscoveryAvtivitiesPerPage(); List<String> getIIIFLogo(); String getIIIFNavDateField(); List<String> getIIIFAttribution(); List<String> getIIIFDescriptionFields(); String getSitelinksField(); String getSitelinksFilterQuery(); List<String> getConfiguredCollections(); String getWebApiToken(); boolean isAllowRedirectCollectionToWork(); String getTwitterUserName(); float getLimitImageHeightUpperRatioThreshold(); float getLimitImageHeightLowerRatioThreshold(); boolean isLimitImageHeight(); boolean isAddCORSHeader(); String getCORSHeaderValue(); boolean isDiscloseImageContentLocation(); String getAccessConditionDisplayField(); String getCopyrightDisplayField(); boolean isDisplayCopyrightInfo(); boolean isDisplaySocialMediaShareLinks(); boolean isDisplayAnchorLabelInTitleBar(String template); String getAnchorLabelInTitleBarPrefix(String template); String getAnchorLabelInTitleBarSuffix(String template); String getMapBoxToken(); GeoMapMarker getGeoMapMarker(String name); List<String> getGeoMapMarkerFields(); List<GeoMapMarker> getGeoMapMarkers(); static GeoMapMarker readGeoMapMarker(HierarchicalConfiguration config); List<LicenseDescription> getLicenseDescriptions(); }
@Test public void isDocHierarchyPdfEnabled_shouldReturnCorrectValue() throws Exception { Assert.assertEquals(true, DataManager.getInstance().getConfiguration().isDocHierarchyPdfEnabled()); }
public boolean isDocHierarchyPdfEnabled() { return getLocalBoolean("pdf.docHierarchyPdfEnabled", false); }
Configuration extends AbstractConfiguration { public boolean isDocHierarchyPdfEnabled() { return getLocalBoolean("pdf.docHierarchyPdfEnabled", false); } }
Configuration extends AbstractConfiguration { public boolean isDocHierarchyPdfEnabled() { return getLocalBoolean("pdf.docHierarchyPdfEnabled", false); } Configuration(String configFilePath); }
Configuration extends AbstractConfiguration { public boolean isDocHierarchyPdfEnabled() { return getLocalBoolean("pdf.docHierarchyPdfEnabled", false); } Configuration(String configFilePath); Set<String> getStopwords(); boolean reloadingRequired(); String getConfigLocalPath(); String getLocalRessourceBundleFile(); int getViewerThumbnailsPerPage(); int getViewerMaxImageWidth(); int getViewerMaxImageHeight(); int getViewerMaxImageScale(); boolean isRememberImageZoom(); boolean isRememberImageRotation(); String getDfgViewerUrl(); String getConnectorVersionUrl(); List<Metadata> getTitleBarMetadata(); List<Metadata> getSearchHitMetadataForTemplate(String template); List<Metadata> getMainMetadataForTemplate(String template); List<Metadata> getSidebarMetadataForTemplate(String template); List<String> getNormdataFieldsForTemplate(String template); List<Metadata> getTocLabelConfiguration(String template); int getTocAnchorGroupElementsPerPage(); boolean isDisplaySidebarBrowsingTerms(); boolean isDisplaySidebarRssFeed(); boolean isDisplayWidgetUsage(); Metadata getWidgetUsageLicenceTextMetadata(); boolean isDisplaySidebarUsageWidgetLinkToJpegImage(); boolean isDisplaySidebarUsageWidgetLinkToMasterImage(); String getWidgetUsageMaxJpegSize(); String getWidgetUsageMaxMasterImageSize(); List<String> getCalendarDocStructTypes(); boolean isBrowsingMenuEnabled(); int getBrowsingMenuHitsPerPage(); List<BrowsingMenuFieldConfig> getBrowsingMenuFields(); String getBrowsingMenuSortingIgnoreLeadingChars(); String getDocstrctWhitelistFilterQuery(); String getCollectionSplittingChar(String field); List<DcSortingList> getCollectionSorting(String field); List<String> getCollectionBlacklist(String field); String getCollectionDefaultSortField(String field, String name); int getCollectionDisplayNumberOfVolumesLevel(String field); int getCollectionDisplayDepthForSearch(String field); String getCollectionHierarchyField(); boolean isAddCollectionHierarchyToBreadcrumbs(String field); String getSolrUrl(); String getContentServerWrapperUrl(); String getDownloadUrl(); String getRestApiUrl(); String getIIIFApiUrl(); boolean isUseIIIFApiUrlForCmsMediaUrls(); String getContentServerRealUrl(); String getMetsUrl(); String getMarcUrl(); String getDcUrl(); String getEseUrl(); List<Integer> getSearchHitsPerPageValues(); int getSearchHitsPerPageDefaultValue(); int getFulltextFragmentLength(); boolean isAdvancedSearchEnabled(); int getAdvancedSearchDefaultItemNumber(); List<AdvancedSearchFieldConfiguration> getAdvancedSearchFields(); boolean isAggregateHits(); boolean isDisplayAdditionalMetadataEnabled(); List<String> getDisplayAdditionalMetadataIgnoreFields(); List<String> getDisplayAdditionalMetadataTranslateFields(); boolean isAdvancedSearchFieldHierarchical(String field); boolean isAdvancedSearchFieldRange(String field); boolean isAdvancedSearchFieldUntokenizeForPhraseSearch(String field); String getAdvancedSearchFieldSeparatorLabel(String field); boolean isTimelineSearchEnabled(); boolean isCalendarSearchEnabled(); String getStaticQuerySuffix(); String getPreviousVersionIdentifierField(); String getNextVersionIdentifierField(); String getVersionLabelField(); String getIndexedMetsFolder(); String getIndexedLidoFolder(); String getIndexedDenkxwebFolder(); String getIndexedDublinCoreFolder(); String getPageSelectionFormat(); String getMediaFolder(); String getPdfFolder(); String getVocabulariesFolder(); String getOrigContentFolder(); String getCmsTextFolder(); String getAltoFolder(); String getAbbyyFolder(); String getFulltextFolder(); String getTeiFolder(); String getCmdiFolder(); String getWcFolder(); String getAnnotationFolder(); String getHotfolder(); @SuppressWarnings("static-method") String getTempFolder(); boolean isUrnDoRedirect(); boolean isUserRegistrationEnabled(); List<SecurityQuestion> getSecurityQuestions(); boolean isShowOpenIdConnect(); List<IAuthenticationProvider> getAuthenticationProviders(); String getSmtpServer(); String getSmtpUser(); String getSmtpPassword(); String getSmtpSenderAddress(); String getSmtpSenderName(); String getSmtpSecurity(); String getAnonymousUserEmailAddress(); boolean isDisplayCollectionBrowsing(); boolean isDisplayUserNavigation(); boolean isDisplayTagCloudNavigation(); boolean isDisplayStatistics(); boolean isDisplayTimeMatrix(); boolean isDisplayCrowdsourcingModuleLinks(); String getTheme(); String getThemeRootPath(); String getName(); String getDescription(); boolean isDisplayTagCloudStartpage(); boolean isDisplaySearchResultNavigation(); boolean isFoldout(String sidebarElement); boolean isSidebarPageViewLinkVisible(); boolean isSidebarCalendarViewLinkVisible(); boolean isSidebarTocViewLinkVisible(); boolean isSidebarThumbsViewLinkVisible(); boolean isSidebarMetadataViewLinkVisible(); boolean isShowSidebarEventMetadata(); boolean isShowRecordLabelIfNoOtherViews(); boolean isSidebarFulltextLinkVisible(); boolean isSidebarTocWidgetVisible(); boolean isSidebarTocWidgetVisibleInFullscreen(); boolean isSidebarOpacLinkVisible(); boolean getSidebarTocPageNumbersVisible(); int getSidebarTocLengthBeforeCut(); int getSidebarTocInitialCollapseLevel(); int getSidebarTocCollapseLengthThreshold(); int getSidebarTocLowestLevelToCollapseForLength(); boolean isSidebarTocTreeView(); boolean isTocTreeView(String docStructType); List<String> getAllDrillDownFields(); List<String> getDrillDownFields(); List<String> getHierarchicalDrillDownFields(); int getInitialDrillDownElementNumber(String field); String getSortOrder(String field); List<String> getPriorityValuesForDrillDownField(String field); String getLabelFieldForDrillDownField(String facetField); @SuppressWarnings("static-method") List<String> getRangeFacetFields(); boolean isSortingEnabled(); String getDefaultSortField(); List<String> getSortFields(); List<String> getStaticSortFields(); String getUrnResolverUrl(); int getUnconditionalImageAccessMaxWidth(); boolean isFullAccessForLocalhost(); boolean isGeneratePdfInTaskManager(); boolean isPdfApiDisabled(); boolean isTitlePdfEnabled(); boolean isTocPdfEnabled(); boolean isMetadataPdfEnabled(); boolean isPagePdfEnabled(); boolean isDocHierarchyPdfEnabled(); boolean isTitleEpubEnabled(); boolean isTocEpubEnabled(); boolean isMetadataEpubEnabled(); String getDownloadFolder(String type); int getRssFeedItems(); String getRssTitle(); String getRssDescription(); String getRssCopyrightText(); String getRulesetFilePath(); String getDefaultCollection(); int getThumbnailsWidth(); int getThumbnailsHeight(); int getThumbnailsCompression(); String getAnchorThumbnailMode(); int getMultivolumeThumbnailWidth(); int getMultivolumeThumbnailHeight(); boolean getDisplayBreadcrumbs(); boolean getDisplayMetadataPageLinkBlock(); boolean isAddDublinCoreMetaTags(); boolean isAddHighwirePressMetaTags(); int getMetadataParamNumber(); boolean useTiles(); boolean useTilesFullscreen(); boolean useTiles(PageType view, ImageType image); int getFooterHeight(); int getFullscreenFooterHeight(); int getFooterHeight(PageType view, ImageType image); String getImageViewType(); String getZoomFullscreenViewType(); String getZoomImageViewType(PageType view, ImageType image); boolean useOpenSeadragon(); List<String> getImageViewZoomScales(); List<String> getImageViewZoomScales(String view); List<String> getImageViewZoomScales(PageType view, ImageType image); Map<Integer, List<Integer>> getTileSizes(); Map<Integer, List<Integer>> getTileSizes(PageType view, ImageType image); SubnodeConfiguration getZoomImageViewConfig(PageType pageType, ImageType imageType); int getBreadcrumbsClipping(); boolean isDisplayTopstructLabel(); boolean getDisplayStructType(); int getSearchHitMetadataValueNumber(); int getSearchHitMetadataValueLength(); List<String> getWatermarkTextConfiguration(); String getWatermarkFormat(); boolean isOriginalContentDownload(); String getStopwordsFilePath(); String getPageType(PageType type); String getDocstructTargetPageType(String docstruct); String getPageTypeExitView(PageType type); int getFulltextPercentageWarningThreshold(); boolean isUseViewerLocaleAsRecordLanguage(); String getFeedbackEmailAddress(); boolean isBookmarksEnabled(); boolean isForceJpegConversion(); int getPageLoaderThreshold(); boolean isPreventProxyCaching(); boolean isSolrCompressionEnabled(); boolean isSolrBackwardsCompatible(); boolean isUserCommentsEnabled(); String getUserCommentsConditionalQuery(); List<String> getUserCommentsNotificationEmailAddresses(); String getViewerHome(); List<String> getWatermarkIdField(); String getSubthemeMainTheme(); String getSubthemeDiscriminatorField(); int getTagCloudSampleSize(String fieldName); List<StringPair> getTocVolumeSortFieldsForTemplate(String template); String getTocVolumeGroupFieldForTemplate(String template); boolean getDisplayTitleBreadcrumbs(); boolean isDisplayTitlePURL(); int getTitleBreadcrumbsMaxTitleLength(); boolean getIncludeAnchorInTitleBreadcrumbs(); boolean isDisplaySearchRssLinks(); boolean showThumbnailsInToc(); String getStartYearForTimeline(); String getEndYearForTimeline(); String getTimelineHits(); boolean isPiwikTrackingEnabled(); String getPiwikBaseURL(); String getPiwikSiteID(); boolean isSearchSavingEnabled(); boolean isBoostTopLevelDocstructs(); boolean isGroupDuplicateHits(); List<String> getRecordGroupIdentifierFields(); List<String> getAncestorIdentifierFields(); boolean isTocListSiblingRecords(); List<SearchFilter> getSearchFilters(); List<Map<String, String>> getWebApiFields(); String getDbPersistenceUnit(); boolean useCustomNavBar(); String getCmsTemplateFolder(); String getCmsMediaFolder(); String getTempMediaFolder(); List<String> getCmsClassifications(); int getCmsMediaDisplayWidth(); int getCmsMediaDisplayHeight(); boolean isTranskribusEnabled(); String getTranskribusUserName(); String getTranskribusPassword(); String getTranskribusDefaultCollection(); String getTranskribusRestApiUrl(); List<String> getTranskribusAllowedDocumentTypes(); int getTocIndentation(); boolean isPageBrowseEnabled(); List<Integer> getPageBrowseSteps(); String getTaskManagerServiceUrl(); String getTaskManagerRestUrl(); String getReCaptchaSiteKey(); boolean isUseReCaptcha(); boolean isSearchInItemEnabled(); String getDefaultBrowseIcon(String field); boolean isSearchExcelExportEnabled(); List<String> getSearchExcelExportFields(); int getExcelDownloadTimeout(); boolean isDisplayEmptyTocInSidebar(); boolean isDoublePageModeEnabled(); List<String> getRestrictedImageUrls(); List<String> getIIIFLicenses(); List<String> getIIIFMetadataFields(); List<String> getIIIFEventFields(); String getIIIFMetadataLabel(String field); int getIIIFDiscoveryAvtivitiesPerPage(); List<String> getIIIFLogo(); String getIIIFNavDateField(); List<String> getIIIFAttribution(); List<String> getIIIFDescriptionFields(); String getSitelinksField(); String getSitelinksFilterQuery(); List<String> getConfiguredCollections(); String getWebApiToken(); boolean isAllowRedirectCollectionToWork(); String getTwitterUserName(); float getLimitImageHeightUpperRatioThreshold(); float getLimitImageHeightLowerRatioThreshold(); boolean isLimitImageHeight(); boolean isAddCORSHeader(); String getCORSHeaderValue(); boolean isDiscloseImageContentLocation(); String getAccessConditionDisplayField(); String getCopyrightDisplayField(); boolean isDisplayCopyrightInfo(); boolean isDisplaySocialMediaShareLinks(); boolean isDisplayAnchorLabelInTitleBar(String template); String getAnchorLabelInTitleBarPrefix(String template); String getAnchorLabelInTitleBarSuffix(String template); String getMapBoxToken(); GeoMapMarker getGeoMapMarker(String name); List<String> getGeoMapMarkerFields(); List<GeoMapMarker> getGeoMapMarkers(); static GeoMapMarker readGeoMapMarker(HierarchicalConfiguration config); List<LicenseDescription> getLicenseDescriptions(); }
Configuration extends AbstractConfiguration { public boolean isDocHierarchyPdfEnabled() { return getLocalBoolean("pdf.docHierarchyPdfEnabled", false); } Configuration(String configFilePath); Set<String> getStopwords(); boolean reloadingRequired(); String getConfigLocalPath(); String getLocalRessourceBundleFile(); int getViewerThumbnailsPerPage(); int getViewerMaxImageWidth(); int getViewerMaxImageHeight(); int getViewerMaxImageScale(); boolean isRememberImageZoom(); boolean isRememberImageRotation(); String getDfgViewerUrl(); String getConnectorVersionUrl(); List<Metadata> getTitleBarMetadata(); List<Metadata> getSearchHitMetadataForTemplate(String template); List<Metadata> getMainMetadataForTemplate(String template); List<Metadata> getSidebarMetadataForTemplate(String template); List<String> getNormdataFieldsForTemplate(String template); List<Metadata> getTocLabelConfiguration(String template); int getTocAnchorGroupElementsPerPage(); boolean isDisplaySidebarBrowsingTerms(); boolean isDisplaySidebarRssFeed(); boolean isDisplayWidgetUsage(); Metadata getWidgetUsageLicenceTextMetadata(); boolean isDisplaySidebarUsageWidgetLinkToJpegImage(); boolean isDisplaySidebarUsageWidgetLinkToMasterImage(); String getWidgetUsageMaxJpegSize(); String getWidgetUsageMaxMasterImageSize(); List<String> getCalendarDocStructTypes(); boolean isBrowsingMenuEnabled(); int getBrowsingMenuHitsPerPage(); List<BrowsingMenuFieldConfig> getBrowsingMenuFields(); String getBrowsingMenuSortingIgnoreLeadingChars(); String getDocstrctWhitelistFilterQuery(); String getCollectionSplittingChar(String field); List<DcSortingList> getCollectionSorting(String field); List<String> getCollectionBlacklist(String field); String getCollectionDefaultSortField(String field, String name); int getCollectionDisplayNumberOfVolumesLevel(String field); int getCollectionDisplayDepthForSearch(String field); String getCollectionHierarchyField(); boolean isAddCollectionHierarchyToBreadcrumbs(String field); String getSolrUrl(); String getContentServerWrapperUrl(); String getDownloadUrl(); String getRestApiUrl(); String getIIIFApiUrl(); boolean isUseIIIFApiUrlForCmsMediaUrls(); String getContentServerRealUrl(); String getMetsUrl(); String getMarcUrl(); String getDcUrl(); String getEseUrl(); List<Integer> getSearchHitsPerPageValues(); int getSearchHitsPerPageDefaultValue(); int getFulltextFragmentLength(); boolean isAdvancedSearchEnabled(); int getAdvancedSearchDefaultItemNumber(); List<AdvancedSearchFieldConfiguration> getAdvancedSearchFields(); boolean isAggregateHits(); boolean isDisplayAdditionalMetadataEnabled(); List<String> getDisplayAdditionalMetadataIgnoreFields(); List<String> getDisplayAdditionalMetadataTranslateFields(); boolean isAdvancedSearchFieldHierarchical(String field); boolean isAdvancedSearchFieldRange(String field); boolean isAdvancedSearchFieldUntokenizeForPhraseSearch(String field); String getAdvancedSearchFieldSeparatorLabel(String field); boolean isTimelineSearchEnabled(); boolean isCalendarSearchEnabled(); String getStaticQuerySuffix(); String getPreviousVersionIdentifierField(); String getNextVersionIdentifierField(); String getVersionLabelField(); String getIndexedMetsFolder(); String getIndexedLidoFolder(); String getIndexedDenkxwebFolder(); String getIndexedDublinCoreFolder(); String getPageSelectionFormat(); String getMediaFolder(); String getPdfFolder(); String getVocabulariesFolder(); String getOrigContentFolder(); String getCmsTextFolder(); String getAltoFolder(); String getAbbyyFolder(); String getFulltextFolder(); String getTeiFolder(); String getCmdiFolder(); String getWcFolder(); String getAnnotationFolder(); String getHotfolder(); @SuppressWarnings("static-method") String getTempFolder(); boolean isUrnDoRedirect(); boolean isUserRegistrationEnabled(); List<SecurityQuestion> getSecurityQuestions(); boolean isShowOpenIdConnect(); List<IAuthenticationProvider> getAuthenticationProviders(); String getSmtpServer(); String getSmtpUser(); String getSmtpPassword(); String getSmtpSenderAddress(); String getSmtpSenderName(); String getSmtpSecurity(); String getAnonymousUserEmailAddress(); boolean isDisplayCollectionBrowsing(); boolean isDisplayUserNavigation(); boolean isDisplayTagCloudNavigation(); boolean isDisplayStatistics(); boolean isDisplayTimeMatrix(); boolean isDisplayCrowdsourcingModuleLinks(); String getTheme(); String getThemeRootPath(); String getName(); String getDescription(); boolean isDisplayTagCloudStartpage(); boolean isDisplaySearchResultNavigation(); boolean isFoldout(String sidebarElement); boolean isSidebarPageViewLinkVisible(); boolean isSidebarCalendarViewLinkVisible(); boolean isSidebarTocViewLinkVisible(); boolean isSidebarThumbsViewLinkVisible(); boolean isSidebarMetadataViewLinkVisible(); boolean isShowSidebarEventMetadata(); boolean isShowRecordLabelIfNoOtherViews(); boolean isSidebarFulltextLinkVisible(); boolean isSidebarTocWidgetVisible(); boolean isSidebarTocWidgetVisibleInFullscreen(); boolean isSidebarOpacLinkVisible(); boolean getSidebarTocPageNumbersVisible(); int getSidebarTocLengthBeforeCut(); int getSidebarTocInitialCollapseLevel(); int getSidebarTocCollapseLengthThreshold(); int getSidebarTocLowestLevelToCollapseForLength(); boolean isSidebarTocTreeView(); boolean isTocTreeView(String docStructType); List<String> getAllDrillDownFields(); List<String> getDrillDownFields(); List<String> getHierarchicalDrillDownFields(); int getInitialDrillDownElementNumber(String field); String getSortOrder(String field); List<String> getPriorityValuesForDrillDownField(String field); String getLabelFieldForDrillDownField(String facetField); @SuppressWarnings("static-method") List<String> getRangeFacetFields(); boolean isSortingEnabled(); String getDefaultSortField(); List<String> getSortFields(); List<String> getStaticSortFields(); String getUrnResolverUrl(); int getUnconditionalImageAccessMaxWidth(); boolean isFullAccessForLocalhost(); boolean isGeneratePdfInTaskManager(); boolean isPdfApiDisabled(); boolean isTitlePdfEnabled(); boolean isTocPdfEnabled(); boolean isMetadataPdfEnabled(); boolean isPagePdfEnabled(); boolean isDocHierarchyPdfEnabled(); boolean isTitleEpubEnabled(); boolean isTocEpubEnabled(); boolean isMetadataEpubEnabled(); String getDownloadFolder(String type); int getRssFeedItems(); String getRssTitle(); String getRssDescription(); String getRssCopyrightText(); String getRulesetFilePath(); String getDefaultCollection(); int getThumbnailsWidth(); int getThumbnailsHeight(); int getThumbnailsCompression(); String getAnchorThumbnailMode(); int getMultivolumeThumbnailWidth(); int getMultivolumeThumbnailHeight(); boolean getDisplayBreadcrumbs(); boolean getDisplayMetadataPageLinkBlock(); boolean isAddDublinCoreMetaTags(); boolean isAddHighwirePressMetaTags(); int getMetadataParamNumber(); boolean useTiles(); boolean useTilesFullscreen(); boolean useTiles(PageType view, ImageType image); int getFooterHeight(); int getFullscreenFooterHeight(); int getFooterHeight(PageType view, ImageType image); String getImageViewType(); String getZoomFullscreenViewType(); String getZoomImageViewType(PageType view, ImageType image); boolean useOpenSeadragon(); List<String> getImageViewZoomScales(); List<String> getImageViewZoomScales(String view); List<String> getImageViewZoomScales(PageType view, ImageType image); Map<Integer, List<Integer>> getTileSizes(); Map<Integer, List<Integer>> getTileSizes(PageType view, ImageType image); SubnodeConfiguration getZoomImageViewConfig(PageType pageType, ImageType imageType); int getBreadcrumbsClipping(); boolean isDisplayTopstructLabel(); boolean getDisplayStructType(); int getSearchHitMetadataValueNumber(); int getSearchHitMetadataValueLength(); List<String> getWatermarkTextConfiguration(); String getWatermarkFormat(); boolean isOriginalContentDownload(); String getStopwordsFilePath(); String getPageType(PageType type); String getDocstructTargetPageType(String docstruct); String getPageTypeExitView(PageType type); int getFulltextPercentageWarningThreshold(); boolean isUseViewerLocaleAsRecordLanguage(); String getFeedbackEmailAddress(); boolean isBookmarksEnabled(); boolean isForceJpegConversion(); int getPageLoaderThreshold(); boolean isPreventProxyCaching(); boolean isSolrCompressionEnabled(); boolean isSolrBackwardsCompatible(); boolean isUserCommentsEnabled(); String getUserCommentsConditionalQuery(); List<String> getUserCommentsNotificationEmailAddresses(); String getViewerHome(); List<String> getWatermarkIdField(); String getSubthemeMainTheme(); String getSubthemeDiscriminatorField(); int getTagCloudSampleSize(String fieldName); List<StringPair> getTocVolumeSortFieldsForTemplate(String template); String getTocVolumeGroupFieldForTemplate(String template); boolean getDisplayTitleBreadcrumbs(); boolean isDisplayTitlePURL(); int getTitleBreadcrumbsMaxTitleLength(); boolean getIncludeAnchorInTitleBreadcrumbs(); boolean isDisplaySearchRssLinks(); boolean showThumbnailsInToc(); String getStartYearForTimeline(); String getEndYearForTimeline(); String getTimelineHits(); boolean isPiwikTrackingEnabled(); String getPiwikBaseURL(); String getPiwikSiteID(); boolean isSearchSavingEnabled(); boolean isBoostTopLevelDocstructs(); boolean isGroupDuplicateHits(); List<String> getRecordGroupIdentifierFields(); List<String> getAncestorIdentifierFields(); boolean isTocListSiblingRecords(); List<SearchFilter> getSearchFilters(); List<Map<String, String>> getWebApiFields(); String getDbPersistenceUnit(); boolean useCustomNavBar(); String getCmsTemplateFolder(); String getCmsMediaFolder(); String getTempMediaFolder(); List<String> getCmsClassifications(); int getCmsMediaDisplayWidth(); int getCmsMediaDisplayHeight(); boolean isTranskribusEnabled(); String getTranskribusUserName(); String getTranskribusPassword(); String getTranskribusDefaultCollection(); String getTranskribusRestApiUrl(); List<String> getTranskribusAllowedDocumentTypes(); int getTocIndentation(); boolean isPageBrowseEnabled(); List<Integer> getPageBrowseSteps(); String getTaskManagerServiceUrl(); String getTaskManagerRestUrl(); String getReCaptchaSiteKey(); boolean isUseReCaptcha(); boolean isSearchInItemEnabled(); String getDefaultBrowseIcon(String field); boolean isSearchExcelExportEnabled(); List<String> getSearchExcelExportFields(); int getExcelDownloadTimeout(); boolean isDisplayEmptyTocInSidebar(); boolean isDoublePageModeEnabled(); List<String> getRestrictedImageUrls(); List<String> getIIIFLicenses(); List<String> getIIIFMetadataFields(); List<String> getIIIFEventFields(); String getIIIFMetadataLabel(String field); int getIIIFDiscoveryAvtivitiesPerPage(); List<String> getIIIFLogo(); String getIIIFNavDateField(); List<String> getIIIFAttribution(); List<String> getIIIFDescriptionFields(); String getSitelinksField(); String getSitelinksFilterQuery(); List<String> getConfiguredCollections(); String getWebApiToken(); boolean isAllowRedirectCollectionToWork(); String getTwitterUserName(); float getLimitImageHeightUpperRatioThreshold(); float getLimitImageHeightLowerRatioThreshold(); boolean isLimitImageHeight(); boolean isAddCORSHeader(); String getCORSHeaderValue(); boolean isDiscloseImageContentLocation(); String getAccessConditionDisplayField(); String getCopyrightDisplayField(); boolean isDisplayCopyrightInfo(); boolean isDisplaySocialMediaShareLinks(); boolean isDisplayAnchorLabelInTitleBar(String template); String getAnchorLabelInTitleBarPrefix(String template); String getAnchorLabelInTitleBarSuffix(String template); String getMapBoxToken(); GeoMapMarker getGeoMapMarker(String name); List<String> getGeoMapMarkerFields(); List<GeoMapMarker> getGeoMapMarkers(); static GeoMapMarker readGeoMapMarker(HierarchicalConfiguration config); List<LicenseDescription> getLicenseDescriptions(); }
@Test public void isTitleEpubEnabled_shouldReturnCorrectValue() throws Exception { Assert.assertFalse(DataManager.getInstance().getConfiguration().isTitleEpubEnabled()); }
public boolean isTitleEpubEnabled() { return getLocalBoolean("epub.titleEpubEnabled", false); }
Configuration extends AbstractConfiguration { public boolean isTitleEpubEnabled() { return getLocalBoolean("epub.titleEpubEnabled", false); } }
Configuration extends AbstractConfiguration { public boolean isTitleEpubEnabled() { return getLocalBoolean("epub.titleEpubEnabled", false); } Configuration(String configFilePath); }
Configuration extends AbstractConfiguration { public boolean isTitleEpubEnabled() { return getLocalBoolean("epub.titleEpubEnabled", false); } Configuration(String configFilePath); Set<String> getStopwords(); boolean reloadingRequired(); String getConfigLocalPath(); String getLocalRessourceBundleFile(); int getViewerThumbnailsPerPage(); int getViewerMaxImageWidth(); int getViewerMaxImageHeight(); int getViewerMaxImageScale(); boolean isRememberImageZoom(); boolean isRememberImageRotation(); String getDfgViewerUrl(); String getConnectorVersionUrl(); List<Metadata> getTitleBarMetadata(); List<Metadata> getSearchHitMetadataForTemplate(String template); List<Metadata> getMainMetadataForTemplate(String template); List<Metadata> getSidebarMetadataForTemplate(String template); List<String> getNormdataFieldsForTemplate(String template); List<Metadata> getTocLabelConfiguration(String template); int getTocAnchorGroupElementsPerPage(); boolean isDisplaySidebarBrowsingTerms(); boolean isDisplaySidebarRssFeed(); boolean isDisplayWidgetUsage(); Metadata getWidgetUsageLicenceTextMetadata(); boolean isDisplaySidebarUsageWidgetLinkToJpegImage(); boolean isDisplaySidebarUsageWidgetLinkToMasterImage(); String getWidgetUsageMaxJpegSize(); String getWidgetUsageMaxMasterImageSize(); List<String> getCalendarDocStructTypes(); boolean isBrowsingMenuEnabled(); int getBrowsingMenuHitsPerPage(); List<BrowsingMenuFieldConfig> getBrowsingMenuFields(); String getBrowsingMenuSortingIgnoreLeadingChars(); String getDocstrctWhitelistFilterQuery(); String getCollectionSplittingChar(String field); List<DcSortingList> getCollectionSorting(String field); List<String> getCollectionBlacklist(String field); String getCollectionDefaultSortField(String field, String name); int getCollectionDisplayNumberOfVolumesLevel(String field); int getCollectionDisplayDepthForSearch(String field); String getCollectionHierarchyField(); boolean isAddCollectionHierarchyToBreadcrumbs(String field); String getSolrUrl(); String getContentServerWrapperUrl(); String getDownloadUrl(); String getRestApiUrl(); String getIIIFApiUrl(); boolean isUseIIIFApiUrlForCmsMediaUrls(); String getContentServerRealUrl(); String getMetsUrl(); String getMarcUrl(); String getDcUrl(); String getEseUrl(); List<Integer> getSearchHitsPerPageValues(); int getSearchHitsPerPageDefaultValue(); int getFulltextFragmentLength(); boolean isAdvancedSearchEnabled(); int getAdvancedSearchDefaultItemNumber(); List<AdvancedSearchFieldConfiguration> getAdvancedSearchFields(); boolean isAggregateHits(); boolean isDisplayAdditionalMetadataEnabled(); List<String> getDisplayAdditionalMetadataIgnoreFields(); List<String> getDisplayAdditionalMetadataTranslateFields(); boolean isAdvancedSearchFieldHierarchical(String field); boolean isAdvancedSearchFieldRange(String field); boolean isAdvancedSearchFieldUntokenizeForPhraseSearch(String field); String getAdvancedSearchFieldSeparatorLabel(String field); boolean isTimelineSearchEnabled(); boolean isCalendarSearchEnabled(); String getStaticQuerySuffix(); String getPreviousVersionIdentifierField(); String getNextVersionIdentifierField(); String getVersionLabelField(); String getIndexedMetsFolder(); String getIndexedLidoFolder(); String getIndexedDenkxwebFolder(); String getIndexedDublinCoreFolder(); String getPageSelectionFormat(); String getMediaFolder(); String getPdfFolder(); String getVocabulariesFolder(); String getOrigContentFolder(); String getCmsTextFolder(); String getAltoFolder(); String getAbbyyFolder(); String getFulltextFolder(); String getTeiFolder(); String getCmdiFolder(); String getWcFolder(); String getAnnotationFolder(); String getHotfolder(); @SuppressWarnings("static-method") String getTempFolder(); boolean isUrnDoRedirect(); boolean isUserRegistrationEnabled(); List<SecurityQuestion> getSecurityQuestions(); boolean isShowOpenIdConnect(); List<IAuthenticationProvider> getAuthenticationProviders(); String getSmtpServer(); String getSmtpUser(); String getSmtpPassword(); String getSmtpSenderAddress(); String getSmtpSenderName(); String getSmtpSecurity(); String getAnonymousUserEmailAddress(); boolean isDisplayCollectionBrowsing(); boolean isDisplayUserNavigation(); boolean isDisplayTagCloudNavigation(); boolean isDisplayStatistics(); boolean isDisplayTimeMatrix(); boolean isDisplayCrowdsourcingModuleLinks(); String getTheme(); String getThemeRootPath(); String getName(); String getDescription(); boolean isDisplayTagCloudStartpage(); boolean isDisplaySearchResultNavigation(); boolean isFoldout(String sidebarElement); boolean isSidebarPageViewLinkVisible(); boolean isSidebarCalendarViewLinkVisible(); boolean isSidebarTocViewLinkVisible(); boolean isSidebarThumbsViewLinkVisible(); boolean isSidebarMetadataViewLinkVisible(); boolean isShowSidebarEventMetadata(); boolean isShowRecordLabelIfNoOtherViews(); boolean isSidebarFulltextLinkVisible(); boolean isSidebarTocWidgetVisible(); boolean isSidebarTocWidgetVisibleInFullscreen(); boolean isSidebarOpacLinkVisible(); boolean getSidebarTocPageNumbersVisible(); int getSidebarTocLengthBeforeCut(); int getSidebarTocInitialCollapseLevel(); int getSidebarTocCollapseLengthThreshold(); int getSidebarTocLowestLevelToCollapseForLength(); boolean isSidebarTocTreeView(); boolean isTocTreeView(String docStructType); List<String> getAllDrillDownFields(); List<String> getDrillDownFields(); List<String> getHierarchicalDrillDownFields(); int getInitialDrillDownElementNumber(String field); String getSortOrder(String field); List<String> getPriorityValuesForDrillDownField(String field); String getLabelFieldForDrillDownField(String facetField); @SuppressWarnings("static-method") List<String> getRangeFacetFields(); boolean isSortingEnabled(); String getDefaultSortField(); List<String> getSortFields(); List<String> getStaticSortFields(); String getUrnResolverUrl(); int getUnconditionalImageAccessMaxWidth(); boolean isFullAccessForLocalhost(); boolean isGeneratePdfInTaskManager(); boolean isPdfApiDisabled(); boolean isTitlePdfEnabled(); boolean isTocPdfEnabled(); boolean isMetadataPdfEnabled(); boolean isPagePdfEnabled(); boolean isDocHierarchyPdfEnabled(); boolean isTitleEpubEnabled(); boolean isTocEpubEnabled(); boolean isMetadataEpubEnabled(); String getDownloadFolder(String type); int getRssFeedItems(); String getRssTitle(); String getRssDescription(); String getRssCopyrightText(); String getRulesetFilePath(); String getDefaultCollection(); int getThumbnailsWidth(); int getThumbnailsHeight(); int getThumbnailsCompression(); String getAnchorThumbnailMode(); int getMultivolumeThumbnailWidth(); int getMultivolumeThumbnailHeight(); boolean getDisplayBreadcrumbs(); boolean getDisplayMetadataPageLinkBlock(); boolean isAddDublinCoreMetaTags(); boolean isAddHighwirePressMetaTags(); int getMetadataParamNumber(); boolean useTiles(); boolean useTilesFullscreen(); boolean useTiles(PageType view, ImageType image); int getFooterHeight(); int getFullscreenFooterHeight(); int getFooterHeight(PageType view, ImageType image); String getImageViewType(); String getZoomFullscreenViewType(); String getZoomImageViewType(PageType view, ImageType image); boolean useOpenSeadragon(); List<String> getImageViewZoomScales(); List<String> getImageViewZoomScales(String view); List<String> getImageViewZoomScales(PageType view, ImageType image); Map<Integer, List<Integer>> getTileSizes(); Map<Integer, List<Integer>> getTileSizes(PageType view, ImageType image); SubnodeConfiguration getZoomImageViewConfig(PageType pageType, ImageType imageType); int getBreadcrumbsClipping(); boolean isDisplayTopstructLabel(); boolean getDisplayStructType(); int getSearchHitMetadataValueNumber(); int getSearchHitMetadataValueLength(); List<String> getWatermarkTextConfiguration(); String getWatermarkFormat(); boolean isOriginalContentDownload(); String getStopwordsFilePath(); String getPageType(PageType type); String getDocstructTargetPageType(String docstruct); String getPageTypeExitView(PageType type); int getFulltextPercentageWarningThreshold(); boolean isUseViewerLocaleAsRecordLanguage(); String getFeedbackEmailAddress(); boolean isBookmarksEnabled(); boolean isForceJpegConversion(); int getPageLoaderThreshold(); boolean isPreventProxyCaching(); boolean isSolrCompressionEnabled(); boolean isSolrBackwardsCompatible(); boolean isUserCommentsEnabled(); String getUserCommentsConditionalQuery(); List<String> getUserCommentsNotificationEmailAddresses(); String getViewerHome(); List<String> getWatermarkIdField(); String getSubthemeMainTheme(); String getSubthemeDiscriminatorField(); int getTagCloudSampleSize(String fieldName); List<StringPair> getTocVolumeSortFieldsForTemplate(String template); String getTocVolumeGroupFieldForTemplate(String template); boolean getDisplayTitleBreadcrumbs(); boolean isDisplayTitlePURL(); int getTitleBreadcrumbsMaxTitleLength(); boolean getIncludeAnchorInTitleBreadcrumbs(); boolean isDisplaySearchRssLinks(); boolean showThumbnailsInToc(); String getStartYearForTimeline(); String getEndYearForTimeline(); String getTimelineHits(); boolean isPiwikTrackingEnabled(); String getPiwikBaseURL(); String getPiwikSiteID(); boolean isSearchSavingEnabled(); boolean isBoostTopLevelDocstructs(); boolean isGroupDuplicateHits(); List<String> getRecordGroupIdentifierFields(); List<String> getAncestorIdentifierFields(); boolean isTocListSiblingRecords(); List<SearchFilter> getSearchFilters(); List<Map<String, String>> getWebApiFields(); String getDbPersistenceUnit(); boolean useCustomNavBar(); String getCmsTemplateFolder(); String getCmsMediaFolder(); String getTempMediaFolder(); List<String> getCmsClassifications(); int getCmsMediaDisplayWidth(); int getCmsMediaDisplayHeight(); boolean isTranskribusEnabled(); String getTranskribusUserName(); String getTranskribusPassword(); String getTranskribusDefaultCollection(); String getTranskribusRestApiUrl(); List<String> getTranskribusAllowedDocumentTypes(); int getTocIndentation(); boolean isPageBrowseEnabled(); List<Integer> getPageBrowseSteps(); String getTaskManagerServiceUrl(); String getTaskManagerRestUrl(); String getReCaptchaSiteKey(); boolean isUseReCaptcha(); boolean isSearchInItemEnabled(); String getDefaultBrowseIcon(String field); boolean isSearchExcelExportEnabled(); List<String> getSearchExcelExportFields(); int getExcelDownloadTimeout(); boolean isDisplayEmptyTocInSidebar(); boolean isDoublePageModeEnabled(); List<String> getRestrictedImageUrls(); List<String> getIIIFLicenses(); List<String> getIIIFMetadataFields(); List<String> getIIIFEventFields(); String getIIIFMetadataLabel(String field); int getIIIFDiscoveryAvtivitiesPerPage(); List<String> getIIIFLogo(); String getIIIFNavDateField(); List<String> getIIIFAttribution(); List<String> getIIIFDescriptionFields(); String getSitelinksField(); String getSitelinksFilterQuery(); List<String> getConfiguredCollections(); String getWebApiToken(); boolean isAllowRedirectCollectionToWork(); String getTwitterUserName(); float getLimitImageHeightUpperRatioThreshold(); float getLimitImageHeightLowerRatioThreshold(); boolean isLimitImageHeight(); boolean isAddCORSHeader(); String getCORSHeaderValue(); boolean isDiscloseImageContentLocation(); String getAccessConditionDisplayField(); String getCopyrightDisplayField(); boolean isDisplayCopyrightInfo(); boolean isDisplaySocialMediaShareLinks(); boolean isDisplayAnchorLabelInTitleBar(String template); String getAnchorLabelInTitleBarPrefix(String template); String getAnchorLabelInTitleBarSuffix(String template); String getMapBoxToken(); GeoMapMarker getGeoMapMarker(String name); List<String> getGeoMapMarkerFields(); List<GeoMapMarker> getGeoMapMarkers(); static GeoMapMarker readGeoMapMarker(HierarchicalConfiguration config); List<LicenseDescription> getLicenseDescriptions(); }
Configuration extends AbstractConfiguration { public boolean isTitleEpubEnabled() { return getLocalBoolean("epub.titleEpubEnabled", false); } Configuration(String configFilePath); Set<String> getStopwords(); boolean reloadingRequired(); String getConfigLocalPath(); String getLocalRessourceBundleFile(); int getViewerThumbnailsPerPage(); int getViewerMaxImageWidth(); int getViewerMaxImageHeight(); int getViewerMaxImageScale(); boolean isRememberImageZoom(); boolean isRememberImageRotation(); String getDfgViewerUrl(); String getConnectorVersionUrl(); List<Metadata> getTitleBarMetadata(); List<Metadata> getSearchHitMetadataForTemplate(String template); List<Metadata> getMainMetadataForTemplate(String template); List<Metadata> getSidebarMetadataForTemplate(String template); List<String> getNormdataFieldsForTemplate(String template); List<Metadata> getTocLabelConfiguration(String template); int getTocAnchorGroupElementsPerPage(); boolean isDisplaySidebarBrowsingTerms(); boolean isDisplaySidebarRssFeed(); boolean isDisplayWidgetUsage(); Metadata getWidgetUsageLicenceTextMetadata(); boolean isDisplaySidebarUsageWidgetLinkToJpegImage(); boolean isDisplaySidebarUsageWidgetLinkToMasterImage(); String getWidgetUsageMaxJpegSize(); String getWidgetUsageMaxMasterImageSize(); List<String> getCalendarDocStructTypes(); boolean isBrowsingMenuEnabled(); int getBrowsingMenuHitsPerPage(); List<BrowsingMenuFieldConfig> getBrowsingMenuFields(); String getBrowsingMenuSortingIgnoreLeadingChars(); String getDocstrctWhitelistFilterQuery(); String getCollectionSplittingChar(String field); List<DcSortingList> getCollectionSorting(String field); List<String> getCollectionBlacklist(String field); String getCollectionDefaultSortField(String field, String name); int getCollectionDisplayNumberOfVolumesLevel(String field); int getCollectionDisplayDepthForSearch(String field); String getCollectionHierarchyField(); boolean isAddCollectionHierarchyToBreadcrumbs(String field); String getSolrUrl(); String getContentServerWrapperUrl(); String getDownloadUrl(); String getRestApiUrl(); String getIIIFApiUrl(); boolean isUseIIIFApiUrlForCmsMediaUrls(); String getContentServerRealUrl(); String getMetsUrl(); String getMarcUrl(); String getDcUrl(); String getEseUrl(); List<Integer> getSearchHitsPerPageValues(); int getSearchHitsPerPageDefaultValue(); int getFulltextFragmentLength(); boolean isAdvancedSearchEnabled(); int getAdvancedSearchDefaultItemNumber(); List<AdvancedSearchFieldConfiguration> getAdvancedSearchFields(); boolean isAggregateHits(); boolean isDisplayAdditionalMetadataEnabled(); List<String> getDisplayAdditionalMetadataIgnoreFields(); List<String> getDisplayAdditionalMetadataTranslateFields(); boolean isAdvancedSearchFieldHierarchical(String field); boolean isAdvancedSearchFieldRange(String field); boolean isAdvancedSearchFieldUntokenizeForPhraseSearch(String field); String getAdvancedSearchFieldSeparatorLabel(String field); boolean isTimelineSearchEnabled(); boolean isCalendarSearchEnabled(); String getStaticQuerySuffix(); String getPreviousVersionIdentifierField(); String getNextVersionIdentifierField(); String getVersionLabelField(); String getIndexedMetsFolder(); String getIndexedLidoFolder(); String getIndexedDenkxwebFolder(); String getIndexedDublinCoreFolder(); String getPageSelectionFormat(); String getMediaFolder(); String getPdfFolder(); String getVocabulariesFolder(); String getOrigContentFolder(); String getCmsTextFolder(); String getAltoFolder(); String getAbbyyFolder(); String getFulltextFolder(); String getTeiFolder(); String getCmdiFolder(); String getWcFolder(); String getAnnotationFolder(); String getHotfolder(); @SuppressWarnings("static-method") String getTempFolder(); boolean isUrnDoRedirect(); boolean isUserRegistrationEnabled(); List<SecurityQuestion> getSecurityQuestions(); boolean isShowOpenIdConnect(); List<IAuthenticationProvider> getAuthenticationProviders(); String getSmtpServer(); String getSmtpUser(); String getSmtpPassword(); String getSmtpSenderAddress(); String getSmtpSenderName(); String getSmtpSecurity(); String getAnonymousUserEmailAddress(); boolean isDisplayCollectionBrowsing(); boolean isDisplayUserNavigation(); boolean isDisplayTagCloudNavigation(); boolean isDisplayStatistics(); boolean isDisplayTimeMatrix(); boolean isDisplayCrowdsourcingModuleLinks(); String getTheme(); String getThemeRootPath(); String getName(); String getDescription(); boolean isDisplayTagCloudStartpage(); boolean isDisplaySearchResultNavigation(); boolean isFoldout(String sidebarElement); boolean isSidebarPageViewLinkVisible(); boolean isSidebarCalendarViewLinkVisible(); boolean isSidebarTocViewLinkVisible(); boolean isSidebarThumbsViewLinkVisible(); boolean isSidebarMetadataViewLinkVisible(); boolean isShowSidebarEventMetadata(); boolean isShowRecordLabelIfNoOtherViews(); boolean isSidebarFulltextLinkVisible(); boolean isSidebarTocWidgetVisible(); boolean isSidebarTocWidgetVisibleInFullscreen(); boolean isSidebarOpacLinkVisible(); boolean getSidebarTocPageNumbersVisible(); int getSidebarTocLengthBeforeCut(); int getSidebarTocInitialCollapseLevel(); int getSidebarTocCollapseLengthThreshold(); int getSidebarTocLowestLevelToCollapseForLength(); boolean isSidebarTocTreeView(); boolean isTocTreeView(String docStructType); List<String> getAllDrillDownFields(); List<String> getDrillDownFields(); List<String> getHierarchicalDrillDownFields(); int getInitialDrillDownElementNumber(String field); String getSortOrder(String field); List<String> getPriorityValuesForDrillDownField(String field); String getLabelFieldForDrillDownField(String facetField); @SuppressWarnings("static-method") List<String> getRangeFacetFields(); boolean isSortingEnabled(); String getDefaultSortField(); List<String> getSortFields(); List<String> getStaticSortFields(); String getUrnResolverUrl(); int getUnconditionalImageAccessMaxWidth(); boolean isFullAccessForLocalhost(); boolean isGeneratePdfInTaskManager(); boolean isPdfApiDisabled(); boolean isTitlePdfEnabled(); boolean isTocPdfEnabled(); boolean isMetadataPdfEnabled(); boolean isPagePdfEnabled(); boolean isDocHierarchyPdfEnabled(); boolean isTitleEpubEnabled(); boolean isTocEpubEnabled(); boolean isMetadataEpubEnabled(); String getDownloadFolder(String type); int getRssFeedItems(); String getRssTitle(); String getRssDescription(); String getRssCopyrightText(); String getRulesetFilePath(); String getDefaultCollection(); int getThumbnailsWidth(); int getThumbnailsHeight(); int getThumbnailsCompression(); String getAnchorThumbnailMode(); int getMultivolumeThumbnailWidth(); int getMultivolumeThumbnailHeight(); boolean getDisplayBreadcrumbs(); boolean getDisplayMetadataPageLinkBlock(); boolean isAddDublinCoreMetaTags(); boolean isAddHighwirePressMetaTags(); int getMetadataParamNumber(); boolean useTiles(); boolean useTilesFullscreen(); boolean useTiles(PageType view, ImageType image); int getFooterHeight(); int getFullscreenFooterHeight(); int getFooterHeight(PageType view, ImageType image); String getImageViewType(); String getZoomFullscreenViewType(); String getZoomImageViewType(PageType view, ImageType image); boolean useOpenSeadragon(); List<String> getImageViewZoomScales(); List<String> getImageViewZoomScales(String view); List<String> getImageViewZoomScales(PageType view, ImageType image); Map<Integer, List<Integer>> getTileSizes(); Map<Integer, List<Integer>> getTileSizes(PageType view, ImageType image); SubnodeConfiguration getZoomImageViewConfig(PageType pageType, ImageType imageType); int getBreadcrumbsClipping(); boolean isDisplayTopstructLabel(); boolean getDisplayStructType(); int getSearchHitMetadataValueNumber(); int getSearchHitMetadataValueLength(); List<String> getWatermarkTextConfiguration(); String getWatermarkFormat(); boolean isOriginalContentDownload(); String getStopwordsFilePath(); String getPageType(PageType type); String getDocstructTargetPageType(String docstruct); String getPageTypeExitView(PageType type); int getFulltextPercentageWarningThreshold(); boolean isUseViewerLocaleAsRecordLanguage(); String getFeedbackEmailAddress(); boolean isBookmarksEnabled(); boolean isForceJpegConversion(); int getPageLoaderThreshold(); boolean isPreventProxyCaching(); boolean isSolrCompressionEnabled(); boolean isSolrBackwardsCompatible(); boolean isUserCommentsEnabled(); String getUserCommentsConditionalQuery(); List<String> getUserCommentsNotificationEmailAddresses(); String getViewerHome(); List<String> getWatermarkIdField(); String getSubthemeMainTheme(); String getSubthemeDiscriminatorField(); int getTagCloudSampleSize(String fieldName); List<StringPair> getTocVolumeSortFieldsForTemplate(String template); String getTocVolumeGroupFieldForTemplate(String template); boolean getDisplayTitleBreadcrumbs(); boolean isDisplayTitlePURL(); int getTitleBreadcrumbsMaxTitleLength(); boolean getIncludeAnchorInTitleBreadcrumbs(); boolean isDisplaySearchRssLinks(); boolean showThumbnailsInToc(); String getStartYearForTimeline(); String getEndYearForTimeline(); String getTimelineHits(); boolean isPiwikTrackingEnabled(); String getPiwikBaseURL(); String getPiwikSiteID(); boolean isSearchSavingEnabled(); boolean isBoostTopLevelDocstructs(); boolean isGroupDuplicateHits(); List<String> getRecordGroupIdentifierFields(); List<String> getAncestorIdentifierFields(); boolean isTocListSiblingRecords(); List<SearchFilter> getSearchFilters(); List<Map<String, String>> getWebApiFields(); String getDbPersistenceUnit(); boolean useCustomNavBar(); String getCmsTemplateFolder(); String getCmsMediaFolder(); String getTempMediaFolder(); List<String> getCmsClassifications(); int getCmsMediaDisplayWidth(); int getCmsMediaDisplayHeight(); boolean isTranskribusEnabled(); String getTranskribusUserName(); String getTranskribusPassword(); String getTranskribusDefaultCollection(); String getTranskribusRestApiUrl(); List<String> getTranskribusAllowedDocumentTypes(); int getTocIndentation(); boolean isPageBrowseEnabled(); List<Integer> getPageBrowseSteps(); String getTaskManagerServiceUrl(); String getTaskManagerRestUrl(); String getReCaptchaSiteKey(); boolean isUseReCaptcha(); boolean isSearchInItemEnabled(); String getDefaultBrowseIcon(String field); boolean isSearchExcelExportEnabled(); List<String> getSearchExcelExportFields(); int getExcelDownloadTimeout(); boolean isDisplayEmptyTocInSidebar(); boolean isDoublePageModeEnabled(); List<String> getRestrictedImageUrls(); List<String> getIIIFLicenses(); List<String> getIIIFMetadataFields(); List<String> getIIIFEventFields(); String getIIIFMetadataLabel(String field); int getIIIFDiscoveryAvtivitiesPerPage(); List<String> getIIIFLogo(); String getIIIFNavDateField(); List<String> getIIIFAttribution(); List<String> getIIIFDescriptionFields(); String getSitelinksField(); String getSitelinksFilterQuery(); List<String> getConfiguredCollections(); String getWebApiToken(); boolean isAllowRedirectCollectionToWork(); String getTwitterUserName(); float getLimitImageHeightUpperRatioThreshold(); float getLimitImageHeightLowerRatioThreshold(); boolean isLimitImageHeight(); boolean isAddCORSHeader(); String getCORSHeaderValue(); boolean isDiscloseImageContentLocation(); String getAccessConditionDisplayField(); String getCopyrightDisplayField(); boolean isDisplayCopyrightInfo(); boolean isDisplaySocialMediaShareLinks(); boolean isDisplayAnchorLabelInTitleBar(String template); String getAnchorLabelInTitleBarPrefix(String template); String getAnchorLabelInTitleBarSuffix(String template); String getMapBoxToken(); GeoMapMarker getGeoMapMarker(String name); List<String> getGeoMapMarkerFields(); List<GeoMapMarker> getGeoMapMarkers(); static GeoMapMarker readGeoMapMarker(HierarchicalConfiguration config); List<LicenseDescription> getLicenseDescriptions(); }
@Test public void isTocEpubEnabled_shouldReturnCorrectValue() throws Exception { Assert.assertFalse(DataManager.getInstance().getConfiguration().isTocEpubEnabled()); }
public boolean isTocEpubEnabled() { return getLocalBoolean("epub.tocEpubEnabled", false); }
Configuration extends AbstractConfiguration { public boolean isTocEpubEnabled() { return getLocalBoolean("epub.tocEpubEnabled", false); } }
Configuration extends AbstractConfiguration { public boolean isTocEpubEnabled() { return getLocalBoolean("epub.tocEpubEnabled", false); } Configuration(String configFilePath); }
Configuration extends AbstractConfiguration { public boolean isTocEpubEnabled() { return getLocalBoolean("epub.tocEpubEnabled", false); } Configuration(String configFilePath); Set<String> getStopwords(); boolean reloadingRequired(); String getConfigLocalPath(); String getLocalRessourceBundleFile(); int getViewerThumbnailsPerPage(); int getViewerMaxImageWidth(); int getViewerMaxImageHeight(); int getViewerMaxImageScale(); boolean isRememberImageZoom(); boolean isRememberImageRotation(); String getDfgViewerUrl(); String getConnectorVersionUrl(); List<Metadata> getTitleBarMetadata(); List<Metadata> getSearchHitMetadataForTemplate(String template); List<Metadata> getMainMetadataForTemplate(String template); List<Metadata> getSidebarMetadataForTemplate(String template); List<String> getNormdataFieldsForTemplate(String template); List<Metadata> getTocLabelConfiguration(String template); int getTocAnchorGroupElementsPerPage(); boolean isDisplaySidebarBrowsingTerms(); boolean isDisplaySidebarRssFeed(); boolean isDisplayWidgetUsage(); Metadata getWidgetUsageLicenceTextMetadata(); boolean isDisplaySidebarUsageWidgetLinkToJpegImage(); boolean isDisplaySidebarUsageWidgetLinkToMasterImage(); String getWidgetUsageMaxJpegSize(); String getWidgetUsageMaxMasterImageSize(); List<String> getCalendarDocStructTypes(); boolean isBrowsingMenuEnabled(); int getBrowsingMenuHitsPerPage(); List<BrowsingMenuFieldConfig> getBrowsingMenuFields(); String getBrowsingMenuSortingIgnoreLeadingChars(); String getDocstrctWhitelistFilterQuery(); String getCollectionSplittingChar(String field); List<DcSortingList> getCollectionSorting(String field); List<String> getCollectionBlacklist(String field); String getCollectionDefaultSortField(String field, String name); int getCollectionDisplayNumberOfVolumesLevel(String field); int getCollectionDisplayDepthForSearch(String field); String getCollectionHierarchyField(); boolean isAddCollectionHierarchyToBreadcrumbs(String field); String getSolrUrl(); String getContentServerWrapperUrl(); String getDownloadUrl(); String getRestApiUrl(); String getIIIFApiUrl(); boolean isUseIIIFApiUrlForCmsMediaUrls(); String getContentServerRealUrl(); String getMetsUrl(); String getMarcUrl(); String getDcUrl(); String getEseUrl(); List<Integer> getSearchHitsPerPageValues(); int getSearchHitsPerPageDefaultValue(); int getFulltextFragmentLength(); boolean isAdvancedSearchEnabled(); int getAdvancedSearchDefaultItemNumber(); List<AdvancedSearchFieldConfiguration> getAdvancedSearchFields(); boolean isAggregateHits(); boolean isDisplayAdditionalMetadataEnabled(); List<String> getDisplayAdditionalMetadataIgnoreFields(); List<String> getDisplayAdditionalMetadataTranslateFields(); boolean isAdvancedSearchFieldHierarchical(String field); boolean isAdvancedSearchFieldRange(String field); boolean isAdvancedSearchFieldUntokenizeForPhraseSearch(String field); String getAdvancedSearchFieldSeparatorLabel(String field); boolean isTimelineSearchEnabled(); boolean isCalendarSearchEnabled(); String getStaticQuerySuffix(); String getPreviousVersionIdentifierField(); String getNextVersionIdentifierField(); String getVersionLabelField(); String getIndexedMetsFolder(); String getIndexedLidoFolder(); String getIndexedDenkxwebFolder(); String getIndexedDublinCoreFolder(); String getPageSelectionFormat(); String getMediaFolder(); String getPdfFolder(); String getVocabulariesFolder(); String getOrigContentFolder(); String getCmsTextFolder(); String getAltoFolder(); String getAbbyyFolder(); String getFulltextFolder(); String getTeiFolder(); String getCmdiFolder(); String getWcFolder(); String getAnnotationFolder(); String getHotfolder(); @SuppressWarnings("static-method") String getTempFolder(); boolean isUrnDoRedirect(); boolean isUserRegistrationEnabled(); List<SecurityQuestion> getSecurityQuestions(); boolean isShowOpenIdConnect(); List<IAuthenticationProvider> getAuthenticationProviders(); String getSmtpServer(); String getSmtpUser(); String getSmtpPassword(); String getSmtpSenderAddress(); String getSmtpSenderName(); String getSmtpSecurity(); String getAnonymousUserEmailAddress(); boolean isDisplayCollectionBrowsing(); boolean isDisplayUserNavigation(); boolean isDisplayTagCloudNavigation(); boolean isDisplayStatistics(); boolean isDisplayTimeMatrix(); boolean isDisplayCrowdsourcingModuleLinks(); String getTheme(); String getThemeRootPath(); String getName(); String getDescription(); boolean isDisplayTagCloudStartpage(); boolean isDisplaySearchResultNavigation(); boolean isFoldout(String sidebarElement); boolean isSidebarPageViewLinkVisible(); boolean isSidebarCalendarViewLinkVisible(); boolean isSidebarTocViewLinkVisible(); boolean isSidebarThumbsViewLinkVisible(); boolean isSidebarMetadataViewLinkVisible(); boolean isShowSidebarEventMetadata(); boolean isShowRecordLabelIfNoOtherViews(); boolean isSidebarFulltextLinkVisible(); boolean isSidebarTocWidgetVisible(); boolean isSidebarTocWidgetVisibleInFullscreen(); boolean isSidebarOpacLinkVisible(); boolean getSidebarTocPageNumbersVisible(); int getSidebarTocLengthBeforeCut(); int getSidebarTocInitialCollapseLevel(); int getSidebarTocCollapseLengthThreshold(); int getSidebarTocLowestLevelToCollapseForLength(); boolean isSidebarTocTreeView(); boolean isTocTreeView(String docStructType); List<String> getAllDrillDownFields(); List<String> getDrillDownFields(); List<String> getHierarchicalDrillDownFields(); int getInitialDrillDownElementNumber(String field); String getSortOrder(String field); List<String> getPriorityValuesForDrillDownField(String field); String getLabelFieldForDrillDownField(String facetField); @SuppressWarnings("static-method") List<String> getRangeFacetFields(); boolean isSortingEnabled(); String getDefaultSortField(); List<String> getSortFields(); List<String> getStaticSortFields(); String getUrnResolverUrl(); int getUnconditionalImageAccessMaxWidth(); boolean isFullAccessForLocalhost(); boolean isGeneratePdfInTaskManager(); boolean isPdfApiDisabled(); boolean isTitlePdfEnabled(); boolean isTocPdfEnabled(); boolean isMetadataPdfEnabled(); boolean isPagePdfEnabled(); boolean isDocHierarchyPdfEnabled(); boolean isTitleEpubEnabled(); boolean isTocEpubEnabled(); boolean isMetadataEpubEnabled(); String getDownloadFolder(String type); int getRssFeedItems(); String getRssTitle(); String getRssDescription(); String getRssCopyrightText(); String getRulesetFilePath(); String getDefaultCollection(); int getThumbnailsWidth(); int getThumbnailsHeight(); int getThumbnailsCompression(); String getAnchorThumbnailMode(); int getMultivolumeThumbnailWidth(); int getMultivolumeThumbnailHeight(); boolean getDisplayBreadcrumbs(); boolean getDisplayMetadataPageLinkBlock(); boolean isAddDublinCoreMetaTags(); boolean isAddHighwirePressMetaTags(); int getMetadataParamNumber(); boolean useTiles(); boolean useTilesFullscreen(); boolean useTiles(PageType view, ImageType image); int getFooterHeight(); int getFullscreenFooterHeight(); int getFooterHeight(PageType view, ImageType image); String getImageViewType(); String getZoomFullscreenViewType(); String getZoomImageViewType(PageType view, ImageType image); boolean useOpenSeadragon(); List<String> getImageViewZoomScales(); List<String> getImageViewZoomScales(String view); List<String> getImageViewZoomScales(PageType view, ImageType image); Map<Integer, List<Integer>> getTileSizes(); Map<Integer, List<Integer>> getTileSizes(PageType view, ImageType image); SubnodeConfiguration getZoomImageViewConfig(PageType pageType, ImageType imageType); int getBreadcrumbsClipping(); boolean isDisplayTopstructLabel(); boolean getDisplayStructType(); int getSearchHitMetadataValueNumber(); int getSearchHitMetadataValueLength(); List<String> getWatermarkTextConfiguration(); String getWatermarkFormat(); boolean isOriginalContentDownload(); String getStopwordsFilePath(); String getPageType(PageType type); String getDocstructTargetPageType(String docstruct); String getPageTypeExitView(PageType type); int getFulltextPercentageWarningThreshold(); boolean isUseViewerLocaleAsRecordLanguage(); String getFeedbackEmailAddress(); boolean isBookmarksEnabled(); boolean isForceJpegConversion(); int getPageLoaderThreshold(); boolean isPreventProxyCaching(); boolean isSolrCompressionEnabled(); boolean isSolrBackwardsCompatible(); boolean isUserCommentsEnabled(); String getUserCommentsConditionalQuery(); List<String> getUserCommentsNotificationEmailAddresses(); String getViewerHome(); List<String> getWatermarkIdField(); String getSubthemeMainTheme(); String getSubthemeDiscriminatorField(); int getTagCloudSampleSize(String fieldName); List<StringPair> getTocVolumeSortFieldsForTemplate(String template); String getTocVolumeGroupFieldForTemplate(String template); boolean getDisplayTitleBreadcrumbs(); boolean isDisplayTitlePURL(); int getTitleBreadcrumbsMaxTitleLength(); boolean getIncludeAnchorInTitleBreadcrumbs(); boolean isDisplaySearchRssLinks(); boolean showThumbnailsInToc(); String getStartYearForTimeline(); String getEndYearForTimeline(); String getTimelineHits(); boolean isPiwikTrackingEnabled(); String getPiwikBaseURL(); String getPiwikSiteID(); boolean isSearchSavingEnabled(); boolean isBoostTopLevelDocstructs(); boolean isGroupDuplicateHits(); List<String> getRecordGroupIdentifierFields(); List<String> getAncestorIdentifierFields(); boolean isTocListSiblingRecords(); List<SearchFilter> getSearchFilters(); List<Map<String, String>> getWebApiFields(); String getDbPersistenceUnit(); boolean useCustomNavBar(); String getCmsTemplateFolder(); String getCmsMediaFolder(); String getTempMediaFolder(); List<String> getCmsClassifications(); int getCmsMediaDisplayWidth(); int getCmsMediaDisplayHeight(); boolean isTranskribusEnabled(); String getTranskribusUserName(); String getTranskribusPassword(); String getTranskribusDefaultCollection(); String getTranskribusRestApiUrl(); List<String> getTranskribusAllowedDocumentTypes(); int getTocIndentation(); boolean isPageBrowseEnabled(); List<Integer> getPageBrowseSteps(); String getTaskManagerServiceUrl(); String getTaskManagerRestUrl(); String getReCaptchaSiteKey(); boolean isUseReCaptcha(); boolean isSearchInItemEnabled(); String getDefaultBrowseIcon(String field); boolean isSearchExcelExportEnabled(); List<String> getSearchExcelExportFields(); int getExcelDownloadTimeout(); boolean isDisplayEmptyTocInSidebar(); boolean isDoublePageModeEnabled(); List<String> getRestrictedImageUrls(); List<String> getIIIFLicenses(); List<String> getIIIFMetadataFields(); List<String> getIIIFEventFields(); String getIIIFMetadataLabel(String field); int getIIIFDiscoveryAvtivitiesPerPage(); List<String> getIIIFLogo(); String getIIIFNavDateField(); List<String> getIIIFAttribution(); List<String> getIIIFDescriptionFields(); String getSitelinksField(); String getSitelinksFilterQuery(); List<String> getConfiguredCollections(); String getWebApiToken(); boolean isAllowRedirectCollectionToWork(); String getTwitterUserName(); float getLimitImageHeightUpperRatioThreshold(); float getLimitImageHeightLowerRatioThreshold(); boolean isLimitImageHeight(); boolean isAddCORSHeader(); String getCORSHeaderValue(); boolean isDiscloseImageContentLocation(); String getAccessConditionDisplayField(); String getCopyrightDisplayField(); boolean isDisplayCopyrightInfo(); boolean isDisplaySocialMediaShareLinks(); boolean isDisplayAnchorLabelInTitleBar(String template); String getAnchorLabelInTitleBarPrefix(String template); String getAnchorLabelInTitleBarSuffix(String template); String getMapBoxToken(); GeoMapMarker getGeoMapMarker(String name); List<String> getGeoMapMarkerFields(); List<GeoMapMarker> getGeoMapMarkers(); static GeoMapMarker readGeoMapMarker(HierarchicalConfiguration config); List<LicenseDescription> getLicenseDescriptions(); }
Configuration extends AbstractConfiguration { public boolean isTocEpubEnabled() { return getLocalBoolean("epub.tocEpubEnabled", false); } Configuration(String configFilePath); Set<String> getStopwords(); boolean reloadingRequired(); String getConfigLocalPath(); String getLocalRessourceBundleFile(); int getViewerThumbnailsPerPage(); int getViewerMaxImageWidth(); int getViewerMaxImageHeight(); int getViewerMaxImageScale(); boolean isRememberImageZoom(); boolean isRememberImageRotation(); String getDfgViewerUrl(); String getConnectorVersionUrl(); List<Metadata> getTitleBarMetadata(); List<Metadata> getSearchHitMetadataForTemplate(String template); List<Metadata> getMainMetadataForTemplate(String template); List<Metadata> getSidebarMetadataForTemplate(String template); List<String> getNormdataFieldsForTemplate(String template); List<Metadata> getTocLabelConfiguration(String template); int getTocAnchorGroupElementsPerPage(); boolean isDisplaySidebarBrowsingTerms(); boolean isDisplaySidebarRssFeed(); boolean isDisplayWidgetUsage(); Metadata getWidgetUsageLicenceTextMetadata(); boolean isDisplaySidebarUsageWidgetLinkToJpegImage(); boolean isDisplaySidebarUsageWidgetLinkToMasterImage(); String getWidgetUsageMaxJpegSize(); String getWidgetUsageMaxMasterImageSize(); List<String> getCalendarDocStructTypes(); boolean isBrowsingMenuEnabled(); int getBrowsingMenuHitsPerPage(); List<BrowsingMenuFieldConfig> getBrowsingMenuFields(); String getBrowsingMenuSortingIgnoreLeadingChars(); String getDocstrctWhitelistFilterQuery(); String getCollectionSplittingChar(String field); List<DcSortingList> getCollectionSorting(String field); List<String> getCollectionBlacklist(String field); String getCollectionDefaultSortField(String field, String name); int getCollectionDisplayNumberOfVolumesLevel(String field); int getCollectionDisplayDepthForSearch(String field); String getCollectionHierarchyField(); boolean isAddCollectionHierarchyToBreadcrumbs(String field); String getSolrUrl(); String getContentServerWrapperUrl(); String getDownloadUrl(); String getRestApiUrl(); String getIIIFApiUrl(); boolean isUseIIIFApiUrlForCmsMediaUrls(); String getContentServerRealUrl(); String getMetsUrl(); String getMarcUrl(); String getDcUrl(); String getEseUrl(); List<Integer> getSearchHitsPerPageValues(); int getSearchHitsPerPageDefaultValue(); int getFulltextFragmentLength(); boolean isAdvancedSearchEnabled(); int getAdvancedSearchDefaultItemNumber(); List<AdvancedSearchFieldConfiguration> getAdvancedSearchFields(); boolean isAggregateHits(); boolean isDisplayAdditionalMetadataEnabled(); List<String> getDisplayAdditionalMetadataIgnoreFields(); List<String> getDisplayAdditionalMetadataTranslateFields(); boolean isAdvancedSearchFieldHierarchical(String field); boolean isAdvancedSearchFieldRange(String field); boolean isAdvancedSearchFieldUntokenizeForPhraseSearch(String field); String getAdvancedSearchFieldSeparatorLabel(String field); boolean isTimelineSearchEnabled(); boolean isCalendarSearchEnabled(); String getStaticQuerySuffix(); String getPreviousVersionIdentifierField(); String getNextVersionIdentifierField(); String getVersionLabelField(); String getIndexedMetsFolder(); String getIndexedLidoFolder(); String getIndexedDenkxwebFolder(); String getIndexedDublinCoreFolder(); String getPageSelectionFormat(); String getMediaFolder(); String getPdfFolder(); String getVocabulariesFolder(); String getOrigContentFolder(); String getCmsTextFolder(); String getAltoFolder(); String getAbbyyFolder(); String getFulltextFolder(); String getTeiFolder(); String getCmdiFolder(); String getWcFolder(); String getAnnotationFolder(); String getHotfolder(); @SuppressWarnings("static-method") String getTempFolder(); boolean isUrnDoRedirect(); boolean isUserRegistrationEnabled(); List<SecurityQuestion> getSecurityQuestions(); boolean isShowOpenIdConnect(); List<IAuthenticationProvider> getAuthenticationProviders(); String getSmtpServer(); String getSmtpUser(); String getSmtpPassword(); String getSmtpSenderAddress(); String getSmtpSenderName(); String getSmtpSecurity(); String getAnonymousUserEmailAddress(); boolean isDisplayCollectionBrowsing(); boolean isDisplayUserNavigation(); boolean isDisplayTagCloudNavigation(); boolean isDisplayStatistics(); boolean isDisplayTimeMatrix(); boolean isDisplayCrowdsourcingModuleLinks(); String getTheme(); String getThemeRootPath(); String getName(); String getDescription(); boolean isDisplayTagCloudStartpage(); boolean isDisplaySearchResultNavigation(); boolean isFoldout(String sidebarElement); boolean isSidebarPageViewLinkVisible(); boolean isSidebarCalendarViewLinkVisible(); boolean isSidebarTocViewLinkVisible(); boolean isSidebarThumbsViewLinkVisible(); boolean isSidebarMetadataViewLinkVisible(); boolean isShowSidebarEventMetadata(); boolean isShowRecordLabelIfNoOtherViews(); boolean isSidebarFulltextLinkVisible(); boolean isSidebarTocWidgetVisible(); boolean isSidebarTocWidgetVisibleInFullscreen(); boolean isSidebarOpacLinkVisible(); boolean getSidebarTocPageNumbersVisible(); int getSidebarTocLengthBeforeCut(); int getSidebarTocInitialCollapseLevel(); int getSidebarTocCollapseLengthThreshold(); int getSidebarTocLowestLevelToCollapseForLength(); boolean isSidebarTocTreeView(); boolean isTocTreeView(String docStructType); List<String> getAllDrillDownFields(); List<String> getDrillDownFields(); List<String> getHierarchicalDrillDownFields(); int getInitialDrillDownElementNumber(String field); String getSortOrder(String field); List<String> getPriorityValuesForDrillDownField(String field); String getLabelFieldForDrillDownField(String facetField); @SuppressWarnings("static-method") List<String> getRangeFacetFields(); boolean isSortingEnabled(); String getDefaultSortField(); List<String> getSortFields(); List<String> getStaticSortFields(); String getUrnResolverUrl(); int getUnconditionalImageAccessMaxWidth(); boolean isFullAccessForLocalhost(); boolean isGeneratePdfInTaskManager(); boolean isPdfApiDisabled(); boolean isTitlePdfEnabled(); boolean isTocPdfEnabled(); boolean isMetadataPdfEnabled(); boolean isPagePdfEnabled(); boolean isDocHierarchyPdfEnabled(); boolean isTitleEpubEnabled(); boolean isTocEpubEnabled(); boolean isMetadataEpubEnabled(); String getDownloadFolder(String type); int getRssFeedItems(); String getRssTitle(); String getRssDescription(); String getRssCopyrightText(); String getRulesetFilePath(); String getDefaultCollection(); int getThumbnailsWidth(); int getThumbnailsHeight(); int getThumbnailsCompression(); String getAnchorThumbnailMode(); int getMultivolumeThumbnailWidth(); int getMultivolumeThumbnailHeight(); boolean getDisplayBreadcrumbs(); boolean getDisplayMetadataPageLinkBlock(); boolean isAddDublinCoreMetaTags(); boolean isAddHighwirePressMetaTags(); int getMetadataParamNumber(); boolean useTiles(); boolean useTilesFullscreen(); boolean useTiles(PageType view, ImageType image); int getFooterHeight(); int getFullscreenFooterHeight(); int getFooterHeight(PageType view, ImageType image); String getImageViewType(); String getZoomFullscreenViewType(); String getZoomImageViewType(PageType view, ImageType image); boolean useOpenSeadragon(); List<String> getImageViewZoomScales(); List<String> getImageViewZoomScales(String view); List<String> getImageViewZoomScales(PageType view, ImageType image); Map<Integer, List<Integer>> getTileSizes(); Map<Integer, List<Integer>> getTileSizes(PageType view, ImageType image); SubnodeConfiguration getZoomImageViewConfig(PageType pageType, ImageType imageType); int getBreadcrumbsClipping(); boolean isDisplayTopstructLabel(); boolean getDisplayStructType(); int getSearchHitMetadataValueNumber(); int getSearchHitMetadataValueLength(); List<String> getWatermarkTextConfiguration(); String getWatermarkFormat(); boolean isOriginalContentDownload(); String getStopwordsFilePath(); String getPageType(PageType type); String getDocstructTargetPageType(String docstruct); String getPageTypeExitView(PageType type); int getFulltextPercentageWarningThreshold(); boolean isUseViewerLocaleAsRecordLanguage(); String getFeedbackEmailAddress(); boolean isBookmarksEnabled(); boolean isForceJpegConversion(); int getPageLoaderThreshold(); boolean isPreventProxyCaching(); boolean isSolrCompressionEnabled(); boolean isSolrBackwardsCompatible(); boolean isUserCommentsEnabled(); String getUserCommentsConditionalQuery(); List<String> getUserCommentsNotificationEmailAddresses(); String getViewerHome(); List<String> getWatermarkIdField(); String getSubthemeMainTheme(); String getSubthemeDiscriminatorField(); int getTagCloudSampleSize(String fieldName); List<StringPair> getTocVolumeSortFieldsForTemplate(String template); String getTocVolumeGroupFieldForTemplate(String template); boolean getDisplayTitleBreadcrumbs(); boolean isDisplayTitlePURL(); int getTitleBreadcrumbsMaxTitleLength(); boolean getIncludeAnchorInTitleBreadcrumbs(); boolean isDisplaySearchRssLinks(); boolean showThumbnailsInToc(); String getStartYearForTimeline(); String getEndYearForTimeline(); String getTimelineHits(); boolean isPiwikTrackingEnabled(); String getPiwikBaseURL(); String getPiwikSiteID(); boolean isSearchSavingEnabled(); boolean isBoostTopLevelDocstructs(); boolean isGroupDuplicateHits(); List<String> getRecordGroupIdentifierFields(); List<String> getAncestorIdentifierFields(); boolean isTocListSiblingRecords(); List<SearchFilter> getSearchFilters(); List<Map<String, String>> getWebApiFields(); String getDbPersistenceUnit(); boolean useCustomNavBar(); String getCmsTemplateFolder(); String getCmsMediaFolder(); String getTempMediaFolder(); List<String> getCmsClassifications(); int getCmsMediaDisplayWidth(); int getCmsMediaDisplayHeight(); boolean isTranskribusEnabled(); String getTranskribusUserName(); String getTranskribusPassword(); String getTranskribusDefaultCollection(); String getTranskribusRestApiUrl(); List<String> getTranskribusAllowedDocumentTypes(); int getTocIndentation(); boolean isPageBrowseEnabled(); List<Integer> getPageBrowseSteps(); String getTaskManagerServiceUrl(); String getTaskManagerRestUrl(); String getReCaptchaSiteKey(); boolean isUseReCaptcha(); boolean isSearchInItemEnabled(); String getDefaultBrowseIcon(String field); boolean isSearchExcelExportEnabled(); List<String> getSearchExcelExportFields(); int getExcelDownloadTimeout(); boolean isDisplayEmptyTocInSidebar(); boolean isDoublePageModeEnabled(); List<String> getRestrictedImageUrls(); List<String> getIIIFLicenses(); List<String> getIIIFMetadataFields(); List<String> getIIIFEventFields(); String getIIIFMetadataLabel(String field); int getIIIFDiscoveryAvtivitiesPerPage(); List<String> getIIIFLogo(); String getIIIFNavDateField(); List<String> getIIIFAttribution(); List<String> getIIIFDescriptionFields(); String getSitelinksField(); String getSitelinksFilterQuery(); List<String> getConfiguredCollections(); String getWebApiToken(); boolean isAllowRedirectCollectionToWork(); String getTwitterUserName(); float getLimitImageHeightUpperRatioThreshold(); float getLimitImageHeightLowerRatioThreshold(); boolean isLimitImageHeight(); boolean isAddCORSHeader(); String getCORSHeaderValue(); boolean isDiscloseImageContentLocation(); String getAccessConditionDisplayField(); String getCopyrightDisplayField(); boolean isDisplayCopyrightInfo(); boolean isDisplaySocialMediaShareLinks(); boolean isDisplayAnchorLabelInTitleBar(String template); String getAnchorLabelInTitleBarPrefix(String template); String getAnchorLabelInTitleBarSuffix(String template); String getMapBoxToken(); GeoMapMarker getGeoMapMarker(String name); List<String> getGeoMapMarkerFields(); List<GeoMapMarker> getGeoMapMarkers(); static GeoMapMarker readGeoMapMarker(HierarchicalConfiguration config); List<LicenseDescription> getLicenseDescriptions(); }
@Test public void isMetadataEpubEnabled_shouldReturnCorrectValue() throws Exception { Assert.assertFalse(DataManager.getInstance().getConfiguration().isMetadataEpubEnabled()); }
public boolean isMetadataEpubEnabled() { return getLocalBoolean("epub.metadataEpubEnabled", false); }
Configuration extends AbstractConfiguration { public boolean isMetadataEpubEnabled() { return getLocalBoolean("epub.metadataEpubEnabled", false); } }
Configuration extends AbstractConfiguration { public boolean isMetadataEpubEnabled() { return getLocalBoolean("epub.metadataEpubEnabled", false); } Configuration(String configFilePath); }
Configuration extends AbstractConfiguration { public boolean isMetadataEpubEnabled() { return getLocalBoolean("epub.metadataEpubEnabled", false); } Configuration(String configFilePath); Set<String> getStopwords(); boolean reloadingRequired(); String getConfigLocalPath(); String getLocalRessourceBundleFile(); int getViewerThumbnailsPerPage(); int getViewerMaxImageWidth(); int getViewerMaxImageHeight(); int getViewerMaxImageScale(); boolean isRememberImageZoom(); boolean isRememberImageRotation(); String getDfgViewerUrl(); String getConnectorVersionUrl(); List<Metadata> getTitleBarMetadata(); List<Metadata> getSearchHitMetadataForTemplate(String template); List<Metadata> getMainMetadataForTemplate(String template); List<Metadata> getSidebarMetadataForTemplate(String template); List<String> getNormdataFieldsForTemplate(String template); List<Metadata> getTocLabelConfiguration(String template); int getTocAnchorGroupElementsPerPage(); boolean isDisplaySidebarBrowsingTerms(); boolean isDisplaySidebarRssFeed(); boolean isDisplayWidgetUsage(); Metadata getWidgetUsageLicenceTextMetadata(); boolean isDisplaySidebarUsageWidgetLinkToJpegImage(); boolean isDisplaySidebarUsageWidgetLinkToMasterImage(); String getWidgetUsageMaxJpegSize(); String getWidgetUsageMaxMasterImageSize(); List<String> getCalendarDocStructTypes(); boolean isBrowsingMenuEnabled(); int getBrowsingMenuHitsPerPage(); List<BrowsingMenuFieldConfig> getBrowsingMenuFields(); String getBrowsingMenuSortingIgnoreLeadingChars(); String getDocstrctWhitelistFilterQuery(); String getCollectionSplittingChar(String field); List<DcSortingList> getCollectionSorting(String field); List<String> getCollectionBlacklist(String field); String getCollectionDefaultSortField(String field, String name); int getCollectionDisplayNumberOfVolumesLevel(String field); int getCollectionDisplayDepthForSearch(String field); String getCollectionHierarchyField(); boolean isAddCollectionHierarchyToBreadcrumbs(String field); String getSolrUrl(); String getContentServerWrapperUrl(); String getDownloadUrl(); String getRestApiUrl(); String getIIIFApiUrl(); boolean isUseIIIFApiUrlForCmsMediaUrls(); String getContentServerRealUrl(); String getMetsUrl(); String getMarcUrl(); String getDcUrl(); String getEseUrl(); List<Integer> getSearchHitsPerPageValues(); int getSearchHitsPerPageDefaultValue(); int getFulltextFragmentLength(); boolean isAdvancedSearchEnabled(); int getAdvancedSearchDefaultItemNumber(); List<AdvancedSearchFieldConfiguration> getAdvancedSearchFields(); boolean isAggregateHits(); boolean isDisplayAdditionalMetadataEnabled(); List<String> getDisplayAdditionalMetadataIgnoreFields(); List<String> getDisplayAdditionalMetadataTranslateFields(); boolean isAdvancedSearchFieldHierarchical(String field); boolean isAdvancedSearchFieldRange(String field); boolean isAdvancedSearchFieldUntokenizeForPhraseSearch(String field); String getAdvancedSearchFieldSeparatorLabel(String field); boolean isTimelineSearchEnabled(); boolean isCalendarSearchEnabled(); String getStaticQuerySuffix(); String getPreviousVersionIdentifierField(); String getNextVersionIdentifierField(); String getVersionLabelField(); String getIndexedMetsFolder(); String getIndexedLidoFolder(); String getIndexedDenkxwebFolder(); String getIndexedDublinCoreFolder(); String getPageSelectionFormat(); String getMediaFolder(); String getPdfFolder(); String getVocabulariesFolder(); String getOrigContentFolder(); String getCmsTextFolder(); String getAltoFolder(); String getAbbyyFolder(); String getFulltextFolder(); String getTeiFolder(); String getCmdiFolder(); String getWcFolder(); String getAnnotationFolder(); String getHotfolder(); @SuppressWarnings("static-method") String getTempFolder(); boolean isUrnDoRedirect(); boolean isUserRegistrationEnabled(); List<SecurityQuestion> getSecurityQuestions(); boolean isShowOpenIdConnect(); List<IAuthenticationProvider> getAuthenticationProviders(); String getSmtpServer(); String getSmtpUser(); String getSmtpPassword(); String getSmtpSenderAddress(); String getSmtpSenderName(); String getSmtpSecurity(); String getAnonymousUserEmailAddress(); boolean isDisplayCollectionBrowsing(); boolean isDisplayUserNavigation(); boolean isDisplayTagCloudNavigation(); boolean isDisplayStatistics(); boolean isDisplayTimeMatrix(); boolean isDisplayCrowdsourcingModuleLinks(); String getTheme(); String getThemeRootPath(); String getName(); String getDescription(); boolean isDisplayTagCloudStartpage(); boolean isDisplaySearchResultNavigation(); boolean isFoldout(String sidebarElement); boolean isSidebarPageViewLinkVisible(); boolean isSidebarCalendarViewLinkVisible(); boolean isSidebarTocViewLinkVisible(); boolean isSidebarThumbsViewLinkVisible(); boolean isSidebarMetadataViewLinkVisible(); boolean isShowSidebarEventMetadata(); boolean isShowRecordLabelIfNoOtherViews(); boolean isSidebarFulltextLinkVisible(); boolean isSidebarTocWidgetVisible(); boolean isSidebarTocWidgetVisibleInFullscreen(); boolean isSidebarOpacLinkVisible(); boolean getSidebarTocPageNumbersVisible(); int getSidebarTocLengthBeforeCut(); int getSidebarTocInitialCollapseLevel(); int getSidebarTocCollapseLengthThreshold(); int getSidebarTocLowestLevelToCollapseForLength(); boolean isSidebarTocTreeView(); boolean isTocTreeView(String docStructType); List<String> getAllDrillDownFields(); List<String> getDrillDownFields(); List<String> getHierarchicalDrillDownFields(); int getInitialDrillDownElementNumber(String field); String getSortOrder(String field); List<String> getPriorityValuesForDrillDownField(String field); String getLabelFieldForDrillDownField(String facetField); @SuppressWarnings("static-method") List<String> getRangeFacetFields(); boolean isSortingEnabled(); String getDefaultSortField(); List<String> getSortFields(); List<String> getStaticSortFields(); String getUrnResolverUrl(); int getUnconditionalImageAccessMaxWidth(); boolean isFullAccessForLocalhost(); boolean isGeneratePdfInTaskManager(); boolean isPdfApiDisabled(); boolean isTitlePdfEnabled(); boolean isTocPdfEnabled(); boolean isMetadataPdfEnabled(); boolean isPagePdfEnabled(); boolean isDocHierarchyPdfEnabled(); boolean isTitleEpubEnabled(); boolean isTocEpubEnabled(); boolean isMetadataEpubEnabled(); String getDownloadFolder(String type); int getRssFeedItems(); String getRssTitle(); String getRssDescription(); String getRssCopyrightText(); String getRulesetFilePath(); String getDefaultCollection(); int getThumbnailsWidth(); int getThumbnailsHeight(); int getThumbnailsCompression(); String getAnchorThumbnailMode(); int getMultivolumeThumbnailWidth(); int getMultivolumeThumbnailHeight(); boolean getDisplayBreadcrumbs(); boolean getDisplayMetadataPageLinkBlock(); boolean isAddDublinCoreMetaTags(); boolean isAddHighwirePressMetaTags(); int getMetadataParamNumber(); boolean useTiles(); boolean useTilesFullscreen(); boolean useTiles(PageType view, ImageType image); int getFooterHeight(); int getFullscreenFooterHeight(); int getFooterHeight(PageType view, ImageType image); String getImageViewType(); String getZoomFullscreenViewType(); String getZoomImageViewType(PageType view, ImageType image); boolean useOpenSeadragon(); List<String> getImageViewZoomScales(); List<String> getImageViewZoomScales(String view); List<String> getImageViewZoomScales(PageType view, ImageType image); Map<Integer, List<Integer>> getTileSizes(); Map<Integer, List<Integer>> getTileSizes(PageType view, ImageType image); SubnodeConfiguration getZoomImageViewConfig(PageType pageType, ImageType imageType); int getBreadcrumbsClipping(); boolean isDisplayTopstructLabel(); boolean getDisplayStructType(); int getSearchHitMetadataValueNumber(); int getSearchHitMetadataValueLength(); List<String> getWatermarkTextConfiguration(); String getWatermarkFormat(); boolean isOriginalContentDownload(); String getStopwordsFilePath(); String getPageType(PageType type); String getDocstructTargetPageType(String docstruct); String getPageTypeExitView(PageType type); int getFulltextPercentageWarningThreshold(); boolean isUseViewerLocaleAsRecordLanguage(); String getFeedbackEmailAddress(); boolean isBookmarksEnabled(); boolean isForceJpegConversion(); int getPageLoaderThreshold(); boolean isPreventProxyCaching(); boolean isSolrCompressionEnabled(); boolean isSolrBackwardsCompatible(); boolean isUserCommentsEnabled(); String getUserCommentsConditionalQuery(); List<String> getUserCommentsNotificationEmailAddresses(); String getViewerHome(); List<String> getWatermarkIdField(); String getSubthemeMainTheme(); String getSubthemeDiscriminatorField(); int getTagCloudSampleSize(String fieldName); List<StringPair> getTocVolumeSortFieldsForTemplate(String template); String getTocVolumeGroupFieldForTemplate(String template); boolean getDisplayTitleBreadcrumbs(); boolean isDisplayTitlePURL(); int getTitleBreadcrumbsMaxTitleLength(); boolean getIncludeAnchorInTitleBreadcrumbs(); boolean isDisplaySearchRssLinks(); boolean showThumbnailsInToc(); String getStartYearForTimeline(); String getEndYearForTimeline(); String getTimelineHits(); boolean isPiwikTrackingEnabled(); String getPiwikBaseURL(); String getPiwikSiteID(); boolean isSearchSavingEnabled(); boolean isBoostTopLevelDocstructs(); boolean isGroupDuplicateHits(); List<String> getRecordGroupIdentifierFields(); List<String> getAncestorIdentifierFields(); boolean isTocListSiblingRecords(); List<SearchFilter> getSearchFilters(); List<Map<String, String>> getWebApiFields(); String getDbPersistenceUnit(); boolean useCustomNavBar(); String getCmsTemplateFolder(); String getCmsMediaFolder(); String getTempMediaFolder(); List<String> getCmsClassifications(); int getCmsMediaDisplayWidth(); int getCmsMediaDisplayHeight(); boolean isTranskribusEnabled(); String getTranskribusUserName(); String getTranskribusPassword(); String getTranskribusDefaultCollection(); String getTranskribusRestApiUrl(); List<String> getTranskribusAllowedDocumentTypes(); int getTocIndentation(); boolean isPageBrowseEnabled(); List<Integer> getPageBrowseSteps(); String getTaskManagerServiceUrl(); String getTaskManagerRestUrl(); String getReCaptchaSiteKey(); boolean isUseReCaptcha(); boolean isSearchInItemEnabled(); String getDefaultBrowseIcon(String field); boolean isSearchExcelExportEnabled(); List<String> getSearchExcelExportFields(); int getExcelDownloadTimeout(); boolean isDisplayEmptyTocInSidebar(); boolean isDoublePageModeEnabled(); List<String> getRestrictedImageUrls(); List<String> getIIIFLicenses(); List<String> getIIIFMetadataFields(); List<String> getIIIFEventFields(); String getIIIFMetadataLabel(String field); int getIIIFDiscoveryAvtivitiesPerPage(); List<String> getIIIFLogo(); String getIIIFNavDateField(); List<String> getIIIFAttribution(); List<String> getIIIFDescriptionFields(); String getSitelinksField(); String getSitelinksFilterQuery(); List<String> getConfiguredCollections(); String getWebApiToken(); boolean isAllowRedirectCollectionToWork(); String getTwitterUserName(); float getLimitImageHeightUpperRatioThreshold(); float getLimitImageHeightLowerRatioThreshold(); boolean isLimitImageHeight(); boolean isAddCORSHeader(); String getCORSHeaderValue(); boolean isDiscloseImageContentLocation(); String getAccessConditionDisplayField(); String getCopyrightDisplayField(); boolean isDisplayCopyrightInfo(); boolean isDisplaySocialMediaShareLinks(); boolean isDisplayAnchorLabelInTitleBar(String template); String getAnchorLabelInTitleBarPrefix(String template); String getAnchorLabelInTitleBarSuffix(String template); String getMapBoxToken(); GeoMapMarker getGeoMapMarker(String name); List<String> getGeoMapMarkerFields(); List<GeoMapMarker> getGeoMapMarkers(); static GeoMapMarker readGeoMapMarker(HierarchicalConfiguration config); List<LicenseDescription> getLicenseDescriptions(); }
Configuration extends AbstractConfiguration { public boolean isMetadataEpubEnabled() { return getLocalBoolean("epub.metadataEpubEnabled", false); } Configuration(String configFilePath); Set<String> getStopwords(); boolean reloadingRequired(); String getConfigLocalPath(); String getLocalRessourceBundleFile(); int getViewerThumbnailsPerPage(); int getViewerMaxImageWidth(); int getViewerMaxImageHeight(); int getViewerMaxImageScale(); boolean isRememberImageZoom(); boolean isRememberImageRotation(); String getDfgViewerUrl(); String getConnectorVersionUrl(); List<Metadata> getTitleBarMetadata(); List<Metadata> getSearchHitMetadataForTemplate(String template); List<Metadata> getMainMetadataForTemplate(String template); List<Metadata> getSidebarMetadataForTemplate(String template); List<String> getNormdataFieldsForTemplate(String template); List<Metadata> getTocLabelConfiguration(String template); int getTocAnchorGroupElementsPerPage(); boolean isDisplaySidebarBrowsingTerms(); boolean isDisplaySidebarRssFeed(); boolean isDisplayWidgetUsage(); Metadata getWidgetUsageLicenceTextMetadata(); boolean isDisplaySidebarUsageWidgetLinkToJpegImage(); boolean isDisplaySidebarUsageWidgetLinkToMasterImage(); String getWidgetUsageMaxJpegSize(); String getWidgetUsageMaxMasterImageSize(); List<String> getCalendarDocStructTypes(); boolean isBrowsingMenuEnabled(); int getBrowsingMenuHitsPerPage(); List<BrowsingMenuFieldConfig> getBrowsingMenuFields(); String getBrowsingMenuSortingIgnoreLeadingChars(); String getDocstrctWhitelistFilterQuery(); String getCollectionSplittingChar(String field); List<DcSortingList> getCollectionSorting(String field); List<String> getCollectionBlacklist(String field); String getCollectionDefaultSortField(String field, String name); int getCollectionDisplayNumberOfVolumesLevel(String field); int getCollectionDisplayDepthForSearch(String field); String getCollectionHierarchyField(); boolean isAddCollectionHierarchyToBreadcrumbs(String field); String getSolrUrl(); String getContentServerWrapperUrl(); String getDownloadUrl(); String getRestApiUrl(); String getIIIFApiUrl(); boolean isUseIIIFApiUrlForCmsMediaUrls(); String getContentServerRealUrl(); String getMetsUrl(); String getMarcUrl(); String getDcUrl(); String getEseUrl(); List<Integer> getSearchHitsPerPageValues(); int getSearchHitsPerPageDefaultValue(); int getFulltextFragmentLength(); boolean isAdvancedSearchEnabled(); int getAdvancedSearchDefaultItemNumber(); List<AdvancedSearchFieldConfiguration> getAdvancedSearchFields(); boolean isAggregateHits(); boolean isDisplayAdditionalMetadataEnabled(); List<String> getDisplayAdditionalMetadataIgnoreFields(); List<String> getDisplayAdditionalMetadataTranslateFields(); boolean isAdvancedSearchFieldHierarchical(String field); boolean isAdvancedSearchFieldRange(String field); boolean isAdvancedSearchFieldUntokenizeForPhraseSearch(String field); String getAdvancedSearchFieldSeparatorLabel(String field); boolean isTimelineSearchEnabled(); boolean isCalendarSearchEnabled(); String getStaticQuerySuffix(); String getPreviousVersionIdentifierField(); String getNextVersionIdentifierField(); String getVersionLabelField(); String getIndexedMetsFolder(); String getIndexedLidoFolder(); String getIndexedDenkxwebFolder(); String getIndexedDublinCoreFolder(); String getPageSelectionFormat(); String getMediaFolder(); String getPdfFolder(); String getVocabulariesFolder(); String getOrigContentFolder(); String getCmsTextFolder(); String getAltoFolder(); String getAbbyyFolder(); String getFulltextFolder(); String getTeiFolder(); String getCmdiFolder(); String getWcFolder(); String getAnnotationFolder(); String getHotfolder(); @SuppressWarnings("static-method") String getTempFolder(); boolean isUrnDoRedirect(); boolean isUserRegistrationEnabled(); List<SecurityQuestion> getSecurityQuestions(); boolean isShowOpenIdConnect(); List<IAuthenticationProvider> getAuthenticationProviders(); String getSmtpServer(); String getSmtpUser(); String getSmtpPassword(); String getSmtpSenderAddress(); String getSmtpSenderName(); String getSmtpSecurity(); String getAnonymousUserEmailAddress(); boolean isDisplayCollectionBrowsing(); boolean isDisplayUserNavigation(); boolean isDisplayTagCloudNavigation(); boolean isDisplayStatistics(); boolean isDisplayTimeMatrix(); boolean isDisplayCrowdsourcingModuleLinks(); String getTheme(); String getThemeRootPath(); String getName(); String getDescription(); boolean isDisplayTagCloudStartpage(); boolean isDisplaySearchResultNavigation(); boolean isFoldout(String sidebarElement); boolean isSidebarPageViewLinkVisible(); boolean isSidebarCalendarViewLinkVisible(); boolean isSidebarTocViewLinkVisible(); boolean isSidebarThumbsViewLinkVisible(); boolean isSidebarMetadataViewLinkVisible(); boolean isShowSidebarEventMetadata(); boolean isShowRecordLabelIfNoOtherViews(); boolean isSidebarFulltextLinkVisible(); boolean isSidebarTocWidgetVisible(); boolean isSidebarTocWidgetVisibleInFullscreen(); boolean isSidebarOpacLinkVisible(); boolean getSidebarTocPageNumbersVisible(); int getSidebarTocLengthBeforeCut(); int getSidebarTocInitialCollapseLevel(); int getSidebarTocCollapseLengthThreshold(); int getSidebarTocLowestLevelToCollapseForLength(); boolean isSidebarTocTreeView(); boolean isTocTreeView(String docStructType); List<String> getAllDrillDownFields(); List<String> getDrillDownFields(); List<String> getHierarchicalDrillDownFields(); int getInitialDrillDownElementNumber(String field); String getSortOrder(String field); List<String> getPriorityValuesForDrillDownField(String field); String getLabelFieldForDrillDownField(String facetField); @SuppressWarnings("static-method") List<String> getRangeFacetFields(); boolean isSortingEnabled(); String getDefaultSortField(); List<String> getSortFields(); List<String> getStaticSortFields(); String getUrnResolverUrl(); int getUnconditionalImageAccessMaxWidth(); boolean isFullAccessForLocalhost(); boolean isGeneratePdfInTaskManager(); boolean isPdfApiDisabled(); boolean isTitlePdfEnabled(); boolean isTocPdfEnabled(); boolean isMetadataPdfEnabled(); boolean isPagePdfEnabled(); boolean isDocHierarchyPdfEnabled(); boolean isTitleEpubEnabled(); boolean isTocEpubEnabled(); boolean isMetadataEpubEnabled(); String getDownloadFolder(String type); int getRssFeedItems(); String getRssTitle(); String getRssDescription(); String getRssCopyrightText(); String getRulesetFilePath(); String getDefaultCollection(); int getThumbnailsWidth(); int getThumbnailsHeight(); int getThumbnailsCompression(); String getAnchorThumbnailMode(); int getMultivolumeThumbnailWidth(); int getMultivolumeThumbnailHeight(); boolean getDisplayBreadcrumbs(); boolean getDisplayMetadataPageLinkBlock(); boolean isAddDublinCoreMetaTags(); boolean isAddHighwirePressMetaTags(); int getMetadataParamNumber(); boolean useTiles(); boolean useTilesFullscreen(); boolean useTiles(PageType view, ImageType image); int getFooterHeight(); int getFullscreenFooterHeight(); int getFooterHeight(PageType view, ImageType image); String getImageViewType(); String getZoomFullscreenViewType(); String getZoomImageViewType(PageType view, ImageType image); boolean useOpenSeadragon(); List<String> getImageViewZoomScales(); List<String> getImageViewZoomScales(String view); List<String> getImageViewZoomScales(PageType view, ImageType image); Map<Integer, List<Integer>> getTileSizes(); Map<Integer, List<Integer>> getTileSizes(PageType view, ImageType image); SubnodeConfiguration getZoomImageViewConfig(PageType pageType, ImageType imageType); int getBreadcrumbsClipping(); boolean isDisplayTopstructLabel(); boolean getDisplayStructType(); int getSearchHitMetadataValueNumber(); int getSearchHitMetadataValueLength(); List<String> getWatermarkTextConfiguration(); String getWatermarkFormat(); boolean isOriginalContentDownload(); String getStopwordsFilePath(); String getPageType(PageType type); String getDocstructTargetPageType(String docstruct); String getPageTypeExitView(PageType type); int getFulltextPercentageWarningThreshold(); boolean isUseViewerLocaleAsRecordLanguage(); String getFeedbackEmailAddress(); boolean isBookmarksEnabled(); boolean isForceJpegConversion(); int getPageLoaderThreshold(); boolean isPreventProxyCaching(); boolean isSolrCompressionEnabled(); boolean isSolrBackwardsCompatible(); boolean isUserCommentsEnabled(); String getUserCommentsConditionalQuery(); List<String> getUserCommentsNotificationEmailAddresses(); String getViewerHome(); List<String> getWatermarkIdField(); String getSubthemeMainTheme(); String getSubthemeDiscriminatorField(); int getTagCloudSampleSize(String fieldName); List<StringPair> getTocVolumeSortFieldsForTemplate(String template); String getTocVolumeGroupFieldForTemplate(String template); boolean getDisplayTitleBreadcrumbs(); boolean isDisplayTitlePURL(); int getTitleBreadcrumbsMaxTitleLength(); boolean getIncludeAnchorInTitleBreadcrumbs(); boolean isDisplaySearchRssLinks(); boolean showThumbnailsInToc(); String getStartYearForTimeline(); String getEndYearForTimeline(); String getTimelineHits(); boolean isPiwikTrackingEnabled(); String getPiwikBaseURL(); String getPiwikSiteID(); boolean isSearchSavingEnabled(); boolean isBoostTopLevelDocstructs(); boolean isGroupDuplicateHits(); List<String> getRecordGroupIdentifierFields(); List<String> getAncestorIdentifierFields(); boolean isTocListSiblingRecords(); List<SearchFilter> getSearchFilters(); List<Map<String, String>> getWebApiFields(); String getDbPersistenceUnit(); boolean useCustomNavBar(); String getCmsTemplateFolder(); String getCmsMediaFolder(); String getTempMediaFolder(); List<String> getCmsClassifications(); int getCmsMediaDisplayWidth(); int getCmsMediaDisplayHeight(); boolean isTranskribusEnabled(); String getTranskribusUserName(); String getTranskribusPassword(); String getTranskribusDefaultCollection(); String getTranskribusRestApiUrl(); List<String> getTranskribusAllowedDocumentTypes(); int getTocIndentation(); boolean isPageBrowseEnabled(); List<Integer> getPageBrowseSteps(); String getTaskManagerServiceUrl(); String getTaskManagerRestUrl(); String getReCaptchaSiteKey(); boolean isUseReCaptcha(); boolean isSearchInItemEnabled(); String getDefaultBrowseIcon(String field); boolean isSearchExcelExportEnabled(); List<String> getSearchExcelExportFields(); int getExcelDownloadTimeout(); boolean isDisplayEmptyTocInSidebar(); boolean isDoublePageModeEnabled(); List<String> getRestrictedImageUrls(); List<String> getIIIFLicenses(); List<String> getIIIFMetadataFields(); List<String> getIIIFEventFields(); String getIIIFMetadataLabel(String field); int getIIIFDiscoveryAvtivitiesPerPage(); List<String> getIIIFLogo(); String getIIIFNavDateField(); List<String> getIIIFAttribution(); List<String> getIIIFDescriptionFields(); String getSitelinksField(); String getSitelinksFilterQuery(); List<String> getConfiguredCollections(); String getWebApiToken(); boolean isAllowRedirectCollectionToWork(); String getTwitterUserName(); float getLimitImageHeightUpperRatioThreshold(); float getLimitImageHeightLowerRatioThreshold(); boolean isLimitImageHeight(); boolean isAddCORSHeader(); String getCORSHeaderValue(); boolean isDiscloseImageContentLocation(); String getAccessConditionDisplayField(); String getCopyrightDisplayField(); boolean isDisplayCopyrightInfo(); boolean isDisplaySocialMediaShareLinks(); boolean isDisplayAnchorLabelInTitleBar(String template); String getAnchorLabelInTitleBarPrefix(String template); String getAnchorLabelInTitleBarSuffix(String template); String getMapBoxToken(); GeoMapMarker getGeoMapMarker(String name); List<String> getGeoMapMarkerFields(); List<GeoMapMarker> getGeoMapMarkers(); static GeoMapMarker readGeoMapMarker(HierarchicalConfiguration config); List<LicenseDescription> getLicenseDescriptions(); }
@Test public void getDownloadFolder_shouldReturnCorrectValueForPdf() throws Exception { Assert.assertEquals("/opt/digiverso/viewer/download_test_pdf", DataManager.getInstance().getConfiguration().getDownloadFolder("pdf")); }
public String getDownloadFolder(String type) { switch (type.toLowerCase()) { case "pdf": return getLocalString("pdf.downloadFolder", "/opt/digiverso/viewer/pdf_download"); case "epub": return getLocalString("epub.downloadFolder", "/opt/digiverso/viewer/epub_download"); default: return ""; } }
Configuration extends AbstractConfiguration { public String getDownloadFolder(String type) { switch (type.toLowerCase()) { case "pdf": return getLocalString("pdf.downloadFolder", "/opt/digiverso/viewer/pdf_download"); case "epub": return getLocalString("epub.downloadFolder", "/opt/digiverso/viewer/epub_download"); default: return ""; } } }
Configuration extends AbstractConfiguration { public String getDownloadFolder(String type) { switch (type.toLowerCase()) { case "pdf": return getLocalString("pdf.downloadFolder", "/opt/digiverso/viewer/pdf_download"); case "epub": return getLocalString("epub.downloadFolder", "/opt/digiverso/viewer/epub_download"); default: return ""; } } Configuration(String configFilePath); }
Configuration extends AbstractConfiguration { public String getDownloadFolder(String type) { switch (type.toLowerCase()) { case "pdf": return getLocalString("pdf.downloadFolder", "/opt/digiverso/viewer/pdf_download"); case "epub": return getLocalString("epub.downloadFolder", "/opt/digiverso/viewer/epub_download"); default: return ""; } } Configuration(String configFilePath); Set<String> getStopwords(); boolean reloadingRequired(); String getConfigLocalPath(); String getLocalRessourceBundleFile(); int getViewerThumbnailsPerPage(); int getViewerMaxImageWidth(); int getViewerMaxImageHeight(); int getViewerMaxImageScale(); boolean isRememberImageZoom(); boolean isRememberImageRotation(); String getDfgViewerUrl(); String getConnectorVersionUrl(); List<Metadata> getTitleBarMetadata(); List<Metadata> getSearchHitMetadataForTemplate(String template); List<Metadata> getMainMetadataForTemplate(String template); List<Metadata> getSidebarMetadataForTemplate(String template); List<String> getNormdataFieldsForTemplate(String template); List<Metadata> getTocLabelConfiguration(String template); int getTocAnchorGroupElementsPerPage(); boolean isDisplaySidebarBrowsingTerms(); boolean isDisplaySidebarRssFeed(); boolean isDisplayWidgetUsage(); Metadata getWidgetUsageLicenceTextMetadata(); boolean isDisplaySidebarUsageWidgetLinkToJpegImage(); boolean isDisplaySidebarUsageWidgetLinkToMasterImage(); String getWidgetUsageMaxJpegSize(); String getWidgetUsageMaxMasterImageSize(); List<String> getCalendarDocStructTypes(); boolean isBrowsingMenuEnabled(); int getBrowsingMenuHitsPerPage(); List<BrowsingMenuFieldConfig> getBrowsingMenuFields(); String getBrowsingMenuSortingIgnoreLeadingChars(); String getDocstrctWhitelistFilterQuery(); String getCollectionSplittingChar(String field); List<DcSortingList> getCollectionSorting(String field); List<String> getCollectionBlacklist(String field); String getCollectionDefaultSortField(String field, String name); int getCollectionDisplayNumberOfVolumesLevel(String field); int getCollectionDisplayDepthForSearch(String field); String getCollectionHierarchyField(); boolean isAddCollectionHierarchyToBreadcrumbs(String field); String getSolrUrl(); String getContentServerWrapperUrl(); String getDownloadUrl(); String getRestApiUrl(); String getIIIFApiUrl(); boolean isUseIIIFApiUrlForCmsMediaUrls(); String getContentServerRealUrl(); String getMetsUrl(); String getMarcUrl(); String getDcUrl(); String getEseUrl(); List<Integer> getSearchHitsPerPageValues(); int getSearchHitsPerPageDefaultValue(); int getFulltextFragmentLength(); boolean isAdvancedSearchEnabled(); int getAdvancedSearchDefaultItemNumber(); List<AdvancedSearchFieldConfiguration> getAdvancedSearchFields(); boolean isAggregateHits(); boolean isDisplayAdditionalMetadataEnabled(); List<String> getDisplayAdditionalMetadataIgnoreFields(); List<String> getDisplayAdditionalMetadataTranslateFields(); boolean isAdvancedSearchFieldHierarchical(String field); boolean isAdvancedSearchFieldRange(String field); boolean isAdvancedSearchFieldUntokenizeForPhraseSearch(String field); String getAdvancedSearchFieldSeparatorLabel(String field); boolean isTimelineSearchEnabled(); boolean isCalendarSearchEnabled(); String getStaticQuerySuffix(); String getPreviousVersionIdentifierField(); String getNextVersionIdentifierField(); String getVersionLabelField(); String getIndexedMetsFolder(); String getIndexedLidoFolder(); String getIndexedDenkxwebFolder(); String getIndexedDublinCoreFolder(); String getPageSelectionFormat(); String getMediaFolder(); String getPdfFolder(); String getVocabulariesFolder(); String getOrigContentFolder(); String getCmsTextFolder(); String getAltoFolder(); String getAbbyyFolder(); String getFulltextFolder(); String getTeiFolder(); String getCmdiFolder(); String getWcFolder(); String getAnnotationFolder(); String getHotfolder(); @SuppressWarnings("static-method") String getTempFolder(); boolean isUrnDoRedirect(); boolean isUserRegistrationEnabled(); List<SecurityQuestion> getSecurityQuestions(); boolean isShowOpenIdConnect(); List<IAuthenticationProvider> getAuthenticationProviders(); String getSmtpServer(); String getSmtpUser(); String getSmtpPassword(); String getSmtpSenderAddress(); String getSmtpSenderName(); String getSmtpSecurity(); String getAnonymousUserEmailAddress(); boolean isDisplayCollectionBrowsing(); boolean isDisplayUserNavigation(); boolean isDisplayTagCloudNavigation(); boolean isDisplayStatistics(); boolean isDisplayTimeMatrix(); boolean isDisplayCrowdsourcingModuleLinks(); String getTheme(); String getThemeRootPath(); String getName(); String getDescription(); boolean isDisplayTagCloudStartpage(); boolean isDisplaySearchResultNavigation(); boolean isFoldout(String sidebarElement); boolean isSidebarPageViewLinkVisible(); boolean isSidebarCalendarViewLinkVisible(); boolean isSidebarTocViewLinkVisible(); boolean isSidebarThumbsViewLinkVisible(); boolean isSidebarMetadataViewLinkVisible(); boolean isShowSidebarEventMetadata(); boolean isShowRecordLabelIfNoOtherViews(); boolean isSidebarFulltextLinkVisible(); boolean isSidebarTocWidgetVisible(); boolean isSidebarTocWidgetVisibleInFullscreen(); boolean isSidebarOpacLinkVisible(); boolean getSidebarTocPageNumbersVisible(); int getSidebarTocLengthBeforeCut(); int getSidebarTocInitialCollapseLevel(); int getSidebarTocCollapseLengthThreshold(); int getSidebarTocLowestLevelToCollapseForLength(); boolean isSidebarTocTreeView(); boolean isTocTreeView(String docStructType); List<String> getAllDrillDownFields(); List<String> getDrillDownFields(); List<String> getHierarchicalDrillDownFields(); int getInitialDrillDownElementNumber(String field); String getSortOrder(String field); List<String> getPriorityValuesForDrillDownField(String field); String getLabelFieldForDrillDownField(String facetField); @SuppressWarnings("static-method") List<String> getRangeFacetFields(); boolean isSortingEnabled(); String getDefaultSortField(); List<String> getSortFields(); List<String> getStaticSortFields(); String getUrnResolverUrl(); int getUnconditionalImageAccessMaxWidth(); boolean isFullAccessForLocalhost(); boolean isGeneratePdfInTaskManager(); boolean isPdfApiDisabled(); boolean isTitlePdfEnabled(); boolean isTocPdfEnabled(); boolean isMetadataPdfEnabled(); boolean isPagePdfEnabled(); boolean isDocHierarchyPdfEnabled(); boolean isTitleEpubEnabled(); boolean isTocEpubEnabled(); boolean isMetadataEpubEnabled(); String getDownloadFolder(String type); int getRssFeedItems(); String getRssTitle(); String getRssDescription(); String getRssCopyrightText(); String getRulesetFilePath(); String getDefaultCollection(); int getThumbnailsWidth(); int getThumbnailsHeight(); int getThumbnailsCompression(); String getAnchorThumbnailMode(); int getMultivolumeThumbnailWidth(); int getMultivolumeThumbnailHeight(); boolean getDisplayBreadcrumbs(); boolean getDisplayMetadataPageLinkBlock(); boolean isAddDublinCoreMetaTags(); boolean isAddHighwirePressMetaTags(); int getMetadataParamNumber(); boolean useTiles(); boolean useTilesFullscreen(); boolean useTiles(PageType view, ImageType image); int getFooterHeight(); int getFullscreenFooterHeight(); int getFooterHeight(PageType view, ImageType image); String getImageViewType(); String getZoomFullscreenViewType(); String getZoomImageViewType(PageType view, ImageType image); boolean useOpenSeadragon(); List<String> getImageViewZoomScales(); List<String> getImageViewZoomScales(String view); List<String> getImageViewZoomScales(PageType view, ImageType image); Map<Integer, List<Integer>> getTileSizes(); Map<Integer, List<Integer>> getTileSizes(PageType view, ImageType image); SubnodeConfiguration getZoomImageViewConfig(PageType pageType, ImageType imageType); int getBreadcrumbsClipping(); boolean isDisplayTopstructLabel(); boolean getDisplayStructType(); int getSearchHitMetadataValueNumber(); int getSearchHitMetadataValueLength(); List<String> getWatermarkTextConfiguration(); String getWatermarkFormat(); boolean isOriginalContentDownload(); String getStopwordsFilePath(); String getPageType(PageType type); String getDocstructTargetPageType(String docstruct); String getPageTypeExitView(PageType type); int getFulltextPercentageWarningThreshold(); boolean isUseViewerLocaleAsRecordLanguage(); String getFeedbackEmailAddress(); boolean isBookmarksEnabled(); boolean isForceJpegConversion(); int getPageLoaderThreshold(); boolean isPreventProxyCaching(); boolean isSolrCompressionEnabled(); boolean isSolrBackwardsCompatible(); boolean isUserCommentsEnabled(); String getUserCommentsConditionalQuery(); List<String> getUserCommentsNotificationEmailAddresses(); String getViewerHome(); List<String> getWatermarkIdField(); String getSubthemeMainTheme(); String getSubthemeDiscriminatorField(); int getTagCloudSampleSize(String fieldName); List<StringPair> getTocVolumeSortFieldsForTemplate(String template); String getTocVolumeGroupFieldForTemplate(String template); boolean getDisplayTitleBreadcrumbs(); boolean isDisplayTitlePURL(); int getTitleBreadcrumbsMaxTitleLength(); boolean getIncludeAnchorInTitleBreadcrumbs(); boolean isDisplaySearchRssLinks(); boolean showThumbnailsInToc(); String getStartYearForTimeline(); String getEndYearForTimeline(); String getTimelineHits(); boolean isPiwikTrackingEnabled(); String getPiwikBaseURL(); String getPiwikSiteID(); boolean isSearchSavingEnabled(); boolean isBoostTopLevelDocstructs(); boolean isGroupDuplicateHits(); List<String> getRecordGroupIdentifierFields(); List<String> getAncestorIdentifierFields(); boolean isTocListSiblingRecords(); List<SearchFilter> getSearchFilters(); List<Map<String, String>> getWebApiFields(); String getDbPersistenceUnit(); boolean useCustomNavBar(); String getCmsTemplateFolder(); String getCmsMediaFolder(); String getTempMediaFolder(); List<String> getCmsClassifications(); int getCmsMediaDisplayWidth(); int getCmsMediaDisplayHeight(); boolean isTranskribusEnabled(); String getTranskribusUserName(); String getTranskribusPassword(); String getTranskribusDefaultCollection(); String getTranskribusRestApiUrl(); List<String> getTranskribusAllowedDocumentTypes(); int getTocIndentation(); boolean isPageBrowseEnabled(); List<Integer> getPageBrowseSteps(); String getTaskManagerServiceUrl(); String getTaskManagerRestUrl(); String getReCaptchaSiteKey(); boolean isUseReCaptcha(); boolean isSearchInItemEnabled(); String getDefaultBrowseIcon(String field); boolean isSearchExcelExportEnabled(); List<String> getSearchExcelExportFields(); int getExcelDownloadTimeout(); boolean isDisplayEmptyTocInSidebar(); boolean isDoublePageModeEnabled(); List<String> getRestrictedImageUrls(); List<String> getIIIFLicenses(); List<String> getIIIFMetadataFields(); List<String> getIIIFEventFields(); String getIIIFMetadataLabel(String field); int getIIIFDiscoveryAvtivitiesPerPage(); List<String> getIIIFLogo(); String getIIIFNavDateField(); List<String> getIIIFAttribution(); List<String> getIIIFDescriptionFields(); String getSitelinksField(); String getSitelinksFilterQuery(); List<String> getConfiguredCollections(); String getWebApiToken(); boolean isAllowRedirectCollectionToWork(); String getTwitterUserName(); float getLimitImageHeightUpperRatioThreshold(); float getLimitImageHeightLowerRatioThreshold(); boolean isLimitImageHeight(); boolean isAddCORSHeader(); String getCORSHeaderValue(); boolean isDiscloseImageContentLocation(); String getAccessConditionDisplayField(); String getCopyrightDisplayField(); boolean isDisplayCopyrightInfo(); boolean isDisplaySocialMediaShareLinks(); boolean isDisplayAnchorLabelInTitleBar(String template); String getAnchorLabelInTitleBarPrefix(String template); String getAnchorLabelInTitleBarSuffix(String template); String getMapBoxToken(); GeoMapMarker getGeoMapMarker(String name); List<String> getGeoMapMarkerFields(); List<GeoMapMarker> getGeoMapMarkers(); static GeoMapMarker readGeoMapMarker(HierarchicalConfiguration config); List<LicenseDescription> getLicenseDescriptions(); }
Configuration extends AbstractConfiguration { public String getDownloadFolder(String type) { switch (type.toLowerCase()) { case "pdf": return getLocalString("pdf.downloadFolder", "/opt/digiverso/viewer/pdf_download"); case "epub": return getLocalString("epub.downloadFolder", "/opt/digiverso/viewer/epub_download"); default: return ""; } } Configuration(String configFilePath); Set<String> getStopwords(); boolean reloadingRequired(); String getConfigLocalPath(); String getLocalRessourceBundleFile(); int getViewerThumbnailsPerPage(); int getViewerMaxImageWidth(); int getViewerMaxImageHeight(); int getViewerMaxImageScale(); boolean isRememberImageZoom(); boolean isRememberImageRotation(); String getDfgViewerUrl(); String getConnectorVersionUrl(); List<Metadata> getTitleBarMetadata(); List<Metadata> getSearchHitMetadataForTemplate(String template); List<Metadata> getMainMetadataForTemplate(String template); List<Metadata> getSidebarMetadataForTemplate(String template); List<String> getNormdataFieldsForTemplate(String template); List<Metadata> getTocLabelConfiguration(String template); int getTocAnchorGroupElementsPerPage(); boolean isDisplaySidebarBrowsingTerms(); boolean isDisplaySidebarRssFeed(); boolean isDisplayWidgetUsage(); Metadata getWidgetUsageLicenceTextMetadata(); boolean isDisplaySidebarUsageWidgetLinkToJpegImage(); boolean isDisplaySidebarUsageWidgetLinkToMasterImage(); String getWidgetUsageMaxJpegSize(); String getWidgetUsageMaxMasterImageSize(); List<String> getCalendarDocStructTypes(); boolean isBrowsingMenuEnabled(); int getBrowsingMenuHitsPerPage(); List<BrowsingMenuFieldConfig> getBrowsingMenuFields(); String getBrowsingMenuSortingIgnoreLeadingChars(); String getDocstrctWhitelistFilterQuery(); String getCollectionSplittingChar(String field); List<DcSortingList> getCollectionSorting(String field); List<String> getCollectionBlacklist(String field); String getCollectionDefaultSortField(String field, String name); int getCollectionDisplayNumberOfVolumesLevel(String field); int getCollectionDisplayDepthForSearch(String field); String getCollectionHierarchyField(); boolean isAddCollectionHierarchyToBreadcrumbs(String field); String getSolrUrl(); String getContentServerWrapperUrl(); String getDownloadUrl(); String getRestApiUrl(); String getIIIFApiUrl(); boolean isUseIIIFApiUrlForCmsMediaUrls(); String getContentServerRealUrl(); String getMetsUrl(); String getMarcUrl(); String getDcUrl(); String getEseUrl(); List<Integer> getSearchHitsPerPageValues(); int getSearchHitsPerPageDefaultValue(); int getFulltextFragmentLength(); boolean isAdvancedSearchEnabled(); int getAdvancedSearchDefaultItemNumber(); List<AdvancedSearchFieldConfiguration> getAdvancedSearchFields(); boolean isAggregateHits(); boolean isDisplayAdditionalMetadataEnabled(); List<String> getDisplayAdditionalMetadataIgnoreFields(); List<String> getDisplayAdditionalMetadataTranslateFields(); boolean isAdvancedSearchFieldHierarchical(String field); boolean isAdvancedSearchFieldRange(String field); boolean isAdvancedSearchFieldUntokenizeForPhraseSearch(String field); String getAdvancedSearchFieldSeparatorLabel(String field); boolean isTimelineSearchEnabled(); boolean isCalendarSearchEnabled(); String getStaticQuerySuffix(); String getPreviousVersionIdentifierField(); String getNextVersionIdentifierField(); String getVersionLabelField(); String getIndexedMetsFolder(); String getIndexedLidoFolder(); String getIndexedDenkxwebFolder(); String getIndexedDublinCoreFolder(); String getPageSelectionFormat(); String getMediaFolder(); String getPdfFolder(); String getVocabulariesFolder(); String getOrigContentFolder(); String getCmsTextFolder(); String getAltoFolder(); String getAbbyyFolder(); String getFulltextFolder(); String getTeiFolder(); String getCmdiFolder(); String getWcFolder(); String getAnnotationFolder(); String getHotfolder(); @SuppressWarnings("static-method") String getTempFolder(); boolean isUrnDoRedirect(); boolean isUserRegistrationEnabled(); List<SecurityQuestion> getSecurityQuestions(); boolean isShowOpenIdConnect(); List<IAuthenticationProvider> getAuthenticationProviders(); String getSmtpServer(); String getSmtpUser(); String getSmtpPassword(); String getSmtpSenderAddress(); String getSmtpSenderName(); String getSmtpSecurity(); String getAnonymousUserEmailAddress(); boolean isDisplayCollectionBrowsing(); boolean isDisplayUserNavigation(); boolean isDisplayTagCloudNavigation(); boolean isDisplayStatistics(); boolean isDisplayTimeMatrix(); boolean isDisplayCrowdsourcingModuleLinks(); String getTheme(); String getThemeRootPath(); String getName(); String getDescription(); boolean isDisplayTagCloudStartpage(); boolean isDisplaySearchResultNavigation(); boolean isFoldout(String sidebarElement); boolean isSidebarPageViewLinkVisible(); boolean isSidebarCalendarViewLinkVisible(); boolean isSidebarTocViewLinkVisible(); boolean isSidebarThumbsViewLinkVisible(); boolean isSidebarMetadataViewLinkVisible(); boolean isShowSidebarEventMetadata(); boolean isShowRecordLabelIfNoOtherViews(); boolean isSidebarFulltextLinkVisible(); boolean isSidebarTocWidgetVisible(); boolean isSidebarTocWidgetVisibleInFullscreen(); boolean isSidebarOpacLinkVisible(); boolean getSidebarTocPageNumbersVisible(); int getSidebarTocLengthBeforeCut(); int getSidebarTocInitialCollapseLevel(); int getSidebarTocCollapseLengthThreshold(); int getSidebarTocLowestLevelToCollapseForLength(); boolean isSidebarTocTreeView(); boolean isTocTreeView(String docStructType); List<String> getAllDrillDownFields(); List<String> getDrillDownFields(); List<String> getHierarchicalDrillDownFields(); int getInitialDrillDownElementNumber(String field); String getSortOrder(String field); List<String> getPriorityValuesForDrillDownField(String field); String getLabelFieldForDrillDownField(String facetField); @SuppressWarnings("static-method") List<String> getRangeFacetFields(); boolean isSortingEnabled(); String getDefaultSortField(); List<String> getSortFields(); List<String> getStaticSortFields(); String getUrnResolverUrl(); int getUnconditionalImageAccessMaxWidth(); boolean isFullAccessForLocalhost(); boolean isGeneratePdfInTaskManager(); boolean isPdfApiDisabled(); boolean isTitlePdfEnabled(); boolean isTocPdfEnabled(); boolean isMetadataPdfEnabled(); boolean isPagePdfEnabled(); boolean isDocHierarchyPdfEnabled(); boolean isTitleEpubEnabled(); boolean isTocEpubEnabled(); boolean isMetadataEpubEnabled(); String getDownloadFolder(String type); int getRssFeedItems(); String getRssTitle(); String getRssDescription(); String getRssCopyrightText(); String getRulesetFilePath(); String getDefaultCollection(); int getThumbnailsWidth(); int getThumbnailsHeight(); int getThumbnailsCompression(); String getAnchorThumbnailMode(); int getMultivolumeThumbnailWidth(); int getMultivolumeThumbnailHeight(); boolean getDisplayBreadcrumbs(); boolean getDisplayMetadataPageLinkBlock(); boolean isAddDublinCoreMetaTags(); boolean isAddHighwirePressMetaTags(); int getMetadataParamNumber(); boolean useTiles(); boolean useTilesFullscreen(); boolean useTiles(PageType view, ImageType image); int getFooterHeight(); int getFullscreenFooterHeight(); int getFooterHeight(PageType view, ImageType image); String getImageViewType(); String getZoomFullscreenViewType(); String getZoomImageViewType(PageType view, ImageType image); boolean useOpenSeadragon(); List<String> getImageViewZoomScales(); List<String> getImageViewZoomScales(String view); List<String> getImageViewZoomScales(PageType view, ImageType image); Map<Integer, List<Integer>> getTileSizes(); Map<Integer, List<Integer>> getTileSizes(PageType view, ImageType image); SubnodeConfiguration getZoomImageViewConfig(PageType pageType, ImageType imageType); int getBreadcrumbsClipping(); boolean isDisplayTopstructLabel(); boolean getDisplayStructType(); int getSearchHitMetadataValueNumber(); int getSearchHitMetadataValueLength(); List<String> getWatermarkTextConfiguration(); String getWatermarkFormat(); boolean isOriginalContentDownload(); String getStopwordsFilePath(); String getPageType(PageType type); String getDocstructTargetPageType(String docstruct); String getPageTypeExitView(PageType type); int getFulltextPercentageWarningThreshold(); boolean isUseViewerLocaleAsRecordLanguage(); String getFeedbackEmailAddress(); boolean isBookmarksEnabled(); boolean isForceJpegConversion(); int getPageLoaderThreshold(); boolean isPreventProxyCaching(); boolean isSolrCompressionEnabled(); boolean isSolrBackwardsCompatible(); boolean isUserCommentsEnabled(); String getUserCommentsConditionalQuery(); List<String> getUserCommentsNotificationEmailAddresses(); String getViewerHome(); List<String> getWatermarkIdField(); String getSubthemeMainTheme(); String getSubthemeDiscriminatorField(); int getTagCloudSampleSize(String fieldName); List<StringPair> getTocVolumeSortFieldsForTemplate(String template); String getTocVolumeGroupFieldForTemplate(String template); boolean getDisplayTitleBreadcrumbs(); boolean isDisplayTitlePURL(); int getTitleBreadcrumbsMaxTitleLength(); boolean getIncludeAnchorInTitleBreadcrumbs(); boolean isDisplaySearchRssLinks(); boolean showThumbnailsInToc(); String getStartYearForTimeline(); String getEndYearForTimeline(); String getTimelineHits(); boolean isPiwikTrackingEnabled(); String getPiwikBaseURL(); String getPiwikSiteID(); boolean isSearchSavingEnabled(); boolean isBoostTopLevelDocstructs(); boolean isGroupDuplicateHits(); List<String> getRecordGroupIdentifierFields(); List<String> getAncestorIdentifierFields(); boolean isTocListSiblingRecords(); List<SearchFilter> getSearchFilters(); List<Map<String, String>> getWebApiFields(); String getDbPersistenceUnit(); boolean useCustomNavBar(); String getCmsTemplateFolder(); String getCmsMediaFolder(); String getTempMediaFolder(); List<String> getCmsClassifications(); int getCmsMediaDisplayWidth(); int getCmsMediaDisplayHeight(); boolean isTranskribusEnabled(); String getTranskribusUserName(); String getTranskribusPassword(); String getTranskribusDefaultCollection(); String getTranskribusRestApiUrl(); List<String> getTranskribusAllowedDocumentTypes(); int getTocIndentation(); boolean isPageBrowseEnabled(); List<Integer> getPageBrowseSteps(); String getTaskManagerServiceUrl(); String getTaskManagerRestUrl(); String getReCaptchaSiteKey(); boolean isUseReCaptcha(); boolean isSearchInItemEnabled(); String getDefaultBrowseIcon(String field); boolean isSearchExcelExportEnabled(); List<String> getSearchExcelExportFields(); int getExcelDownloadTimeout(); boolean isDisplayEmptyTocInSidebar(); boolean isDoublePageModeEnabled(); List<String> getRestrictedImageUrls(); List<String> getIIIFLicenses(); List<String> getIIIFMetadataFields(); List<String> getIIIFEventFields(); String getIIIFMetadataLabel(String field); int getIIIFDiscoveryAvtivitiesPerPage(); List<String> getIIIFLogo(); String getIIIFNavDateField(); List<String> getIIIFAttribution(); List<String> getIIIFDescriptionFields(); String getSitelinksField(); String getSitelinksFilterQuery(); List<String> getConfiguredCollections(); String getWebApiToken(); boolean isAllowRedirectCollectionToWork(); String getTwitterUserName(); float getLimitImageHeightUpperRatioThreshold(); float getLimitImageHeightLowerRatioThreshold(); boolean isLimitImageHeight(); boolean isAddCORSHeader(); String getCORSHeaderValue(); boolean isDiscloseImageContentLocation(); String getAccessConditionDisplayField(); String getCopyrightDisplayField(); boolean isDisplayCopyrightInfo(); boolean isDisplaySocialMediaShareLinks(); boolean isDisplayAnchorLabelInTitleBar(String template); String getAnchorLabelInTitleBarPrefix(String template); String getAnchorLabelInTitleBarSuffix(String template); String getMapBoxToken(); GeoMapMarker getGeoMapMarker(String name); List<String> getGeoMapMarkerFields(); List<GeoMapMarker> getGeoMapMarkers(); static GeoMapMarker readGeoMapMarker(HierarchicalConfiguration config); List<LicenseDescription> getLicenseDescriptions(); }
@Test public void getDownloadFolder_shouldReturnCorrectValueForEpub() throws Exception { Assert.assertEquals("/opt/digiverso/viewer/download_test_epub", DataManager.getInstance().getConfiguration().getDownloadFolder("epub")); }
public String getDownloadFolder(String type) { switch (type.toLowerCase()) { case "pdf": return getLocalString("pdf.downloadFolder", "/opt/digiverso/viewer/pdf_download"); case "epub": return getLocalString("epub.downloadFolder", "/opt/digiverso/viewer/epub_download"); default: return ""; } }
Configuration extends AbstractConfiguration { public String getDownloadFolder(String type) { switch (type.toLowerCase()) { case "pdf": return getLocalString("pdf.downloadFolder", "/opt/digiverso/viewer/pdf_download"); case "epub": return getLocalString("epub.downloadFolder", "/opt/digiverso/viewer/epub_download"); default: return ""; } } }
Configuration extends AbstractConfiguration { public String getDownloadFolder(String type) { switch (type.toLowerCase()) { case "pdf": return getLocalString("pdf.downloadFolder", "/opt/digiverso/viewer/pdf_download"); case "epub": return getLocalString("epub.downloadFolder", "/opt/digiverso/viewer/epub_download"); default: return ""; } } Configuration(String configFilePath); }
Configuration extends AbstractConfiguration { public String getDownloadFolder(String type) { switch (type.toLowerCase()) { case "pdf": return getLocalString("pdf.downloadFolder", "/opt/digiverso/viewer/pdf_download"); case "epub": return getLocalString("epub.downloadFolder", "/opt/digiverso/viewer/epub_download"); default: return ""; } } Configuration(String configFilePath); Set<String> getStopwords(); boolean reloadingRequired(); String getConfigLocalPath(); String getLocalRessourceBundleFile(); int getViewerThumbnailsPerPage(); int getViewerMaxImageWidth(); int getViewerMaxImageHeight(); int getViewerMaxImageScale(); boolean isRememberImageZoom(); boolean isRememberImageRotation(); String getDfgViewerUrl(); String getConnectorVersionUrl(); List<Metadata> getTitleBarMetadata(); List<Metadata> getSearchHitMetadataForTemplate(String template); List<Metadata> getMainMetadataForTemplate(String template); List<Metadata> getSidebarMetadataForTemplate(String template); List<String> getNormdataFieldsForTemplate(String template); List<Metadata> getTocLabelConfiguration(String template); int getTocAnchorGroupElementsPerPage(); boolean isDisplaySidebarBrowsingTerms(); boolean isDisplaySidebarRssFeed(); boolean isDisplayWidgetUsage(); Metadata getWidgetUsageLicenceTextMetadata(); boolean isDisplaySidebarUsageWidgetLinkToJpegImage(); boolean isDisplaySidebarUsageWidgetLinkToMasterImage(); String getWidgetUsageMaxJpegSize(); String getWidgetUsageMaxMasterImageSize(); List<String> getCalendarDocStructTypes(); boolean isBrowsingMenuEnabled(); int getBrowsingMenuHitsPerPage(); List<BrowsingMenuFieldConfig> getBrowsingMenuFields(); String getBrowsingMenuSortingIgnoreLeadingChars(); String getDocstrctWhitelistFilterQuery(); String getCollectionSplittingChar(String field); List<DcSortingList> getCollectionSorting(String field); List<String> getCollectionBlacklist(String field); String getCollectionDefaultSortField(String field, String name); int getCollectionDisplayNumberOfVolumesLevel(String field); int getCollectionDisplayDepthForSearch(String field); String getCollectionHierarchyField(); boolean isAddCollectionHierarchyToBreadcrumbs(String field); String getSolrUrl(); String getContentServerWrapperUrl(); String getDownloadUrl(); String getRestApiUrl(); String getIIIFApiUrl(); boolean isUseIIIFApiUrlForCmsMediaUrls(); String getContentServerRealUrl(); String getMetsUrl(); String getMarcUrl(); String getDcUrl(); String getEseUrl(); List<Integer> getSearchHitsPerPageValues(); int getSearchHitsPerPageDefaultValue(); int getFulltextFragmentLength(); boolean isAdvancedSearchEnabled(); int getAdvancedSearchDefaultItemNumber(); List<AdvancedSearchFieldConfiguration> getAdvancedSearchFields(); boolean isAggregateHits(); boolean isDisplayAdditionalMetadataEnabled(); List<String> getDisplayAdditionalMetadataIgnoreFields(); List<String> getDisplayAdditionalMetadataTranslateFields(); boolean isAdvancedSearchFieldHierarchical(String field); boolean isAdvancedSearchFieldRange(String field); boolean isAdvancedSearchFieldUntokenizeForPhraseSearch(String field); String getAdvancedSearchFieldSeparatorLabel(String field); boolean isTimelineSearchEnabled(); boolean isCalendarSearchEnabled(); String getStaticQuerySuffix(); String getPreviousVersionIdentifierField(); String getNextVersionIdentifierField(); String getVersionLabelField(); String getIndexedMetsFolder(); String getIndexedLidoFolder(); String getIndexedDenkxwebFolder(); String getIndexedDublinCoreFolder(); String getPageSelectionFormat(); String getMediaFolder(); String getPdfFolder(); String getVocabulariesFolder(); String getOrigContentFolder(); String getCmsTextFolder(); String getAltoFolder(); String getAbbyyFolder(); String getFulltextFolder(); String getTeiFolder(); String getCmdiFolder(); String getWcFolder(); String getAnnotationFolder(); String getHotfolder(); @SuppressWarnings("static-method") String getTempFolder(); boolean isUrnDoRedirect(); boolean isUserRegistrationEnabled(); List<SecurityQuestion> getSecurityQuestions(); boolean isShowOpenIdConnect(); List<IAuthenticationProvider> getAuthenticationProviders(); String getSmtpServer(); String getSmtpUser(); String getSmtpPassword(); String getSmtpSenderAddress(); String getSmtpSenderName(); String getSmtpSecurity(); String getAnonymousUserEmailAddress(); boolean isDisplayCollectionBrowsing(); boolean isDisplayUserNavigation(); boolean isDisplayTagCloudNavigation(); boolean isDisplayStatistics(); boolean isDisplayTimeMatrix(); boolean isDisplayCrowdsourcingModuleLinks(); String getTheme(); String getThemeRootPath(); String getName(); String getDescription(); boolean isDisplayTagCloudStartpage(); boolean isDisplaySearchResultNavigation(); boolean isFoldout(String sidebarElement); boolean isSidebarPageViewLinkVisible(); boolean isSidebarCalendarViewLinkVisible(); boolean isSidebarTocViewLinkVisible(); boolean isSidebarThumbsViewLinkVisible(); boolean isSidebarMetadataViewLinkVisible(); boolean isShowSidebarEventMetadata(); boolean isShowRecordLabelIfNoOtherViews(); boolean isSidebarFulltextLinkVisible(); boolean isSidebarTocWidgetVisible(); boolean isSidebarTocWidgetVisibleInFullscreen(); boolean isSidebarOpacLinkVisible(); boolean getSidebarTocPageNumbersVisible(); int getSidebarTocLengthBeforeCut(); int getSidebarTocInitialCollapseLevel(); int getSidebarTocCollapseLengthThreshold(); int getSidebarTocLowestLevelToCollapseForLength(); boolean isSidebarTocTreeView(); boolean isTocTreeView(String docStructType); List<String> getAllDrillDownFields(); List<String> getDrillDownFields(); List<String> getHierarchicalDrillDownFields(); int getInitialDrillDownElementNumber(String field); String getSortOrder(String field); List<String> getPriorityValuesForDrillDownField(String field); String getLabelFieldForDrillDownField(String facetField); @SuppressWarnings("static-method") List<String> getRangeFacetFields(); boolean isSortingEnabled(); String getDefaultSortField(); List<String> getSortFields(); List<String> getStaticSortFields(); String getUrnResolverUrl(); int getUnconditionalImageAccessMaxWidth(); boolean isFullAccessForLocalhost(); boolean isGeneratePdfInTaskManager(); boolean isPdfApiDisabled(); boolean isTitlePdfEnabled(); boolean isTocPdfEnabled(); boolean isMetadataPdfEnabled(); boolean isPagePdfEnabled(); boolean isDocHierarchyPdfEnabled(); boolean isTitleEpubEnabled(); boolean isTocEpubEnabled(); boolean isMetadataEpubEnabled(); String getDownloadFolder(String type); int getRssFeedItems(); String getRssTitle(); String getRssDescription(); String getRssCopyrightText(); String getRulesetFilePath(); String getDefaultCollection(); int getThumbnailsWidth(); int getThumbnailsHeight(); int getThumbnailsCompression(); String getAnchorThumbnailMode(); int getMultivolumeThumbnailWidth(); int getMultivolumeThumbnailHeight(); boolean getDisplayBreadcrumbs(); boolean getDisplayMetadataPageLinkBlock(); boolean isAddDublinCoreMetaTags(); boolean isAddHighwirePressMetaTags(); int getMetadataParamNumber(); boolean useTiles(); boolean useTilesFullscreen(); boolean useTiles(PageType view, ImageType image); int getFooterHeight(); int getFullscreenFooterHeight(); int getFooterHeight(PageType view, ImageType image); String getImageViewType(); String getZoomFullscreenViewType(); String getZoomImageViewType(PageType view, ImageType image); boolean useOpenSeadragon(); List<String> getImageViewZoomScales(); List<String> getImageViewZoomScales(String view); List<String> getImageViewZoomScales(PageType view, ImageType image); Map<Integer, List<Integer>> getTileSizes(); Map<Integer, List<Integer>> getTileSizes(PageType view, ImageType image); SubnodeConfiguration getZoomImageViewConfig(PageType pageType, ImageType imageType); int getBreadcrumbsClipping(); boolean isDisplayTopstructLabel(); boolean getDisplayStructType(); int getSearchHitMetadataValueNumber(); int getSearchHitMetadataValueLength(); List<String> getWatermarkTextConfiguration(); String getWatermarkFormat(); boolean isOriginalContentDownload(); String getStopwordsFilePath(); String getPageType(PageType type); String getDocstructTargetPageType(String docstruct); String getPageTypeExitView(PageType type); int getFulltextPercentageWarningThreshold(); boolean isUseViewerLocaleAsRecordLanguage(); String getFeedbackEmailAddress(); boolean isBookmarksEnabled(); boolean isForceJpegConversion(); int getPageLoaderThreshold(); boolean isPreventProxyCaching(); boolean isSolrCompressionEnabled(); boolean isSolrBackwardsCompatible(); boolean isUserCommentsEnabled(); String getUserCommentsConditionalQuery(); List<String> getUserCommentsNotificationEmailAddresses(); String getViewerHome(); List<String> getWatermarkIdField(); String getSubthemeMainTheme(); String getSubthemeDiscriminatorField(); int getTagCloudSampleSize(String fieldName); List<StringPair> getTocVolumeSortFieldsForTemplate(String template); String getTocVolumeGroupFieldForTemplate(String template); boolean getDisplayTitleBreadcrumbs(); boolean isDisplayTitlePURL(); int getTitleBreadcrumbsMaxTitleLength(); boolean getIncludeAnchorInTitleBreadcrumbs(); boolean isDisplaySearchRssLinks(); boolean showThumbnailsInToc(); String getStartYearForTimeline(); String getEndYearForTimeline(); String getTimelineHits(); boolean isPiwikTrackingEnabled(); String getPiwikBaseURL(); String getPiwikSiteID(); boolean isSearchSavingEnabled(); boolean isBoostTopLevelDocstructs(); boolean isGroupDuplicateHits(); List<String> getRecordGroupIdentifierFields(); List<String> getAncestorIdentifierFields(); boolean isTocListSiblingRecords(); List<SearchFilter> getSearchFilters(); List<Map<String, String>> getWebApiFields(); String getDbPersistenceUnit(); boolean useCustomNavBar(); String getCmsTemplateFolder(); String getCmsMediaFolder(); String getTempMediaFolder(); List<String> getCmsClassifications(); int getCmsMediaDisplayWidth(); int getCmsMediaDisplayHeight(); boolean isTranskribusEnabled(); String getTranskribusUserName(); String getTranskribusPassword(); String getTranskribusDefaultCollection(); String getTranskribusRestApiUrl(); List<String> getTranskribusAllowedDocumentTypes(); int getTocIndentation(); boolean isPageBrowseEnabled(); List<Integer> getPageBrowseSteps(); String getTaskManagerServiceUrl(); String getTaskManagerRestUrl(); String getReCaptchaSiteKey(); boolean isUseReCaptcha(); boolean isSearchInItemEnabled(); String getDefaultBrowseIcon(String field); boolean isSearchExcelExportEnabled(); List<String> getSearchExcelExportFields(); int getExcelDownloadTimeout(); boolean isDisplayEmptyTocInSidebar(); boolean isDoublePageModeEnabled(); List<String> getRestrictedImageUrls(); List<String> getIIIFLicenses(); List<String> getIIIFMetadataFields(); List<String> getIIIFEventFields(); String getIIIFMetadataLabel(String field); int getIIIFDiscoveryAvtivitiesPerPage(); List<String> getIIIFLogo(); String getIIIFNavDateField(); List<String> getIIIFAttribution(); List<String> getIIIFDescriptionFields(); String getSitelinksField(); String getSitelinksFilterQuery(); List<String> getConfiguredCollections(); String getWebApiToken(); boolean isAllowRedirectCollectionToWork(); String getTwitterUserName(); float getLimitImageHeightUpperRatioThreshold(); float getLimitImageHeightLowerRatioThreshold(); boolean isLimitImageHeight(); boolean isAddCORSHeader(); String getCORSHeaderValue(); boolean isDiscloseImageContentLocation(); String getAccessConditionDisplayField(); String getCopyrightDisplayField(); boolean isDisplayCopyrightInfo(); boolean isDisplaySocialMediaShareLinks(); boolean isDisplayAnchorLabelInTitleBar(String template); String getAnchorLabelInTitleBarPrefix(String template); String getAnchorLabelInTitleBarSuffix(String template); String getMapBoxToken(); GeoMapMarker getGeoMapMarker(String name); List<String> getGeoMapMarkerFields(); List<GeoMapMarker> getGeoMapMarkers(); static GeoMapMarker readGeoMapMarker(HierarchicalConfiguration config); List<LicenseDescription> getLicenseDescriptions(); }
Configuration extends AbstractConfiguration { public String getDownloadFolder(String type) { switch (type.toLowerCase()) { case "pdf": return getLocalString("pdf.downloadFolder", "/opt/digiverso/viewer/pdf_download"); case "epub": return getLocalString("epub.downloadFolder", "/opt/digiverso/viewer/epub_download"); default: return ""; } } Configuration(String configFilePath); Set<String> getStopwords(); boolean reloadingRequired(); String getConfigLocalPath(); String getLocalRessourceBundleFile(); int getViewerThumbnailsPerPage(); int getViewerMaxImageWidth(); int getViewerMaxImageHeight(); int getViewerMaxImageScale(); boolean isRememberImageZoom(); boolean isRememberImageRotation(); String getDfgViewerUrl(); String getConnectorVersionUrl(); List<Metadata> getTitleBarMetadata(); List<Metadata> getSearchHitMetadataForTemplate(String template); List<Metadata> getMainMetadataForTemplate(String template); List<Metadata> getSidebarMetadataForTemplate(String template); List<String> getNormdataFieldsForTemplate(String template); List<Metadata> getTocLabelConfiguration(String template); int getTocAnchorGroupElementsPerPage(); boolean isDisplaySidebarBrowsingTerms(); boolean isDisplaySidebarRssFeed(); boolean isDisplayWidgetUsage(); Metadata getWidgetUsageLicenceTextMetadata(); boolean isDisplaySidebarUsageWidgetLinkToJpegImage(); boolean isDisplaySidebarUsageWidgetLinkToMasterImage(); String getWidgetUsageMaxJpegSize(); String getWidgetUsageMaxMasterImageSize(); List<String> getCalendarDocStructTypes(); boolean isBrowsingMenuEnabled(); int getBrowsingMenuHitsPerPage(); List<BrowsingMenuFieldConfig> getBrowsingMenuFields(); String getBrowsingMenuSortingIgnoreLeadingChars(); String getDocstrctWhitelistFilterQuery(); String getCollectionSplittingChar(String field); List<DcSortingList> getCollectionSorting(String field); List<String> getCollectionBlacklist(String field); String getCollectionDefaultSortField(String field, String name); int getCollectionDisplayNumberOfVolumesLevel(String field); int getCollectionDisplayDepthForSearch(String field); String getCollectionHierarchyField(); boolean isAddCollectionHierarchyToBreadcrumbs(String field); String getSolrUrl(); String getContentServerWrapperUrl(); String getDownloadUrl(); String getRestApiUrl(); String getIIIFApiUrl(); boolean isUseIIIFApiUrlForCmsMediaUrls(); String getContentServerRealUrl(); String getMetsUrl(); String getMarcUrl(); String getDcUrl(); String getEseUrl(); List<Integer> getSearchHitsPerPageValues(); int getSearchHitsPerPageDefaultValue(); int getFulltextFragmentLength(); boolean isAdvancedSearchEnabled(); int getAdvancedSearchDefaultItemNumber(); List<AdvancedSearchFieldConfiguration> getAdvancedSearchFields(); boolean isAggregateHits(); boolean isDisplayAdditionalMetadataEnabled(); List<String> getDisplayAdditionalMetadataIgnoreFields(); List<String> getDisplayAdditionalMetadataTranslateFields(); boolean isAdvancedSearchFieldHierarchical(String field); boolean isAdvancedSearchFieldRange(String field); boolean isAdvancedSearchFieldUntokenizeForPhraseSearch(String field); String getAdvancedSearchFieldSeparatorLabel(String field); boolean isTimelineSearchEnabled(); boolean isCalendarSearchEnabled(); String getStaticQuerySuffix(); String getPreviousVersionIdentifierField(); String getNextVersionIdentifierField(); String getVersionLabelField(); String getIndexedMetsFolder(); String getIndexedLidoFolder(); String getIndexedDenkxwebFolder(); String getIndexedDublinCoreFolder(); String getPageSelectionFormat(); String getMediaFolder(); String getPdfFolder(); String getVocabulariesFolder(); String getOrigContentFolder(); String getCmsTextFolder(); String getAltoFolder(); String getAbbyyFolder(); String getFulltextFolder(); String getTeiFolder(); String getCmdiFolder(); String getWcFolder(); String getAnnotationFolder(); String getHotfolder(); @SuppressWarnings("static-method") String getTempFolder(); boolean isUrnDoRedirect(); boolean isUserRegistrationEnabled(); List<SecurityQuestion> getSecurityQuestions(); boolean isShowOpenIdConnect(); List<IAuthenticationProvider> getAuthenticationProviders(); String getSmtpServer(); String getSmtpUser(); String getSmtpPassword(); String getSmtpSenderAddress(); String getSmtpSenderName(); String getSmtpSecurity(); String getAnonymousUserEmailAddress(); boolean isDisplayCollectionBrowsing(); boolean isDisplayUserNavigation(); boolean isDisplayTagCloudNavigation(); boolean isDisplayStatistics(); boolean isDisplayTimeMatrix(); boolean isDisplayCrowdsourcingModuleLinks(); String getTheme(); String getThemeRootPath(); String getName(); String getDescription(); boolean isDisplayTagCloudStartpage(); boolean isDisplaySearchResultNavigation(); boolean isFoldout(String sidebarElement); boolean isSidebarPageViewLinkVisible(); boolean isSidebarCalendarViewLinkVisible(); boolean isSidebarTocViewLinkVisible(); boolean isSidebarThumbsViewLinkVisible(); boolean isSidebarMetadataViewLinkVisible(); boolean isShowSidebarEventMetadata(); boolean isShowRecordLabelIfNoOtherViews(); boolean isSidebarFulltextLinkVisible(); boolean isSidebarTocWidgetVisible(); boolean isSidebarTocWidgetVisibleInFullscreen(); boolean isSidebarOpacLinkVisible(); boolean getSidebarTocPageNumbersVisible(); int getSidebarTocLengthBeforeCut(); int getSidebarTocInitialCollapseLevel(); int getSidebarTocCollapseLengthThreshold(); int getSidebarTocLowestLevelToCollapseForLength(); boolean isSidebarTocTreeView(); boolean isTocTreeView(String docStructType); List<String> getAllDrillDownFields(); List<String> getDrillDownFields(); List<String> getHierarchicalDrillDownFields(); int getInitialDrillDownElementNumber(String field); String getSortOrder(String field); List<String> getPriorityValuesForDrillDownField(String field); String getLabelFieldForDrillDownField(String facetField); @SuppressWarnings("static-method") List<String> getRangeFacetFields(); boolean isSortingEnabled(); String getDefaultSortField(); List<String> getSortFields(); List<String> getStaticSortFields(); String getUrnResolverUrl(); int getUnconditionalImageAccessMaxWidth(); boolean isFullAccessForLocalhost(); boolean isGeneratePdfInTaskManager(); boolean isPdfApiDisabled(); boolean isTitlePdfEnabled(); boolean isTocPdfEnabled(); boolean isMetadataPdfEnabled(); boolean isPagePdfEnabled(); boolean isDocHierarchyPdfEnabled(); boolean isTitleEpubEnabled(); boolean isTocEpubEnabled(); boolean isMetadataEpubEnabled(); String getDownloadFolder(String type); int getRssFeedItems(); String getRssTitle(); String getRssDescription(); String getRssCopyrightText(); String getRulesetFilePath(); String getDefaultCollection(); int getThumbnailsWidth(); int getThumbnailsHeight(); int getThumbnailsCompression(); String getAnchorThumbnailMode(); int getMultivolumeThumbnailWidth(); int getMultivolumeThumbnailHeight(); boolean getDisplayBreadcrumbs(); boolean getDisplayMetadataPageLinkBlock(); boolean isAddDublinCoreMetaTags(); boolean isAddHighwirePressMetaTags(); int getMetadataParamNumber(); boolean useTiles(); boolean useTilesFullscreen(); boolean useTiles(PageType view, ImageType image); int getFooterHeight(); int getFullscreenFooterHeight(); int getFooterHeight(PageType view, ImageType image); String getImageViewType(); String getZoomFullscreenViewType(); String getZoomImageViewType(PageType view, ImageType image); boolean useOpenSeadragon(); List<String> getImageViewZoomScales(); List<String> getImageViewZoomScales(String view); List<String> getImageViewZoomScales(PageType view, ImageType image); Map<Integer, List<Integer>> getTileSizes(); Map<Integer, List<Integer>> getTileSizes(PageType view, ImageType image); SubnodeConfiguration getZoomImageViewConfig(PageType pageType, ImageType imageType); int getBreadcrumbsClipping(); boolean isDisplayTopstructLabel(); boolean getDisplayStructType(); int getSearchHitMetadataValueNumber(); int getSearchHitMetadataValueLength(); List<String> getWatermarkTextConfiguration(); String getWatermarkFormat(); boolean isOriginalContentDownload(); String getStopwordsFilePath(); String getPageType(PageType type); String getDocstructTargetPageType(String docstruct); String getPageTypeExitView(PageType type); int getFulltextPercentageWarningThreshold(); boolean isUseViewerLocaleAsRecordLanguage(); String getFeedbackEmailAddress(); boolean isBookmarksEnabled(); boolean isForceJpegConversion(); int getPageLoaderThreshold(); boolean isPreventProxyCaching(); boolean isSolrCompressionEnabled(); boolean isSolrBackwardsCompatible(); boolean isUserCommentsEnabled(); String getUserCommentsConditionalQuery(); List<String> getUserCommentsNotificationEmailAddresses(); String getViewerHome(); List<String> getWatermarkIdField(); String getSubthemeMainTheme(); String getSubthemeDiscriminatorField(); int getTagCloudSampleSize(String fieldName); List<StringPair> getTocVolumeSortFieldsForTemplate(String template); String getTocVolumeGroupFieldForTemplate(String template); boolean getDisplayTitleBreadcrumbs(); boolean isDisplayTitlePURL(); int getTitleBreadcrumbsMaxTitleLength(); boolean getIncludeAnchorInTitleBreadcrumbs(); boolean isDisplaySearchRssLinks(); boolean showThumbnailsInToc(); String getStartYearForTimeline(); String getEndYearForTimeline(); String getTimelineHits(); boolean isPiwikTrackingEnabled(); String getPiwikBaseURL(); String getPiwikSiteID(); boolean isSearchSavingEnabled(); boolean isBoostTopLevelDocstructs(); boolean isGroupDuplicateHits(); List<String> getRecordGroupIdentifierFields(); List<String> getAncestorIdentifierFields(); boolean isTocListSiblingRecords(); List<SearchFilter> getSearchFilters(); List<Map<String, String>> getWebApiFields(); String getDbPersistenceUnit(); boolean useCustomNavBar(); String getCmsTemplateFolder(); String getCmsMediaFolder(); String getTempMediaFolder(); List<String> getCmsClassifications(); int getCmsMediaDisplayWidth(); int getCmsMediaDisplayHeight(); boolean isTranskribusEnabled(); String getTranskribusUserName(); String getTranskribusPassword(); String getTranskribusDefaultCollection(); String getTranskribusRestApiUrl(); List<String> getTranskribusAllowedDocumentTypes(); int getTocIndentation(); boolean isPageBrowseEnabled(); List<Integer> getPageBrowseSteps(); String getTaskManagerServiceUrl(); String getTaskManagerRestUrl(); String getReCaptchaSiteKey(); boolean isUseReCaptcha(); boolean isSearchInItemEnabled(); String getDefaultBrowseIcon(String field); boolean isSearchExcelExportEnabled(); List<String> getSearchExcelExportFields(); int getExcelDownloadTimeout(); boolean isDisplayEmptyTocInSidebar(); boolean isDoublePageModeEnabled(); List<String> getRestrictedImageUrls(); List<String> getIIIFLicenses(); List<String> getIIIFMetadataFields(); List<String> getIIIFEventFields(); String getIIIFMetadataLabel(String field); int getIIIFDiscoveryAvtivitiesPerPage(); List<String> getIIIFLogo(); String getIIIFNavDateField(); List<String> getIIIFAttribution(); List<String> getIIIFDescriptionFields(); String getSitelinksField(); String getSitelinksFilterQuery(); List<String> getConfiguredCollections(); String getWebApiToken(); boolean isAllowRedirectCollectionToWork(); String getTwitterUserName(); float getLimitImageHeightUpperRatioThreshold(); float getLimitImageHeightLowerRatioThreshold(); boolean isLimitImageHeight(); boolean isAddCORSHeader(); String getCORSHeaderValue(); boolean isDiscloseImageContentLocation(); String getAccessConditionDisplayField(); String getCopyrightDisplayField(); boolean isDisplayCopyrightInfo(); boolean isDisplaySocialMediaShareLinks(); boolean isDisplayAnchorLabelInTitleBar(String template); String getAnchorLabelInTitleBarPrefix(String template); String getAnchorLabelInTitleBarSuffix(String template); String getMapBoxToken(); GeoMapMarker getGeoMapMarker(String name); List<String> getGeoMapMarkerFields(); List<GeoMapMarker> getGeoMapMarkers(); static GeoMapMarker readGeoMapMarker(HierarchicalConfiguration config); List<LicenseDescription> getLicenseDescriptions(); }
@Test(expected = RecordNotFoundException.class) public void getPdfDownloadQuotaForRecord_shouldThrowRecordNotFoundExceptionIfRecordNotFound() throws Exception { AccessConditionUtils.getPdfDownloadQuotaForRecord("notfound"); }
public static int getPdfDownloadQuotaForRecord(String pi) throws PresentationException, IndexUnreachableException, DAOException, RecordNotFoundException { if (StringUtils.isEmpty(pi)) { return 0; } SolrDocument doc = DataManager.getInstance() .getSearchIndex() .getFirstDoc("+" + SolrConstants.PI + ":\"" + pi + '"', Arrays.asList(new String[] { SolrConstants.ACCESSCONDITION, SolrConstants.ACCESSCONDITION_PDF_PERCENTAGE_QUOTA })); if (doc == null) { throw new RecordNotFoundException(pi + " not found in index"); } if (!doc.containsKey(SolrConstants.ACCESSCONDITION_PDF_PERCENTAGE_QUOTA)) { logger.trace("Record '{}' has no field '{}'", pi, SolrConstants.ACCESSCONDITION_PDF_PERCENTAGE_QUOTA); return 100; } List<String> requiredAccessConditions = SolrSearchIndex.getMetadataValues(doc, SolrConstants.ACCESSCONDITION); if (requiredAccessConditions == null || requiredAccessConditions.isEmpty() || requiredAccessConditions.get(0).equals(SolrConstants.OPEN_ACCESS_VALUE)) { logger.trace("Record '{}' is open access", pi); return 100; } List<LicenseType> relevantLicenseTypes = DataManager.getInstance().getDao().getLicenseTypes(requiredAccessConditions); if (relevantLicenseTypes.isEmpty()) { logger.trace("Record '{}' hsd access conditions that aren't configured in the database", pi); return 0; } for (LicenseType licenseType : relevantLicenseTypes) { if (licenseType.isPdfDownloadQuota()) { try { return Integer.valueOf((String) doc.getFieldValue(SolrConstants.ACCESSCONDITION_PDF_PERCENTAGE_QUOTA)); } catch (NumberFormatException e) { logger.error(e.getMessage()); return 0; } } } return 100; }
AccessConditionUtils { public static int getPdfDownloadQuotaForRecord(String pi) throws PresentationException, IndexUnreachableException, DAOException, RecordNotFoundException { if (StringUtils.isEmpty(pi)) { return 0; } SolrDocument doc = DataManager.getInstance() .getSearchIndex() .getFirstDoc("+" + SolrConstants.PI + ":\"" + pi + '"', Arrays.asList(new String[] { SolrConstants.ACCESSCONDITION, SolrConstants.ACCESSCONDITION_PDF_PERCENTAGE_QUOTA })); if (doc == null) { throw new RecordNotFoundException(pi + " not found in index"); } if (!doc.containsKey(SolrConstants.ACCESSCONDITION_PDF_PERCENTAGE_QUOTA)) { logger.trace("Record '{}' has no field '{}'", pi, SolrConstants.ACCESSCONDITION_PDF_PERCENTAGE_QUOTA); return 100; } List<String> requiredAccessConditions = SolrSearchIndex.getMetadataValues(doc, SolrConstants.ACCESSCONDITION); if (requiredAccessConditions == null || requiredAccessConditions.isEmpty() || requiredAccessConditions.get(0).equals(SolrConstants.OPEN_ACCESS_VALUE)) { logger.trace("Record '{}' is open access", pi); return 100; } List<LicenseType> relevantLicenseTypes = DataManager.getInstance().getDao().getLicenseTypes(requiredAccessConditions); if (relevantLicenseTypes.isEmpty()) { logger.trace("Record '{}' hsd access conditions that aren't configured in the database", pi); return 0; } for (LicenseType licenseType : relevantLicenseTypes) { if (licenseType.isPdfDownloadQuota()) { try { return Integer.valueOf((String) doc.getFieldValue(SolrConstants.ACCESSCONDITION_PDF_PERCENTAGE_QUOTA)); } catch (NumberFormatException e) { logger.error(e.getMessage()); return 0; } } } return 100; } }
AccessConditionUtils { public static int getPdfDownloadQuotaForRecord(String pi) throws PresentationException, IndexUnreachableException, DAOException, RecordNotFoundException { if (StringUtils.isEmpty(pi)) { return 0; } SolrDocument doc = DataManager.getInstance() .getSearchIndex() .getFirstDoc("+" + SolrConstants.PI + ":\"" + pi + '"', Arrays.asList(new String[] { SolrConstants.ACCESSCONDITION, SolrConstants.ACCESSCONDITION_PDF_PERCENTAGE_QUOTA })); if (doc == null) { throw new RecordNotFoundException(pi + " not found in index"); } if (!doc.containsKey(SolrConstants.ACCESSCONDITION_PDF_PERCENTAGE_QUOTA)) { logger.trace("Record '{}' has no field '{}'", pi, SolrConstants.ACCESSCONDITION_PDF_PERCENTAGE_QUOTA); return 100; } List<String> requiredAccessConditions = SolrSearchIndex.getMetadataValues(doc, SolrConstants.ACCESSCONDITION); if (requiredAccessConditions == null || requiredAccessConditions.isEmpty() || requiredAccessConditions.get(0).equals(SolrConstants.OPEN_ACCESS_VALUE)) { logger.trace("Record '{}' is open access", pi); return 100; } List<LicenseType> relevantLicenseTypes = DataManager.getInstance().getDao().getLicenseTypes(requiredAccessConditions); if (relevantLicenseTypes.isEmpty()) { logger.trace("Record '{}' hsd access conditions that aren't configured in the database", pi); return 0; } for (LicenseType licenseType : relevantLicenseTypes) { if (licenseType.isPdfDownloadQuota()) { try { return Integer.valueOf((String) doc.getFieldValue(SolrConstants.ACCESSCONDITION_PDF_PERCENTAGE_QUOTA)); } catch (NumberFormatException e) { logger.error(e.getMessage()); return 0; } } } return 100; } }
AccessConditionUtils { public static int getPdfDownloadQuotaForRecord(String pi) throws PresentationException, IndexUnreachableException, DAOException, RecordNotFoundException { if (StringUtils.isEmpty(pi)) { return 0; } SolrDocument doc = DataManager.getInstance() .getSearchIndex() .getFirstDoc("+" + SolrConstants.PI + ":\"" + pi + '"', Arrays.asList(new String[] { SolrConstants.ACCESSCONDITION, SolrConstants.ACCESSCONDITION_PDF_PERCENTAGE_QUOTA })); if (doc == null) { throw new RecordNotFoundException(pi + " not found in index"); } if (!doc.containsKey(SolrConstants.ACCESSCONDITION_PDF_PERCENTAGE_QUOTA)) { logger.trace("Record '{}' has no field '{}'", pi, SolrConstants.ACCESSCONDITION_PDF_PERCENTAGE_QUOTA); return 100; } List<String> requiredAccessConditions = SolrSearchIndex.getMetadataValues(doc, SolrConstants.ACCESSCONDITION); if (requiredAccessConditions == null || requiredAccessConditions.isEmpty() || requiredAccessConditions.get(0).equals(SolrConstants.OPEN_ACCESS_VALUE)) { logger.trace("Record '{}' is open access", pi); return 100; } List<LicenseType> relevantLicenseTypes = DataManager.getInstance().getDao().getLicenseTypes(requiredAccessConditions); if (relevantLicenseTypes.isEmpty()) { logger.trace("Record '{}' hsd access conditions that aren't configured in the database", pi); return 0; } for (LicenseType licenseType : relevantLicenseTypes) { if (licenseType.isPdfDownloadQuota()) { try { return Integer.valueOf((String) doc.getFieldValue(SolrConstants.ACCESSCONDITION_PDF_PERCENTAGE_QUOTA)); } catch (NumberFormatException e) { logger.error(e.getMessage()); return 0; } } } return 100; } static boolean checkAccess(HttpServletRequest request, String action, String pi, String contentFileName, boolean isThumbnail); static boolean checkAccessPermissionByIdentifierAndLogId(String identifier, String logId, String privilegeName, HttpServletRequest request); @SuppressWarnings("unchecked") static Map<String, Boolean> checkAccessPermissionByIdentiferForAllLogids(String identifier, String privilegeName, HttpServletRequest request); @SuppressWarnings("unchecked") static Map<String, Boolean> checkContentFileAccessPermission(String identifier, HttpServletRequest request, List<Path> files); static boolean checkAccessPermissionByImageUrn(String imageUrn, String privilegeName, HttpServletRequest request); static boolean checkAccessPermission(Set<String> requiredAccessConditions, String privilegeName, String query, HttpServletRequest request); static boolean checkAccessPermissionForImage(HttpServletRequest request, String pi, String contentFileName); static boolean checkAccessPermissionForThumbnail(HttpServletRequest request, String pi, String contentFileName); static boolean checkAccessPermissionForPagePdf(HttpServletRequest request, PhysicalElement page); static boolean checkAccessPermissionByIdentifierAndFilePathWithSessionMap(HttpServletRequest request, String filePath, String privilegeType); @SuppressWarnings("unchecked") static boolean checkAccessPermissionByIdentifierAndFileNameWithSessionMap(HttpServletRequest request, String pi, String contentFileName, String privilegeType); static boolean checkAccessPermission(List<LicenseType> allLicenseTypes, Set<String> requiredAccessConditions, String privilegeName, User user, String remoteAddress, String query); static boolean isFreeOpenAccess(Set<String> requiredAccessConditions, Collection<LicenseType> allLicenseTypes); static int getPdfDownloadQuotaForRecord(String pi); static boolean isConcurrentViewsLimitEnabledForAnyAccessCondition(List<String> accessConditions); }
AccessConditionUtils { public static int getPdfDownloadQuotaForRecord(String pi) throws PresentationException, IndexUnreachableException, DAOException, RecordNotFoundException { if (StringUtils.isEmpty(pi)) { return 0; } SolrDocument doc = DataManager.getInstance() .getSearchIndex() .getFirstDoc("+" + SolrConstants.PI + ":\"" + pi + '"', Arrays.asList(new String[] { SolrConstants.ACCESSCONDITION, SolrConstants.ACCESSCONDITION_PDF_PERCENTAGE_QUOTA })); if (doc == null) { throw new RecordNotFoundException(pi + " not found in index"); } if (!doc.containsKey(SolrConstants.ACCESSCONDITION_PDF_PERCENTAGE_QUOTA)) { logger.trace("Record '{}' has no field '{}'", pi, SolrConstants.ACCESSCONDITION_PDF_PERCENTAGE_QUOTA); return 100; } List<String> requiredAccessConditions = SolrSearchIndex.getMetadataValues(doc, SolrConstants.ACCESSCONDITION); if (requiredAccessConditions == null || requiredAccessConditions.isEmpty() || requiredAccessConditions.get(0).equals(SolrConstants.OPEN_ACCESS_VALUE)) { logger.trace("Record '{}' is open access", pi); return 100; } List<LicenseType> relevantLicenseTypes = DataManager.getInstance().getDao().getLicenseTypes(requiredAccessConditions); if (relevantLicenseTypes.isEmpty()) { logger.trace("Record '{}' hsd access conditions that aren't configured in the database", pi); return 0; } for (LicenseType licenseType : relevantLicenseTypes) { if (licenseType.isPdfDownloadQuota()) { try { return Integer.valueOf((String) doc.getFieldValue(SolrConstants.ACCESSCONDITION_PDF_PERCENTAGE_QUOTA)); } catch (NumberFormatException e) { logger.error(e.getMessage()); return 0; } } } return 100; } static boolean checkAccess(HttpServletRequest request, String action, String pi, String contentFileName, boolean isThumbnail); static boolean checkAccessPermissionByIdentifierAndLogId(String identifier, String logId, String privilegeName, HttpServletRequest request); @SuppressWarnings("unchecked") static Map<String, Boolean> checkAccessPermissionByIdentiferForAllLogids(String identifier, String privilegeName, HttpServletRequest request); @SuppressWarnings("unchecked") static Map<String, Boolean> checkContentFileAccessPermission(String identifier, HttpServletRequest request, List<Path> files); static boolean checkAccessPermissionByImageUrn(String imageUrn, String privilegeName, HttpServletRequest request); static boolean checkAccessPermission(Set<String> requiredAccessConditions, String privilegeName, String query, HttpServletRequest request); static boolean checkAccessPermissionForImage(HttpServletRequest request, String pi, String contentFileName); static boolean checkAccessPermissionForThumbnail(HttpServletRequest request, String pi, String contentFileName); static boolean checkAccessPermissionForPagePdf(HttpServletRequest request, PhysicalElement page); static boolean checkAccessPermissionByIdentifierAndFilePathWithSessionMap(HttpServletRequest request, String filePath, String privilegeType); @SuppressWarnings("unchecked") static boolean checkAccessPermissionByIdentifierAndFileNameWithSessionMap(HttpServletRequest request, String pi, String contentFileName, String privilegeType); static boolean checkAccessPermission(List<LicenseType> allLicenseTypes, Set<String> requiredAccessConditions, String privilegeName, User user, String remoteAddress, String query); static boolean isFreeOpenAccess(Set<String> requiredAccessConditions, Collection<LicenseType> allLicenseTypes); static int getPdfDownloadQuotaForRecord(String pi); static boolean isConcurrentViewsLimitEnabledForAnyAccessCondition(List<String> accessConditions); }
@Test public void getDownloadFolder_shouldReturnEmptyStringIfTypeUnknown() throws Exception { Assert.assertEquals("", DataManager.getInstance().getConfiguration().getDownloadFolder("xxx")); }
public String getDownloadFolder(String type) { switch (type.toLowerCase()) { case "pdf": return getLocalString("pdf.downloadFolder", "/opt/digiverso/viewer/pdf_download"); case "epub": return getLocalString("epub.downloadFolder", "/opt/digiverso/viewer/epub_download"); default: return ""; } }
Configuration extends AbstractConfiguration { public String getDownloadFolder(String type) { switch (type.toLowerCase()) { case "pdf": return getLocalString("pdf.downloadFolder", "/opt/digiverso/viewer/pdf_download"); case "epub": return getLocalString("epub.downloadFolder", "/opt/digiverso/viewer/epub_download"); default: return ""; } } }
Configuration extends AbstractConfiguration { public String getDownloadFolder(String type) { switch (type.toLowerCase()) { case "pdf": return getLocalString("pdf.downloadFolder", "/opt/digiverso/viewer/pdf_download"); case "epub": return getLocalString("epub.downloadFolder", "/opt/digiverso/viewer/epub_download"); default: return ""; } } Configuration(String configFilePath); }
Configuration extends AbstractConfiguration { public String getDownloadFolder(String type) { switch (type.toLowerCase()) { case "pdf": return getLocalString("pdf.downloadFolder", "/opt/digiverso/viewer/pdf_download"); case "epub": return getLocalString("epub.downloadFolder", "/opt/digiverso/viewer/epub_download"); default: return ""; } } Configuration(String configFilePath); Set<String> getStopwords(); boolean reloadingRequired(); String getConfigLocalPath(); String getLocalRessourceBundleFile(); int getViewerThumbnailsPerPage(); int getViewerMaxImageWidth(); int getViewerMaxImageHeight(); int getViewerMaxImageScale(); boolean isRememberImageZoom(); boolean isRememberImageRotation(); String getDfgViewerUrl(); String getConnectorVersionUrl(); List<Metadata> getTitleBarMetadata(); List<Metadata> getSearchHitMetadataForTemplate(String template); List<Metadata> getMainMetadataForTemplate(String template); List<Metadata> getSidebarMetadataForTemplate(String template); List<String> getNormdataFieldsForTemplate(String template); List<Metadata> getTocLabelConfiguration(String template); int getTocAnchorGroupElementsPerPage(); boolean isDisplaySidebarBrowsingTerms(); boolean isDisplaySidebarRssFeed(); boolean isDisplayWidgetUsage(); Metadata getWidgetUsageLicenceTextMetadata(); boolean isDisplaySidebarUsageWidgetLinkToJpegImage(); boolean isDisplaySidebarUsageWidgetLinkToMasterImage(); String getWidgetUsageMaxJpegSize(); String getWidgetUsageMaxMasterImageSize(); List<String> getCalendarDocStructTypes(); boolean isBrowsingMenuEnabled(); int getBrowsingMenuHitsPerPage(); List<BrowsingMenuFieldConfig> getBrowsingMenuFields(); String getBrowsingMenuSortingIgnoreLeadingChars(); String getDocstrctWhitelistFilterQuery(); String getCollectionSplittingChar(String field); List<DcSortingList> getCollectionSorting(String field); List<String> getCollectionBlacklist(String field); String getCollectionDefaultSortField(String field, String name); int getCollectionDisplayNumberOfVolumesLevel(String field); int getCollectionDisplayDepthForSearch(String field); String getCollectionHierarchyField(); boolean isAddCollectionHierarchyToBreadcrumbs(String field); String getSolrUrl(); String getContentServerWrapperUrl(); String getDownloadUrl(); String getRestApiUrl(); String getIIIFApiUrl(); boolean isUseIIIFApiUrlForCmsMediaUrls(); String getContentServerRealUrl(); String getMetsUrl(); String getMarcUrl(); String getDcUrl(); String getEseUrl(); List<Integer> getSearchHitsPerPageValues(); int getSearchHitsPerPageDefaultValue(); int getFulltextFragmentLength(); boolean isAdvancedSearchEnabled(); int getAdvancedSearchDefaultItemNumber(); List<AdvancedSearchFieldConfiguration> getAdvancedSearchFields(); boolean isAggregateHits(); boolean isDisplayAdditionalMetadataEnabled(); List<String> getDisplayAdditionalMetadataIgnoreFields(); List<String> getDisplayAdditionalMetadataTranslateFields(); boolean isAdvancedSearchFieldHierarchical(String field); boolean isAdvancedSearchFieldRange(String field); boolean isAdvancedSearchFieldUntokenizeForPhraseSearch(String field); String getAdvancedSearchFieldSeparatorLabel(String field); boolean isTimelineSearchEnabled(); boolean isCalendarSearchEnabled(); String getStaticQuerySuffix(); String getPreviousVersionIdentifierField(); String getNextVersionIdentifierField(); String getVersionLabelField(); String getIndexedMetsFolder(); String getIndexedLidoFolder(); String getIndexedDenkxwebFolder(); String getIndexedDublinCoreFolder(); String getPageSelectionFormat(); String getMediaFolder(); String getPdfFolder(); String getVocabulariesFolder(); String getOrigContentFolder(); String getCmsTextFolder(); String getAltoFolder(); String getAbbyyFolder(); String getFulltextFolder(); String getTeiFolder(); String getCmdiFolder(); String getWcFolder(); String getAnnotationFolder(); String getHotfolder(); @SuppressWarnings("static-method") String getTempFolder(); boolean isUrnDoRedirect(); boolean isUserRegistrationEnabled(); List<SecurityQuestion> getSecurityQuestions(); boolean isShowOpenIdConnect(); List<IAuthenticationProvider> getAuthenticationProviders(); String getSmtpServer(); String getSmtpUser(); String getSmtpPassword(); String getSmtpSenderAddress(); String getSmtpSenderName(); String getSmtpSecurity(); String getAnonymousUserEmailAddress(); boolean isDisplayCollectionBrowsing(); boolean isDisplayUserNavigation(); boolean isDisplayTagCloudNavigation(); boolean isDisplayStatistics(); boolean isDisplayTimeMatrix(); boolean isDisplayCrowdsourcingModuleLinks(); String getTheme(); String getThemeRootPath(); String getName(); String getDescription(); boolean isDisplayTagCloudStartpage(); boolean isDisplaySearchResultNavigation(); boolean isFoldout(String sidebarElement); boolean isSidebarPageViewLinkVisible(); boolean isSidebarCalendarViewLinkVisible(); boolean isSidebarTocViewLinkVisible(); boolean isSidebarThumbsViewLinkVisible(); boolean isSidebarMetadataViewLinkVisible(); boolean isShowSidebarEventMetadata(); boolean isShowRecordLabelIfNoOtherViews(); boolean isSidebarFulltextLinkVisible(); boolean isSidebarTocWidgetVisible(); boolean isSidebarTocWidgetVisibleInFullscreen(); boolean isSidebarOpacLinkVisible(); boolean getSidebarTocPageNumbersVisible(); int getSidebarTocLengthBeforeCut(); int getSidebarTocInitialCollapseLevel(); int getSidebarTocCollapseLengthThreshold(); int getSidebarTocLowestLevelToCollapseForLength(); boolean isSidebarTocTreeView(); boolean isTocTreeView(String docStructType); List<String> getAllDrillDownFields(); List<String> getDrillDownFields(); List<String> getHierarchicalDrillDownFields(); int getInitialDrillDownElementNumber(String field); String getSortOrder(String field); List<String> getPriorityValuesForDrillDownField(String field); String getLabelFieldForDrillDownField(String facetField); @SuppressWarnings("static-method") List<String> getRangeFacetFields(); boolean isSortingEnabled(); String getDefaultSortField(); List<String> getSortFields(); List<String> getStaticSortFields(); String getUrnResolverUrl(); int getUnconditionalImageAccessMaxWidth(); boolean isFullAccessForLocalhost(); boolean isGeneratePdfInTaskManager(); boolean isPdfApiDisabled(); boolean isTitlePdfEnabled(); boolean isTocPdfEnabled(); boolean isMetadataPdfEnabled(); boolean isPagePdfEnabled(); boolean isDocHierarchyPdfEnabled(); boolean isTitleEpubEnabled(); boolean isTocEpubEnabled(); boolean isMetadataEpubEnabled(); String getDownloadFolder(String type); int getRssFeedItems(); String getRssTitle(); String getRssDescription(); String getRssCopyrightText(); String getRulesetFilePath(); String getDefaultCollection(); int getThumbnailsWidth(); int getThumbnailsHeight(); int getThumbnailsCompression(); String getAnchorThumbnailMode(); int getMultivolumeThumbnailWidth(); int getMultivolumeThumbnailHeight(); boolean getDisplayBreadcrumbs(); boolean getDisplayMetadataPageLinkBlock(); boolean isAddDublinCoreMetaTags(); boolean isAddHighwirePressMetaTags(); int getMetadataParamNumber(); boolean useTiles(); boolean useTilesFullscreen(); boolean useTiles(PageType view, ImageType image); int getFooterHeight(); int getFullscreenFooterHeight(); int getFooterHeight(PageType view, ImageType image); String getImageViewType(); String getZoomFullscreenViewType(); String getZoomImageViewType(PageType view, ImageType image); boolean useOpenSeadragon(); List<String> getImageViewZoomScales(); List<String> getImageViewZoomScales(String view); List<String> getImageViewZoomScales(PageType view, ImageType image); Map<Integer, List<Integer>> getTileSizes(); Map<Integer, List<Integer>> getTileSizes(PageType view, ImageType image); SubnodeConfiguration getZoomImageViewConfig(PageType pageType, ImageType imageType); int getBreadcrumbsClipping(); boolean isDisplayTopstructLabel(); boolean getDisplayStructType(); int getSearchHitMetadataValueNumber(); int getSearchHitMetadataValueLength(); List<String> getWatermarkTextConfiguration(); String getWatermarkFormat(); boolean isOriginalContentDownload(); String getStopwordsFilePath(); String getPageType(PageType type); String getDocstructTargetPageType(String docstruct); String getPageTypeExitView(PageType type); int getFulltextPercentageWarningThreshold(); boolean isUseViewerLocaleAsRecordLanguage(); String getFeedbackEmailAddress(); boolean isBookmarksEnabled(); boolean isForceJpegConversion(); int getPageLoaderThreshold(); boolean isPreventProxyCaching(); boolean isSolrCompressionEnabled(); boolean isSolrBackwardsCompatible(); boolean isUserCommentsEnabled(); String getUserCommentsConditionalQuery(); List<String> getUserCommentsNotificationEmailAddresses(); String getViewerHome(); List<String> getWatermarkIdField(); String getSubthemeMainTheme(); String getSubthemeDiscriminatorField(); int getTagCloudSampleSize(String fieldName); List<StringPair> getTocVolumeSortFieldsForTemplate(String template); String getTocVolumeGroupFieldForTemplate(String template); boolean getDisplayTitleBreadcrumbs(); boolean isDisplayTitlePURL(); int getTitleBreadcrumbsMaxTitleLength(); boolean getIncludeAnchorInTitleBreadcrumbs(); boolean isDisplaySearchRssLinks(); boolean showThumbnailsInToc(); String getStartYearForTimeline(); String getEndYearForTimeline(); String getTimelineHits(); boolean isPiwikTrackingEnabled(); String getPiwikBaseURL(); String getPiwikSiteID(); boolean isSearchSavingEnabled(); boolean isBoostTopLevelDocstructs(); boolean isGroupDuplicateHits(); List<String> getRecordGroupIdentifierFields(); List<String> getAncestorIdentifierFields(); boolean isTocListSiblingRecords(); List<SearchFilter> getSearchFilters(); List<Map<String, String>> getWebApiFields(); String getDbPersistenceUnit(); boolean useCustomNavBar(); String getCmsTemplateFolder(); String getCmsMediaFolder(); String getTempMediaFolder(); List<String> getCmsClassifications(); int getCmsMediaDisplayWidth(); int getCmsMediaDisplayHeight(); boolean isTranskribusEnabled(); String getTranskribusUserName(); String getTranskribusPassword(); String getTranskribusDefaultCollection(); String getTranskribusRestApiUrl(); List<String> getTranskribusAllowedDocumentTypes(); int getTocIndentation(); boolean isPageBrowseEnabled(); List<Integer> getPageBrowseSteps(); String getTaskManagerServiceUrl(); String getTaskManagerRestUrl(); String getReCaptchaSiteKey(); boolean isUseReCaptcha(); boolean isSearchInItemEnabled(); String getDefaultBrowseIcon(String field); boolean isSearchExcelExportEnabled(); List<String> getSearchExcelExportFields(); int getExcelDownloadTimeout(); boolean isDisplayEmptyTocInSidebar(); boolean isDoublePageModeEnabled(); List<String> getRestrictedImageUrls(); List<String> getIIIFLicenses(); List<String> getIIIFMetadataFields(); List<String> getIIIFEventFields(); String getIIIFMetadataLabel(String field); int getIIIFDiscoveryAvtivitiesPerPage(); List<String> getIIIFLogo(); String getIIIFNavDateField(); List<String> getIIIFAttribution(); List<String> getIIIFDescriptionFields(); String getSitelinksField(); String getSitelinksFilterQuery(); List<String> getConfiguredCollections(); String getWebApiToken(); boolean isAllowRedirectCollectionToWork(); String getTwitterUserName(); float getLimitImageHeightUpperRatioThreshold(); float getLimitImageHeightLowerRatioThreshold(); boolean isLimitImageHeight(); boolean isAddCORSHeader(); String getCORSHeaderValue(); boolean isDiscloseImageContentLocation(); String getAccessConditionDisplayField(); String getCopyrightDisplayField(); boolean isDisplayCopyrightInfo(); boolean isDisplaySocialMediaShareLinks(); boolean isDisplayAnchorLabelInTitleBar(String template); String getAnchorLabelInTitleBarPrefix(String template); String getAnchorLabelInTitleBarSuffix(String template); String getMapBoxToken(); GeoMapMarker getGeoMapMarker(String name); List<String> getGeoMapMarkerFields(); List<GeoMapMarker> getGeoMapMarkers(); static GeoMapMarker readGeoMapMarker(HierarchicalConfiguration config); List<LicenseDescription> getLicenseDescriptions(); }
Configuration extends AbstractConfiguration { public String getDownloadFolder(String type) { switch (type.toLowerCase()) { case "pdf": return getLocalString("pdf.downloadFolder", "/opt/digiverso/viewer/pdf_download"); case "epub": return getLocalString("epub.downloadFolder", "/opt/digiverso/viewer/epub_download"); default: return ""; } } Configuration(String configFilePath); Set<String> getStopwords(); boolean reloadingRequired(); String getConfigLocalPath(); String getLocalRessourceBundleFile(); int getViewerThumbnailsPerPage(); int getViewerMaxImageWidth(); int getViewerMaxImageHeight(); int getViewerMaxImageScale(); boolean isRememberImageZoom(); boolean isRememberImageRotation(); String getDfgViewerUrl(); String getConnectorVersionUrl(); List<Metadata> getTitleBarMetadata(); List<Metadata> getSearchHitMetadataForTemplate(String template); List<Metadata> getMainMetadataForTemplate(String template); List<Metadata> getSidebarMetadataForTemplate(String template); List<String> getNormdataFieldsForTemplate(String template); List<Metadata> getTocLabelConfiguration(String template); int getTocAnchorGroupElementsPerPage(); boolean isDisplaySidebarBrowsingTerms(); boolean isDisplaySidebarRssFeed(); boolean isDisplayWidgetUsage(); Metadata getWidgetUsageLicenceTextMetadata(); boolean isDisplaySidebarUsageWidgetLinkToJpegImage(); boolean isDisplaySidebarUsageWidgetLinkToMasterImage(); String getWidgetUsageMaxJpegSize(); String getWidgetUsageMaxMasterImageSize(); List<String> getCalendarDocStructTypes(); boolean isBrowsingMenuEnabled(); int getBrowsingMenuHitsPerPage(); List<BrowsingMenuFieldConfig> getBrowsingMenuFields(); String getBrowsingMenuSortingIgnoreLeadingChars(); String getDocstrctWhitelistFilterQuery(); String getCollectionSplittingChar(String field); List<DcSortingList> getCollectionSorting(String field); List<String> getCollectionBlacklist(String field); String getCollectionDefaultSortField(String field, String name); int getCollectionDisplayNumberOfVolumesLevel(String field); int getCollectionDisplayDepthForSearch(String field); String getCollectionHierarchyField(); boolean isAddCollectionHierarchyToBreadcrumbs(String field); String getSolrUrl(); String getContentServerWrapperUrl(); String getDownloadUrl(); String getRestApiUrl(); String getIIIFApiUrl(); boolean isUseIIIFApiUrlForCmsMediaUrls(); String getContentServerRealUrl(); String getMetsUrl(); String getMarcUrl(); String getDcUrl(); String getEseUrl(); List<Integer> getSearchHitsPerPageValues(); int getSearchHitsPerPageDefaultValue(); int getFulltextFragmentLength(); boolean isAdvancedSearchEnabled(); int getAdvancedSearchDefaultItemNumber(); List<AdvancedSearchFieldConfiguration> getAdvancedSearchFields(); boolean isAggregateHits(); boolean isDisplayAdditionalMetadataEnabled(); List<String> getDisplayAdditionalMetadataIgnoreFields(); List<String> getDisplayAdditionalMetadataTranslateFields(); boolean isAdvancedSearchFieldHierarchical(String field); boolean isAdvancedSearchFieldRange(String field); boolean isAdvancedSearchFieldUntokenizeForPhraseSearch(String field); String getAdvancedSearchFieldSeparatorLabel(String field); boolean isTimelineSearchEnabled(); boolean isCalendarSearchEnabled(); String getStaticQuerySuffix(); String getPreviousVersionIdentifierField(); String getNextVersionIdentifierField(); String getVersionLabelField(); String getIndexedMetsFolder(); String getIndexedLidoFolder(); String getIndexedDenkxwebFolder(); String getIndexedDublinCoreFolder(); String getPageSelectionFormat(); String getMediaFolder(); String getPdfFolder(); String getVocabulariesFolder(); String getOrigContentFolder(); String getCmsTextFolder(); String getAltoFolder(); String getAbbyyFolder(); String getFulltextFolder(); String getTeiFolder(); String getCmdiFolder(); String getWcFolder(); String getAnnotationFolder(); String getHotfolder(); @SuppressWarnings("static-method") String getTempFolder(); boolean isUrnDoRedirect(); boolean isUserRegistrationEnabled(); List<SecurityQuestion> getSecurityQuestions(); boolean isShowOpenIdConnect(); List<IAuthenticationProvider> getAuthenticationProviders(); String getSmtpServer(); String getSmtpUser(); String getSmtpPassword(); String getSmtpSenderAddress(); String getSmtpSenderName(); String getSmtpSecurity(); String getAnonymousUserEmailAddress(); boolean isDisplayCollectionBrowsing(); boolean isDisplayUserNavigation(); boolean isDisplayTagCloudNavigation(); boolean isDisplayStatistics(); boolean isDisplayTimeMatrix(); boolean isDisplayCrowdsourcingModuleLinks(); String getTheme(); String getThemeRootPath(); String getName(); String getDescription(); boolean isDisplayTagCloudStartpage(); boolean isDisplaySearchResultNavigation(); boolean isFoldout(String sidebarElement); boolean isSidebarPageViewLinkVisible(); boolean isSidebarCalendarViewLinkVisible(); boolean isSidebarTocViewLinkVisible(); boolean isSidebarThumbsViewLinkVisible(); boolean isSidebarMetadataViewLinkVisible(); boolean isShowSidebarEventMetadata(); boolean isShowRecordLabelIfNoOtherViews(); boolean isSidebarFulltextLinkVisible(); boolean isSidebarTocWidgetVisible(); boolean isSidebarTocWidgetVisibleInFullscreen(); boolean isSidebarOpacLinkVisible(); boolean getSidebarTocPageNumbersVisible(); int getSidebarTocLengthBeforeCut(); int getSidebarTocInitialCollapseLevel(); int getSidebarTocCollapseLengthThreshold(); int getSidebarTocLowestLevelToCollapseForLength(); boolean isSidebarTocTreeView(); boolean isTocTreeView(String docStructType); List<String> getAllDrillDownFields(); List<String> getDrillDownFields(); List<String> getHierarchicalDrillDownFields(); int getInitialDrillDownElementNumber(String field); String getSortOrder(String field); List<String> getPriorityValuesForDrillDownField(String field); String getLabelFieldForDrillDownField(String facetField); @SuppressWarnings("static-method") List<String> getRangeFacetFields(); boolean isSortingEnabled(); String getDefaultSortField(); List<String> getSortFields(); List<String> getStaticSortFields(); String getUrnResolverUrl(); int getUnconditionalImageAccessMaxWidth(); boolean isFullAccessForLocalhost(); boolean isGeneratePdfInTaskManager(); boolean isPdfApiDisabled(); boolean isTitlePdfEnabled(); boolean isTocPdfEnabled(); boolean isMetadataPdfEnabled(); boolean isPagePdfEnabled(); boolean isDocHierarchyPdfEnabled(); boolean isTitleEpubEnabled(); boolean isTocEpubEnabled(); boolean isMetadataEpubEnabled(); String getDownloadFolder(String type); int getRssFeedItems(); String getRssTitle(); String getRssDescription(); String getRssCopyrightText(); String getRulesetFilePath(); String getDefaultCollection(); int getThumbnailsWidth(); int getThumbnailsHeight(); int getThumbnailsCompression(); String getAnchorThumbnailMode(); int getMultivolumeThumbnailWidth(); int getMultivolumeThumbnailHeight(); boolean getDisplayBreadcrumbs(); boolean getDisplayMetadataPageLinkBlock(); boolean isAddDublinCoreMetaTags(); boolean isAddHighwirePressMetaTags(); int getMetadataParamNumber(); boolean useTiles(); boolean useTilesFullscreen(); boolean useTiles(PageType view, ImageType image); int getFooterHeight(); int getFullscreenFooterHeight(); int getFooterHeight(PageType view, ImageType image); String getImageViewType(); String getZoomFullscreenViewType(); String getZoomImageViewType(PageType view, ImageType image); boolean useOpenSeadragon(); List<String> getImageViewZoomScales(); List<String> getImageViewZoomScales(String view); List<String> getImageViewZoomScales(PageType view, ImageType image); Map<Integer, List<Integer>> getTileSizes(); Map<Integer, List<Integer>> getTileSizes(PageType view, ImageType image); SubnodeConfiguration getZoomImageViewConfig(PageType pageType, ImageType imageType); int getBreadcrumbsClipping(); boolean isDisplayTopstructLabel(); boolean getDisplayStructType(); int getSearchHitMetadataValueNumber(); int getSearchHitMetadataValueLength(); List<String> getWatermarkTextConfiguration(); String getWatermarkFormat(); boolean isOriginalContentDownload(); String getStopwordsFilePath(); String getPageType(PageType type); String getDocstructTargetPageType(String docstruct); String getPageTypeExitView(PageType type); int getFulltextPercentageWarningThreshold(); boolean isUseViewerLocaleAsRecordLanguage(); String getFeedbackEmailAddress(); boolean isBookmarksEnabled(); boolean isForceJpegConversion(); int getPageLoaderThreshold(); boolean isPreventProxyCaching(); boolean isSolrCompressionEnabled(); boolean isSolrBackwardsCompatible(); boolean isUserCommentsEnabled(); String getUserCommentsConditionalQuery(); List<String> getUserCommentsNotificationEmailAddresses(); String getViewerHome(); List<String> getWatermarkIdField(); String getSubthemeMainTheme(); String getSubthemeDiscriminatorField(); int getTagCloudSampleSize(String fieldName); List<StringPair> getTocVolumeSortFieldsForTemplate(String template); String getTocVolumeGroupFieldForTemplate(String template); boolean getDisplayTitleBreadcrumbs(); boolean isDisplayTitlePURL(); int getTitleBreadcrumbsMaxTitleLength(); boolean getIncludeAnchorInTitleBreadcrumbs(); boolean isDisplaySearchRssLinks(); boolean showThumbnailsInToc(); String getStartYearForTimeline(); String getEndYearForTimeline(); String getTimelineHits(); boolean isPiwikTrackingEnabled(); String getPiwikBaseURL(); String getPiwikSiteID(); boolean isSearchSavingEnabled(); boolean isBoostTopLevelDocstructs(); boolean isGroupDuplicateHits(); List<String> getRecordGroupIdentifierFields(); List<String> getAncestorIdentifierFields(); boolean isTocListSiblingRecords(); List<SearchFilter> getSearchFilters(); List<Map<String, String>> getWebApiFields(); String getDbPersistenceUnit(); boolean useCustomNavBar(); String getCmsTemplateFolder(); String getCmsMediaFolder(); String getTempMediaFolder(); List<String> getCmsClassifications(); int getCmsMediaDisplayWidth(); int getCmsMediaDisplayHeight(); boolean isTranskribusEnabled(); String getTranskribusUserName(); String getTranskribusPassword(); String getTranskribusDefaultCollection(); String getTranskribusRestApiUrl(); List<String> getTranskribusAllowedDocumentTypes(); int getTocIndentation(); boolean isPageBrowseEnabled(); List<Integer> getPageBrowseSteps(); String getTaskManagerServiceUrl(); String getTaskManagerRestUrl(); String getReCaptchaSiteKey(); boolean isUseReCaptcha(); boolean isSearchInItemEnabled(); String getDefaultBrowseIcon(String field); boolean isSearchExcelExportEnabled(); List<String> getSearchExcelExportFields(); int getExcelDownloadTimeout(); boolean isDisplayEmptyTocInSidebar(); boolean isDoublePageModeEnabled(); List<String> getRestrictedImageUrls(); List<String> getIIIFLicenses(); List<String> getIIIFMetadataFields(); List<String> getIIIFEventFields(); String getIIIFMetadataLabel(String field); int getIIIFDiscoveryAvtivitiesPerPage(); List<String> getIIIFLogo(); String getIIIFNavDateField(); List<String> getIIIFAttribution(); List<String> getIIIFDescriptionFields(); String getSitelinksField(); String getSitelinksFilterQuery(); List<String> getConfiguredCollections(); String getWebApiToken(); boolean isAllowRedirectCollectionToWork(); String getTwitterUserName(); float getLimitImageHeightUpperRatioThreshold(); float getLimitImageHeightLowerRatioThreshold(); boolean isLimitImageHeight(); boolean isAddCORSHeader(); String getCORSHeaderValue(); boolean isDiscloseImageContentLocation(); String getAccessConditionDisplayField(); String getCopyrightDisplayField(); boolean isDisplayCopyrightInfo(); boolean isDisplaySocialMediaShareLinks(); boolean isDisplayAnchorLabelInTitleBar(String template); String getAnchorLabelInTitleBarPrefix(String template); String getAnchorLabelInTitleBarSuffix(String template); String getMapBoxToken(); GeoMapMarker getGeoMapMarker(String name); List<String> getGeoMapMarkerFields(); List<GeoMapMarker> getGeoMapMarkers(); static GeoMapMarker readGeoMapMarker(HierarchicalConfiguration config); List<LicenseDescription> getLicenseDescriptions(); }
@Test public void isPreventProxyCaching_shouldReturnCorrectValue() throws Exception { Assert.assertEquals(true, DataManager.getInstance().getConfiguration().isPreventProxyCaching()); }
public boolean isPreventProxyCaching() { return getLocalBoolean(("performance.preventProxyCaching"), false); }
Configuration extends AbstractConfiguration { public boolean isPreventProxyCaching() { return getLocalBoolean(("performance.preventProxyCaching"), false); } }
Configuration extends AbstractConfiguration { public boolean isPreventProxyCaching() { return getLocalBoolean(("performance.preventProxyCaching"), false); } Configuration(String configFilePath); }
Configuration extends AbstractConfiguration { public boolean isPreventProxyCaching() { return getLocalBoolean(("performance.preventProxyCaching"), false); } Configuration(String configFilePath); Set<String> getStopwords(); boolean reloadingRequired(); String getConfigLocalPath(); String getLocalRessourceBundleFile(); int getViewerThumbnailsPerPage(); int getViewerMaxImageWidth(); int getViewerMaxImageHeight(); int getViewerMaxImageScale(); boolean isRememberImageZoom(); boolean isRememberImageRotation(); String getDfgViewerUrl(); String getConnectorVersionUrl(); List<Metadata> getTitleBarMetadata(); List<Metadata> getSearchHitMetadataForTemplate(String template); List<Metadata> getMainMetadataForTemplate(String template); List<Metadata> getSidebarMetadataForTemplate(String template); List<String> getNormdataFieldsForTemplate(String template); List<Metadata> getTocLabelConfiguration(String template); int getTocAnchorGroupElementsPerPage(); boolean isDisplaySidebarBrowsingTerms(); boolean isDisplaySidebarRssFeed(); boolean isDisplayWidgetUsage(); Metadata getWidgetUsageLicenceTextMetadata(); boolean isDisplaySidebarUsageWidgetLinkToJpegImage(); boolean isDisplaySidebarUsageWidgetLinkToMasterImage(); String getWidgetUsageMaxJpegSize(); String getWidgetUsageMaxMasterImageSize(); List<String> getCalendarDocStructTypes(); boolean isBrowsingMenuEnabled(); int getBrowsingMenuHitsPerPage(); List<BrowsingMenuFieldConfig> getBrowsingMenuFields(); String getBrowsingMenuSortingIgnoreLeadingChars(); String getDocstrctWhitelistFilterQuery(); String getCollectionSplittingChar(String field); List<DcSortingList> getCollectionSorting(String field); List<String> getCollectionBlacklist(String field); String getCollectionDefaultSortField(String field, String name); int getCollectionDisplayNumberOfVolumesLevel(String field); int getCollectionDisplayDepthForSearch(String field); String getCollectionHierarchyField(); boolean isAddCollectionHierarchyToBreadcrumbs(String field); String getSolrUrl(); String getContentServerWrapperUrl(); String getDownloadUrl(); String getRestApiUrl(); String getIIIFApiUrl(); boolean isUseIIIFApiUrlForCmsMediaUrls(); String getContentServerRealUrl(); String getMetsUrl(); String getMarcUrl(); String getDcUrl(); String getEseUrl(); List<Integer> getSearchHitsPerPageValues(); int getSearchHitsPerPageDefaultValue(); int getFulltextFragmentLength(); boolean isAdvancedSearchEnabled(); int getAdvancedSearchDefaultItemNumber(); List<AdvancedSearchFieldConfiguration> getAdvancedSearchFields(); boolean isAggregateHits(); boolean isDisplayAdditionalMetadataEnabled(); List<String> getDisplayAdditionalMetadataIgnoreFields(); List<String> getDisplayAdditionalMetadataTranslateFields(); boolean isAdvancedSearchFieldHierarchical(String field); boolean isAdvancedSearchFieldRange(String field); boolean isAdvancedSearchFieldUntokenizeForPhraseSearch(String field); String getAdvancedSearchFieldSeparatorLabel(String field); boolean isTimelineSearchEnabled(); boolean isCalendarSearchEnabled(); String getStaticQuerySuffix(); String getPreviousVersionIdentifierField(); String getNextVersionIdentifierField(); String getVersionLabelField(); String getIndexedMetsFolder(); String getIndexedLidoFolder(); String getIndexedDenkxwebFolder(); String getIndexedDublinCoreFolder(); String getPageSelectionFormat(); String getMediaFolder(); String getPdfFolder(); String getVocabulariesFolder(); String getOrigContentFolder(); String getCmsTextFolder(); String getAltoFolder(); String getAbbyyFolder(); String getFulltextFolder(); String getTeiFolder(); String getCmdiFolder(); String getWcFolder(); String getAnnotationFolder(); String getHotfolder(); @SuppressWarnings("static-method") String getTempFolder(); boolean isUrnDoRedirect(); boolean isUserRegistrationEnabled(); List<SecurityQuestion> getSecurityQuestions(); boolean isShowOpenIdConnect(); List<IAuthenticationProvider> getAuthenticationProviders(); String getSmtpServer(); String getSmtpUser(); String getSmtpPassword(); String getSmtpSenderAddress(); String getSmtpSenderName(); String getSmtpSecurity(); String getAnonymousUserEmailAddress(); boolean isDisplayCollectionBrowsing(); boolean isDisplayUserNavigation(); boolean isDisplayTagCloudNavigation(); boolean isDisplayStatistics(); boolean isDisplayTimeMatrix(); boolean isDisplayCrowdsourcingModuleLinks(); String getTheme(); String getThemeRootPath(); String getName(); String getDescription(); boolean isDisplayTagCloudStartpage(); boolean isDisplaySearchResultNavigation(); boolean isFoldout(String sidebarElement); boolean isSidebarPageViewLinkVisible(); boolean isSidebarCalendarViewLinkVisible(); boolean isSidebarTocViewLinkVisible(); boolean isSidebarThumbsViewLinkVisible(); boolean isSidebarMetadataViewLinkVisible(); boolean isShowSidebarEventMetadata(); boolean isShowRecordLabelIfNoOtherViews(); boolean isSidebarFulltextLinkVisible(); boolean isSidebarTocWidgetVisible(); boolean isSidebarTocWidgetVisibleInFullscreen(); boolean isSidebarOpacLinkVisible(); boolean getSidebarTocPageNumbersVisible(); int getSidebarTocLengthBeforeCut(); int getSidebarTocInitialCollapseLevel(); int getSidebarTocCollapseLengthThreshold(); int getSidebarTocLowestLevelToCollapseForLength(); boolean isSidebarTocTreeView(); boolean isTocTreeView(String docStructType); List<String> getAllDrillDownFields(); List<String> getDrillDownFields(); List<String> getHierarchicalDrillDownFields(); int getInitialDrillDownElementNumber(String field); String getSortOrder(String field); List<String> getPriorityValuesForDrillDownField(String field); String getLabelFieldForDrillDownField(String facetField); @SuppressWarnings("static-method") List<String> getRangeFacetFields(); boolean isSortingEnabled(); String getDefaultSortField(); List<String> getSortFields(); List<String> getStaticSortFields(); String getUrnResolverUrl(); int getUnconditionalImageAccessMaxWidth(); boolean isFullAccessForLocalhost(); boolean isGeneratePdfInTaskManager(); boolean isPdfApiDisabled(); boolean isTitlePdfEnabled(); boolean isTocPdfEnabled(); boolean isMetadataPdfEnabled(); boolean isPagePdfEnabled(); boolean isDocHierarchyPdfEnabled(); boolean isTitleEpubEnabled(); boolean isTocEpubEnabled(); boolean isMetadataEpubEnabled(); String getDownloadFolder(String type); int getRssFeedItems(); String getRssTitle(); String getRssDescription(); String getRssCopyrightText(); String getRulesetFilePath(); String getDefaultCollection(); int getThumbnailsWidth(); int getThumbnailsHeight(); int getThumbnailsCompression(); String getAnchorThumbnailMode(); int getMultivolumeThumbnailWidth(); int getMultivolumeThumbnailHeight(); boolean getDisplayBreadcrumbs(); boolean getDisplayMetadataPageLinkBlock(); boolean isAddDublinCoreMetaTags(); boolean isAddHighwirePressMetaTags(); int getMetadataParamNumber(); boolean useTiles(); boolean useTilesFullscreen(); boolean useTiles(PageType view, ImageType image); int getFooterHeight(); int getFullscreenFooterHeight(); int getFooterHeight(PageType view, ImageType image); String getImageViewType(); String getZoomFullscreenViewType(); String getZoomImageViewType(PageType view, ImageType image); boolean useOpenSeadragon(); List<String> getImageViewZoomScales(); List<String> getImageViewZoomScales(String view); List<String> getImageViewZoomScales(PageType view, ImageType image); Map<Integer, List<Integer>> getTileSizes(); Map<Integer, List<Integer>> getTileSizes(PageType view, ImageType image); SubnodeConfiguration getZoomImageViewConfig(PageType pageType, ImageType imageType); int getBreadcrumbsClipping(); boolean isDisplayTopstructLabel(); boolean getDisplayStructType(); int getSearchHitMetadataValueNumber(); int getSearchHitMetadataValueLength(); List<String> getWatermarkTextConfiguration(); String getWatermarkFormat(); boolean isOriginalContentDownload(); String getStopwordsFilePath(); String getPageType(PageType type); String getDocstructTargetPageType(String docstruct); String getPageTypeExitView(PageType type); int getFulltextPercentageWarningThreshold(); boolean isUseViewerLocaleAsRecordLanguage(); String getFeedbackEmailAddress(); boolean isBookmarksEnabled(); boolean isForceJpegConversion(); int getPageLoaderThreshold(); boolean isPreventProxyCaching(); boolean isSolrCompressionEnabled(); boolean isSolrBackwardsCompatible(); boolean isUserCommentsEnabled(); String getUserCommentsConditionalQuery(); List<String> getUserCommentsNotificationEmailAddresses(); String getViewerHome(); List<String> getWatermarkIdField(); String getSubthemeMainTheme(); String getSubthemeDiscriminatorField(); int getTagCloudSampleSize(String fieldName); List<StringPair> getTocVolumeSortFieldsForTemplate(String template); String getTocVolumeGroupFieldForTemplate(String template); boolean getDisplayTitleBreadcrumbs(); boolean isDisplayTitlePURL(); int getTitleBreadcrumbsMaxTitleLength(); boolean getIncludeAnchorInTitleBreadcrumbs(); boolean isDisplaySearchRssLinks(); boolean showThumbnailsInToc(); String getStartYearForTimeline(); String getEndYearForTimeline(); String getTimelineHits(); boolean isPiwikTrackingEnabled(); String getPiwikBaseURL(); String getPiwikSiteID(); boolean isSearchSavingEnabled(); boolean isBoostTopLevelDocstructs(); boolean isGroupDuplicateHits(); List<String> getRecordGroupIdentifierFields(); List<String> getAncestorIdentifierFields(); boolean isTocListSiblingRecords(); List<SearchFilter> getSearchFilters(); List<Map<String, String>> getWebApiFields(); String getDbPersistenceUnit(); boolean useCustomNavBar(); String getCmsTemplateFolder(); String getCmsMediaFolder(); String getTempMediaFolder(); List<String> getCmsClassifications(); int getCmsMediaDisplayWidth(); int getCmsMediaDisplayHeight(); boolean isTranskribusEnabled(); String getTranskribusUserName(); String getTranskribusPassword(); String getTranskribusDefaultCollection(); String getTranskribusRestApiUrl(); List<String> getTranskribusAllowedDocumentTypes(); int getTocIndentation(); boolean isPageBrowseEnabled(); List<Integer> getPageBrowseSteps(); String getTaskManagerServiceUrl(); String getTaskManagerRestUrl(); String getReCaptchaSiteKey(); boolean isUseReCaptcha(); boolean isSearchInItemEnabled(); String getDefaultBrowseIcon(String field); boolean isSearchExcelExportEnabled(); List<String> getSearchExcelExportFields(); int getExcelDownloadTimeout(); boolean isDisplayEmptyTocInSidebar(); boolean isDoublePageModeEnabled(); List<String> getRestrictedImageUrls(); List<String> getIIIFLicenses(); List<String> getIIIFMetadataFields(); List<String> getIIIFEventFields(); String getIIIFMetadataLabel(String field); int getIIIFDiscoveryAvtivitiesPerPage(); List<String> getIIIFLogo(); String getIIIFNavDateField(); List<String> getIIIFAttribution(); List<String> getIIIFDescriptionFields(); String getSitelinksField(); String getSitelinksFilterQuery(); List<String> getConfiguredCollections(); String getWebApiToken(); boolean isAllowRedirectCollectionToWork(); String getTwitterUserName(); float getLimitImageHeightUpperRatioThreshold(); float getLimitImageHeightLowerRatioThreshold(); boolean isLimitImageHeight(); boolean isAddCORSHeader(); String getCORSHeaderValue(); boolean isDiscloseImageContentLocation(); String getAccessConditionDisplayField(); String getCopyrightDisplayField(); boolean isDisplayCopyrightInfo(); boolean isDisplaySocialMediaShareLinks(); boolean isDisplayAnchorLabelInTitleBar(String template); String getAnchorLabelInTitleBarPrefix(String template); String getAnchorLabelInTitleBarSuffix(String template); String getMapBoxToken(); GeoMapMarker getGeoMapMarker(String name); List<String> getGeoMapMarkerFields(); List<GeoMapMarker> getGeoMapMarkers(); static GeoMapMarker readGeoMapMarker(HierarchicalConfiguration config); List<LicenseDescription> getLicenseDescriptions(); }
Configuration extends AbstractConfiguration { public boolean isPreventProxyCaching() { return getLocalBoolean(("performance.preventProxyCaching"), false); } Configuration(String configFilePath); Set<String> getStopwords(); boolean reloadingRequired(); String getConfigLocalPath(); String getLocalRessourceBundleFile(); int getViewerThumbnailsPerPage(); int getViewerMaxImageWidth(); int getViewerMaxImageHeight(); int getViewerMaxImageScale(); boolean isRememberImageZoom(); boolean isRememberImageRotation(); String getDfgViewerUrl(); String getConnectorVersionUrl(); List<Metadata> getTitleBarMetadata(); List<Metadata> getSearchHitMetadataForTemplate(String template); List<Metadata> getMainMetadataForTemplate(String template); List<Metadata> getSidebarMetadataForTemplate(String template); List<String> getNormdataFieldsForTemplate(String template); List<Metadata> getTocLabelConfiguration(String template); int getTocAnchorGroupElementsPerPage(); boolean isDisplaySidebarBrowsingTerms(); boolean isDisplaySidebarRssFeed(); boolean isDisplayWidgetUsage(); Metadata getWidgetUsageLicenceTextMetadata(); boolean isDisplaySidebarUsageWidgetLinkToJpegImage(); boolean isDisplaySidebarUsageWidgetLinkToMasterImage(); String getWidgetUsageMaxJpegSize(); String getWidgetUsageMaxMasterImageSize(); List<String> getCalendarDocStructTypes(); boolean isBrowsingMenuEnabled(); int getBrowsingMenuHitsPerPage(); List<BrowsingMenuFieldConfig> getBrowsingMenuFields(); String getBrowsingMenuSortingIgnoreLeadingChars(); String getDocstrctWhitelistFilterQuery(); String getCollectionSplittingChar(String field); List<DcSortingList> getCollectionSorting(String field); List<String> getCollectionBlacklist(String field); String getCollectionDefaultSortField(String field, String name); int getCollectionDisplayNumberOfVolumesLevel(String field); int getCollectionDisplayDepthForSearch(String field); String getCollectionHierarchyField(); boolean isAddCollectionHierarchyToBreadcrumbs(String field); String getSolrUrl(); String getContentServerWrapperUrl(); String getDownloadUrl(); String getRestApiUrl(); String getIIIFApiUrl(); boolean isUseIIIFApiUrlForCmsMediaUrls(); String getContentServerRealUrl(); String getMetsUrl(); String getMarcUrl(); String getDcUrl(); String getEseUrl(); List<Integer> getSearchHitsPerPageValues(); int getSearchHitsPerPageDefaultValue(); int getFulltextFragmentLength(); boolean isAdvancedSearchEnabled(); int getAdvancedSearchDefaultItemNumber(); List<AdvancedSearchFieldConfiguration> getAdvancedSearchFields(); boolean isAggregateHits(); boolean isDisplayAdditionalMetadataEnabled(); List<String> getDisplayAdditionalMetadataIgnoreFields(); List<String> getDisplayAdditionalMetadataTranslateFields(); boolean isAdvancedSearchFieldHierarchical(String field); boolean isAdvancedSearchFieldRange(String field); boolean isAdvancedSearchFieldUntokenizeForPhraseSearch(String field); String getAdvancedSearchFieldSeparatorLabel(String field); boolean isTimelineSearchEnabled(); boolean isCalendarSearchEnabled(); String getStaticQuerySuffix(); String getPreviousVersionIdentifierField(); String getNextVersionIdentifierField(); String getVersionLabelField(); String getIndexedMetsFolder(); String getIndexedLidoFolder(); String getIndexedDenkxwebFolder(); String getIndexedDublinCoreFolder(); String getPageSelectionFormat(); String getMediaFolder(); String getPdfFolder(); String getVocabulariesFolder(); String getOrigContentFolder(); String getCmsTextFolder(); String getAltoFolder(); String getAbbyyFolder(); String getFulltextFolder(); String getTeiFolder(); String getCmdiFolder(); String getWcFolder(); String getAnnotationFolder(); String getHotfolder(); @SuppressWarnings("static-method") String getTempFolder(); boolean isUrnDoRedirect(); boolean isUserRegistrationEnabled(); List<SecurityQuestion> getSecurityQuestions(); boolean isShowOpenIdConnect(); List<IAuthenticationProvider> getAuthenticationProviders(); String getSmtpServer(); String getSmtpUser(); String getSmtpPassword(); String getSmtpSenderAddress(); String getSmtpSenderName(); String getSmtpSecurity(); String getAnonymousUserEmailAddress(); boolean isDisplayCollectionBrowsing(); boolean isDisplayUserNavigation(); boolean isDisplayTagCloudNavigation(); boolean isDisplayStatistics(); boolean isDisplayTimeMatrix(); boolean isDisplayCrowdsourcingModuleLinks(); String getTheme(); String getThemeRootPath(); String getName(); String getDescription(); boolean isDisplayTagCloudStartpage(); boolean isDisplaySearchResultNavigation(); boolean isFoldout(String sidebarElement); boolean isSidebarPageViewLinkVisible(); boolean isSidebarCalendarViewLinkVisible(); boolean isSidebarTocViewLinkVisible(); boolean isSidebarThumbsViewLinkVisible(); boolean isSidebarMetadataViewLinkVisible(); boolean isShowSidebarEventMetadata(); boolean isShowRecordLabelIfNoOtherViews(); boolean isSidebarFulltextLinkVisible(); boolean isSidebarTocWidgetVisible(); boolean isSidebarTocWidgetVisibleInFullscreen(); boolean isSidebarOpacLinkVisible(); boolean getSidebarTocPageNumbersVisible(); int getSidebarTocLengthBeforeCut(); int getSidebarTocInitialCollapseLevel(); int getSidebarTocCollapseLengthThreshold(); int getSidebarTocLowestLevelToCollapseForLength(); boolean isSidebarTocTreeView(); boolean isTocTreeView(String docStructType); List<String> getAllDrillDownFields(); List<String> getDrillDownFields(); List<String> getHierarchicalDrillDownFields(); int getInitialDrillDownElementNumber(String field); String getSortOrder(String field); List<String> getPriorityValuesForDrillDownField(String field); String getLabelFieldForDrillDownField(String facetField); @SuppressWarnings("static-method") List<String> getRangeFacetFields(); boolean isSortingEnabled(); String getDefaultSortField(); List<String> getSortFields(); List<String> getStaticSortFields(); String getUrnResolverUrl(); int getUnconditionalImageAccessMaxWidth(); boolean isFullAccessForLocalhost(); boolean isGeneratePdfInTaskManager(); boolean isPdfApiDisabled(); boolean isTitlePdfEnabled(); boolean isTocPdfEnabled(); boolean isMetadataPdfEnabled(); boolean isPagePdfEnabled(); boolean isDocHierarchyPdfEnabled(); boolean isTitleEpubEnabled(); boolean isTocEpubEnabled(); boolean isMetadataEpubEnabled(); String getDownloadFolder(String type); int getRssFeedItems(); String getRssTitle(); String getRssDescription(); String getRssCopyrightText(); String getRulesetFilePath(); String getDefaultCollection(); int getThumbnailsWidth(); int getThumbnailsHeight(); int getThumbnailsCompression(); String getAnchorThumbnailMode(); int getMultivolumeThumbnailWidth(); int getMultivolumeThumbnailHeight(); boolean getDisplayBreadcrumbs(); boolean getDisplayMetadataPageLinkBlock(); boolean isAddDublinCoreMetaTags(); boolean isAddHighwirePressMetaTags(); int getMetadataParamNumber(); boolean useTiles(); boolean useTilesFullscreen(); boolean useTiles(PageType view, ImageType image); int getFooterHeight(); int getFullscreenFooterHeight(); int getFooterHeight(PageType view, ImageType image); String getImageViewType(); String getZoomFullscreenViewType(); String getZoomImageViewType(PageType view, ImageType image); boolean useOpenSeadragon(); List<String> getImageViewZoomScales(); List<String> getImageViewZoomScales(String view); List<String> getImageViewZoomScales(PageType view, ImageType image); Map<Integer, List<Integer>> getTileSizes(); Map<Integer, List<Integer>> getTileSizes(PageType view, ImageType image); SubnodeConfiguration getZoomImageViewConfig(PageType pageType, ImageType imageType); int getBreadcrumbsClipping(); boolean isDisplayTopstructLabel(); boolean getDisplayStructType(); int getSearchHitMetadataValueNumber(); int getSearchHitMetadataValueLength(); List<String> getWatermarkTextConfiguration(); String getWatermarkFormat(); boolean isOriginalContentDownload(); String getStopwordsFilePath(); String getPageType(PageType type); String getDocstructTargetPageType(String docstruct); String getPageTypeExitView(PageType type); int getFulltextPercentageWarningThreshold(); boolean isUseViewerLocaleAsRecordLanguage(); String getFeedbackEmailAddress(); boolean isBookmarksEnabled(); boolean isForceJpegConversion(); int getPageLoaderThreshold(); boolean isPreventProxyCaching(); boolean isSolrCompressionEnabled(); boolean isSolrBackwardsCompatible(); boolean isUserCommentsEnabled(); String getUserCommentsConditionalQuery(); List<String> getUserCommentsNotificationEmailAddresses(); String getViewerHome(); List<String> getWatermarkIdField(); String getSubthemeMainTheme(); String getSubthemeDiscriminatorField(); int getTagCloudSampleSize(String fieldName); List<StringPair> getTocVolumeSortFieldsForTemplate(String template); String getTocVolumeGroupFieldForTemplate(String template); boolean getDisplayTitleBreadcrumbs(); boolean isDisplayTitlePURL(); int getTitleBreadcrumbsMaxTitleLength(); boolean getIncludeAnchorInTitleBreadcrumbs(); boolean isDisplaySearchRssLinks(); boolean showThumbnailsInToc(); String getStartYearForTimeline(); String getEndYearForTimeline(); String getTimelineHits(); boolean isPiwikTrackingEnabled(); String getPiwikBaseURL(); String getPiwikSiteID(); boolean isSearchSavingEnabled(); boolean isBoostTopLevelDocstructs(); boolean isGroupDuplicateHits(); List<String> getRecordGroupIdentifierFields(); List<String> getAncestorIdentifierFields(); boolean isTocListSiblingRecords(); List<SearchFilter> getSearchFilters(); List<Map<String, String>> getWebApiFields(); String getDbPersistenceUnit(); boolean useCustomNavBar(); String getCmsTemplateFolder(); String getCmsMediaFolder(); String getTempMediaFolder(); List<String> getCmsClassifications(); int getCmsMediaDisplayWidth(); int getCmsMediaDisplayHeight(); boolean isTranskribusEnabled(); String getTranskribusUserName(); String getTranskribusPassword(); String getTranskribusDefaultCollection(); String getTranskribusRestApiUrl(); List<String> getTranskribusAllowedDocumentTypes(); int getTocIndentation(); boolean isPageBrowseEnabled(); List<Integer> getPageBrowseSteps(); String getTaskManagerServiceUrl(); String getTaskManagerRestUrl(); String getReCaptchaSiteKey(); boolean isUseReCaptcha(); boolean isSearchInItemEnabled(); String getDefaultBrowseIcon(String field); boolean isSearchExcelExportEnabled(); List<String> getSearchExcelExportFields(); int getExcelDownloadTimeout(); boolean isDisplayEmptyTocInSidebar(); boolean isDoublePageModeEnabled(); List<String> getRestrictedImageUrls(); List<String> getIIIFLicenses(); List<String> getIIIFMetadataFields(); List<String> getIIIFEventFields(); String getIIIFMetadataLabel(String field); int getIIIFDiscoveryAvtivitiesPerPage(); List<String> getIIIFLogo(); String getIIIFNavDateField(); List<String> getIIIFAttribution(); List<String> getIIIFDescriptionFields(); String getSitelinksField(); String getSitelinksFilterQuery(); List<String> getConfiguredCollections(); String getWebApiToken(); boolean isAllowRedirectCollectionToWork(); String getTwitterUserName(); float getLimitImageHeightUpperRatioThreshold(); float getLimitImageHeightLowerRatioThreshold(); boolean isLimitImageHeight(); boolean isAddCORSHeader(); String getCORSHeaderValue(); boolean isDiscloseImageContentLocation(); String getAccessConditionDisplayField(); String getCopyrightDisplayField(); boolean isDisplayCopyrightInfo(); boolean isDisplaySocialMediaShareLinks(); boolean isDisplayAnchorLabelInTitleBar(String template); String getAnchorLabelInTitleBarPrefix(String template); String getAnchorLabelInTitleBarSuffix(String template); String getMapBoxToken(); GeoMapMarker getGeoMapMarker(String name); List<String> getGeoMapMarkerFields(); List<GeoMapMarker> getGeoMapMarkers(); static GeoMapMarker readGeoMapMarker(HierarchicalConfiguration config); List<LicenseDescription> getLicenseDescriptions(); }
@Test public void isSolrCompressionEnabled_shouldReturnCorrectValue() throws Exception { Assert.assertFalse(DataManager.getInstance().getConfiguration().isSolrCompressionEnabled()); }
public boolean isSolrCompressionEnabled() { return getLocalBoolean(("performance.solr.compressionEnabled"), true); }
Configuration extends AbstractConfiguration { public boolean isSolrCompressionEnabled() { return getLocalBoolean(("performance.solr.compressionEnabled"), true); } }
Configuration extends AbstractConfiguration { public boolean isSolrCompressionEnabled() { return getLocalBoolean(("performance.solr.compressionEnabled"), true); } Configuration(String configFilePath); }
Configuration extends AbstractConfiguration { public boolean isSolrCompressionEnabled() { return getLocalBoolean(("performance.solr.compressionEnabled"), true); } Configuration(String configFilePath); Set<String> getStopwords(); boolean reloadingRequired(); String getConfigLocalPath(); String getLocalRessourceBundleFile(); int getViewerThumbnailsPerPage(); int getViewerMaxImageWidth(); int getViewerMaxImageHeight(); int getViewerMaxImageScale(); boolean isRememberImageZoom(); boolean isRememberImageRotation(); String getDfgViewerUrl(); String getConnectorVersionUrl(); List<Metadata> getTitleBarMetadata(); List<Metadata> getSearchHitMetadataForTemplate(String template); List<Metadata> getMainMetadataForTemplate(String template); List<Metadata> getSidebarMetadataForTemplate(String template); List<String> getNormdataFieldsForTemplate(String template); List<Metadata> getTocLabelConfiguration(String template); int getTocAnchorGroupElementsPerPage(); boolean isDisplaySidebarBrowsingTerms(); boolean isDisplaySidebarRssFeed(); boolean isDisplayWidgetUsage(); Metadata getWidgetUsageLicenceTextMetadata(); boolean isDisplaySidebarUsageWidgetLinkToJpegImage(); boolean isDisplaySidebarUsageWidgetLinkToMasterImage(); String getWidgetUsageMaxJpegSize(); String getWidgetUsageMaxMasterImageSize(); List<String> getCalendarDocStructTypes(); boolean isBrowsingMenuEnabled(); int getBrowsingMenuHitsPerPage(); List<BrowsingMenuFieldConfig> getBrowsingMenuFields(); String getBrowsingMenuSortingIgnoreLeadingChars(); String getDocstrctWhitelistFilterQuery(); String getCollectionSplittingChar(String field); List<DcSortingList> getCollectionSorting(String field); List<String> getCollectionBlacklist(String field); String getCollectionDefaultSortField(String field, String name); int getCollectionDisplayNumberOfVolumesLevel(String field); int getCollectionDisplayDepthForSearch(String field); String getCollectionHierarchyField(); boolean isAddCollectionHierarchyToBreadcrumbs(String field); String getSolrUrl(); String getContentServerWrapperUrl(); String getDownloadUrl(); String getRestApiUrl(); String getIIIFApiUrl(); boolean isUseIIIFApiUrlForCmsMediaUrls(); String getContentServerRealUrl(); String getMetsUrl(); String getMarcUrl(); String getDcUrl(); String getEseUrl(); List<Integer> getSearchHitsPerPageValues(); int getSearchHitsPerPageDefaultValue(); int getFulltextFragmentLength(); boolean isAdvancedSearchEnabled(); int getAdvancedSearchDefaultItemNumber(); List<AdvancedSearchFieldConfiguration> getAdvancedSearchFields(); boolean isAggregateHits(); boolean isDisplayAdditionalMetadataEnabled(); List<String> getDisplayAdditionalMetadataIgnoreFields(); List<String> getDisplayAdditionalMetadataTranslateFields(); boolean isAdvancedSearchFieldHierarchical(String field); boolean isAdvancedSearchFieldRange(String field); boolean isAdvancedSearchFieldUntokenizeForPhraseSearch(String field); String getAdvancedSearchFieldSeparatorLabel(String field); boolean isTimelineSearchEnabled(); boolean isCalendarSearchEnabled(); String getStaticQuerySuffix(); String getPreviousVersionIdentifierField(); String getNextVersionIdentifierField(); String getVersionLabelField(); String getIndexedMetsFolder(); String getIndexedLidoFolder(); String getIndexedDenkxwebFolder(); String getIndexedDublinCoreFolder(); String getPageSelectionFormat(); String getMediaFolder(); String getPdfFolder(); String getVocabulariesFolder(); String getOrigContentFolder(); String getCmsTextFolder(); String getAltoFolder(); String getAbbyyFolder(); String getFulltextFolder(); String getTeiFolder(); String getCmdiFolder(); String getWcFolder(); String getAnnotationFolder(); String getHotfolder(); @SuppressWarnings("static-method") String getTempFolder(); boolean isUrnDoRedirect(); boolean isUserRegistrationEnabled(); List<SecurityQuestion> getSecurityQuestions(); boolean isShowOpenIdConnect(); List<IAuthenticationProvider> getAuthenticationProviders(); String getSmtpServer(); String getSmtpUser(); String getSmtpPassword(); String getSmtpSenderAddress(); String getSmtpSenderName(); String getSmtpSecurity(); String getAnonymousUserEmailAddress(); boolean isDisplayCollectionBrowsing(); boolean isDisplayUserNavigation(); boolean isDisplayTagCloudNavigation(); boolean isDisplayStatistics(); boolean isDisplayTimeMatrix(); boolean isDisplayCrowdsourcingModuleLinks(); String getTheme(); String getThemeRootPath(); String getName(); String getDescription(); boolean isDisplayTagCloudStartpage(); boolean isDisplaySearchResultNavigation(); boolean isFoldout(String sidebarElement); boolean isSidebarPageViewLinkVisible(); boolean isSidebarCalendarViewLinkVisible(); boolean isSidebarTocViewLinkVisible(); boolean isSidebarThumbsViewLinkVisible(); boolean isSidebarMetadataViewLinkVisible(); boolean isShowSidebarEventMetadata(); boolean isShowRecordLabelIfNoOtherViews(); boolean isSidebarFulltextLinkVisible(); boolean isSidebarTocWidgetVisible(); boolean isSidebarTocWidgetVisibleInFullscreen(); boolean isSidebarOpacLinkVisible(); boolean getSidebarTocPageNumbersVisible(); int getSidebarTocLengthBeforeCut(); int getSidebarTocInitialCollapseLevel(); int getSidebarTocCollapseLengthThreshold(); int getSidebarTocLowestLevelToCollapseForLength(); boolean isSidebarTocTreeView(); boolean isTocTreeView(String docStructType); List<String> getAllDrillDownFields(); List<String> getDrillDownFields(); List<String> getHierarchicalDrillDownFields(); int getInitialDrillDownElementNumber(String field); String getSortOrder(String field); List<String> getPriorityValuesForDrillDownField(String field); String getLabelFieldForDrillDownField(String facetField); @SuppressWarnings("static-method") List<String> getRangeFacetFields(); boolean isSortingEnabled(); String getDefaultSortField(); List<String> getSortFields(); List<String> getStaticSortFields(); String getUrnResolverUrl(); int getUnconditionalImageAccessMaxWidth(); boolean isFullAccessForLocalhost(); boolean isGeneratePdfInTaskManager(); boolean isPdfApiDisabled(); boolean isTitlePdfEnabled(); boolean isTocPdfEnabled(); boolean isMetadataPdfEnabled(); boolean isPagePdfEnabled(); boolean isDocHierarchyPdfEnabled(); boolean isTitleEpubEnabled(); boolean isTocEpubEnabled(); boolean isMetadataEpubEnabled(); String getDownloadFolder(String type); int getRssFeedItems(); String getRssTitle(); String getRssDescription(); String getRssCopyrightText(); String getRulesetFilePath(); String getDefaultCollection(); int getThumbnailsWidth(); int getThumbnailsHeight(); int getThumbnailsCompression(); String getAnchorThumbnailMode(); int getMultivolumeThumbnailWidth(); int getMultivolumeThumbnailHeight(); boolean getDisplayBreadcrumbs(); boolean getDisplayMetadataPageLinkBlock(); boolean isAddDublinCoreMetaTags(); boolean isAddHighwirePressMetaTags(); int getMetadataParamNumber(); boolean useTiles(); boolean useTilesFullscreen(); boolean useTiles(PageType view, ImageType image); int getFooterHeight(); int getFullscreenFooterHeight(); int getFooterHeight(PageType view, ImageType image); String getImageViewType(); String getZoomFullscreenViewType(); String getZoomImageViewType(PageType view, ImageType image); boolean useOpenSeadragon(); List<String> getImageViewZoomScales(); List<String> getImageViewZoomScales(String view); List<String> getImageViewZoomScales(PageType view, ImageType image); Map<Integer, List<Integer>> getTileSizes(); Map<Integer, List<Integer>> getTileSizes(PageType view, ImageType image); SubnodeConfiguration getZoomImageViewConfig(PageType pageType, ImageType imageType); int getBreadcrumbsClipping(); boolean isDisplayTopstructLabel(); boolean getDisplayStructType(); int getSearchHitMetadataValueNumber(); int getSearchHitMetadataValueLength(); List<String> getWatermarkTextConfiguration(); String getWatermarkFormat(); boolean isOriginalContentDownload(); String getStopwordsFilePath(); String getPageType(PageType type); String getDocstructTargetPageType(String docstruct); String getPageTypeExitView(PageType type); int getFulltextPercentageWarningThreshold(); boolean isUseViewerLocaleAsRecordLanguage(); String getFeedbackEmailAddress(); boolean isBookmarksEnabled(); boolean isForceJpegConversion(); int getPageLoaderThreshold(); boolean isPreventProxyCaching(); boolean isSolrCompressionEnabled(); boolean isSolrBackwardsCompatible(); boolean isUserCommentsEnabled(); String getUserCommentsConditionalQuery(); List<String> getUserCommentsNotificationEmailAddresses(); String getViewerHome(); List<String> getWatermarkIdField(); String getSubthemeMainTheme(); String getSubthemeDiscriminatorField(); int getTagCloudSampleSize(String fieldName); List<StringPair> getTocVolumeSortFieldsForTemplate(String template); String getTocVolumeGroupFieldForTemplate(String template); boolean getDisplayTitleBreadcrumbs(); boolean isDisplayTitlePURL(); int getTitleBreadcrumbsMaxTitleLength(); boolean getIncludeAnchorInTitleBreadcrumbs(); boolean isDisplaySearchRssLinks(); boolean showThumbnailsInToc(); String getStartYearForTimeline(); String getEndYearForTimeline(); String getTimelineHits(); boolean isPiwikTrackingEnabled(); String getPiwikBaseURL(); String getPiwikSiteID(); boolean isSearchSavingEnabled(); boolean isBoostTopLevelDocstructs(); boolean isGroupDuplicateHits(); List<String> getRecordGroupIdentifierFields(); List<String> getAncestorIdentifierFields(); boolean isTocListSiblingRecords(); List<SearchFilter> getSearchFilters(); List<Map<String, String>> getWebApiFields(); String getDbPersistenceUnit(); boolean useCustomNavBar(); String getCmsTemplateFolder(); String getCmsMediaFolder(); String getTempMediaFolder(); List<String> getCmsClassifications(); int getCmsMediaDisplayWidth(); int getCmsMediaDisplayHeight(); boolean isTranskribusEnabled(); String getTranskribusUserName(); String getTranskribusPassword(); String getTranskribusDefaultCollection(); String getTranskribusRestApiUrl(); List<String> getTranskribusAllowedDocumentTypes(); int getTocIndentation(); boolean isPageBrowseEnabled(); List<Integer> getPageBrowseSteps(); String getTaskManagerServiceUrl(); String getTaskManagerRestUrl(); String getReCaptchaSiteKey(); boolean isUseReCaptcha(); boolean isSearchInItemEnabled(); String getDefaultBrowseIcon(String field); boolean isSearchExcelExportEnabled(); List<String> getSearchExcelExportFields(); int getExcelDownloadTimeout(); boolean isDisplayEmptyTocInSidebar(); boolean isDoublePageModeEnabled(); List<String> getRestrictedImageUrls(); List<String> getIIIFLicenses(); List<String> getIIIFMetadataFields(); List<String> getIIIFEventFields(); String getIIIFMetadataLabel(String field); int getIIIFDiscoveryAvtivitiesPerPage(); List<String> getIIIFLogo(); String getIIIFNavDateField(); List<String> getIIIFAttribution(); List<String> getIIIFDescriptionFields(); String getSitelinksField(); String getSitelinksFilterQuery(); List<String> getConfiguredCollections(); String getWebApiToken(); boolean isAllowRedirectCollectionToWork(); String getTwitterUserName(); float getLimitImageHeightUpperRatioThreshold(); float getLimitImageHeightLowerRatioThreshold(); boolean isLimitImageHeight(); boolean isAddCORSHeader(); String getCORSHeaderValue(); boolean isDiscloseImageContentLocation(); String getAccessConditionDisplayField(); String getCopyrightDisplayField(); boolean isDisplayCopyrightInfo(); boolean isDisplaySocialMediaShareLinks(); boolean isDisplayAnchorLabelInTitleBar(String template); String getAnchorLabelInTitleBarPrefix(String template); String getAnchorLabelInTitleBarSuffix(String template); String getMapBoxToken(); GeoMapMarker getGeoMapMarker(String name); List<String> getGeoMapMarkerFields(); List<GeoMapMarker> getGeoMapMarkers(); static GeoMapMarker readGeoMapMarker(HierarchicalConfiguration config); List<LicenseDescription> getLicenseDescriptions(); }
Configuration extends AbstractConfiguration { public boolean isSolrCompressionEnabled() { return getLocalBoolean(("performance.solr.compressionEnabled"), true); } Configuration(String configFilePath); Set<String> getStopwords(); boolean reloadingRequired(); String getConfigLocalPath(); String getLocalRessourceBundleFile(); int getViewerThumbnailsPerPage(); int getViewerMaxImageWidth(); int getViewerMaxImageHeight(); int getViewerMaxImageScale(); boolean isRememberImageZoom(); boolean isRememberImageRotation(); String getDfgViewerUrl(); String getConnectorVersionUrl(); List<Metadata> getTitleBarMetadata(); List<Metadata> getSearchHitMetadataForTemplate(String template); List<Metadata> getMainMetadataForTemplate(String template); List<Metadata> getSidebarMetadataForTemplate(String template); List<String> getNormdataFieldsForTemplate(String template); List<Metadata> getTocLabelConfiguration(String template); int getTocAnchorGroupElementsPerPage(); boolean isDisplaySidebarBrowsingTerms(); boolean isDisplaySidebarRssFeed(); boolean isDisplayWidgetUsage(); Metadata getWidgetUsageLicenceTextMetadata(); boolean isDisplaySidebarUsageWidgetLinkToJpegImage(); boolean isDisplaySidebarUsageWidgetLinkToMasterImage(); String getWidgetUsageMaxJpegSize(); String getWidgetUsageMaxMasterImageSize(); List<String> getCalendarDocStructTypes(); boolean isBrowsingMenuEnabled(); int getBrowsingMenuHitsPerPage(); List<BrowsingMenuFieldConfig> getBrowsingMenuFields(); String getBrowsingMenuSortingIgnoreLeadingChars(); String getDocstrctWhitelistFilterQuery(); String getCollectionSplittingChar(String field); List<DcSortingList> getCollectionSorting(String field); List<String> getCollectionBlacklist(String field); String getCollectionDefaultSortField(String field, String name); int getCollectionDisplayNumberOfVolumesLevel(String field); int getCollectionDisplayDepthForSearch(String field); String getCollectionHierarchyField(); boolean isAddCollectionHierarchyToBreadcrumbs(String field); String getSolrUrl(); String getContentServerWrapperUrl(); String getDownloadUrl(); String getRestApiUrl(); String getIIIFApiUrl(); boolean isUseIIIFApiUrlForCmsMediaUrls(); String getContentServerRealUrl(); String getMetsUrl(); String getMarcUrl(); String getDcUrl(); String getEseUrl(); List<Integer> getSearchHitsPerPageValues(); int getSearchHitsPerPageDefaultValue(); int getFulltextFragmentLength(); boolean isAdvancedSearchEnabled(); int getAdvancedSearchDefaultItemNumber(); List<AdvancedSearchFieldConfiguration> getAdvancedSearchFields(); boolean isAggregateHits(); boolean isDisplayAdditionalMetadataEnabled(); List<String> getDisplayAdditionalMetadataIgnoreFields(); List<String> getDisplayAdditionalMetadataTranslateFields(); boolean isAdvancedSearchFieldHierarchical(String field); boolean isAdvancedSearchFieldRange(String field); boolean isAdvancedSearchFieldUntokenizeForPhraseSearch(String field); String getAdvancedSearchFieldSeparatorLabel(String field); boolean isTimelineSearchEnabled(); boolean isCalendarSearchEnabled(); String getStaticQuerySuffix(); String getPreviousVersionIdentifierField(); String getNextVersionIdentifierField(); String getVersionLabelField(); String getIndexedMetsFolder(); String getIndexedLidoFolder(); String getIndexedDenkxwebFolder(); String getIndexedDublinCoreFolder(); String getPageSelectionFormat(); String getMediaFolder(); String getPdfFolder(); String getVocabulariesFolder(); String getOrigContentFolder(); String getCmsTextFolder(); String getAltoFolder(); String getAbbyyFolder(); String getFulltextFolder(); String getTeiFolder(); String getCmdiFolder(); String getWcFolder(); String getAnnotationFolder(); String getHotfolder(); @SuppressWarnings("static-method") String getTempFolder(); boolean isUrnDoRedirect(); boolean isUserRegistrationEnabled(); List<SecurityQuestion> getSecurityQuestions(); boolean isShowOpenIdConnect(); List<IAuthenticationProvider> getAuthenticationProviders(); String getSmtpServer(); String getSmtpUser(); String getSmtpPassword(); String getSmtpSenderAddress(); String getSmtpSenderName(); String getSmtpSecurity(); String getAnonymousUserEmailAddress(); boolean isDisplayCollectionBrowsing(); boolean isDisplayUserNavigation(); boolean isDisplayTagCloudNavigation(); boolean isDisplayStatistics(); boolean isDisplayTimeMatrix(); boolean isDisplayCrowdsourcingModuleLinks(); String getTheme(); String getThemeRootPath(); String getName(); String getDescription(); boolean isDisplayTagCloudStartpage(); boolean isDisplaySearchResultNavigation(); boolean isFoldout(String sidebarElement); boolean isSidebarPageViewLinkVisible(); boolean isSidebarCalendarViewLinkVisible(); boolean isSidebarTocViewLinkVisible(); boolean isSidebarThumbsViewLinkVisible(); boolean isSidebarMetadataViewLinkVisible(); boolean isShowSidebarEventMetadata(); boolean isShowRecordLabelIfNoOtherViews(); boolean isSidebarFulltextLinkVisible(); boolean isSidebarTocWidgetVisible(); boolean isSidebarTocWidgetVisibleInFullscreen(); boolean isSidebarOpacLinkVisible(); boolean getSidebarTocPageNumbersVisible(); int getSidebarTocLengthBeforeCut(); int getSidebarTocInitialCollapseLevel(); int getSidebarTocCollapseLengthThreshold(); int getSidebarTocLowestLevelToCollapseForLength(); boolean isSidebarTocTreeView(); boolean isTocTreeView(String docStructType); List<String> getAllDrillDownFields(); List<String> getDrillDownFields(); List<String> getHierarchicalDrillDownFields(); int getInitialDrillDownElementNumber(String field); String getSortOrder(String field); List<String> getPriorityValuesForDrillDownField(String field); String getLabelFieldForDrillDownField(String facetField); @SuppressWarnings("static-method") List<String> getRangeFacetFields(); boolean isSortingEnabled(); String getDefaultSortField(); List<String> getSortFields(); List<String> getStaticSortFields(); String getUrnResolverUrl(); int getUnconditionalImageAccessMaxWidth(); boolean isFullAccessForLocalhost(); boolean isGeneratePdfInTaskManager(); boolean isPdfApiDisabled(); boolean isTitlePdfEnabled(); boolean isTocPdfEnabled(); boolean isMetadataPdfEnabled(); boolean isPagePdfEnabled(); boolean isDocHierarchyPdfEnabled(); boolean isTitleEpubEnabled(); boolean isTocEpubEnabled(); boolean isMetadataEpubEnabled(); String getDownloadFolder(String type); int getRssFeedItems(); String getRssTitle(); String getRssDescription(); String getRssCopyrightText(); String getRulesetFilePath(); String getDefaultCollection(); int getThumbnailsWidth(); int getThumbnailsHeight(); int getThumbnailsCompression(); String getAnchorThumbnailMode(); int getMultivolumeThumbnailWidth(); int getMultivolumeThumbnailHeight(); boolean getDisplayBreadcrumbs(); boolean getDisplayMetadataPageLinkBlock(); boolean isAddDublinCoreMetaTags(); boolean isAddHighwirePressMetaTags(); int getMetadataParamNumber(); boolean useTiles(); boolean useTilesFullscreen(); boolean useTiles(PageType view, ImageType image); int getFooterHeight(); int getFullscreenFooterHeight(); int getFooterHeight(PageType view, ImageType image); String getImageViewType(); String getZoomFullscreenViewType(); String getZoomImageViewType(PageType view, ImageType image); boolean useOpenSeadragon(); List<String> getImageViewZoomScales(); List<String> getImageViewZoomScales(String view); List<String> getImageViewZoomScales(PageType view, ImageType image); Map<Integer, List<Integer>> getTileSizes(); Map<Integer, List<Integer>> getTileSizes(PageType view, ImageType image); SubnodeConfiguration getZoomImageViewConfig(PageType pageType, ImageType imageType); int getBreadcrumbsClipping(); boolean isDisplayTopstructLabel(); boolean getDisplayStructType(); int getSearchHitMetadataValueNumber(); int getSearchHitMetadataValueLength(); List<String> getWatermarkTextConfiguration(); String getWatermarkFormat(); boolean isOriginalContentDownload(); String getStopwordsFilePath(); String getPageType(PageType type); String getDocstructTargetPageType(String docstruct); String getPageTypeExitView(PageType type); int getFulltextPercentageWarningThreshold(); boolean isUseViewerLocaleAsRecordLanguage(); String getFeedbackEmailAddress(); boolean isBookmarksEnabled(); boolean isForceJpegConversion(); int getPageLoaderThreshold(); boolean isPreventProxyCaching(); boolean isSolrCompressionEnabled(); boolean isSolrBackwardsCompatible(); boolean isUserCommentsEnabled(); String getUserCommentsConditionalQuery(); List<String> getUserCommentsNotificationEmailAddresses(); String getViewerHome(); List<String> getWatermarkIdField(); String getSubthemeMainTheme(); String getSubthemeDiscriminatorField(); int getTagCloudSampleSize(String fieldName); List<StringPair> getTocVolumeSortFieldsForTemplate(String template); String getTocVolumeGroupFieldForTemplate(String template); boolean getDisplayTitleBreadcrumbs(); boolean isDisplayTitlePURL(); int getTitleBreadcrumbsMaxTitleLength(); boolean getIncludeAnchorInTitleBreadcrumbs(); boolean isDisplaySearchRssLinks(); boolean showThumbnailsInToc(); String getStartYearForTimeline(); String getEndYearForTimeline(); String getTimelineHits(); boolean isPiwikTrackingEnabled(); String getPiwikBaseURL(); String getPiwikSiteID(); boolean isSearchSavingEnabled(); boolean isBoostTopLevelDocstructs(); boolean isGroupDuplicateHits(); List<String> getRecordGroupIdentifierFields(); List<String> getAncestorIdentifierFields(); boolean isTocListSiblingRecords(); List<SearchFilter> getSearchFilters(); List<Map<String, String>> getWebApiFields(); String getDbPersistenceUnit(); boolean useCustomNavBar(); String getCmsTemplateFolder(); String getCmsMediaFolder(); String getTempMediaFolder(); List<String> getCmsClassifications(); int getCmsMediaDisplayWidth(); int getCmsMediaDisplayHeight(); boolean isTranskribusEnabled(); String getTranskribusUserName(); String getTranskribusPassword(); String getTranskribusDefaultCollection(); String getTranskribusRestApiUrl(); List<String> getTranskribusAllowedDocumentTypes(); int getTocIndentation(); boolean isPageBrowseEnabled(); List<Integer> getPageBrowseSteps(); String getTaskManagerServiceUrl(); String getTaskManagerRestUrl(); String getReCaptchaSiteKey(); boolean isUseReCaptcha(); boolean isSearchInItemEnabled(); String getDefaultBrowseIcon(String field); boolean isSearchExcelExportEnabled(); List<String> getSearchExcelExportFields(); int getExcelDownloadTimeout(); boolean isDisplayEmptyTocInSidebar(); boolean isDoublePageModeEnabled(); List<String> getRestrictedImageUrls(); List<String> getIIIFLicenses(); List<String> getIIIFMetadataFields(); List<String> getIIIFEventFields(); String getIIIFMetadataLabel(String field); int getIIIFDiscoveryAvtivitiesPerPage(); List<String> getIIIFLogo(); String getIIIFNavDateField(); List<String> getIIIFAttribution(); List<String> getIIIFDescriptionFields(); String getSitelinksField(); String getSitelinksFilterQuery(); List<String> getConfiguredCollections(); String getWebApiToken(); boolean isAllowRedirectCollectionToWork(); String getTwitterUserName(); float getLimitImageHeightUpperRatioThreshold(); float getLimitImageHeightLowerRatioThreshold(); boolean isLimitImageHeight(); boolean isAddCORSHeader(); String getCORSHeaderValue(); boolean isDiscloseImageContentLocation(); String getAccessConditionDisplayField(); String getCopyrightDisplayField(); boolean isDisplayCopyrightInfo(); boolean isDisplaySocialMediaShareLinks(); boolean isDisplayAnchorLabelInTitleBar(String template); String getAnchorLabelInTitleBarPrefix(String template); String getAnchorLabelInTitleBarSuffix(String template); String getMapBoxToken(); GeoMapMarker getGeoMapMarker(String name); List<String> getGeoMapMarkerFields(); List<GeoMapMarker> getGeoMapMarkers(); static GeoMapMarker readGeoMapMarker(HierarchicalConfiguration config); List<LicenseDescription> getLicenseDescriptions(); }
@Test public void isSolrBackwardsCompatible_shouldReturnCorrectValue() throws Exception { Assert.assertTrue(DataManager.getInstance().getConfiguration().isSolrBackwardsCompatible()); }
public boolean isSolrBackwardsCompatible() { return getLocalBoolean(("performance.solr.backwardsCompatible"), false); }
Configuration extends AbstractConfiguration { public boolean isSolrBackwardsCompatible() { return getLocalBoolean(("performance.solr.backwardsCompatible"), false); } }
Configuration extends AbstractConfiguration { public boolean isSolrBackwardsCompatible() { return getLocalBoolean(("performance.solr.backwardsCompatible"), false); } Configuration(String configFilePath); }
Configuration extends AbstractConfiguration { public boolean isSolrBackwardsCompatible() { return getLocalBoolean(("performance.solr.backwardsCompatible"), false); } Configuration(String configFilePath); Set<String> getStopwords(); boolean reloadingRequired(); String getConfigLocalPath(); String getLocalRessourceBundleFile(); int getViewerThumbnailsPerPage(); int getViewerMaxImageWidth(); int getViewerMaxImageHeight(); int getViewerMaxImageScale(); boolean isRememberImageZoom(); boolean isRememberImageRotation(); String getDfgViewerUrl(); String getConnectorVersionUrl(); List<Metadata> getTitleBarMetadata(); List<Metadata> getSearchHitMetadataForTemplate(String template); List<Metadata> getMainMetadataForTemplate(String template); List<Metadata> getSidebarMetadataForTemplate(String template); List<String> getNormdataFieldsForTemplate(String template); List<Metadata> getTocLabelConfiguration(String template); int getTocAnchorGroupElementsPerPage(); boolean isDisplaySidebarBrowsingTerms(); boolean isDisplaySidebarRssFeed(); boolean isDisplayWidgetUsage(); Metadata getWidgetUsageLicenceTextMetadata(); boolean isDisplaySidebarUsageWidgetLinkToJpegImage(); boolean isDisplaySidebarUsageWidgetLinkToMasterImage(); String getWidgetUsageMaxJpegSize(); String getWidgetUsageMaxMasterImageSize(); List<String> getCalendarDocStructTypes(); boolean isBrowsingMenuEnabled(); int getBrowsingMenuHitsPerPage(); List<BrowsingMenuFieldConfig> getBrowsingMenuFields(); String getBrowsingMenuSortingIgnoreLeadingChars(); String getDocstrctWhitelistFilterQuery(); String getCollectionSplittingChar(String field); List<DcSortingList> getCollectionSorting(String field); List<String> getCollectionBlacklist(String field); String getCollectionDefaultSortField(String field, String name); int getCollectionDisplayNumberOfVolumesLevel(String field); int getCollectionDisplayDepthForSearch(String field); String getCollectionHierarchyField(); boolean isAddCollectionHierarchyToBreadcrumbs(String field); String getSolrUrl(); String getContentServerWrapperUrl(); String getDownloadUrl(); String getRestApiUrl(); String getIIIFApiUrl(); boolean isUseIIIFApiUrlForCmsMediaUrls(); String getContentServerRealUrl(); String getMetsUrl(); String getMarcUrl(); String getDcUrl(); String getEseUrl(); List<Integer> getSearchHitsPerPageValues(); int getSearchHitsPerPageDefaultValue(); int getFulltextFragmentLength(); boolean isAdvancedSearchEnabled(); int getAdvancedSearchDefaultItemNumber(); List<AdvancedSearchFieldConfiguration> getAdvancedSearchFields(); boolean isAggregateHits(); boolean isDisplayAdditionalMetadataEnabled(); List<String> getDisplayAdditionalMetadataIgnoreFields(); List<String> getDisplayAdditionalMetadataTranslateFields(); boolean isAdvancedSearchFieldHierarchical(String field); boolean isAdvancedSearchFieldRange(String field); boolean isAdvancedSearchFieldUntokenizeForPhraseSearch(String field); String getAdvancedSearchFieldSeparatorLabel(String field); boolean isTimelineSearchEnabled(); boolean isCalendarSearchEnabled(); String getStaticQuerySuffix(); String getPreviousVersionIdentifierField(); String getNextVersionIdentifierField(); String getVersionLabelField(); String getIndexedMetsFolder(); String getIndexedLidoFolder(); String getIndexedDenkxwebFolder(); String getIndexedDublinCoreFolder(); String getPageSelectionFormat(); String getMediaFolder(); String getPdfFolder(); String getVocabulariesFolder(); String getOrigContentFolder(); String getCmsTextFolder(); String getAltoFolder(); String getAbbyyFolder(); String getFulltextFolder(); String getTeiFolder(); String getCmdiFolder(); String getWcFolder(); String getAnnotationFolder(); String getHotfolder(); @SuppressWarnings("static-method") String getTempFolder(); boolean isUrnDoRedirect(); boolean isUserRegistrationEnabled(); List<SecurityQuestion> getSecurityQuestions(); boolean isShowOpenIdConnect(); List<IAuthenticationProvider> getAuthenticationProviders(); String getSmtpServer(); String getSmtpUser(); String getSmtpPassword(); String getSmtpSenderAddress(); String getSmtpSenderName(); String getSmtpSecurity(); String getAnonymousUserEmailAddress(); boolean isDisplayCollectionBrowsing(); boolean isDisplayUserNavigation(); boolean isDisplayTagCloudNavigation(); boolean isDisplayStatistics(); boolean isDisplayTimeMatrix(); boolean isDisplayCrowdsourcingModuleLinks(); String getTheme(); String getThemeRootPath(); String getName(); String getDescription(); boolean isDisplayTagCloudStartpage(); boolean isDisplaySearchResultNavigation(); boolean isFoldout(String sidebarElement); boolean isSidebarPageViewLinkVisible(); boolean isSidebarCalendarViewLinkVisible(); boolean isSidebarTocViewLinkVisible(); boolean isSidebarThumbsViewLinkVisible(); boolean isSidebarMetadataViewLinkVisible(); boolean isShowSidebarEventMetadata(); boolean isShowRecordLabelIfNoOtherViews(); boolean isSidebarFulltextLinkVisible(); boolean isSidebarTocWidgetVisible(); boolean isSidebarTocWidgetVisibleInFullscreen(); boolean isSidebarOpacLinkVisible(); boolean getSidebarTocPageNumbersVisible(); int getSidebarTocLengthBeforeCut(); int getSidebarTocInitialCollapseLevel(); int getSidebarTocCollapseLengthThreshold(); int getSidebarTocLowestLevelToCollapseForLength(); boolean isSidebarTocTreeView(); boolean isTocTreeView(String docStructType); List<String> getAllDrillDownFields(); List<String> getDrillDownFields(); List<String> getHierarchicalDrillDownFields(); int getInitialDrillDownElementNumber(String field); String getSortOrder(String field); List<String> getPriorityValuesForDrillDownField(String field); String getLabelFieldForDrillDownField(String facetField); @SuppressWarnings("static-method") List<String> getRangeFacetFields(); boolean isSortingEnabled(); String getDefaultSortField(); List<String> getSortFields(); List<String> getStaticSortFields(); String getUrnResolverUrl(); int getUnconditionalImageAccessMaxWidth(); boolean isFullAccessForLocalhost(); boolean isGeneratePdfInTaskManager(); boolean isPdfApiDisabled(); boolean isTitlePdfEnabled(); boolean isTocPdfEnabled(); boolean isMetadataPdfEnabled(); boolean isPagePdfEnabled(); boolean isDocHierarchyPdfEnabled(); boolean isTitleEpubEnabled(); boolean isTocEpubEnabled(); boolean isMetadataEpubEnabled(); String getDownloadFolder(String type); int getRssFeedItems(); String getRssTitle(); String getRssDescription(); String getRssCopyrightText(); String getRulesetFilePath(); String getDefaultCollection(); int getThumbnailsWidth(); int getThumbnailsHeight(); int getThumbnailsCompression(); String getAnchorThumbnailMode(); int getMultivolumeThumbnailWidth(); int getMultivolumeThumbnailHeight(); boolean getDisplayBreadcrumbs(); boolean getDisplayMetadataPageLinkBlock(); boolean isAddDublinCoreMetaTags(); boolean isAddHighwirePressMetaTags(); int getMetadataParamNumber(); boolean useTiles(); boolean useTilesFullscreen(); boolean useTiles(PageType view, ImageType image); int getFooterHeight(); int getFullscreenFooterHeight(); int getFooterHeight(PageType view, ImageType image); String getImageViewType(); String getZoomFullscreenViewType(); String getZoomImageViewType(PageType view, ImageType image); boolean useOpenSeadragon(); List<String> getImageViewZoomScales(); List<String> getImageViewZoomScales(String view); List<String> getImageViewZoomScales(PageType view, ImageType image); Map<Integer, List<Integer>> getTileSizes(); Map<Integer, List<Integer>> getTileSizes(PageType view, ImageType image); SubnodeConfiguration getZoomImageViewConfig(PageType pageType, ImageType imageType); int getBreadcrumbsClipping(); boolean isDisplayTopstructLabel(); boolean getDisplayStructType(); int getSearchHitMetadataValueNumber(); int getSearchHitMetadataValueLength(); List<String> getWatermarkTextConfiguration(); String getWatermarkFormat(); boolean isOriginalContentDownload(); String getStopwordsFilePath(); String getPageType(PageType type); String getDocstructTargetPageType(String docstruct); String getPageTypeExitView(PageType type); int getFulltextPercentageWarningThreshold(); boolean isUseViewerLocaleAsRecordLanguage(); String getFeedbackEmailAddress(); boolean isBookmarksEnabled(); boolean isForceJpegConversion(); int getPageLoaderThreshold(); boolean isPreventProxyCaching(); boolean isSolrCompressionEnabled(); boolean isSolrBackwardsCompatible(); boolean isUserCommentsEnabled(); String getUserCommentsConditionalQuery(); List<String> getUserCommentsNotificationEmailAddresses(); String getViewerHome(); List<String> getWatermarkIdField(); String getSubthemeMainTheme(); String getSubthemeDiscriminatorField(); int getTagCloudSampleSize(String fieldName); List<StringPair> getTocVolumeSortFieldsForTemplate(String template); String getTocVolumeGroupFieldForTemplate(String template); boolean getDisplayTitleBreadcrumbs(); boolean isDisplayTitlePURL(); int getTitleBreadcrumbsMaxTitleLength(); boolean getIncludeAnchorInTitleBreadcrumbs(); boolean isDisplaySearchRssLinks(); boolean showThumbnailsInToc(); String getStartYearForTimeline(); String getEndYearForTimeline(); String getTimelineHits(); boolean isPiwikTrackingEnabled(); String getPiwikBaseURL(); String getPiwikSiteID(); boolean isSearchSavingEnabled(); boolean isBoostTopLevelDocstructs(); boolean isGroupDuplicateHits(); List<String> getRecordGroupIdentifierFields(); List<String> getAncestorIdentifierFields(); boolean isTocListSiblingRecords(); List<SearchFilter> getSearchFilters(); List<Map<String, String>> getWebApiFields(); String getDbPersistenceUnit(); boolean useCustomNavBar(); String getCmsTemplateFolder(); String getCmsMediaFolder(); String getTempMediaFolder(); List<String> getCmsClassifications(); int getCmsMediaDisplayWidth(); int getCmsMediaDisplayHeight(); boolean isTranskribusEnabled(); String getTranskribusUserName(); String getTranskribusPassword(); String getTranskribusDefaultCollection(); String getTranskribusRestApiUrl(); List<String> getTranskribusAllowedDocumentTypes(); int getTocIndentation(); boolean isPageBrowseEnabled(); List<Integer> getPageBrowseSteps(); String getTaskManagerServiceUrl(); String getTaskManagerRestUrl(); String getReCaptchaSiteKey(); boolean isUseReCaptcha(); boolean isSearchInItemEnabled(); String getDefaultBrowseIcon(String field); boolean isSearchExcelExportEnabled(); List<String> getSearchExcelExportFields(); int getExcelDownloadTimeout(); boolean isDisplayEmptyTocInSidebar(); boolean isDoublePageModeEnabled(); List<String> getRestrictedImageUrls(); List<String> getIIIFLicenses(); List<String> getIIIFMetadataFields(); List<String> getIIIFEventFields(); String getIIIFMetadataLabel(String field); int getIIIFDiscoveryAvtivitiesPerPage(); List<String> getIIIFLogo(); String getIIIFNavDateField(); List<String> getIIIFAttribution(); List<String> getIIIFDescriptionFields(); String getSitelinksField(); String getSitelinksFilterQuery(); List<String> getConfiguredCollections(); String getWebApiToken(); boolean isAllowRedirectCollectionToWork(); String getTwitterUserName(); float getLimitImageHeightUpperRatioThreshold(); float getLimitImageHeightLowerRatioThreshold(); boolean isLimitImageHeight(); boolean isAddCORSHeader(); String getCORSHeaderValue(); boolean isDiscloseImageContentLocation(); String getAccessConditionDisplayField(); String getCopyrightDisplayField(); boolean isDisplayCopyrightInfo(); boolean isDisplaySocialMediaShareLinks(); boolean isDisplayAnchorLabelInTitleBar(String template); String getAnchorLabelInTitleBarPrefix(String template); String getAnchorLabelInTitleBarSuffix(String template); String getMapBoxToken(); GeoMapMarker getGeoMapMarker(String name); List<String> getGeoMapMarkerFields(); List<GeoMapMarker> getGeoMapMarkers(); static GeoMapMarker readGeoMapMarker(HierarchicalConfiguration config); List<LicenseDescription> getLicenseDescriptions(); }
Configuration extends AbstractConfiguration { public boolean isSolrBackwardsCompatible() { return getLocalBoolean(("performance.solr.backwardsCompatible"), false); } Configuration(String configFilePath); Set<String> getStopwords(); boolean reloadingRequired(); String getConfigLocalPath(); String getLocalRessourceBundleFile(); int getViewerThumbnailsPerPage(); int getViewerMaxImageWidth(); int getViewerMaxImageHeight(); int getViewerMaxImageScale(); boolean isRememberImageZoom(); boolean isRememberImageRotation(); String getDfgViewerUrl(); String getConnectorVersionUrl(); List<Metadata> getTitleBarMetadata(); List<Metadata> getSearchHitMetadataForTemplate(String template); List<Metadata> getMainMetadataForTemplate(String template); List<Metadata> getSidebarMetadataForTemplate(String template); List<String> getNormdataFieldsForTemplate(String template); List<Metadata> getTocLabelConfiguration(String template); int getTocAnchorGroupElementsPerPage(); boolean isDisplaySidebarBrowsingTerms(); boolean isDisplaySidebarRssFeed(); boolean isDisplayWidgetUsage(); Metadata getWidgetUsageLicenceTextMetadata(); boolean isDisplaySidebarUsageWidgetLinkToJpegImage(); boolean isDisplaySidebarUsageWidgetLinkToMasterImage(); String getWidgetUsageMaxJpegSize(); String getWidgetUsageMaxMasterImageSize(); List<String> getCalendarDocStructTypes(); boolean isBrowsingMenuEnabled(); int getBrowsingMenuHitsPerPage(); List<BrowsingMenuFieldConfig> getBrowsingMenuFields(); String getBrowsingMenuSortingIgnoreLeadingChars(); String getDocstrctWhitelistFilterQuery(); String getCollectionSplittingChar(String field); List<DcSortingList> getCollectionSorting(String field); List<String> getCollectionBlacklist(String field); String getCollectionDefaultSortField(String field, String name); int getCollectionDisplayNumberOfVolumesLevel(String field); int getCollectionDisplayDepthForSearch(String field); String getCollectionHierarchyField(); boolean isAddCollectionHierarchyToBreadcrumbs(String field); String getSolrUrl(); String getContentServerWrapperUrl(); String getDownloadUrl(); String getRestApiUrl(); String getIIIFApiUrl(); boolean isUseIIIFApiUrlForCmsMediaUrls(); String getContentServerRealUrl(); String getMetsUrl(); String getMarcUrl(); String getDcUrl(); String getEseUrl(); List<Integer> getSearchHitsPerPageValues(); int getSearchHitsPerPageDefaultValue(); int getFulltextFragmentLength(); boolean isAdvancedSearchEnabled(); int getAdvancedSearchDefaultItemNumber(); List<AdvancedSearchFieldConfiguration> getAdvancedSearchFields(); boolean isAggregateHits(); boolean isDisplayAdditionalMetadataEnabled(); List<String> getDisplayAdditionalMetadataIgnoreFields(); List<String> getDisplayAdditionalMetadataTranslateFields(); boolean isAdvancedSearchFieldHierarchical(String field); boolean isAdvancedSearchFieldRange(String field); boolean isAdvancedSearchFieldUntokenizeForPhraseSearch(String field); String getAdvancedSearchFieldSeparatorLabel(String field); boolean isTimelineSearchEnabled(); boolean isCalendarSearchEnabled(); String getStaticQuerySuffix(); String getPreviousVersionIdentifierField(); String getNextVersionIdentifierField(); String getVersionLabelField(); String getIndexedMetsFolder(); String getIndexedLidoFolder(); String getIndexedDenkxwebFolder(); String getIndexedDublinCoreFolder(); String getPageSelectionFormat(); String getMediaFolder(); String getPdfFolder(); String getVocabulariesFolder(); String getOrigContentFolder(); String getCmsTextFolder(); String getAltoFolder(); String getAbbyyFolder(); String getFulltextFolder(); String getTeiFolder(); String getCmdiFolder(); String getWcFolder(); String getAnnotationFolder(); String getHotfolder(); @SuppressWarnings("static-method") String getTempFolder(); boolean isUrnDoRedirect(); boolean isUserRegistrationEnabled(); List<SecurityQuestion> getSecurityQuestions(); boolean isShowOpenIdConnect(); List<IAuthenticationProvider> getAuthenticationProviders(); String getSmtpServer(); String getSmtpUser(); String getSmtpPassword(); String getSmtpSenderAddress(); String getSmtpSenderName(); String getSmtpSecurity(); String getAnonymousUserEmailAddress(); boolean isDisplayCollectionBrowsing(); boolean isDisplayUserNavigation(); boolean isDisplayTagCloudNavigation(); boolean isDisplayStatistics(); boolean isDisplayTimeMatrix(); boolean isDisplayCrowdsourcingModuleLinks(); String getTheme(); String getThemeRootPath(); String getName(); String getDescription(); boolean isDisplayTagCloudStartpage(); boolean isDisplaySearchResultNavigation(); boolean isFoldout(String sidebarElement); boolean isSidebarPageViewLinkVisible(); boolean isSidebarCalendarViewLinkVisible(); boolean isSidebarTocViewLinkVisible(); boolean isSidebarThumbsViewLinkVisible(); boolean isSidebarMetadataViewLinkVisible(); boolean isShowSidebarEventMetadata(); boolean isShowRecordLabelIfNoOtherViews(); boolean isSidebarFulltextLinkVisible(); boolean isSidebarTocWidgetVisible(); boolean isSidebarTocWidgetVisibleInFullscreen(); boolean isSidebarOpacLinkVisible(); boolean getSidebarTocPageNumbersVisible(); int getSidebarTocLengthBeforeCut(); int getSidebarTocInitialCollapseLevel(); int getSidebarTocCollapseLengthThreshold(); int getSidebarTocLowestLevelToCollapseForLength(); boolean isSidebarTocTreeView(); boolean isTocTreeView(String docStructType); List<String> getAllDrillDownFields(); List<String> getDrillDownFields(); List<String> getHierarchicalDrillDownFields(); int getInitialDrillDownElementNumber(String field); String getSortOrder(String field); List<String> getPriorityValuesForDrillDownField(String field); String getLabelFieldForDrillDownField(String facetField); @SuppressWarnings("static-method") List<String> getRangeFacetFields(); boolean isSortingEnabled(); String getDefaultSortField(); List<String> getSortFields(); List<String> getStaticSortFields(); String getUrnResolverUrl(); int getUnconditionalImageAccessMaxWidth(); boolean isFullAccessForLocalhost(); boolean isGeneratePdfInTaskManager(); boolean isPdfApiDisabled(); boolean isTitlePdfEnabled(); boolean isTocPdfEnabled(); boolean isMetadataPdfEnabled(); boolean isPagePdfEnabled(); boolean isDocHierarchyPdfEnabled(); boolean isTitleEpubEnabled(); boolean isTocEpubEnabled(); boolean isMetadataEpubEnabled(); String getDownloadFolder(String type); int getRssFeedItems(); String getRssTitle(); String getRssDescription(); String getRssCopyrightText(); String getRulesetFilePath(); String getDefaultCollection(); int getThumbnailsWidth(); int getThumbnailsHeight(); int getThumbnailsCompression(); String getAnchorThumbnailMode(); int getMultivolumeThumbnailWidth(); int getMultivolumeThumbnailHeight(); boolean getDisplayBreadcrumbs(); boolean getDisplayMetadataPageLinkBlock(); boolean isAddDublinCoreMetaTags(); boolean isAddHighwirePressMetaTags(); int getMetadataParamNumber(); boolean useTiles(); boolean useTilesFullscreen(); boolean useTiles(PageType view, ImageType image); int getFooterHeight(); int getFullscreenFooterHeight(); int getFooterHeight(PageType view, ImageType image); String getImageViewType(); String getZoomFullscreenViewType(); String getZoomImageViewType(PageType view, ImageType image); boolean useOpenSeadragon(); List<String> getImageViewZoomScales(); List<String> getImageViewZoomScales(String view); List<String> getImageViewZoomScales(PageType view, ImageType image); Map<Integer, List<Integer>> getTileSizes(); Map<Integer, List<Integer>> getTileSizes(PageType view, ImageType image); SubnodeConfiguration getZoomImageViewConfig(PageType pageType, ImageType imageType); int getBreadcrumbsClipping(); boolean isDisplayTopstructLabel(); boolean getDisplayStructType(); int getSearchHitMetadataValueNumber(); int getSearchHitMetadataValueLength(); List<String> getWatermarkTextConfiguration(); String getWatermarkFormat(); boolean isOriginalContentDownload(); String getStopwordsFilePath(); String getPageType(PageType type); String getDocstructTargetPageType(String docstruct); String getPageTypeExitView(PageType type); int getFulltextPercentageWarningThreshold(); boolean isUseViewerLocaleAsRecordLanguage(); String getFeedbackEmailAddress(); boolean isBookmarksEnabled(); boolean isForceJpegConversion(); int getPageLoaderThreshold(); boolean isPreventProxyCaching(); boolean isSolrCompressionEnabled(); boolean isSolrBackwardsCompatible(); boolean isUserCommentsEnabled(); String getUserCommentsConditionalQuery(); List<String> getUserCommentsNotificationEmailAddresses(); String getViewerHome(); List<String> getWatermarkIdField(); String getSubthemeMainTheme(); String getSubthemeDiscriminatorField(); int getTagCloudSampleSize(String fieldName); List<StringPair> getTocVolumeSortFieldsForTemplate(String template); String getTocVolumeGroupFieldForTemplate(String template); boolean getDisplayTitleBreadcrumbs(); boolean isDisplayTitlePURL(); int getTitleBreadcrumbsMaxTitleLength(); boolean getIncludeAnchorInTitleBreadcrumbs(); boolean isDisplaySearchRssLinks(); boolean showThumbnailsInToc(); String getStartYearForTimeline(); String getEndYearForTimeline(); String getTimelineHits(); boolean isPiwikTrackingEnabled(); String getPiwikBaseURL(); String getPiwikSiteID(); boolean isSearchSavingEnabled(); boolean isBoostTopLevelDocstructs(); boolean isGroupDuplicateHits(); List<String> getRecordGroupIdentifierFields(); List<String> getAncestorIdentifierFields(); boolean isTocListSiblingRecords(); List<SearchFilter> getSearchFilters(); List<Map<String, String>> getWebApiFields(); String getDbPersistenceUnit(); boolean useCustomNavBar(); String getCmsTemplateFolder(); String getCmsMediaFolder(); String getTempMediaFolder(); List<String> getCmsClassifications(); int getCmsMediaDisplayWidth(); int getCmsMediaDisplayHeight(); boolean isTranskribusEnabled(); String getTranskribusUserName(); String getTranskribusPassword(); String getTranskribusDefaultCollection(); String getTranskribusRestApiUrl(); List<String> getTranskribusAllowedDocumentTypes(); int getTocIndentation(); boolean isPageBrowseEnabled(); List<Integer> getPageBrowseSteps(); String getTaskManagerServiceUrl(); String getTaskManagerRestUrl(); String getReCaptchaSiteKey(); boolean isUseReCaptcha(); boolean isSearchInItemEnabled(); String getDefaultBrowseIcon(String field); boolean isSearchExcelExportEnabled(); List<String> getSearchExcelExportFields(); int getExcelDownloadTimeout(); boolean isDisplayEmptyTocInSidebar(); boolean isDoublePageModeEnabled(); List<String> getRestrictedImageUrls(); List<String> getIIIFLicenses(); List<String> getIIIFMetadataFields(); List<String> getIIIFEventFields(); String getIIIFMetadataLabel(String field); int getIIIFDiscoveryAvtivitiesPerPage(); List<String> getIIIFLogo(); String getIIIFNavDateField(); List<String> getIIIFAttribution(); List<String> getIIIFDescriptionFields(); String getSitelinksField(); String getSitelinksFilterQuery(); List<String> getConfiguredCollections(); String getWebApiToken(); boolean isAllowRedirectCollectionToWork(); String getTwitterUserName(); float getLimitImageHeightUpperRatioThreshold(); float getLimitImageHeightLowerRatioThreshold(); boolean isLimitImageHeight(); boolean isAddCORSHeader(); String getCORSHeaderValue(); boolean isDiscloseImageContentLocation(); String getAccessConditionDisplayField(); String getCopyrightDisplayField(); boolean isDisplayCopyrightInfo(); boolean isDisplaySocialMediaShareLinks(); boolean isDisplayAnchorLabelInTitleBar(String template); String getAnchorLabelInTitleBarPrefix(String template); String getAnchorLabelInTitleBarSuffix(String template); String getMapBoxToken(); GeoMapMarker getGeoMapMarker(String name); List<String> getGeoMapMarkerFields(); List<GeoMapMarker> getGeoMapMarkers(); static GeoMapMarker readGeoMapMarker(HierarchicalConfiguration config); List<LicenseDescription> getLicenseDescriptions(); }
@Test public void isShowSidebarEventMetadata_shouldReturnCorrectValue() throws Exception { Assert.assertEquals(false, DataManager.getInstance().getConfiguration().isShowSidebarEventMetadata()); }
public boolean isShowSidebarEventMetadata() { return getLocalBoolean("sidebar.metadata.showEventMetadata", true); }
Configuration extends AbstractConfiguration { public boolean isShowSidebarEventMetadata() { return getLocalBoolean("sidebar.metadata.showEventMetadata", true); } }
Configuration extends AbstractConfiguration { public boolean isShowSidebarEventMetadata() { return getLocalBoolean("sidebar.metadata.showEventMetadata", true); } Configuration(String configFilePath); }
Configuration extends AbstractConfiguration { public boolean isShowSidebarEventMetadata() { return getLocalBoolean("sidebar.metadata.showEventMetadata", true); } Configuration(String configFilePath); Set<String> getStopwords(); boolean reloadingRequired(); String getConfigLocalPath(); String getLocalRessourceBundleFile(); int getViewerThumbnailsPerPage(); int getViewerMaxImageWidth(); int getViewerMaxImageHeight(); int getViewerMaxImageScale(); boolean isRememberImageZoom(); boolean isRememberImageRotation(); String getDfgViewerUrl(); String getConnectorVersionUrl(); List<Metadata> getTitleBarMetadata(); List<Metadata> getSearchHitMetadataForTemplate(String template); List<Metadata> getMainMetadataForTemplate(String template); List<Metadata> getSidebarMetadataForTemplate(String template); List<String> getNormdataFieldsForTemplate(String template); List<Metadata> getTocLabelConfiguration(String template); int getTocAnchorGroupElementsPerPage(); boolean isDisplaySidebarBrowsingTerms(); boolean isDisplaySidebarRssFeed(); boolean isDisplayWidgetUsage(); Metadata getWidgetUsageLicenceTextMetadata(); boolean isDisplaySidebarUsageWidgetLinkToJpegImage(); boolean isDisplaySidebarUsageWidgetLinkToMasterImage(); String getWidgetUsageMaxJpegSize(); String getWidgetUsageMaxMasterImageSize(); List<String> getCalendarDocStructTypes(); boolean isBrowsingMenuEnabled(); int getBrowsingMenuHitsPerPage(); List<BrowsingMenuFieldConfig> getBrowsingMenuFields(); String getBrowsingMenuSortingIgnoreLeadingChars(); String getDocstrctWhitelistFilterQuery(); String getCollectionSplittingChar(String field); List<DcSortingList> getCollectionSorting(String field); List<String> getCollectionBlacklist(String field); String getCollectionDefaultSortField(String field, String name); int getCollectionDisplayNumberOfVolumesLevel(String field); int getCollectionDisplayDepthForSearch(String field); String getCollectionHierarchyField(); boolean isAddCollectionHierarchyToBreadcrumbs(String field); String getSolrUrl(); String getContentServerWrapperUrl(); String getDownloadUrl(); String getRestApiUrl(); String getIIIFApiUrl(); boolean isUseIIIFApiUrlForCmsMediaUrls(); String getContentServerRealUrl(); String getMetsUrl(); String getMarcUrl(); String getDcUrl(); String getEseUrl(); List<Integer> getSearchHitsPerPageValues(); int getSearchHitsPerPageDefaultValue(); int getFulltextFragmentLength(); boolean isAdvancedSearchEnabled(); int getAdvancedSearchDefaultItemNumber(); List<AdvancedSearchFieldConfiguration> getAdvancedSearchFields(); boolean isAggregateHits(); boolean isDisplayAdditionalMetadataEnabled(); List<String> getDisplayAdditionalMetadataIgnoreFields(); List<String> getDisplayAdditionalMetadataTranslateFields(); boolean isAdvancedSearchFieldHierarchical(String field); boolean isAdvancedSearchFieldRange(String field); boolean isAdvancedSearchFieldUntokenizeForPhraseSearch(String field); String getAdvancedSearchFieldSeparatorLabel(String field); boolean isTimelineSearchEnabled(); boolean isCalendarSearchEnabled(); String getStaticQuerySuffix(); String getPreviousVersionIdentifierField(); String getNextVersionIdentifierField(); String getVersionLabelField(); String getIndexedMetsFolder(); String getIndexedLidoFolder(); String getIndexedDenkxwebFolder(); String getIndexedDublinCoreFolder(); String getPageSelectionFormat(); String getMediaFolder(); String getPdfFolder(); String getVocabulariesFolder(); String getOrigContentFolder(); String getCmsTextFolder(); String getAltoFolder(); String getAbbyyFolder(); String getFulltextFolder(); String getTeiFolder(); String getCmdiFolder(); String getWcFolder(); String getAnnotationFolder(); String getHotfolder(); @SuppressWarnings("static-method") String getTempFolder(); boolean isUrnDoRedirect(); boolean isUserRegistrationEnabled(); List<SecurityQuestion> getSecurityQuestions(); boolean isShowOpenIdConnect(); List<IAuthenticationProvider> getAuthenticationProviders(); String getSmtpServer(); String getSmtpUser(); String getSmtpPassword(); String getSmtpSenderAddress(); String getSmtpSenderName(); String getSmtpSecurity(); String getAnonymousUserEmailAddress(); boolean isDisplayCollectionBrowsing(); boolean isDisplayUserNavigation(); boolean isDisplayTagCloudNavigation(); boolean isDisplayStatistics(); boolean isDisplayTimeMatrix(); boolean isDisplayCrowdsourcingModuleLinks(); String getTheme(); String getThemeRootPath(); String getName(); String getDescription(); boolean isDisplayTagCloudStartpage(); boolean isDisplaySearchResultNavigation(); boolean isFoldout(String sidebarElement); boolean isSidebarPageViewLinkVisible(); boolean isSidebarCalendarViewLinkVisible(); boolean isSidebarTocViewLinkVisible(); boolean isSidebarThumbsViewLinkVisible(); boolean isSidebarMetadataViewLinkVisible(); boolean isShowSidebarEventMetadata(); boolean isShowRecordLabelIfNoOtherViews(); boolean isSidebarFulltextLinkVisible(); boolean isSidebarTocWidgetVisible(); boolean isSidebarTocWidgetVisibleInFullscreen(); boolean isSidebarOpacLinkVisible(); boolean getSidebarTocPageNumbersVisible(); int getSidebarTocLengthBeforeCut(); int getSidebarTocInitialCollapseLevel(); int getSidebarTocCollapseLengthThreshold(); int getSidebarTocLowestLevelToCollapseForLength(); boolean isSidebarTocTreeView(); boolean isTocTreeView(String docStructType); List<String> getAllDrillDownFields(); List<String> getDrillDownFields(); List<String> getHierarchicalDrillDownFields(); int getInitialDrillDownElementNumber(String field); String getSortOrder(String field); List<String> getPriorityValuesForDrillDownField(String field); String getLabelFieldForDrillDownField(String facetField); @SuppressWarnings("static-method") List<String> getRangeFacetFields(); boolean isSortingEnabled(); String getDefaultSortField(); List<String> getSortFields(); List<String> getStaticSortFields(); String getUrnResolverUrl(); int getUnconditionalImageAccessMaxWidth(); boolean isFullAccessForLocalhost(); boolean isGeneratePdfInTaskManager(); boolean isPdfApiDisabled(); boolean isTitlePdfEnabled(); boolean isTocPdfEnabled(); boolean isMetadataPdfEnabled(); boolean isPagePdfEnabled(); boolean isDocHierarchyPdfEnabled(); boolean isTitleEpubEnabled(); boolean isTocEpubEnabled(); boolean isMetadataEpubEnabled(); String getDownloadFolder(String type); int getRssFeedItems(); String getRssTitle(); String getRssDescription(); String getRssCopyrightText(); String getRulesetFilePath(); String getDefaultCollection(); int getThumbnailsWidth(); int getThumbnailsHeight(); int getThumbnailsCompression(); String getAnchorThumbnailMode(); int getMultivolumeThumbnailWidth(); int getMultivolumeThumbnailHeight(); boolean getDisplayBreadcrumbs(); boolean getDisplayMetadataPageLinkBlock(); boolean isAddDublinCoreMetaTags(); boolean isAddHighwirePressMetaTags(); int getMetadataParamNumber(); boolean useTiles(); boolean useTilesFullscreen(); boolean useTiles(PageType view, ImageType image); int getFooterHeight(); int getFullscreenFooterHeight(); int getFooterHeight(PageType view, ImageType image); String getImageViewType(); String getZoomFullscreenViewType(); String getZoomImageViewType(PageType view, ImageType image); boolean useOpenSeadragon(); List<String> getImageViewZoomScales(); List<String> getImageViewZoomScales(String view); List<String> getImageViewZoomScales(PageType view, ImageType image); Map<Integer, List<Integer>> getTileSizes(); Map<Integer, List<Integer>> getTileSizes(PageType view, ImageType image); SubnodeConfiguration getZoomImageViewConfig(PageType pageType, ImageType imageType); int getBreadcrumbsClipping(); boolean isDisplayTopstructLabel(); boolean getDisplayStructType(); int getSearchHitMetadataValueNumber(); int getSearchHitMetadataValueLength(); List<String> getWatermarkTextConfiguration(); String getWatermarkFormat(); boolean isOriginalContentDownload(); String getStopwordsFilePath(); String getPageType(PageType type); String getDocstructTargetPageType(String docstruct); String getPageTypeExitView(PageType type); int getFulltextPercentageWarningThreshold(); boolean isUseViewerLocaleAsRecordLanguage(); String getFeedbackEmailAddress(); boolean isBookmarksEnabled(); boolean isForceJpegConversion(); int getPageLoaderThreshold(); boolean isPreventProxyCaching(); boolean isSolrCompressionEnabled(); boolean isSolrBackwardsCompatible(); boolean isUserCommentsEnabled(); String getUserCommentsConditionalQuery(); List<String> getUserCommentsNotificationEmailAddresses(); String getViewerHome(); List<String> getWatermarkIdField(); String getSubthemeMainTheme(); String getSubthemeDiscriminatorField(); int getTagCloudSampleSize(String fieldName); List<StringPair> getTocVolumeSortFieldsForTemplate(String template); String getTocVolumeGroupFieldForTemplate(String template); boolean getDisplayTitleBreadcrumbs(); boolean isDisplayTitlePURL(); int getTitleBreadcrumbsMaxTitleLength(); boolean getIncludeAnchorInTitleBreadcrumbs(); boolean isDisplaySearchRssLinks(); boolean showThumbnailsInToc(); String getStartYearForTimeline(); String getEndYearForTimeline(); String getTimelineHits(); boolean isPiwikTrackingEnabled(); String getPiwikBaseURL(); String getPiwikSiteID(); boolean isSearchSavingEnabled(); boolean isBoostTopLevelDocstructs(); boolean isGroupDuplicateHits(); List<String> getRecordGroupIdentifierFields(); List<String> getAncestorIdentifierFields(); boolean isTocListSiblingRecords(); List<SearchFilter> getSearchFilters(); List<Map<String, String>> getWebApiFields(); String getDbPersistenceUnit(); boolean useCustomNavBar(); String getCmsTemplateFolder(); String getCmsMediaFolder(); String getTempMediaFolder(); List<String> getCmsClassifications(); int getCmsMediaDisplayWidth(); int getCmsMediaDisplayHeight(); boolean isTranskribusEnabled(); String getTranskribusUserName(); String getTranskribusPassword(); String getTranskribusDefaultCollection(); String getTranskribusRestApiUrl(); List<String> getTranskribusAllowedDocumentTypes(); int getTocIndentation(); boolean isPageBrowseEnabled(); List<Integer> getPageBrowseSteps(); String getTaskManagerServiceUrl(); String getTaskManagerRestUrl(); String getReCaptchaSiteKey(); boolean isUseReCaptcha(); boolean isSearchInItemEnabled(); String getDefaultBrowseIcon(String field); boolean isSearchExcelExportEnabled(); List<String> getSearchExcelExportFields(); int getExcelDownloadTimeout(); boolean isDisplayEmptyTocInSidebar(); boolean isDoublePageModeEnabled(); List<String> getRestrictedImageUrls(); List<String> getIIIFLicenses(); List<String> getIIIFMetadataFields(); List<String> getIIIFEventFields(); String getIIIFMetadataLabel(String field); int getIIIFDiscoveryAvtivitiesPerPage(); List<String> getIIIFLogo(); String getIIIFNavDateField(); List<String> getIIIFAttribution(); List<String> getIIIFDescriptionFields(); String getSitelinksField(); String getSitelinksFilterQuery(); List<String> getConfiguredCollections(); String getWebApiToken(); boolean isAllowRedirectCollectionToWork(); String getTwitterUserName(); float getLimitImageHeightUpperRatioThreshold(); float getLimitImageHeightLowerRatioThreshold(); boolean isLimitImageHeight(); boolean isAddCORSHeader(); String getCORSHeaderValue(); boolean isDiscloseImageContentLocation(); String getAccessConditionDisplayField(); String getCopyrightDisplayField(); boolean isDisplayCopyrightInfo(); boolean isDisplaySocialMediaShareLinks(); boolean isDisplayAnchorLabelInTitleBar(String template); String getAnchorLabelInTitleBarPrefix(String template); String getAnchorLabelInTitleBarSuffix(String template); String getMapBoxToken(); GeoMapMarker getGeoMapMarker(String name); List<String> getGeoMapMarkerFields(); List<GeoMapMarker> getGeoMapMarkers(); static GeoMapMarker readGeoMapMarker(HierarchicalConfiguration config); List<LicenseDescription> getLicenseDescriptions(); }
Configuration extends AbstractConfiguration { public boolean isShowSidebarEventMetadata() { return getLocalBoolean("sidebar.metadata.showEventMetadata", true); } Configuration(String configFilePath); Set<String> getStopwords(); boolean reloadingRequired(); String getConfigLocalPath(); String getLocalRessourceBundleFile(); int getViewerThumbnailsPerPage(); int getViewerMaxImageWidth(); int getViewerMaxImageHeight(); int getViewerMaxImageScale(); boolean isRememberImageZoom(); boolean isRememberImageRotation(); String getDfgViewerUrl(); String getConnectorVersionUrl(); List<Metadata> getTitleBarMetadata(); List<Metadata> getSearchHitMetadataForTemplate(String template); List<Metadata> getMainMetadataForTemplate(String template); List<Metadata> getSidebarMetadataForTemplate(String template); List<String> getNormdataFieldsForTemplate(String template); List<Metadata> getTocLabelConfiguration(String template); int getTocAnchorGroupElementsPerPage(); boolean isDisplaySidebarBrowsingTerms(); boolean isDisplaySidebarRssFeed(); boolean isDisplayWidgetUsage(); Metadata getWidgetUsageLicenceTextMetadata(); boolean isDisplaySidebarUsageWidgetLinkToJpegImage(); boolean isDisplaySidebarUsageWidgetLinkToMasterImage(); String getWidgetUsageMaxJpegSize(); String getWidgetUsageMaxMasterImageSize(); List<String> getCalendarDocStructTypes(); boolean isBrowsingMenuEnabled(); int getBrowsingMenuHitsPerPage(); List<BrowsingMenuFieldConfig> getBrowsingMenuFields(); String getBrowsingMenuSortingIgnoreLeadingChars(); String getDocstrctWhitelistFilterQuery(); String getCollectionSplittingChar(String field); List<DcSortingList> getCollectionSorting(String field); List<String> getCollectionBlacklist(String field); String getCollectionDefaultSortField(String field, String name); int getCollectionDisplayNumberOfVolumesLevel(String field); int getCollectionDisplayDepthForSearch(String field); String getCollectionHierarchyField(); boolean isAddCollectionHierarchyToBreadcrumbs(String field); String getSolrUrl(); String getContentServerWrapperUrl(); String getDownloadUrl(); String getRestApiUrl(); String getIIIFApiUrl(); boolean isUseIIIFApiUrlForCmsMediaUrls(); String getContentServerRealUrl(); String getMetsUrl(); String getMarcUrl(); String getDcUrl(); String getEseUrl(); List<Integer> getSearchHitsPerPageValues(); int getSearchHitsPerPageDefaultValue(); int getFulltextFragmentLength(); boolean isAdvancedSearchEnabled(); int getAdvancedSearchDefaultItemNumber(); List<AdvancedSearchFieldConfiguration> getAdvancedSearchFields(); boolean isAggregateHits(); boolean isDisplayAdditionalMetadataEnabled(); List<String> getDisplayAdditionalMetadataIgnoreFields(); List<String> getDisplayAdditionalMetadataTranslateFields(); boolean isAdvancedSearchFieldHierarchical(String field); boolean isAdvancedSearchFieldRange(String field); boolean isAdvancedSearchFieldUntokenizeForPhraseSearch(String field); String getAdvancedSearchFieldSeparatorLabel(String field); boolean isTimelineSearchEnabled(); boolean isCalendarSearchEnabled(); String getStaticQuerySuffix(); String getPreviousVersionIdentifierField(); String getNextVersionIdentifierField(); String getVersionLabelField(); String getIndexedMetsFolder(); String getIndexedLidoFolder(); String getIndexedDenkxwebFolder(); String getIndexedDublinCoreFolder(); String getPageSelectionFormat(); String getMediaFolder(); String getPdfFolder(); String getVocabulariesFolder(); String getOrigContentFolder(); String getCmsTextFolder(); String getAltoFolder(); String getAbbyyFolder(); String getFulltextFolder(); String getTeiFolder(); String getCmdiFolder(); String getWcFolder(); String getAnnotationFolder(); String getHotfolder(); @SuppressWarnings("static-method") String getTempFolder(); boolean isUrnDoRedirect(); boolean isUserRegistrationEnabled(); List<SecurityQuestion> getSecurityQuestions(); boolean isShowOpenIdConnect(); List<IAuthenticationProvider> getAuthenticationProviders(); String getSmtpServer(); String getSmtpUser(); String getSmtpPassword(); String getSmtpSenderAddress(); String getSmtpSenderName(); String getSmtpSecurity(); String getAnonymousUserEmailAddress(); boolean isDisplayCollectionBrowsing(); boolean isDisplayUserNavigation(); boolean isDisplayTagCloudNavigation(); boolean isDisplayStatistics(); boolean isDisplayTimeMatrix(); boolean isDisplayCrowdsourcingModuleLinks(); String getTheme(); String getThemeRootPath(); String getName(); String getDescription(); boolean isDisplayTagCloudStartpage(); boolean isDisplaySearchResultNavigation(); boolean isFoldout(String sidebarElement); boolean isSidebarPageViewLinkVisible(); boolean isSidebarCalendarViewLinkVisible(); boolean isSidebarTocViewLinkVisible(); boolean isSidebarThumbsViewLinkVisible(); boolean isSidebarMetadataViewLinkVisible(); boolean isShowSidebarEventMetadata(); boolean isShowRecordLabelIfNoOtherViews(); boolean isSidebarFulltextLinkVisible(); boolean isSidebarTocWidgetVisible(); boolean isSidebarTocWidgetVisibleInFullscreen(); boolean isSidebarOpacLinkVisible(); boolean getSidebarTocPageNumbersVisible(); int getSidebarTocLengthBeforeCut(); int getSidebarTocInitialCollapseLevel(); int getSidebarTocCollapseLengthThreshold(); int getSidebarTocLowestLevelToCollapseForLength(); boolean isSidebarTocTreeView(); boolean isTocTreeView(String docStructType); List<String> getAllDrillDownFields(); List<String> getDrillDownFields(); List<String> getHierarchicalDrillDownFields(); int getInitialDrillDownElementNumber(String field); String getSortOrder(String field); List<String> getPriorityValuesForDrillDownField(String field); String getLabelFieldForDrillDownField(String facetField); @SuppressWarnings("static-method") List<String> getRangeFacetFields(); boolean isSortingEnabled(); String getDefaultSortField(); List<String> getSortFields(); List<String> getStaticSortFields(); String getUrnResolverUrl(); int getUnconditionalImageAccessMaxWidth(); boolean isFullAccessForLocalhost(); boolean isGeneratePdfInTaskManager(); boolean isPdfApiDisabled(); boolean isTitlePdfEnabled(); boolean isTocPdfEnabled(); boolean isMetadataPdfEnabled(); boolean isPagePdfEnabled(); boolean isDocHierarchyPdfEnabled(); boolean isTitleEpubEnabled(); boolean isTocEpubEnabled(); boolean isMetadataEpubEnabled(); String getDownloadFolder(String type); int getRssFeedItems(); String getRssTitle(); String getRssDescription(); String getRssCopyrightText(); String getRulesetFilePath(); String getDefaultCollection(); int getThumbnailsWidth(); int getThumbnailsHeight(); int getThumbnailsCompression(); String getAnchorThumbnailMode(); int getMultivolumeThumbnailWidth(); int getMultivolumeThumbnailHeight(); boolean getDisplayBreadcrumbs(); boolean getDisplayMetadataPageLinkBlock(); boolean isAddDublinCoreMetaTags(); boolean isAddHighwirePressMetaTags(); int getMetadataParamNumber(); boolean useTiles(); boolean useTilesFullscreen(); boolean useTiles(PageType view, ImageType image); int getFooterHeight(); int getFullscreenFooterHeight(); int getFooterHeight(PageType view, ImageType image); String getImageViewType(); String getZoomFullscreenViewType(); String getZoomImageViewType(PageType view, ImageType image); boolean useOpenSeadragon(); List<String> getImageViewZoomScales(); List<String> getImageViewZoomScales(String view); List<String> getImageViewZoomScales(PageType view, ImageType image); Map<Integer, List<Integer>> getTileSizes(); Map<Integer, List<Integer>> getTileSizes(PageType view, ImageType image); SubnodeConfiguration getZoomImageViewConfig(PageType pageType, ImageType imageType); int getBreadcrumbsClipping(); boolean isDisplayTopstructLabel(); boolean getDisplayStructType(); int getSearchHitMetadataValueNumber(); int getSearchHitMetadataValueLength(); List<String> getWatermarkTextConfiguration(); String getWatermarkFormat(); boolean isOriginalContentDownload(); String getStopwordsFilePath(); String getPageType(PageType type); String getDocstructTargetPageType(String docstruct); String getPageTypeExitView(PageType type); int getFulltextPercentageWarningThreshold(); boolean isUseViewerLocaleAsRecordLanguage(); String getFeedbackEmailAddress(); boolean isBookmarksEnabled(); boolean isForceJpegConversion(); int getPageLoaderThreshold(); boolean isPreventProxyCaching(); boolean isSolrCompressionEnabled(); boolean isSolrBackwardsCompatible(); boolean isUserCommentsEnabled(); String getUserCommentsConditionalQuery(); List<String> getUserCommentsNotificationEmailAddresses(); String getViewerHome(); List<String> getWatermarkIdField(); String getSubthemeMainTheme(); String getSubthemeDiscriminatorField(); int getTagCloudSampleSize(String fieldName); List<StringPair> getTocVolumeSortFieldsForTemplate(String template); String getTocVolumeGroupFieldForTemplate(String template); boolean getDisplayTitleBreadcrumbs(); boolean isDisplayTitlePURL(); int getTitleBreadcrumbsMaxTitleLength(); boolean getIncludeAnchorInTitleBreadcrumbs(); boolean isDisplaySearchRssLinks(); boolean showThumbnailsInToc(); String getStartYearForTimeline(); String getEndYearForTimeline(); String getTimelineHits(); boolean isPiwikTrackingEnabled(); String getPiwikBaseURL(); String getPiwikSiteID(); boolean isSearchSavingEnabled(); boolean isBoostTopLevelDocstructs(); boolean isGroupDuplicateHits(); List<String> getRecordGroupIdentifierFields(); List<String> getAncestorIdentifierFields(); boolean isTocListSiblingRecords(); List<SearchFilter> getSearchFilters(); List<Map<String, String>> getWebApiFields(); String getDbPersistenceUnit(); boolean useCustomNavBar(); String getCmsTemplateFolder(); String getCmsMediaFolder(); String getTempMediaFolder(); List<String> getCmsClassifications(); int getCmsMediaDisplayWidth(); int getCmsMediaDisplayHeight(); boolean isTranskribusEnabled(); String getTranskribusUserName(); String getTranskribusPassword(); String getTranskribusDefaultCollection(); String getTranskribusRestApiUrl(); List<String> getTranskribusAllowedDocumentTypes(); int getTocIndentation(); boolean isPageBrowseEnabled(); List<Integer> getPageBrowseSteps(); String getTaskManagerServiceUrl(); String getTaskManagerRestUrl(); String getReCaptchaSiteKey(); boolean isUseReCaptcha(); boolean isSearchInItemEnabled(); String getDefaultBrowseIcon(String field); boolean isSearchExcelExportEnabled(); List<String> getSearchExcelExportFields(); int getExcelDownloadTimeout(); boolean isDisplayEmptyTocInSidebar(); boolean isDoublePageModeEnabled(); List<String> getRestrictedImageUrls(); List<String> getIIIFLicenses(); List<String> getIIIFMetadataFields(); List<String> getIIIFEventFields(); String getIIIFMetadataLabel(String field); int getIIIFDiscoveryAvtivitiesPerPage(); List<String> getIIIFLogo(); String getIIIFNavDateField(); List<String> getIIIFAttribution(); List<String> getIIIFDescriptionFields(); String getSitelinksField(); String getSitelinksFilterQuery(); List<String> getConfiguredCollections(); String getWebApiToken(); boolean isAllowRedirectCollectionToWork(); String getTwitterUserName(); float getLimitImageHeightUpperRatioThreshold(); float getLimitImageHeightLowerRatioThreshold(); boolean isLimitImageHeight(); boolean isAddCORSHeader(); String getCORSHeaderValue(); boolean isDiscloseImageContentLocation(); String getAccessConditionDisplayField(); String getCopyrightDisplayField(); boolean isDisplayCopyrightInfo(); boolean isDisplaySocialMediaShareLinks(); boolean isDisplayAnchorLabelInTitleBar(String template); String getAnchorLabelInTitleBarPrefix(String template); String getAnchorLabelInTitleBarSuffix(String template); String getMapBoxToken(); GeoMapMarker getGeoMapMarker(String name); List<String> getGeoMapMarkerFields(); List<GeoMapMarker> getGeoMapMarkers(); static GeoMapMarker readGeoMapMarker(HierarchicalConfiguration config); List<LicenseDescription> getLicenseDescriptions(); }
@Test public void isShowRecordLabelIfNoOtherViews_shouldReturnCorrectValue() throws Exception { Assert.assertTrue(DataManager.getInstance().getConfiguration().isShowRecordLabelIfNoOtherViews()); }
public boolean isShowRecordLabelIfNoOtherViews() { return getLocalBoolean("sidebar.metadata.showRecordLabelIfNoOtherViews", false); }
Configuration extends AbstractConfiguration { public boolean isShowRecordLabelIfNoOtherViews() { return getLocalBoolean("sidebar.metadata.showRecordLabelIfNoOtherViews", false); } }
Configuration extends AbstractConfiguration { public boolean isShowRecordLabelIfNoOtherViews() { return getLocalBoolean("sidebar.metadata.showRecordLabelIfNoOtherViews", false); } Configuration(String configFilePath); }
Configuration extends AbstractConfiguration { public boolean isShowRecordLabelIfNoOtherViews() { return getLocalBoolean("sidebar.metadata.showRecordLabelIfNoOtherViews", false); } Configuration(String configFilePath); Set<String> getStopwords(); boolean reloadingRequired(); String getConfigLocalPath(); String getLocalRessourceBundleFile(); int getViewerThumbnailsPerPage(); int getViewerMaxImageWidth(); int getViewerMaxImageHeight(); int getViewerMaxImageScale(); boolean isRememberImageZoom(); boolean isRememberImageRotation(); String getDfgViewerUrl(); String getConnectorVersionUrl(); List<Metadata> getTitleBarMetadata(); List<Metadata> getSearchHitMetadataForTemplate(String template); List<Metadata> getMainMetadataForTemplate(String template); List<Metadata> getSidebarMetadataForTemplate(String template); List<String> getNormdataFieldsForTemplate(String template); List<Metadata> getTocLabelConfiguration(String template); int getTocAnchorGroupElementsPerPage(); boolean isDisplaySidebarBrowsingTerms(); boolean isDisplaySidebarRssFeed(); boolean isDisplayWidgetUsage(); Metadata getWidgetUsageLicenceTextMetadata(); boolean isDisplaySidebarUsageWidgetLinkToJpegImage(); boolean isDisplaySidebarUsageWidgetLinkToMasterImage(); String getWidgetUsageMaxJpegSize(); String getWidgetUsageMaxMasterImageSize(); List<String> getCalendarDocStructTypes(); boolean isBrowsingMenuEnabled(); int getBrowsingMenuHitsPerPage(); List<BrowsingMenuFieldConfig> getBrowsingMenuFields(); String getBrowsingMenuSortingIgnoreLeadingChars(); String getDocstrctWhitelistFilterQuery(); String getCollectionSplittingChar(String field); List<DcSortingList> getCollectionSorting(String field); List<String> getCollectionBlacklist(String field); String getCollectionDefaultSortField(String field, String name); int getCollectionDisplayNumberOfVolumesLevel(String field); int getCollectionDisplayDepthForSearch(String field); String getCollectionHierarchyField(); boolean isAddCollectionHierarchyToBreadcrumbs(String field); String getSolrUrl(); String getContentServerWrapperUrl(); String getDownloadUrl(); String getRestApiUrl(); String getIIIFApiUrl(); boolean isUseIIIFApiUrlForCmsMediaUrls(); String getContentServerRealUrl(); String getMetsUrl(); String getMarcUrl(); String getDcUrl(); String getEseUrl(); List<Integer> getSearchHitsPerPageValues(); int getSearchHitsPerPageDefaultValue(); int getFulltextFragmentLength(); boolean isAdvancedSearchEnabled(); int getAdvancedSearchDefaultItemNumber(); List<AdvancedSearchFieldConfiguration> getAdvancedSearchFields(); boolean isAggregateHits(); boolean isDisplayAdditionalMetadataEnabled(); List<String> getDisplayAdditionalMetadataIgnoreFields(); List<String> getDisplayAdditionalMetadataTranslateFields(); boolean isAdvancedSearchFieldHierarchical(String field); boolean isAdvancedSearchFieldRange(String field); boolean isAdvancedSearchFieldUntokenizeForPhraseSearch(String field); String getAdvancedSearchFieldSeparatorLabel(String field); boolean isTimelineSearchEnabled(); boolean isCalendarSearchEnabled(); String getStaticQuerySuffix(); String getPreviousVersionIdentifierField(); String getNextVersionIdentifierField(); String getVersionLabelField(); String getIndexedMetsFolder(); String getIndexedLidoFolder(); String getIndexedDenkxwebFolder(); String getIndexedDublinCoreFolder(); String getPageSelectionFormat(); String getMediaFolder(); String getPdfFolder(); String getVocabulariesFolder(); String getOrigContentFolder(); String getCmsTextFolder(); String getAltoFolder(); String getAbbyyFolder(); String getFulltextFolder(); String getTeiFolder(); String getCmdiFolder(); String getWcFolder(); String getAnnotationFolder(); String getHotfolder(); @SuppressWarnings("static-method") String getTempFolder(); boolean isUrnDoRedirect(); boolean isUserRegistrationEnabled(); List<SecurityQuestion> getSecurityQuestions(); boolean isShowOpenIdConnect(); List<IAuthenticationProvider> getAuthenticationProviders(); String getSmtpServer(); String getSmtpUser(); String getSmtpPassword(); String getSmtpSenderAddress(); String getSmtpSenderName(); String getSmtpSecurity(); String getAnonymousUserEmailAddress(); boolean isDisplayCollectionBrowsing(); boolean isDisplayUserNavigation(); boolean isDisplayTagCloudNavigation(); boolean isDisplayStatistics(); boolean isDisplayTimeMatrix(); boolean isDisplayCrowdsourcingModuleLinks(); String getTheme(); String getThemeRootPath(); String getName(); String getDescription(); boolean isDisplayTagCloudStartpage(); boolean isDisplaySearchResultNavigation(); boolean isFoldout(String sidebarElement); boolean isSidebarPageViewLinkVisible(); boolean isSidebarCalendarViewLinkVisible(); boolean isSidebarTocViewLinkVisible(); boolean isSidebarThumbsViewLinkVisible(); boolean isSidebarMetadataViewLinkVisible(); boolean isShowSidebarEventMetadata(); boolean isShowRecordLabelIfNoOtherViews(); boolean isSidebarFulltextLinkVisible(); boolean isSidebarTocWidgetVisible(); boolean isSidebarTocWidgetVisibleInFullscreen(); boolean isSidebarOpacLinkVisible(); boolean getSidebarTocPageNumbersVisible(); int getSidebarTocLengthBeforeCut(); int getSidebarTocInitialCollapseLevel(); int getSidebarTocCollapseLengthThreshold(); int getSidebarTocLowestLevelToCollapseForLength(); boolean isSidebarTocTreeView(); boolean isTocTreeView(String docStructType); List<String> getAllDrillDownFields(); List<String> getDrillDownFields(); List<String> getHierarchicalDrillDownFields(); int getInitialDrillDownElementNumber(String field); String getSortOrder(String field); List<String> getPriorityValuesForDrillDownField(String field); String getLabelFieldForDrillDownField(String facetField); @SuppressWarnings("static-method") List<String> getRangeFacetFields(); boolean isSortingEnabled(); String getDefaultSortField(); List<String> getSortFields(); List<String> getStaticSortFields(); String getUrnResolverUrl(); int getUnconditionalImageAccessMaxWidth(); boolean isFullAccessForLocalhost(); boolean isGeneratePdfInTaskManager(); boolean isPdfApiDisabled(); boolean isTitlePdfEnabled(); boolean isTocPdfEnabled(); boolean isMetadataPdfEnabled(); boolean isPagePdfEnabled(); boolean isDocHierarchyPdfEnabled(); boolean isTitleEpubEnabled(); boolean isTocEpubEnabled(); boolean isMetadataEpubEnabled(); String getDownloadFolder(String type); int getRssFeedItems(); String getRssTitle(); String getRssDescription(); String getRssCopyrightText(); String getRulesetFilePath(); String getDefaultCollection(); int getThumbnailsWidth(); int getThumbnailsHeight(); int getThumbnailsCompression(); String getAnchorThumbnailMode(); int getMultivolumeThumbnailWidth(); int getMultivolumeThumbnailHeight(); boolean getDisplayBreadcrumbs(); boolean getDisplayMetadataPageLinkBlock(); boolean isAddDublinCoreMetaTags(); boolean isAddHighwirePressMetaTags(); int getMetadataParamNumber(); boolean useTiles(); boolean useTilesFullscreen(); boolean useTiles(PageType view, ImageType image); int getFooterHeight(); int getFullscreenFooterHeight(); int getFooterHeight(PageType view, ImageType image); String getImageViewType(); String getZoomFullscreenViewType(); String getZoomImageViewType(PageType view, ImageType image); boolean useOpenSeadragon(); List<String> getImageViewZoomScales(); List<String> getImageViewZoomScales(String view); List<String> getImageViewZoomScales(PageType view, ImageType image); Map<Integer, List<Integer>> getTileSizes(); Map<Integer, List<Integer>> getTileSizes(PageType view, ImageType image); SubnodeConfiguration getZoomImageViewConfig(PageType pageType, ImageType imageType); int getBreadcrumbsClipping(); boolean isDisplayTopstructLabel(); boolean getDisplayStructType(); int getSearchHitMetadataValueNumber(); int getSearchHitMetadataValueLength(); List<String> getWatermarkTextConfiguration(); String getWatermarkFormat(); boolean isOriginalContentDownload(); String getStopwordsFilePath(); String getPageType(PageType type); String getDocstructTargetPageType(String docstruct); String getPageTypeExitView(PageType type); int getFulltextPercentageWarningThreshold(); boolean isUseViewerLocaleAsRecordLanguage(); String getFeedbackEmailAddress(); boolean isBookmarksEnabled(); boolean isForceJpegConversion(); int getPageLoaderThreshold(); boolean isPreventProxyCaching(); boolean isSolrCompressionEnabled(); boolean isSolrBackwardsCompatible(); boolean isUserCommentsEnabled(); String getUserCommentsConditionalQuery(); List<String> getUserCommentsNotificationEmailAddresses(); String getViewerHome(); List<String> getWatermarkIdField(); String getSubthemeMainTheme(); String getSubthemeDiscriminatorField(); int getTagCloudSampleSize(String fieldName); List<StringPair> getTocVolumeSortFieldsForTemplate(String template); String getTocVolumeGroupFieldForTemplate(String template); boolean getDisplayTitleBreadcrumbs(); boolean isDisplayTitlePURL(); int getTitleBreadcrumbsMaxTitleLength(); boolean getIncludeAnchorInTitleBreadcrumbs(); boolean isDisplaySearchRssLinks(); boolean showThumbnailsInToc(); String getStartYearForTimeline(); String getEndYearForTimeline(); String getTimelineHits(); boolean isPiwikTrackingEnabled(); String getPiwikBaseURL(); String getPiwikSiteID(); boolean isSearchSavingEnabled(); boolean isBoostTopLevelDocstructs(); boolean isGroupDuplicateHits(); List<String> getRecordGroupIdentifierFields(); List<String> getAncestorIdentifierFields(); boolean isTocListSiblingRecords(); List<SearchFilter> getSearchFilters(); List<Map<String, String>> getWebApiFields(); String getDbPersistenceUnit(); boolean useCustomNavBar(); String getCmsTemplateFolder(); String getCmsMediaFolder(); String getTempMediaFolder(); List<String> getCmsClassifications(); int getCmsMediaDisplayWidth(); int getCmsMediaDisplayHeight(); boolean isTranskribusEnabled(); String getTranskribusUserName(); String getTranskribusPassword(); String getTranskribusDefaultCollection(); String getTranskribusRestApiUrl(); List<String> getTranskribusAllowedDocumentTypes(); int getTocIndentation(); boolean isPageBrowseEnabled(); List<Integer> getPageBrowseSteps(); String getTaskManagerServiceUrl(); String getTaskManagerRestUrl(); String getReCaptchaSiteKey(); boolean isUseReCaptcha(); boolean isSearchInItemEnabled(); String getDefaultBrowseIcon(String field); boolean isSearchExcelExportEnabled(); List<String> getSearchExcelExportFields(); int getExcelDownloadTimeout(); boolean isDisplayEmptyTocInSidebar(); boolean isDoublePageModeEnabled(); List<String> getRestrictedImageUrls(); List<String> getIIIFLicenses(); List<String> getIIIFMetadataFields(); List<String> getIIIFEventFields(); String getIIIFMetadataLabel(String field); int getIIIFDiscoveryAvtivitiesPerPage(); List<String> getIIIFLogo(); String getIIIFNavDateField(); List<String> getIIIFAttribution(); List<String> getIIIFDescriptionFields(); String getSitelinksField(); String getSitelinksFilterQuery(); List<String> getConfiguredCollections(); String getWebApiToken(); boolean isAllowRedirectCollectionToWork(); String getTwitterUserName(); float getLimitImageHeightUpperRatioThreshold(); float getLimitImageHeightLowerRatioThreshold(); boolean isLimitImageHeight(); boolean isAddCORSHeader(); String getCORSHeaderValue(); boolean isDiscloseImageContentLocation(); String getAccessConditionDisplayField(); String getCopyrightDisplayField(); boolean isDisplayCopyrightInfo(); boolean isDisplaySocialMediaShareLinks(); boolean isDisplayAnchorLabelInTitleBar(String template); String getAnchorLabelInTitleBarPrefix(String template); String getAnchorLabelInTitleBarSuffix(String template); String getMapBoxToken(); GeoMapMarker getGeoMapMarker(String name); List<String> getGeoMapMarkerFields(); List<GeoMapMarker> getGeoMapMarkers(); static GeoMapMarker readGeoMapMarker(HierarchicalConfiguration config); List<LicenseDescription> getLicenseDescriptions(); }
Configuration extends AbstractConfiguration { public boolean isShowRecordLabelIfNoOtherViews() { return getLocalBoolean("sidebar.metadata.showRecordLabelIfNoOtherViews", false); } Configuration(String configFilePath); Set<String> getStopwords(); boolean reloadingRequired(); String getConfigLocalPath(); String getLocalRessourceBundleFile(); int getViewerThumbnailsPerPage(); int getViewerMaxImageWidth(); int getViewerMaxImageHeight(); int getViewerMaxImageScale(); boolean isRememberImageZoom(); boolean isRememberImageRotation(); String getDfgViewerUrl(); String getConnectorVersionUrl(); List<Metadata> getTitleBarMetadata(); List<Metadata> getSearchHitMetadataForTemplate(String template); List<Metadata> getMainMetadataForTemplate(String template); List<Metadata> getSidebarMetadataForTemplate(String template); List<String> getNormdataFieldsForTemplate(String template); List<Metadata> getTocLabelConfiguration(String template); int getTocAnchorGroupElementsPerPage(); boolean isDisplaySidebarBrowsingTerms(); boolean isDisplaySidebarRssFeed(); boolean isDisplayWidgetUsage(); Metadata getWidgetUsageLicenceTextMetadata(); boolean isDisplaySidebarUsageWidgetLinkToJpegImage(); boolean isDisplaySidebarUsageWidgetLinkToMasterImage(); String getWidgetUsageMaxJpegSize(); String getWidgetUsageMaxMasterImageSize(); List<String> getCalendarDocStructTypes(); boolean isBrowsingMenuEnabled(); int getBrowsingMenuHitsPerPage(); List<BrowsingMenuFieldConfig> getBrowsingMenuFields(); String getBrowsingMenuSortingIgnoreLeadingChars(); String getDocstrctWhitelistFilterQuery(); String getCollectionSplittingChar(String field); List<DcSortingList> getCollectionSorting(String field); List<String> getCollectionBlacklist(String field); String getCollectionDefaultSortField(String field, String name); int getCollectionDisplayNumberOfVolumesLevel(String field); int getCollectionDisplayDepthForSearch(String field); String getCollectionHierarchyField(); boolean isAddCollectionHierarchyToBreadcrumbs(String field); String getSolrUrl(); String getContentServerWrapperUrl(); String getDownloadUrl(); String getRestApiUrl(); String getIIIFApiUrl(); boolean isUseIIIFApiUrlForCmsMediaUrls(); String getContentServerRealUrl(); String getMetsUrl(); String getMarcUrl(); String getDcUrl(); String getEseUrl(); List<Integer> getSearchHitsPerPageValues(); int getSearchHitsPerPageDefaultValue(); int getFulltextFragmentLength(); boolean isAdvancedSearchEnabled(); int getAdvancedSearchDefaultItemNumber(); List<AdvancedSearchFieldConfiguration> getAdvancedSearchFields(); boolean isAggregateHits(); boolean isDisplayAdditionalMetadataEnabled(); List<String> getDisplayAdditionalMetadataIgnoreFields(); List<String> getDisplayAdditionalMetadataTranslateFields(); boolean isAdvancedSearchFieldHierarchical(String field); boolean isAdvancedSearchFieldRange(String field); boolean isAdvancedSearchFieldUntokenizeForPhraseSearch(String field); String getAdvancedSearchFieldSeparatorLabel(String field); boolean isTimelineSearchEnabled(); boolean isCalendarSearchEnabled(); String getStaticQuerySuffix(); String getPreviousVersionIdentifierField(); String getNextVersionIdentifierField(); String getVersionLabelField(); String getIndexedMetsFolder(); String getIndexedLidoFolder(); String getIndexedDenkxwebFolder(); String getIndexedDublinCoreFolder(); String getPageSelectionFormat(); String getMediaFolder(); String getPdfFolder(); String getVocabulariesFolder(); String getOrigContentFolder(); String getCmsTextFolder(); String getAltoFolder(); String getAbbyyFolder(); String getFulltextFolder(); String getTeiFolder(); String getCmdiFolder(); String getWcFolder(); String getAnnotationFolder(); String getHotfolder(); @SuppressWarnings("static-method") String getTempFolder(); boolean isUrnDoRedirect(); boolean isUserRegistrationEnabled(); List<SecurityQuestion> getSecurityQuestions(); boolean isShowOpenIdConnect(); List<IAuthenticationProvider> getAuthenticationProviders(); String getSmtpServer(); String getSmtpUser(); String getSmtpPassword(); String getSmtpSenderAddress(); String getSmtpSenderName(); String getSmtpSecurity(); String getAnonymousUserEmailAddress(); boolean isDisplayCollectionBrowsing(); boolean isDisplayUserNavigation(); boolean isDisplayTagCloudNavigation(); boolean isDisplayStatistics(); boolean isDisplayTimeMatrix(); boolean isDisplayCrowdsourcingModuleLinks(); String getTheme(); String getThemeRootPath(); String getName(); String getDescription(); boolean isDisplayTagCloudStartpage(); boolean isDisplaySearchResultNavigation(); boolean isFoldout(String sidebarElement); boolean isSidebarPageViewLinkVisible(); boolean isSidebarCalendarViewLinkVisible(); boolean isSidebarTocViewLinkVisible(); boolean isSidebarThumbsViewLinkVisible(); boolean isSidebarMetadataViewLinkVisible(); boolean isShowSidebarEventMetadata(); boolean isShowRecordLabelIfNoOtherViews(); boolean isSidebarFulltextLinkVisible(); boolean isSidebarTocWidgetVisible(); boolean isSidebarTocWidgetVisibleInFullscreen(); boolean isSidebarOpacLinkVisible(); boolean getSidebarTocPageNumbersVisible(); int getSidebarTocLengthBeforeCut(); int getSidebarTocInitialCollapseLevel(); int getSidebarTocCollapseLengthThreshold(); int getSidebarTocLowestLevelToCollapseForLength(); boolean isSidebarTocTreeView(); boolean isTocTreeView(String docStructType); List<String> getAllDrillDownFields(); List<String> getDrillDownFields(); List<String> getHierarchicalDrillDownFields(); int getInitialDrillDownElementNumber(String field); String getSortOrder(String field); List<String> getPriorityValuesForDrillDownField(String field); String getLabelFieldForDrillDownField(String facetField); @SuppressWarnings("static-method") List<String> getRangeFacetFields(); boolean isSortingEnabled(); String getDefaultSortField(); List<String> getSortFields(); List<String> getStaticSortFields(); String getUrnResolverUrl(); int getUnconditionalImageAccessMaxWidth(); boolean isFullAccessForLocalhost(); boolean isGeneratePdfInTaskManager(); boolean isPdfApiDisabled(); boolean isTitlePdfEnabled(); boolean isTocPdfEnabled(); boolean isMetadataPdfEnabled(); boolean isPagePdfEnabled(); boolean isDocHierarchyPdfEnabled(); boolean isTitleEpubEnabled(); boolean isTocEpubEnabled(); boolean isMetadataEpubEnabled(); String getDownloadFolder(String type); int getRssFeedItems(); String getRssTitle(); String getRssDescription(); String getRssCopyrightText(); String getRulesetFilePath(); String getDefaultCollection(); int getThumbnailsWidth(); int getThumbnailsHeight(); int getThumbnailsCompression(); String getAnchorThumbnailMode(); int getMultivolumeThumbnailWidth(); int getMultivolumeThumbnailHeight(); boolean getDisplayBreadcrumbs(); boolean getDisplayMetadataPageLinkBlock(); boolean isAddDublinCoreMetaTags(); boolean isAddHighwirePressMetaTags(); int getMetadataParamNumber(); boolean useTiles(); boolean useTilesFullscreen(); boolean useTiles(PageType view, ImageType image); int getFooterHeight(); int getFullscreenFooterHeight(); int getFooterHeight(PageType view, ImageType image); String getImageViewType(); String getZoomFullscreenViewType(); String getZoomImageViewType(PageType view, ImageType image); boolean useOpenSeadragon(); List<String> getImageViewZoomScales(); List<String> getImageViewZoomScales(String view); List<String> getImageViewZoomScales(PageType view, ImageType image); Map<Integer, List<Integer>> getTileSizes(); Map<Integer, List<Integer>> getTileSizes(PageType view, ImageType image); SubnodeConfiguration getZoomImageViewConfig(PageType pageType, ImageType imageType); int getBreadcrumbsClipping(); boolean isDisplayTopstructLabel(); boolean getDisplayStructType(); int getSearchHitMetadataValueNumber(); int getSearchHitMetadataValueLength(); List<String> getWatermarkTextConfiguration(); String getWatermarkFormat(); boolean isOriginalContentDownload(); String getStopwordsFilePath(); String getPageType(PageType type); String getDocstructTargetPageType(String docstruct); String getPageTypeExitView(PageType type); int getFulltextPercentageWarningThreshold(); boolean isUseViewerLocaleAsRecordLanguage(); String getFeedbackEmailAddress(); boolean isBookmarksEnabled(); boolean isForceJpegConversion(); int getPageLoaderThreshold(); boolean isPreventProxyCaching(); boolean isSolrCompressionEnabled(); boolean isSolrBackwardsCompatible(); boolean isUserCommentsEnabled(); String getUserCommentsConditionalQuery(); List<String> getUserCommentsNotificationEmailAddresses(); String getViewerHome(); List<String> getWatermarkIdField(); String getSubthemeMainTheme(); String getSubthemeDiscriminatorField(); int getTagCloudSampleSize(String fieldName); List<StringPair> getTocVolumeSortFieldsForTemplate(String template); String getTocVolumeGroupFieldForTemplate(String template); boolean getDisplayTitleBreadcrumbs(); boolean isDisplayTitlePURL(); int getTitleBreadcrumbsMaxTitleLength(); boolean getIncludeAnchorInTitleBreadcrumbs(); boolean isDisplaySearchRssLinks(); boolean showThumbnailsInToc(); String getStartYearForTimeline(); String getEndYearForTimeline(); String getTimelineHits(); boolean isPiwikTrackingEnabled(); String getPiwikBaseURL(); String getPiwikSiteID(); boolean isSearchSavingEnabled(); boolean isBoostTopLevelDocstructs(); boolean isGroupDuplicateHits(); List<String> getRecordGroupIdentifierFields(); List<String> getAncestorIdentifierFields(); boolean isTocListSiblingRecords(); List<SearchFilter> getSearchFilters(); List<Map<String, String>> getWebApiFields(); String getDbPersistenceUnit(); boolean useCustomNavBar(); String getCmsTemplateFolder(); String getCmsMediaFolder(); String getTempMediaFolder(); List<String> getCmsClassifications(); int getCmsMediaDisplayWidth(); int getCmsMediaDisplayHeight(); boolean isTranskribusEnabled(); String getTranskribusUserName(); String getTranskribusPassword(); String getTranskribusDefaultCollection(); String getTranskribusRestApiUrl(); List<String> getTranskribusAllowedDocumentTypes(); int getTocIndentation(); boolean isPageBrowseEnabled(); List<Integer> getPageBrowseSteps(); String getTaskManagerServiceUrl(); String getTaskManagerRestUrl(); String getReCaptchaSiteKey(); boolean isUseReCaptcha(); boolean isSearchInItemEnabled(); String getDefaultBrowseIcon(String field); boolean isSearchExcelExportEnabled(); List<String> getSearchExcelExportFields(); int getExcelDownloadTimeout(); boolean isDisplayEmptyTocInSidebar(); boolean isDoublePageModeEnabled(); List<String> getRestrictedImageUrls(); List<String> getIIIFLicenses(); List<String> getIIIFMetadataFields(); List<String> getIIIFEventFields(); String getIIIFMetadataLabel(String field); int getIIIFDiscoveryAvtivitiesPerPage(); List<String> getIIIFLogo(); String getIIIFNavDateField(); List<String> getIIIFAttribution(); List<String> getIIIFDescriptionFields(); String getSitelinksField(); String getSitelinksFilterQuery(); List<String> getConfiguredCollections(); String getWebApiToken(); boolean isAllowRedirectCollectionToWork(); String getTwitterUserName(); float getLimitImageHeightUpperRatioThreshold(); float getLimitImageHeightLowerRatioThreshold(); boolean isLimitImageHeight(); boolean isAddCORSHeader(); String getCORSHeaderValue(); boolean isDiscloseImageContentLocation(); String getAccessConditionDisplayField(); String getCopyrightDisplayField(); boolean isDisplayCopyrightInfo(); boolean isDisplaySocialMediaShareLinks(); boolean isDisplayAnchorLabelInTitleBar(String template); String getAnchorLabelInTitleBarPrefix(String template); String getAnchorLabelInTitleBarSuffix(String template); String getMapBoxToken(); GeoMapMarker getGeoMapMarker(String name); List<String> getGeoMapMarkerFields(); List<GeoMapMarker> getGeoMapMarkers(); static GeoMapMarker readGeoMapMarker(HierarchicalConfiguration config); List<LicenseDescription> getLicenseDescriptions(); }
@Test public void isSidebarFulltextLinkVisible_shouldReturnCorrectValue() throws Exception { Assert.assertEquals(false, DataManager.getInstance().getConfiguration().isSidebarFulltextLinkVisible()); }
public boolean isSidebarFulltextLinkVisible() { return getLocalBoolean("sidebar.fulltext.visible", true); }
Configuration extends AbstractConfiguration { public boolean isSidebarFulltextLinkVisible() { return getLocalBoolean("sidebar.fulltext.visible", true); } }
Configuration extends AbstractConfiguration { public boolean isSidebarFulltextLinkVisible() { return getLocalBoolean("sidebar.fulltext.visible", true); } Configuration(String configFilePath); }
Configuration extends AbstractConfiguration { public boolean isSidebarFulltextLinkVisible() { return getLocalBoolean("sidebar.fulltext.visible", true); } Configuration(String configFilePath); Set<String> getStopwords(); boolean reloadingRequired(); String getConfigLocalPath(); String getLocalRessourceBundleFile(); int getViewerThumbnailsPerPage(); int getViewerMaxImageWidth(); int getViewerMaxImageHeight(); int getViewerMaxImageScale(); boolean isRememberImageZoom(); boolean isRememberImageRotation(); String getDfgViewerUrl(); String getConnectorVersionUrl(); List<Metadata> getTitleBarMetadata(); List<Metadata> getSearchHitMetadataForTemplate(String template); List<Metadata> getMainMetadataForTemplate(String template); List<Metadata> getSidebarMetadataForTemplate(String template); List<String> getNormdataFieldsForTemplate(String template); List<Metadata> getTocLabelConfiguration(String template); int getTocAnchorGroupElementsPerPage(); boolean isDisplaySidebarBrowsingTerms(); boolean isDisplaySidebarRssFeed(); boolean isDisplayWidgetUsage(); Metadata getWidgetUsageLicenceTextMetadata(); boolean isDisplaySidebarUsageWidgetLinkToJpegImage(); boolean isDisplaySidebarUsageWidgetLinkToMasterImage(); String getWidgetUsageMaxJpegSize(); String getWidgetUsageMaxMasterImageSize(); List<String> getCalendarDocStructTypes(); boolean isBrowsingMenuEnabled(); int getBrowsingMenuHitsPerPage(); List<BrowsingMenuFieldConfig> getBrowsingMenuFields(); String getBrowsingMenuSortingIgnoreLeadingChars(); String getDocstrctWhitelistFilterQuery(); String getCollectionSplittingChar(String field); List<DcSortingList> getCollectionSorting(String field); List<String> getCollectionBlacklist(String field); String getCollectionDefaultSortField(String field, String name); int getCollectionDisplayNumberOfVolumesLevel(String field); int getCollectionDisplayDepthForSearch(String field); String getCollectionHierarchyField(); boolean isAddCollectionHierarchyToBreadcrumbs(String field); String getSolrUrl(); String getContentServerWrapperUrl(); String getDownloadUrl(); String getRestApiUrl(); String getIIIFApiUrl(); boolean isUseIIIFApiUrlForCmsMediaUrls(); String getContentServerRealUrl(); String getMetsUrl(); String getMarcUrl(); String getDcUrl(); String getEseUrl(); List<Integer> getSearchHitsPerPageValues(); int getSearchHitsPerPageDefaultValue(); int getFulltextFragmentLength(); boolean isAdvancedSearchEnabled(); int getAdvancedSearchDefaultItemNumber(); List<AdvancedSearchFieldConfiguration> getAdvancedSearchFields(); boolean isAggregateHits(); boolean isDisplayAdditionalMetadataEnabled(); List<String> getDisplayAdditionalMetadataIgnoreFields(); List<String> getDisplayAdditionalMetadataTranslateFields(); boolean isAdvancedSearchFieldHierarchical(String field); boolean isAdvancedSearchFieldRange(String field); boolean isAdvancedSearchFieldUntokenizeForPhraseSearch(String field); String getAdvancedSearchFieldSeparatorLabel(String field); boolean isTimelineSearchEnabled(); boolean isCalendarSearchEnabled(); String getStaticQuerySuffix(); String getPreviousVersionIdentifierField(); String getNextVersionIdentifierField(); String getVersionLabelField(); String getIndexedMetsFolder(); String getIndexedLidoFolder(); String getIndexedDenkxwebFolder(); String getIndexedDublinCoreFolder(); String getPageSelectionFormat(); String getMediaFolder(); String getPdfFolder(); String getVocabulariesFolder(); String getOrigContentFolder(); String getCmsTextFolder(); String getAltoFolder(); String getAbbyyFolder(); String getFulltextFolder(); String getTeiFolder(); String getCmdiFolder(); String getWcFolder(); String getAnnotationFolder(); String getHotfolder(); @SuppressWarnings("static-method") String getTempFolder(); boolean isUrnDoRedirect(); boolean isUserRegistrationEnabled(); List<SecurityQuestion> getSecurityQuestions(); boolean isShowOpenIdConnect(); List<IAuthenticationProvider> getAuthenticationProviders(); String getSmtpServer(); String getSmtpUser(); String getSmtpPassword(); String getSmtpSenderAddress(); String getSmtpSenderName(); String getSmtpSecurity(); String getAnonymousUserEmailAddress(); boolean isDisplayCollectionBrowsing(); boolean isDisplayUserNavigation(); boolean isDisplayTagCloudNavigation(); boolean isDisplayStatistics(); boolean isDisplayTimeMatrix(); boolean isDisplayCrowdsourcingModuleLinks(); String getTheme(); String getThemeRootPath(); String getName(); String getDescription(); boolean isDisplayTagCloudStartpage(); boolean isDisplaySearchResultNavigation(); boolean isFoldout(String sidebarElement); boolean isSidebarPageViewLinkVisible(); boolean isSidebarCalendarViewLinkVisible(); boolean isSidebarTocViewLinkVisible(); boolean isSidebarThumbsViewLinkVisible(); boolean isSidebarMetadataViewLinkVisible(); boolean isShowSidebarEventMetadata(); boolean isShowRecordLabelIfNoOtherViews(); boolean isSidebarFulltextLinkVisible(); boolean isSidebarTocWidgetVisible(); boolean isSidebarTocWidgetVisibleInFullscreen(); boolean isSidebarOpacLinkVisible(); boolean getSidebarTocPageNumbersVisible(); int getSidebarTocLengthBeforeCut(); int getSidebarTocInitialCollapseLevel(); int getSidebarTocCollapseLengthThreshold(); int getSidebarTocLowestLevelToCollapseForLength(); boolean isSidebarTocTreeView(); boolean isTocTreeView(String docStructType); List<String> getAllDrillDownFields(); List<String> getDrillDownFields(); List<String> getHierarchicalDrillDownFields(); int getInitialDrillDownElementNumber(String field); String getSortOrder(String field); List<String> getPriorityValuesForDrillDownField(String field); String getLabelFieldForDrillDownField(String facetField); @SuppressWarnings("static-method") List<String> getRangeFacetFields(); boolean isSortingEnabled(); String getDefaultSortField(); List<String> getSortFields(); List<String> getStaticSortFields(); String getUrnResolverUrl(); int getUnconditionalImageAccessMaxWidth(); boolean isFullAccessForLocalhost(); boolean isGeneratePdfInTaskManager(); boolean isPdfApiDisabled(); boolean isTitlePdfEnabled(); boolean isTocPdfEnabled(); boolean isMetadataPdfEnabled(); boolean isPagePdfEnabled(); boolean isDocHierarchyPdfEnabled(); boolean isTitleEpubEnabled(); boolean isTocEpubEnabled(); boolean isMetadataEpubEnabled(); String getDownloadFolder(String type); int getRssFeedItems(); String getRssTitle(); String getRssDescription(); String getRssCopyrightText(); String getRulesetFilePath(); String getDefaultCollection(); int getThumbnailsWidth(); int getThumbnailsHeight(); int getThumbnailsCompression(); String getAnchorThumbnailMode(); int getMultivolumeThumbnailWidth(); int getMultivolumeThumbnailHeight(); boolean getDisplayBreadcrumbs(); boolean getDisplayMetadataPageLinkBlock(); boolean isAddDublinCoreMetaTags(); boolean isAddHighwirePressMetaTags(); int getMetadataParamNumber(); boolean useTiles(); boolean useTilesFullscreen(); boolean useTiles(PageType view, ImageType image); int getFooterHeight(); int getFullscreenFooterHeight(); int getFooterHeight(PageType view, ImageType image); String getImageViewType(); String getZoomFullscreenViewType(); String getZoomImageViewType(PageType view, ImageType image); boolean useOpenSeadragon(); List<String> getImageViewZoomScales(); List<String> getImageViewZoomScales(String view); List<String> getImageViewZoomScales(PageType view, ImageType image); Map<Integer, List<Integer>> getTileSizes(); Map<Integer, List<Integer>> getTileSizes(PageType view, ImageType image); SubnodeConfiguration getZoomImageViewConfig(PageType pageType, ImageType imageType); int getBreadcrumbsClipping(); boolean isDisplayTopstructLabel(); boolean getDisplayStructType(); int getSearchHitMetadataValueNumber(); int getSearchHitMetadataValueLength(); List<String> getWatermarkTextConfiguration(); String getWatermarkFormat(); boolean isOriginalContentDownload(); String getStopwordsFilePath(); String getPageType(PageType type); String getDocstructTargetPageType(String docstruct); String getPageTypeExitView(PageType type); int getFulltextPercentageWarningThreshold(); boolean isUseViewerLocaleAsRecordLanguage(); String getFeedbackEmailAddress(); boolean isBookmarksEnabled(); boolean isForceJpegConversion(); int getPageLoaderThreshold(); boolean isPreventProxyCaching(); boolean isSolrCompressionEnabled(); boolean isSolrBackwardsCompatible(); boolean isUserCommentsEnabled(); String getUserCommentsConditionalQuery(); List<String> getUserCommentsNotificationEmailAddresses(); String getViewerHome(); List<String> getWatermarkIdField(); String getSubthemeMainTheme(); String getSubthemeDiscriminatorField(); int getTagCloudSampleSize(String fieldName); List<StringPair> getTocVolumeSortFieldsForTemplate(String template); String getTocVolumeGroupFieldForTemplate(String template); boolean getDisplayTitleBreadcrumbs(); boolean isDisplayTitlePURL(); int getTitleBreadcrumbsMaxTitleLength(); boolean getIncludeAnchorInTitleBreadcrumbs(); boolean isDisplaySearchRssLinks(); boolean showThumbnailsInToc(); String getStartYearForTimeline(); String getEndYearForTimeline(); String getTimelineHits(); boolean isPiwikTrackingEnabled(); String getPiwikBaseURL(); String getPiwikSiteID(); boolean isSearchSavingEnabled(); boolean isBoostTopLevelDocstructs(); boolean isGroupDuplicateHits(); List<String> getRecordGroupIdentifierFields(); List<String> getAncestorIdentifierFields(); boolean isTocListSiblingRecords(); List<SearchFilter> getSearchFilters(); List<Map<String, String>> getWebApiFields(); String getDbPersistenceUnit(); boolean useCustomNavBar(); String getCmsTemplateFolder(); String getCmsMediaFolder(); String getTempMediaFolder(); List<String> getCmsClassifications(); int getCmsMediaDisplayWidth(); int getCmsMediaDisplayHeight(); boolean isTranskribusEnabled(); String getTranskribusUserName(); String getTranskribusPassword(); String getTranskribusDefaultCollection(); String getTranskribusRestApiUrl(); List<String> getTranskribusAllowedDocumentTypes(); int getTocIndentation(); boolean isPageBrowseEnabled(); List<Integer> getPageBrowseSteps(); String getTaskManagerServiceUrl(); String getTaskManagerRestUrl(); String getReCaptchaSiteKey(); boolean isUseReCaptcha(); boolean isSearchInItemEnabled(); String getDefaultBrowseIcon(String field); boolean isSearchExcelExportEnabled(); List<String> getSearchExcelExportFields(); int getExcelDownloadTimeout(); boolean isDisplayEmptyTocInSidebar(); boolean isDoublePageModeEnabled(); List<String> getRestrictedImageUrls(); List<String> getIIIFLicenses(); List<String> getIIIFMetadataFields(); List<String> getIIIFEventFields(); String getIIIFMetadataLabel(String field); int getIIIFDiscoveryAvtivitiesPerPage(); List<String> getIIIFLogo(); String getIIIFNavDateField(); List<String> getIIIFAttribution(); List<String> getIIIFDescriptionFields(); String getSitelinksField(); String getSitelinksFilterQuery(); List<String> getConfiguredCollections(); String getWebApiToken(); boolean isAllowRedirectCollectionToWork(); String getTwitterUserName(); float getLimitImageHeightUpperRatioThreshold(); float getLimitImageHeightLowerRatioThreshold(); boolean isLimitImageHeight(); boolean isAddCORSHeader(); String getCORSHeaderValue(); boolean isDiscloseImageContentLocation(); String getAccessConditionDisplayField(); String getCopyrightDisplayField(); boolean isDisplayCopyrightInfo(); boolean isDisplaySocialMediaShareLinks(); boolean isDisplayAnchorLabelInTitleBar(String template); String getAnchorLabelInTitleBarPrefix(String template); String getAnchorLabelInTitleBarSuffix(String template); String getMapBoxToken(); GeoMapMarker getGeoMapMarker(String name); List<String> getGeoMapMarkerFields(); List<GeoMapMarker> getGeoMapMarkers(); static GeoMapMarker readGeoMapMarker(HierarchicalConfiguration config); List<LicenseDescription> getLicenseDescriptions(); }
Configuration extends AbstractConfiguration { public boolean isSidebarFulltextLinkVisible() { return getLocalBoolean("sidebar.fulltext.visible", true); } Configuration(String configFilePath); Set<String> getStopwords(); boolean reloadingRequired(); String getConfigLocalPath(); String getLocalRessourceBundleFile(); int getViewerThumbnailsPerPage(); int getViewerMaxImageWidth(); int getViewerMaxImageHeight(); int getViewerMaxImageScale(); boolean isRememberImageZoom(); boolean isRememberImageRotation(); String getDfgViewerUrl(); String getConnectorVersionUrl(); List<Metadata> getTitleBarMetadata(); List<Metadata> getSearchHitMetadataForTemplate(String template); List<Metadata> getMainMetadataForTemplate(String template); List<Metadata> getSidebarMetadataForTemplate(String template); List<String> getNormdataFieldsForTemplate(String template); List<Metadata> getTocLabelConfiguration(String template); int getTocAnchorGroupElementsPerPage(); boolean isDisplaySidebarBrowsingTerms(); boolean isDisplaySidebarRssFeed(); boolean isDisplayWidgetUsage(); Metadata getWidgetUsageLicenceTextMetadata(); boolean isDisplaySidebarUsageWidgetLinkToJpegImage(); boolean isDisplaySidebarUsageWidgetLinkToMasterImage(); String getWidgetUsageMaxJpegSize(); String getWidgetUsageMaxMasterImageSize(); List<String> getCalendarDocStructTypes(); boolean isBrowsingMenuEnabled(); int getBrowsingMenuHitsPerPage(); List<BrowsingMenuFieldConfig> getBrowsingMenuFields(); String getBrowsingMenuSortingIgnoreLeadingChars(); String getDocstrctWhitelistFilterQuery(); String getCollectionSplittingChar(String field); List<DcSortingList> getCollectionSorting(String field); List<String> getCollectionBlacklist(String field); String getCollectionDefaultSortField(String field, String name); int getCollectionDisplayNumberOfVolumesLevel(String field); int getCollectionDisplayDepthForSearch(String field); String getCollectionHierarchyField(); boolean isAddCollectionHierarchyToBreadcrumbs(String field); String getSolrUrl(); String getContentServerWrapperUrl(); String getDownloadUrl(); String getRestApiUrl(); String getIIIFApiUrl(); boolean isUseIIIFApiUrlForCmsMediaUrls(); String getContentServerRealUrl(); String getMetsUrl(); String getMarcUrl(); String getDcUrl(); String getEseUrl(); List<Integer> getSearchHitsPerPageValues(); int getSearchHitsPerPageDefaultValue(); int getFulltextFragmentLength(); boolean isAdvancedSearchEnabled(); int getAdvancedSearchDefaultItemNumber(); List<AdvancedSearchFieldConfiguration> getAdvancedSearchFields(); boolean isAggregateHits(); boolean isDisplayAdditionalMetadataEnabled(); List<String> getDisplayAdditionalMetadataIgnoreFields(); List<String> getDisplayAdditionalMetadataTranslateFields(); boolean isAdvancedSearchFieldHierarchical(String field); boolean isAdvancedSearchFieldRange(String field); boolean isAdvancedSearchFieldUntokenizeForPhraseSearch(String field); String getAdvancedSearchFieldSeparatorLabel(String field); boolean isTimelineSearchEnabled(); boolean isCalendarSearchEnabled(); String getStaticQuerySuffix(); String getPreviousVersionIdentifierField(); String getNextVersionIdentifierField(); String getVersionLabelField(); String getIndexedMetsFolder(); String getIndexedLidoFolder(); String getIndexedDenkxwebFolder(); String getIndexedDublinCoreFolder(); String getPageSelectionFormat(); String getMediaFolder(); String getPdfFolder(); String getVocabulariesFolder(); String getOrigContentFolder(); String getCmsTextFolder(); String getAltoFolder(); String getAbbyyFolder(); String getFulltextFolder(); String getTeiFolder(); String getCmdiFolder(); String getWcFolder(); String getAnnotationFolder(); String getHotfolder(); @SuppressWarnings("static-method") String getTempFolder(); boolean isUrnDoRedirect(); boolean isUserRegistrationEnabled(); List<SecurityQuestion> getSecurityQuestions(); boolean isShowOpenIdConnect(); List<IAuthenticationProvider> getAuthenticationProviders(); String getSmtpServer(); String getSmtpUser(); String getSmtpPassword(); String getSmtpSenderAddress(); String getSmtpSenderName(); String getSmtpSecurity(); String getAnonymousUserEmailAddress(); boolean isDisplayCollectionBrowsing(); boolean isDisplayUserNavigation(); boolean isDisplayTagCloudNavigation(); boolean isDisplayStatistics(); boolean isDisplayTimeMatrix(); boolean isDisplayCrowdsourcingModuleLinks(); String getTheme(); String getThemeRootPath(); String getName(); String getDescription(); boolean isDisplayTagCloudStartpage(); boolean isDisplaySearchResultNavigation(); boolean isFoldout(String sidebarElement); boolean isSidebarPageViewLinkVisible(); boolean isSidebarCalendarViewLinkVisible(); boolean isSidebarTocViewLinkVisible(); boolean isSidebarThumbsViewLinkVisible(); boolean isSidebarMetadataViewLinkVisible(); boolean isShowSidebarEventMetadata(); boolean isShowRecordLabelIfNoOtherViews(); boolean isSidebarFulltextLinkVisible(); boolean isSidebarTocWidgetVisible(); boolean isSidebarTocWidgetVisibleInFullscreen(); boolean isSidebarOpacLinkVisible(); boolean getSidebarTocPageNumbersVisible(); int getSidebarTocLengthBeforeCut(); int getSidebarTocInitialCollapseLevel(); int getSidebarTocCollapseLengthThreshold(); int getSidebarTocLowestLevelToCollapseForLength(); boolean isSidebarTocTreeView(); boolean isTocTreeView(String docStructType); List<String> getAllDrillDownFields(); List<String> getDrillDownFields(); List<String> getHierarchicalDrillDownFields(); int getInitialDrillDownElementNumber(String field); String getSortOrder(String field); List<String> getPriorityValuesForDrillDownField(String field); String getLabelFieldForDrillDownField(String facetField); @SuppressWarnings("static-method") List<String> getRangeFacetFields(); boolean isSortingEnabled(); String getDefaultSortField(); List<String> getSortFields(); List<String> getStaticSortFields(); String getUrnResolverUrl(); int getUnconditionalImageAccessMaxWidth(); boolean isFullAccessForLocalhost(); boolean isGeneratePdfInTaskManager(); boolean isPdfApiDisabled(); boolean isTitlePdfEnabled(); boolean isTocPdfEnabled(); boolean isMetadataPdfEnabled(); boolean isPagePdfEnabled(); boolean isDocHierarchyPdfEnabled(); boolean isTitleEpubEnabled(); boolean isTocEpubEnabled(); boolean isMetadataEpubEnabled(); String getDownloadFolder(String type); int getRssFeedItems(); String getRssTitle(); String getRssDescription(); String getRssCopyrightText(); String getRulesetFilePath(); String getDefaultCollection(); int getThumbnailsWidth(); int getThumbnailsHeight(); int getThumbnailsCompression(); String getAnchorThumbnailMode(); int getMultivolumeThumbnailWidth(); int getMultivolumeThumbnailHeight(); boolean getDisplayBreadcrumbs(); boolean getDisplayMetadataPageLinkBlock(); boolean isAddDublinCoreMetaTags(); boolean isAddHighwirePressMetaTags(); int getMetadataParamNumber(); boolean useTiles(); boolean useTilesFullscreen(); boolean useTiles(PageType view, ImageType image); int getFooterHeight(); int getFullscreenFooterHeight(); int getFooterHeight(PageType view, ImageType image); String getImageViewType(); String getZoomFullscreenViewType(); String getZoomImageViewType(PageType view, ImageType image); boolean useOpenSeadragon(); List<String> getImageViewZoomScales(); List<String> getImageViewZoomScales(String view); List<String> getImageViewZoomScales(PageType view, ImageType image); Map<Integer, List<Integer>> getTileSizes(); Map<Integer, List<Integer>> getTileSizes(PageType view, ImageType image); SubnodeConfiguration getZoomImageViewConfig(PageType pageType, ImageType imageType); int getBreadcrumbsClipping(); boolean isDisplayTopstructLabel(); boolean getDisplayStructType(); int getSearchHitMetadataValueNumber(); int getSearchHitMetadataValueLength(); List<String> getWatermarkTextConfiguration(); String getWatermarkFormat(); boolean isOriginalContentDownload(); String getStopwordsFilePath(); String getPageType(PageType type); String getDocstructTargetPageType(String docstruct); String getPageTypeExitView(PageType type); int getFulltextPercentageWarningThreshold(); boolean isUseViewerLocaleAsRecordLanguage(); String getFeedbackEmailAddress(); boolean isBookmarksEnabled(); boolean isForceJpegConversion(); int getPageLoaderThreshold(); boolean isPreventProxyCaching(); boolean isSolrCompressionEnabled(); boolean isSolrBackwardsCompatible(); boolean isUserCommentsEnabled(); String getUserCommentsConditionalQuery(); List<String> getUserCommentsNotificationEmailAddresses(); String getViewerHome(); List<String> getWatermarkIdField(); String getSubthemeMainTheme(); String getSubthemeDiscriminatorField(); int getTagCloudSampleSize(String fieldName); List<StringPair> getTocVolumeSortFieldsForTemplate(String template); String getTocVolumeGroupFieldForTemplate(String template); boolean getDisplayTitleBreadcrumbs(); boolean isDisplayTitlePURL(); int getTitleBreadcrumbsMaxTitleLength(); boolean getIncludeAnchorInTitleBreadcrumbs(); boolean isDisplaySearchRssLinks(); boolean showThumbnailsInToc(); String getStartYearForTimeline(); String getEndYearForTimeline(); String getTimelineHits(); boolean isPiwikTrackingEnabled(); String getPiwikBaseURL(); String getPiwikSiteID(); boolean isSearchSavingEnabled(); boolean isBoostTopLevelDocstructs(); boolean isGroupDuplicateHits(); List<String> getRecordGroupIdentifierFields(); List<String> getAncestorIdentifierFields(); boolean isTocListSiblingRecords(); List<SearchFilter> getSearchFilters(); List<Map<String, String>> getWebApiFields(); String getDbPersistenceUnit(); boolean useCustomNavBar(); String getCmsTemplateFolder(); String getCmsMediaFolder(); String getTempMediaFolder(); List<String> getCmsClassifications(); int getCmsMediaDisplayWidth(); int getCmsMediaDisplayHeight(); boolean isTranskribusEnabled(); String getTranskribusUserName(); String getTranskribusPassword(); String getTranskribusDefaultCollection(); String getTranskribusRestApiUrl(); List<String> getTranskribusAllowedDocumentTypes(); int getTocIndentation(); boolean isPageBrowseEnabled(); List<Integer> getPageBrowseSteps(); String getTaskManagerServiceUrl(); String getTaskManagerRestUrl(); String getReCaptchaSiteKey(); boolean isUseReCaptcha(); boolean isSearchInItemEnabled(); String getDefaultBrowseIcon(String field); boolean isSearchExcelExportEnabled(); List<String> getSearchExcelExportFields(); int getExcelDownloadTimeout(); boolean isDisplayEmptyTocInSidebar(); boolean isDoublePageModeEnabled(); List<String> getRestrictedImageUrls(); List<String> getIIIFLicenses(); List<String> getIIIFMetadataFields(); List<String> getIIIFEventFields(); String getIIIFMetadataLabel(String field); int getIIIFDiscoveryAvtivitiesPerPage(); List<String> getIIIFLogo(); String getIIIFNavDateField(); List<String> getIIIFAttribution(); List<String> getIIIFDescriptionFields(); String getSitelinksField(); String getSitelinksFilterQuery(); List<String> getConfiguredCollections(); String getWebApiToken(); boolean isAllowRedirectCollectionToWork(); String getTwitterUserName(); float getLimitImageHeightUpperRatioThreshold(); float getLimitImageHeightLowerRatioThreshold(); boolean isLimitImageHeight(); boolean isAddCORSHeader(); String getCORSHeaderValue(); boolean isDiscloseImageContentLocation(); String getAccessConditionDisplayField(); String getCopyrightDisplayField(); boolean isDisplayCopyrightInfo(); boolean isDisplaySocialMediaShareLinks(); boolean isDisplayAnchorLabelInTitleBar(String template); String getAnchorLabelInTitleBarPrefix(String template); String getAnchorLabelInTitleBarSuffix(String template); String getMapBoxToken(); GeoMapMarker getGeoMapMarker(String name); List<String> getGeoMapMarkerFields(); List<GeoMapMarker> getGeoMapMarkers(); static GeoMapMarker readGeoMapMarker(HierarchicalConfiguration config); List<LicenseDescription> getLicenseDescriptions(); }
@Test public void isSidebarMetadataLinkVisible_shouldReturnCorrectValue() throws Exception { Assert.assertEquals(false, DataManager.getInstance().getConfiguration().isSidebarMetadataViewLinkVisible()); }
public boolean isSidebarMetadataViewLinkVisible() { return getLocalBoolean("sidebar.metadata.visible", true); }
Configuration extends AbstractConfiguration { public boolean isSidebarMetadataViewLinkVisible() { return getLocalBoolean("sidebar.metadata.visible", true); } }
Configuration extends AbstractConfiguration { public boolean isSidebarMetadataViewLinkVisible() { return getLocalBoolean("sidebar.metadata.visible", true); } Configuration(String configFilePath); }
Configuration extends AbstractConfiguration { public boolean isSidebarMetadataViewLinkVisible() { return getLocalBoolean("sidebar.metadata.visible", true); } Configuration(String configFilePath); Set<String> getStopwords(); boolean reloadingRequired(); String getConfigLocalPath(); String getLocalRessourceBundleFile(); int getViewerThumbnailsPerPage(); int getViewerMaxImageWidth(); int getViewerMaxImageHeight(); int getViewerMaxImageScale(); boolean isRememberImageZoom(); boolean isRememberImageRotation(); String getDfgViewerUrl(); String getConnectorVersionUrl(); List<Metadata> getTitleBarMetadata(); List<Metadata> getSearchHitMetadataForTemplate(String template); List<Metadata> getMainMetadataForTemplate(String template); List<Metadata> getSidebarMetadataForTemplate(String template); List<String> getNormdataFieldsForTemplate(String template); List<Metadata> getTocLabelConfiguration(String template); int getTocAnchorGroupElementsPerPage(); boolean isDisplaySidebarBrowsingTerms(); boolean isDisplaySidebarRssFeed(); boolean isDisplayWidgetUsage(); Metadata getWidgetUsageLicenceTextMetadata(); boolean isDisplaySidebarUsageWidgetLinkToJpegImage(); boolean isDisplaySidebarUsageWidgetLinkToMasterImage(); String getWidgetUsageMaxJpegSize(); String getWidgetUsageMaxMasterImageSize(); List<String> getCalendarDocStructTypes(); boolean isBrowsingMenuEnabled(); int getBrowsingMenuHitsPerPage(); List<BrowsingMenuFieldConfig> getBrowsingMenuFields(); String getBrowsingMenuSortingIgnoreLeadingChars(); String getDocstrctWhitelistFilterQuery(); String getCollectionSplittingChar(String field); List<DcSortingList> getCollectionSorting(String field); List<String> getCollectionBlacklist(String field); String getCollectionDefaultSortField(String field, String name); int getCollectionDisplayNumberOfVolumesLevel(String field); int getCollectionDisplayDepthForSearch(String field); String getCollectionHierarchyField(); boolean isAddCollectionHierarchyToBreadcrumbs(String field); String getSolrUrl(); String getContentServerWrapperUrl(); String getDownloadUrl(); String getRestApiUrl(); String getIIIFApiUrl(); boolean isUseIIIFApiUrlForCmsMediaUrls(); String getContentServerRealUrl(); String getMetsUrl(); String getMarcUrl(); String getDcUrl(); String getEseUrl(); List<Integer> getSearchHitsPerPageValues(); int getSearchHitsPerPageDefaultValue(); int getFulltextFragmentLength(); boolean isAdvancedSearchEnabled(); int getAdvancedSearchDefaultItemNumber(); List<AdvancedSearchFieldConfiguration> getAdvancedSearchFields(); boolean isAggregateHits(); boolean isDisplayAdditionalMetadataEnabled(); List<String> getDisplayAdditionalMetadataIgnoreFields(); List<String> getDisplayAdditionalMetadataTranslateFields(); boolean isAdvancedSearchFieldHierarchical(String field); boolean isAdvancedSearchFieldRange(String field); boolean isAdvancedSearchFieldUntokenizeForPhraseSearch(String field); String getAdvancedSearchFieldSeparatorLabel(String field); boolean isTimelineSearchEnabled(); boolean isCalendarSearchEnabled(); String getStaticQuerySuffix(); String getPreviousVersionIdentifierField(); String getNextVersionIdentifierField(); String getVersionLabelField(); String getIndexedMetsFolder(); String getIndexedLidoFolder(); String getIndexedDenkxwebFolder(); String getIndexedDublinCoreFolder(); String getPageSelectionFormat(); String getMediaFolder(); String getPdfFolder(); String getVocabulariesFolder(); String getOrigContentFolder(); String getCmsTextFolder(); String getAltoFolder(); String getAbbyyFolder(); String getFulltextFolder(); String getTeiFolder(); String getCmdiFolder(); String getWcFolder(); String getAnnotationFolder(); String getHotfolder(); @SuppressWarnings("static-method") String getTempFolder(); boolean isUrnDoRedirect(); boolean isUserRegistrationEnabled(); List<SecurityQuestion> getSecurityQuestions(); boolean isShowOpenIdConnect(); List<IAuthenticationProvider> getAuthenticationProviders(); String getSmtpServer(); String getSmtpUser(); String getSmtpPassword(); String getSmtpSenderAddress(); String getSmtpSenderName(); String getSmtpSecurity(); String getAnonymousUserEmailAddress(); boolean isDisplayCollectionBrowsing(); boolean isDisplayUserNavigation(); boolean isDisplayTagCloudNavigation(); boolean isDisplayStatistics(); boolean isDisplayTimeMatrix(); boolean isDisplayCrowdsourcingModuleLinks(); String getTheme(); String getThemeRootPath(); String getName(); String getDescription(); boolean isDisplayTagCloudStartpage(); boolean isDisplaySearchResultNavigation(); boolean isFoldout(String sidebarElement); boolean isSidebarPageViewLinkVisible(); boolean isSidebarCalendarViewLinkVisible(); boolean isSidebarTocViewLinkVisible(); boolean isSidebarThumbsViewLinkVisible(); boolean isSidebarMetadataViewLinkVisible(); boolean isShowSidebarEventMetadata(); boolean isShowRecordLabelIfNoOtherViews(); boolean isSidebarFulltextLinkVisible(); boolean isSidebarTocWidgetVisible(); boolean isSidebarTocWidgetVisibleInFullscreen(); boolean isSidebarOpacLinkVisible(); boolean getSidebarTocPageNumbersVisible(); int getSidebarTocLengthBeforeCut(); int getSidebarTocInitialCollapseLevel(); int getSidebarTocCollapseLengthThreshold(); int getSidebarTocLowestLevelToCollapseForLength(); boolean isSidebarTocTreeView(); boolean isTocTreeView(String docStructType); List<String> getAllDrillDownFields(); List<String> getDrillDownFields(); List<String> getHierarchicalDrillDownFields(); int getInitialDrillDownElementNumber(String field); String getSortOrder(String field); List<String> getPriorityValuesForDrillDownField(String field); String getLabelFieldForDrillDownField(String facetField); @SuppressWarnings("static-method") List<String> getRangeFacetFields(); boolean isSortingEnabled(); String getDefaultSortField(); List<String> getSortFields(); List<String> getStaticSortFields(); String getUrnResolverUrl(); int getUnconditionalImageAccessMaxWidth(); boolean isFullAccessForLocalhost(); boolean isGeneratePdfInTaskManager(); boolean isPdfApiDisabled(); boolean isTitlePdfEnabled(); boolean isTocPdfEnabled(); boolean isMetadataPdfEnabled(); boolean isPagePdfEnabled(); boolean isDocHierarchyPdfEnabled(); boolean isTitleEpubEnabled(); boolean isTocEpubEnabled(); boolean isMetadataEpubEnabled(); String getDownloadFolder(String type); int getRssFeedItems(); String getRssTitle(); String getRssDescription(); String getRssCopyrightText(); String getRulesetFilePath(); String getDefaultCollection(); int getThumbnailsWidth(); int getThumbnailsHeight(); int getThumbnailsCompression(); String getAnchorThumbnailMode(); int getMultivolumeThumbnailWidth(); int getMultivolumeThumbnailHeight(); boolean getDisplayBreadcrumbs(); boolean getDisplayMetadataPageLinkBlock(); boolean isAddDublinCoreMetaTags(); boolean isAddHighwirePressMetaTags(); int getMetadataParamNumber(); boolean useTiles(); boolean useTilesFullscreen(); boolean useTiles(PageType view, ImageType image); int getFooterHeight(); int getFullscreenFooterHeight(); int getFooterHeight(PageType view, ImageType image); String getImageViewType(); String getZoomFullscreenViewType(); String getZoomImageViewType(PageType view, ImageType image); boolean useOpenSeadragon(); List<String> getImageViewZoomScales(); List<String> getImageViewZoomScales(String view); List<String> getImageViewZoomScales(PageType view, ImageType image); Map<Integer, List<Integer>> getTileSizes(); Map<Integer, List<Integer>> getTileSizes(PageType view, ImageType image); SubnodeConfiguration getZoomImageViewConfig(PageType pageType, ImageType imageType); int getBreadcrumbsClipping(); boolean isDisplayTopstructLabel(); boolean getDisplayStructType(); int getSearchHitMetadataValueNumber(); int getSearchHitMetadataValueLength(); List<String> getWatermarkTextConfiguration(); String getWatermarkFormat(); boolean isOriginalContentDownload(); String getStopwordsFilePath(); String getPageType(PageType type); String getDocstructTargetPageType(String docstruct); String getPageTypeExitView(PageType type); int getFulltextPercentageWarningThreshold(); boolean isUseViewerLocaleAsRecordLanguage(); String getFeedbackEmailAddress(); boolean isBookmarksEnabled(); boolean isForceJpegConversion(); int getPageLoaderThreshold(); boolean isPreventProxyCaching(); boolean isSolrCompressionEnabled(); boolean isSolrBackwardsCompatible(); boolean isUserCommentsEnabled(); String getUserCommentsConditionalQuery(); List<String> getUserCommentsNotificationEmailAddresses(); String getViewerHome(); List<String> getWatermarkIdField(); String getSubthemeMainTheme(); String getSubthemeDiscriminatorField(); int getTagCloudSampleSize(String fieldName); List<StringPair> getTocVolumeSortFieldsForTemplate(String template); String getTocVolumeGroupFieldForTemplate(String template); boolean getDisplayTitleBreadcrumbs(); boolean isDisplayTitlePURL(); int getTitleBreadcrumbsMaxTitleLength(); boolean getIncludeAnchorInTitleBreadcrumbs(); boolean isDisplaySearchRssLinks(); boolean showThumbnailsInToc(); String getStartYearForTimeline(); String getEndYearForTimeline(); String getTimelineHits(); boolean isPiwikTrackingEnabled(); String getPiwikBaseURL(); String getPiwikSiteID(); boolean isSearchSavingEnabled(); boolean isBoostTopLevelDocstructs(); boolean isGroupDuplicateHits(); List<String> getRecordGroupIdentifierFields(); List<String> getAncestorIdentifierFields(); boolean isTocListSiblingRecords(); List<SearchFilter> getSearchFilters(); List<Map<String, String>> getWebApiFields(); String getDbPersistenceUnit(); boolean useCustomNavBar(); String getCmsTemplateFolder(); String getCmsMediaFolder(); String getTempMediaFolder(); List<String> getCmsClassifications(); int getCmsMediaDisplayWidth(); int getCmsMediaDisplayHeight(); boolean isTranskribusEnabled(); String getTranskribusUserName(); String getTranskribusPassword(); String getTranskribusDefaultCollection(); String getTranskribusRestApiUrl(); List<String> getTranskribusAllowedDocumentTypes(); int getTocIndentation(); boolean isPageBrowseEnabled(); List<Integer> getPageBrowseSteps(); String getTaskManagerServiceUrl(); String getTaskManagerRestUrl(); String getReCaptchaSiteKey(); boolean isUseReCaptcha(); boolean isSearchInItemEnabled(); String getDefaultBrowseIcon(String field); boolean isSearchExcelExportEnabled(); List<String> getSearchExcelExportFields(); int getExcelDownloadTimeout(); boolean isDisplayEmptyTocInSidebar(); boolean isDoublePageModeEnabled(); List<String> getRestrictedImageUrls(); List<String> getIIIFLicenses(); List<String> getIIIFMetadataFields(); List<String> getIIIFEventFields(); String getIIIFMetadataLabel(String field); int getIIIFDiscoveryAvtivitiesPerPage(); List<String> getIIIFLogo(); String getIIIFNavDateField(); List<String> getIIIFAttribution(); List<String> getIIIFDescriptionFields(); String getSitelinksField(); String getSitelinksFilterQuery(); List<String> getConfiguredCollections(); String getWebApiToken(); boolean isAllowRedirectCollectionToWork(); String getTwitterUserName(); float getLimitImageHeightUpperRatioThreshold(); float getLimitImageHeightLowerRatioThreshold(); boolean isLimitImageHeight(); boolean isAddCORSHeader(); String getCORSHeaderValue(); boolean isDiscloseImageContentLocation(); String getAccessConditionDisplayField(); String getCopyrightDisplayField(); boolean isDisplayCopyrightInfo(); boolean isDisplaySocialMediaShareLinks(); boolean isDisplayAnchorLabelInTitleBar(String template); String getAnchorLabelInTitleBarPrefix(String template); String getAnchorLabelInTitleBarSuffix(String template); String getMapBoxToken(); GeoMapMarker getGeoMapMarker(String name); List<String> getGeoMapMarkerFields(); List<GeoMapMarker> getGeoMapMarkers(); static GeoMapMarker readGeoMapMarker(HierarchicalConfiguration config); List<LicenseDescription> getLicenseDescriptions(); }
Configuration extends AbstractConfiguration { public boolean isSidebarMetadataViewLinkVisible() { return getLocalBoolean("sidebar.metadata.visible", true); } Configuration(String configFilePath); Set<String> getStopwords(); boolean reloadingRequired(); String getConfigLocalPath(); String getLocalRessourceBundleFile(); int getViewerThumbnailsPerPage(); int getViewerMaxImageWidth(); int getViewerMaxImageHeight(); int getViewerMaxImageScale(); boolean isRememberImageZoom(); boolean isRememberImageRotation(); String getDfgViewerUrl(); String getConnectorVersionUrl(); List<Metadata> getTitleBarMetadata(); List<Metadata> getSearchHitMetadataForTemplate(String template); List<Metadata> getMainMetadataForTemplate(String template); List<Metadata> getSidebarMetadataForTemplate(String template); List<String> getNormdataFieldsForTemplate(String template); List<Metadata> getTocLabelConfiguration(String template); int getTocAnchorGroupElementsPerPage(); boolean isDisplaySidebarBrowsingTerms(); boolean isDisplaySidebarRssFeed(); boolean isDisplayWidgetUsage(); Metadata getWidgetUsageLicenceTextMetadata(); boolean isDisplaySidebarUsageWidgetLinkToJpegImage(); boolean isDisplaySidebarUsageWidgetLinkToMasterImage(); String getWidgetUsageMaxJpegSize(); String getWidgetUsageMaxMasterImageSize(); List<String> getCalendarDocStructTypes(); boolean isBrowsingMenuEnabled(); int getBrowsingMenuHitsPerPage(); List<BrowsingMenuFieldConfig> getBrowsingMenuFields(); String getBrowsingMenuSortingIgnoreLeadingChars(); String getDocstrctWhitelistFilterQuery(); String getCollectionSplittingChar(String field); List<DcSortingList> getCollectionSorting(String field); List<String> getCollectionBlacklist(String field); String getCollectionDefaultSortField(String field, String name); int getCollectionDisplayNumberOfVolumesLevel(String field); int getCollectionDisplayDepthForSearch(String field); String getCollectionHierarchyField(); boolean isAddCollectionHierarchyToBreadcrumbs(String field); String getSolrUrl(); String getContentServerWrapperUrl(); String getDownloadUrl(); String getRestApiUrl(); String getIIIFApiUrl(); boolean isUseIIIFApiUrlForCmsMediaUrls(); String getContentServerRealUrl(); String getMetsUrl(); String getMarcUrl(); String getDcUrl(); String getEseUrl(); List<Integer> getSearchHitsPerPageValues(); int getSearchHitsPerPageDefaultValue(); int getFulltextFragmentLength(); boolean isAdvancedSearchEnabled(); int getAdvancedSearchDefaultItemNumber(); List<AdvancedSearchFieldConfiguration> getAdvancedSearchFields(); boolean isAggregateHits(); boolean isDisplayAdditionalMetadataEnabled(); List<String> getDisplayAdditionalMetadataIgnoreFields(); List<String> getDisplayAdditionalMetadataTranslateFields(); boolean isAdvancedSearchFieldHierarchical(String field); boolean isAdvancedSearchFieldRange(String field); boolean isAdvancedSearchFieldUntokenizeForPhraseSearch(String field); String getAdvancedSearchFieldSeparatorLabel(String field); boolean isTimelineSearchEnabled(); boolean isCalendarSearchEnabled(); String getStaticQuerySuffix(); String getPreviousVersionIdentifierField(); String getNextVersionIdentifierField(); String getVersionLabelField(); String getIndexedMetsFolder(); String getIndexedLidoFolder(); String getIndexedDenkxwebFolder(); String getIndexedDublinCoreFolder(); String getPageSelectionFormat(); String getMediaFolder(); String getPdfFolder(); String getVocabulariesFolder(); String getOrigContentFolder(); String getCmsTextFolder(); String getAltoFolder(); String getAbbyyFolder(); String getFulltextFolder(); String getTeiFolder(); String getCmdiFolder(); String getWcFolder(); String getAnnotationFolder(); String getHotfolder(); @SuppressWarnings("static-method") String getTempFolder(); boolean isUrnDoRedirect(); boolean isUserRegistrationEnabled(); List<SecurityQuestion> getSecurityQuestions(); boolean isShowOpenIdConnect(); List<IAuthenticationProvider> getAuthenticationProviders(); String getSmtpServer(); String getSmtpUser(); String getSmtpPassword(); String getSmtpSenderAddress(); String getSmtpSenderName(); String getSmtpSecurity(); String getAnonymousUserEmailAddress(); boolean isDisplayCollectionBrowsing(); boolean isDisplayUserNavigation(); boolean isDisplayTagCloudNavigation(); boolean isDisplayStatistics(); boolean isDisplayTimeMatrix(); boolean isDisplayCrowdsourcingModuleLinks(); String getTheme(); String getThemeRootPath(); String getName(); String getDescription(); boolean isDisplayTagCloudStartpage(); boolean isDisplaySearchResultNavigation(); boolean isFoldout(String sidebarElement); boolean isSidebarPageViewLinkVisible(); boolean isSidebarCalendarViewLinkVisible(); boolean isSidebarTocViewLinkVisible(); boolean isSidebarThumbsViewLinkVisible(); boolean isSidebarMetadataViewLinkVisible(); boolean isShowSidebarEventMetadata(); boolean isShowRecordLabelIfNoOtherViews(); boolean isSidebarFulltextLinkVisible(); boolean isSidebarTocWidgetVisible(); boolean isSidebarTocWidgetVisibleInFullscreen(); boolean isSidebarOpacLinkVisible(); boolean getSidebarTocPageNumbersVisible(); int getSidebarTocLengthBeforeCut(); int getSidebarTocInitialCollapseLevel(); int getSidebarTocCollapseLengthThreshold(); int getSidebarTocLowestLevelToCollapseForLength(); boolean isSidebarTocTreeView(); boolean isTocTreeView(String docStructType); List<String> getAllDrillDownFields(); List<String> getDrillDownFields(); List<String> getHierarchicalDrillDownFields(); int getInitialDrillDownElementNumber(String field); String getSortOrder(String field); List<String> getPriorityValuesForDrillDownField(String field); String getLabelFieldForDrillDownField(String facetField); @SuppressWarnings("static-method") List<String> getRangeFacetFields(); boolean isSortingEnabled(); String getDefaultSortField(); List<String> getSortFields(); List<String> getStaticSortFields(); String getUrnResolverUrl(); int getUnconditionalImageAccessMaxWidth(); boolean isFullAccessForLocalhost(); boolean isGeneratePdfInTaskManager(); boolean isPdfApiDisabled(); boolean isTitlePdfEnabled(); boolean isTocPdfEnabled(); boolean isMetadataPdfEnabled(); boolean isPagePdfEnabled(); boolean isDocHierarchyPdfEnabled(); boolean isTitleEpubEnabled(); boolean isTocEpubEnabled(); boolean isMetadataEpubEnabled(); String getDownloadFolder(String type); int getRssFeedItems(); String getRssTitle(); String getRssDescription(); String getRssCopyrightText(); String getRulesetFilePath(); String getDefaultCollection(); int getThumbnailsWidth(); int getThumbnailsHeight(); int getThumbnailsCompression(); String getAnchorThumbnailMode(); int getMultivolumeThumbnailWidth(); int getMultivolumeThumbnailHeight(); boolean getDisplayBreadcrumbs(); boolean getDisplayMetadataPageLinkBlock(); boolean isAddDublinCoreMetaTags(); boolean isAddHighwirePressMetaTags(); int getMetadataParamNumber(); boolean useTiles(); boolean useTilesFullscreen(); boolean useTiles(PageType view, ImageType image); int getFooterHeight(); int getFullscreenFooterHeight(); int getFooterHeight(PageType view, ImageType image); String getImageViewType(); String getZoomFullscreenViewType(); String getZoomImageViewType(PageType view, ImageType image); boolean useOpenSeadragon(); List<String> getImageViewZoomScales(); List<String> getImageViewZoomScales(String view); List<String> getImageViewZoomScales(PageType view, ImageType image); Map<Integer, List<Integer>> getTileSizes(); Map<Integer, List<Integer>> getTileSizes(PageType view, ImageType image); SubnodeConfiguration getZoomImageViewConfig(PageType pageType, ImageType imageType); int getBreadcrumbsClipping(); boolean isDisplayTopstructLabel(); boolean getDisplayStructType(); int getSearchHitMetadataValueNumber(); int getSearchHitMetadataValueLength(); List<String> getWatermarkTextConfiguration(); String getWatermarkFormat(); boolean isOriginalContentDownload(); String getStopwordsFilePath(); String getPageType(PageType type); String getDocstructTargetPageType(String docstruct); String getPageTypeExitView(PageType type); int getFulltextPercentageWarningThreshold(); boolean isUseViewerLocaleAsRecordLanguage(); String getFeedbackEmailAddress(); boolean isBookmarksEnabled(); boolean isForceJpegConversion(); int getPageLoaderThreshold(); boolean isPreventProxyCaching(); boolean isSolrCompressionEnabled(); boolean isSolrBackwardsCompatible(); boolean isUserCommentsEnabled(); String getUserCommentsConditionalQuery(); List<String> getUserCommentsNotificationEmailAddresses(); String getViewerHome(); List<String> getWatermarkIdField(); String getSubthemeMainTheme(); String getSubthemeDiscriminatorField(); int getTagCloudSampleSize(String fieldName); List<StringPair> getTocVolumeSortFieldsForTemplate(String template); String getTocVolumeGroupFieldForTemplate(String template); boolean getDisplayTitleBreadcrumbs(); boolean isDisplayTitlePURL(); int getTitleBreadcrumbsMaxTitleLength(); boolean getIncludeAnchorInTitleBreadcrumbs(); boolean isDisplaySearchRssLinks(); boolean showThumbnailsInToc(); String getStartYearForTimeline(); String getEndYearForTimeline(); String getTimelineHits(); boolean isPiwikTrackingEnabled(); String getPiwikBaseURL(); String getPiwikSiteID(); boolean isSearchSavingEnabled(); boolean isBoostTopLevelDocstructs(); boolean isGroupDuplicateHits(); List<String> getRecordGroupIdentifierFields(); List<String> getAncestorIdentifierFields(); boolean isTocListSiblingRecords(); List<SearchFilter> getSearchFilters(); List<Map<String, String>> getWebApiFields(); String getDbPersistenceUnit(); boolean useCustomNavBar(); String getCmsTemplateFolder(); String getCmsMediaFolder(); String getTempMediaFolder(); List<String> getCmsClassifications(); int getCmsMediaDisplayWidth(); int getCmsMediaDisplayHeight(); boolean isTranskribusEnabled(); String getTranskribusUserName(); String getTranskribusPassword(); String getTranskribusDefaultCollection(); String getTranskribusRestApiUrl(); List<String> getTranskribusAllowedDocumentTypes(); int getTocIndentation(); boolean isPageBrowseEnabled(); List<Integer> getPageBrowseSteps(); String getTaskManagerServiceUrl(); String getTaskManagerRestUrl(); String getReCaptchaSiteKey(); boolean isUseReCaptcha(); boolean isSearchInItemEnabled(); String getDefaultBrowseIcon(String field); boolean isSearchExcelExportEnabled(); List<String> getSearchExcelExportFields(); int getExcelDownloadTimeout(); boolean isDisplayEmptyTocInSidebar(); boolean isDoublePageModeEnabled(); List<String> getRestrictedImageUrls(); List<String> getIIIFLicenses(); List<String> getIIIFMetadataFields(); List<String> getIIIFEventFields(); String getIIIFMetadataLabel(String field); int getIIIFDiscoveryAvtivitiesPerPage(); List<String> getIIIFLogo(); String getIIIFNavDateField(); List<String> getIIIFAttribution(); List<String> getIIIFDescriptionFields(); String getSitelinksField(); String getSitelinksFilterQuery(); List<String> getConfiguredCollections(); String getWebApiToken(); boolean isAllowRedirectCollectionToWork(); String getTwitterUserName(); float getLimitImageHeightUpperRatioThreshold(); float getLimitImageHeightLowerRatioThreshold(); boolean isLimitImageHeight(); boolean isAddCORSHeader(); String getCORSHeaderValue(); boolean isDiscloseImageContentLocation(); String getAccessConditionDisplayField(); String getCopyrightDisplayField(); boolean isDisplayCopyrightInfo(); boolean isDisplaySocialMediaShareLinks(); boolean isDisplayAnchorLabelInTitleBar(String template); String getAnchorLabelInTitleBarPrefix(String template); String getAnchorLabelInTitleBarSuffix(String template); String getMapBoxToken(); GeoMapMarker getGeoMapMarker(String name); List<String> getGeoMapMarkerFields(); List<GeoMapMarker> getGeoMapMarkers(); static GeoMapMarker readGeoMapMarker(HierarchicalConfiguration config); List<LicenseDescription> getLicenseDescriptions(); }
@Test public void isSidebarPageLinkVisible_shouldReturnCorrectValue() throws Exception { Assert.assertEquals(false, DataManager.getInstance().getConfiguration().isSidebarPageViewLinkVisible()); }
public boolean isSidebarPageViewLinkVisible() { return getLocalBoolean("sidebar.page.visible", true); }
Configuration extends AbstractConfiguration { public boolean isSidebarPageViewLinkVisible() { return getLocalBoolean("sidebar.page.visible", true); } }
Configuration extends AbstractConfiguration { public boolean isSidebarPageViewLinkVisible() { return getLocalBoolean("sidebar.page.visible", true); } Configuration(String configFilePath); }
Configuration extends AbstractConfiguration { public boolean isSidebarPageViewLinkVisible() { return getLocalBoolean("sidebar.page.visible", true); } Configuration(String configFilePath); Set<String> getStopwords(); boolean reloadingRequired(); String getConfigLocalPath(); String getLocalRessourceBundleFile(); int getViewerThumbnailsPerPage(); int getViewerMaxImageWidth(); int getViewerMaxImageHeight(); int getViewerMaxImageScale(); boolean isRememberImageZoom(); boolean isRememberImageRotation(); String getDfgViewerUrl(); String getConnectorVersionUrl(); List<Metadata> getTitleBarMetadata(); List<Metadata> getSearchHitMetadataForTemplate(String template); List<Metadata> getMainMetadataForTemplate(String template); List<Metadata> getSidebarMetadataForTemplate(String template); List<String> getNormdataFieldsForTemplate(String template); List<Metadata> getTocLabelConfiguration(String template); int getTocAnchorGroupElementsPerPage(); boolean isDisplaySidebarBrowsingTerms(); boolean isDisplaySidebarRssFeed(); boolean isDisplayWidgetUsage(); Metadata getWidgetUsageLicenceTextMetadata(); boolean isDisplaySidebarUsageWidgetLinkToJpegImage(); boolean isDisplaySidebarUsageWidgetLinkToMasterImage(); String getWidgetUsageMaxJpegSize(); String getWidgetUsageMaxMasterImageSize(); List<String> getCalendarDocStructTypes(); boolean isBrowsingMenuEnabled(); int getBrowsingMenuHitsPerPage(); List<BrowsingMenuFieldConfig> getBrowsingMenuFields(); String getBrowsingMenuSortingIgnoreLeadingChars(); String getDocstrctWhitelistFilterQuery(); String getCollectionSplittingChar(String field); List<DcSortingList> getCollectionSorting(String field); List<String> getCollectionBlacklist(String field); String getCollectionDefaultSortField(String field, String name); int getCollectionDisplayNumberOfVolumesLevel(String field); int getCollectionDisplayDepthForSearch(String field); String getCollectionHierarchyField(); boolean isAddCollectionHierarchyToBreadcrumbs(String field); String getSolrUrl(); String getContentServerWrapperUrl(); String getDownloadUrl(); String getRestApiUrl(); String getIIIFApiUrl(); boolean isUseIIIFApiUrlForCmsMediaUrls(); String getContentServerRealUrl(); String getMetsUrl(); String getMarcUrl(); String getDcUrl(); String getEseUrl(); List<Integer> getSearchHitsPerPageValues(); int getSearchHitsPerPageDefaultValue(); int getFulltextFragmentLength(); boolean isAdvancedSearchEnabled(); int getAdvancedSearchDefaultItemNumber(); List<AdvancedSearchFieldConfiguration> getAdvancedSearchFields(); boolean isAggregateHits(); boolean isDisplayAdditionalMetadataEnabled(); List<String> getDisplayAdditionalMetadataIgnoreFields(); List<String> getDisplayAdditionalMetadataTranslateFields(); boolean isAdvancedSearchFieldHierarchical(String field); boolean isAdvancedSearchFieldRange(String field); boolean isAdvancedSearchFieldUntokenizeForPhraseSearch(String field); String getAdvancedSearchFieldSeparatorLabel(String field); boolean isTimelineSearchEnabled(); boolean isCalendarSearchEnabled(); String getStaticQuerySuffix(); String getPreviousVersionIdentifierField(); String getNextVersionIdentifierField(); String getVersionLabelField(); String getIndexedMetsFolder(); String getIndexedLidoFolder(); String getIndexedDenkxwebFolder(); String getIndexedDublinCoreFolder(); String getPageSelectionFormat(); String getMediaFolder(); String getPdfFolder(); String getVocabulariesFolder(); String getOrigContentFolder(); String getCmsTextFolder(); String getAltoFolder(); String getAbbyyFolder(); String getFulltextFolder(); String getTeiFolder(); String getCmdiFolder(); String getWcFolder(); String getAnnotationFolder(); String getHotfolder(); @SuppressWarnings("static-method") String getTempFolder(); boolean isUrnDoRedirect(); boolean isUserRegistrationEnabled(); List<SecurityQuestion> getSecurityQuestions(); boolean isShowOpenIdConnect(); List<IAuthenticationProvider> getAuthenticationProviders(); String getSmtpServer(); String getSmtpUser(); String getSmtpPassword(); String getSmtpSenderAddress(); String getSmtpSenderName(); String getSmtpSecurity(); String getAnonymousUserEmailAddress(); boolean isDisplayCollectionBrowsing(); boolean isDisplayUserNavigation(); boolean isDisplayTagCloudNavigation(); boolean isDisplayStatistics(); boolean isDisplayTimeMatrix(); boolean isDisplayCrowdsourcingModuleLinks(); String getTheme(); String getThemeRootPath(); String getName(); String getDescription(); boolean isDisplayTagCloudStartpage(); boolean isDisplaySearchResultNavigation(); boolean isFoldout(String sidebarElement); boolean isSidebarPageViewLinkVisible(); boolean isSidebarCalendarViewLinkVisible(); boolean isSidebarTocViewLinkVisible(); boolean isSidebarThumbsViewLinkVisible(); boolean isSidebarMetadataViewLinkVisible(); boolean isShowSidebarEventMetadata(); boolean isShowRecordLabelIfNoOtherViews(); boolean isSidebarFulltextLinkVisible(); boolean isSidebarTocWidgetVisible(); boolean isSidebarTocWidgetVisibleInFullscreen(); boolean isSidebarOpacLinkVisible(); boolean getSidebarTocPageNumbersVisible(); int getSidebarTocLengthBeforeCut(); int getSidebarTocInitialCollapseLevel(); int getSidebarTocCollapseLengthThreshold(); int getSidebarTocLowestLevelToCollapseForLength(); boolean isSidebarTocTreeView(); boolean isTocTreeView(String docStructType); List<String> getAllDrillDownFields(); List<String> getDrillDownFields(); List<String> getHierarchicalDrillDownFields(); int getInitialDrillDownElementNumber(String field); String getSortOrder(String field); List<String> getPriorityValuesForDrillDownField(String field); String getLabelFieldForDrillDownField(String facetField); @SuppressWarnings("static-method") List<String> getRangeFacetFields(); boolean isSortingEnabled(); String getDefaultSortField(); List<String> getSortFields(); List<String> getStaticSortFields(); String getUrnResolverUrl(); int getUnconditionalImageAccessMaxWidth(); boolean isFullAccessForLocalhost(); boolean isGeneratePdfInTaskManager(); boolean isPdfApiDisabled(); boolean isTitlePdfEnabled(); boolean isTocPdfEnabled(); boolean isMetadataPdfEnabled(); boolean isPagePdfEnabled(); boolean isDocHierarchyPdfEnabled(); boolean isTitleEpubEnabled(); boolean isTocEpubEnabled(); boolean isMetadataEpubEnabled(); String getDownloadFolder(String type); int getRssFeedItems(); String getRssTitle(); String getRssDescription(); String getRssCopyrightText(); String getRulesetFilePath(); String getDefaultCollection(); int getThumbnailsWidth(); int getThumbnailsHeight(); int getThumbnailsCompression(); String getAnchorThumbnailMode(); int getMultivolumeThumbnailWidth(); int getMultivolumeThumbnailHeight(); boolean getDisplayBreadcrumbs(); boolean getDisplayMetadataPageLinkBlock(); boolean isAddDublinCoreMetaTags(); boolean isAddHighwirePressMetaTags(); int getMetadataParamNumber(); boolean useTiles(); boolean useTilesFullscreen(); boolean useTiles(PageType view, ImageType image); int getFooterHeight(); int getFullscreenFooterHeight(); int getFooterHeight(PageType view, ImageType image); String getImageViewType(); String getZoomFullscreenViewType(); String getZoomImageViewType(PageType view, ImageType image); boolean useOpenSeadragon(); List<String> getImageViewZoomScales(); List<String> getImageViewZoomScales(String view); List<String> getImageViewZoomScales(PageType view, ImageType image); Map<Integer, List<Integer>> getTileSizes(); Map<Integer, List<Integer>> getTileSizes(PageType view, ImageType image); SubnodeConfiguration getZoomImageViewConfig(PageType pageType, ImageType imageType); int getBreadcrumbsClipping(); boolean isDisplayTopstructLabel(); boolean getDisplayStructType(); int getSearchHitMetadataValueNumber(); int getSearchHitMetadataValueLength(); List<String> getWatermarkTextConfiguration(); String getWatermarkFormat(); boolean isOriginalContentDownload(); String getStopwordsFilePath(); String getPageType(PageType type); String getDocstructTargetPageType(String docstruct); String getPageTypeExitView(PageType type); int getFulltextPercentageWarningThreshold(); boolean isUseViewerLocaleAsRecordLanguage(); String getFeedbackEmailAddress(); boolean isBookmarksEnabled(); boolean isForceJpegConversion(); int getPageLoaderThreshold(); boolean isPreventProxyCaching(); boolean isSolrCompressionEnabled(); boolean isSolrBackwardsCompatible(); boolean isUserCommentsEnabled(); String getUserCommentsConditionalQuery(); List<String> getUserCommentsNotificationEmailAddresses(); String getViewerHome(); List<String> getWatermarkIdField(); String getSubthemeMainTheme(); String getSubthemeDiscriminatorField(); int getTagCloudSampleSize(String fieldName); List<StringPair> getTocVolumeSortFieldsForTemplate(String template); String getTocVolumeGroupFieldForTemplate(String template); boolean getDisplayTitleBreadcrumbs(); boolean isDisplayTitlePURL(); int getTitleBreadcrumbsMaxTitleLength(); boolean getIncludeAnchorInTitleBreadcrumbs(); boolean isDisplaySearchRssLinks(); boolean showThumbnailsInToc(); String getStartYearForTimeline(); String getEndYearForTimeline(); String getTimelineHits(); boolean isPiwikTrackingEnabled(); String getPiwikBaseURL(); String getPiwikSiteID(); boolean isSearchSavingEnabled(); boolean isBoostTopLevelDocstructs(); boolean isGroupDuplicateHits(); List<String> getRecordGroupIdentifierFields(); List<String> getAncestorIdentifierFields(); boolean isTocListSiblingRecords(); List<SearchFilter> getSearchFilters(); List<Map<String, String>> getWebApiFields(); String getDbPersistenceUnit(); boolean useCustomNavBar(); String getCmsTemplateFolder(); String getCmsMediaFolder(); String getTempMediaFolder(); List<String> getCmsClassifications(); int getCmsMediaDisplayWidth(); int getCmsMediaDisplayHeight(); boolean isTranskribusEnabled(); String getTranskribusUserName(); String getTranskribusPassword(); String getTranskribusDefaultCollection(); String getTranskribusRestApiUrl(); List<String> getTranskribusAllowedDocumentTypes(); int getTocIndentation(); boolean isPageBrowseEnabled(); List<Integer> getPageBrowseSteps(); String getTaskManagerServiceUrl(); String getTaskManagerRestUrl(); String getReCaptchaSiteKey(); boolean isUseReCaptcha(); boolean isSearchInItemEnabled(); String getDefaultBrowseIcon(String field); boolean isSearchExcelExportEnabled(); List<String> getSearchExcelExportFields(); int getExcelDownloadTimeout(); boolean isDisplayEmptyTocInSidebar(); boolean isDoublePageModeEnabled(); List<String> getRestrictedImageUrls(); List<String> getIIIFLicenses(); List<String> getIIIFMetadataFields(); List<String> getIIIFEventFields(); String getIIIFMetadataLabel(String field); int getIIIFDiscoveryAvtivitiesPerPage(); List<String> getIIIFLogo(); String getIIIFNavDateField(); List<String> getIIIFAttribution(); List<String> getIIIFDescriptionFields(); String getSitelinksField(); String getSitelinksFilterQuery(); List<String> getConfiguredCollections(); String getWebApiToken(); boolean isAllowRedirectCollectionToWork(); String getTwitterUserName(); float getLimitImageHeightUpperRatioThreshold(); float getLimitImageHeightLowerRatioThreshold(); boolean isLimitImageHeight(); boolean isAddCORSHeader(); String getCORSHeaderValue(); boolean isDiscloseImageContentLocation(); String getAccessConditionDisplayField(); String getCopyrightDisplayField(); boolean isDisplayCopyrightInfo(); boolean isDisplaySocialMediaShareLinks(); boolean isDisplayAnchorLabelInTitleBar(String template); String getAnchorLabelInTitleBarPrefix(String template); String getAnchorLabelInTitleBarSuffix(String template); String getMapBoxToken(); GeoMapMarker getGeoMapMarker(String name); List<String> getGeoMapMarkerFields(); List<GeoMapMarker> getGeoMapMarkers(); static GeoMapMarker readGeoMapMarker(HierarchicalConfiguration config); List<LicenseDescription> getLicenseDescriptions(); }
Configuration extends AbstractConfiguration { public boolean isSidebarPageViewLinkVisible() { return getLocalBoolean("sidebar.page.visible", true); } Configuration(String configFilePath); Set<String> getStopwords(); boolean reloadingRequired(); String getConfigLocalPath(); String getLocalRessourceBundleFile(); int getViewerThumbnailsPerPage(); int getViewerMaxImageWidth(); int getViewerMaxImageHeight(); int getViewerMaxImageScale(); boolean isRememberImageZoom(); boolean isRememberImageRotation(); String getDfgViewerUrl(); String getConnectorVersionUrl(); List<Metadata> getTitleBarMetadata(); List<Metadata> getSearchHitMetadataForTemplate(String template); List<Metadata> getMainMetadataForTemplate(String template); List<Metadata> getSidebarMetadataForTemplate(String template); List<String> getNormdataFieldsForTemplate(String template); List<Metadata> getTocLabelConfiguration(String template); int getTocAnchorGroupElementsPerPage(); boolean isDisplaySidebarBrowsingTerms(); boolean isDisplaySidebarRssFeed(); boolean isDisplayWidgetUsage(); Metadata getWidgetUsageLicenceTextMetadata(); boolean isDisplaySidebarUsageWidgetLinkToJpegImage(); boolean isDisplaySidebarUsageWidgetLinkToMasterImage(); String getWidgetUsageMaxJpegSize(); String getWidgetUsageMaxMasterImageSize(); List<String> getCalendarDocStructTypes(); boolean isBrowsingMenuEnabled(); int getBrowsingMenuHitsPerPage(); List<BrowsingMenuFieldConfig> getBrowsingMenuFields(); String getBrowsingMenuSortingIgnoreLeadingChars(); String getDocstrctWhitelistFilterQuery(); String getCollectionSplittingChar(String field); List<DcSortingList> getCollectionSorting(String field); List<String> getCollectionBlacklist(String field); String getCollectionDefaultSortField(String field, String name); int getCollectionDisplayNumberOfVolumesLevel(String field); int getCollectionDisplayDepthForSearch(String field); String getCollectionHierarchyField(); boolean isAddCollectionHierarchyToBreadcrumbs(String field); String getSolrUrl(); String getContentServerWrapperUrl(); String getDownloadUrl(); String getRestApiUrl(); String getIIIFApiUrl(); boolean isUseIIIFApiUrlForCmsMediaUrls(); String getContentServerRealUrl(); String getMetsUrl(); String getMarcUrl(); String getDcUrl(); String getEseUrl(); List<Integer> getSearchHitsPerPageValues(); int getSearchHitsPerPageDefaultValue(); int getFulltextFragmentLength(); boolean isAdvancedSearchEnabled(); int getAdvancedSearchDefaultItemNumber(); List<AdvancedSearchFieldConfiguration> getAdvancedSearchFields(); boolean isAggregateHits(); boolean isDisplayAdditionalMetadataEnabled(); List<String> getDisplayAdditionalMetadataIgnoreFields(); List<String> getDisplayAdditionalMetadataTranslateFields(); boolean isAdvancedSearchFieldHierarchical(String field); boolean isAdvancedSearchFieldRange(String field); boolean isAdvancedSearchFieldUntokenizeForPhraseSearch(String field); String getAdvancedSearchFieldSeparatorLabel(String field); boolean isTimelineSearchEnabled(); boolean isCalendarSearchEnabled(); String getStaticQuerySuffix(); String getPreviousVersionIdentifierField(); String getNextVersionIdentifierField(); String getVersionLabelField(); String getIndexedMetsFolder(); String getIndexedLidoFolder(); String getIndexedDenkxwebFolder(); String getIndexedDublinCoreFolder(); String getPageSelectionFormat(); String getMediaFolder(); String getPdfFolder(); String getVocabulariesFolder(); String getOrigContentFolder(); String getCmsTextFolder(); String getAltoFolder(); String getAbbyyFolder(); String getFulltextFolder(); String getTeiFolder(); String getCmdiFolder(); String getWcFolder(); String getAnnotationFolder(); String getHotfolder(); @SuppressWarnings("static-method") String getTempFolder(); boolean isUrnDoRedirect(); boolean isUserRegistrationEnabled(); List<SecurityQuestion> getSecurityQuestions(); boolean isShowOpenIdConnect(); List<IAuthenticationProvider> getAuthenticationProviders(); String getSmtpServer(); String getSmtpUser(); String getSmtpPassword(); String getSmtpSenderAddress(); String getSmtpSenderName(); String getSmtpSecurity(); String getAnonymousUserEmailAddress(); boolean isDisplayCollectionBrowsing(); boolean isDisplayUserNavigation(); boolean isDisplayTagCloudNavigation(); boolean isDisplayStatistics(); boolean isDisplayTimeMatrix(); boolean isDisplayCrowdsourcingModuleLinks(); String getTheme(); String getThemeRootPath(); String getName(); String getDescription(); boolean isDisplayTagCloudStartpage(); boolean isDisplaySearchResultNavigation(); boolean isFoldout(String sidebarElement); boolean isSidebarPageViewLinkVisible(); boolean isSidebarCalendarViewLinkVisible(); boolean isSidebarTocViewLinkVisible(); boolean isSidebarThumbsViewLinkVisible(); boolean isSidebarMetadataViewLinkVisible(); boolean isShowSidebarEventMetadata(); boolean isShowRecordLabelIfNoOtherViews(); boolean isSidebarFulltextLinkVisible(); boolean isSidebarTocWidgetVisible(); boolean isSidebarTocWidgetVisibleInFullscreen(); boolean isSidebarOpacLinkVisible(); boolean getSidebarTocPageNumbersVisible(); int getSidebarTocLengthBeforeCut(); int getSidebarTocInitialCollapseLevel(); int getSidebarTocCollapseLengthThreshold(); int getSidebarTocLowestLevelToCollapseForLength(); boolean isSidebarTocTreeView(); boolean isTocTreeView(String docStructType); List<String> getAllDrillDownFields(); List<String> getDrillDownFields(); List<String> getHierarchicalDrillDownFields(); int getInitialDrillDownElementNumber(String field); String getSortOrder(String field); List<String> getPriorityValuesForDrillDownField(String field); String getLabelFieldForDrillDownField(String facetField); @SuppressWarnings("static-method") List<String> getRangeFacetFields(); boolean isSortingEnabled(); String getDefaultSortField(); List<String> getSortFields(); List<String> getStaticSortFields(); String getUrnResolverUrl(); int getUnconditionalImageAccessMaxWidth(); boolean isFullAccessForLocalhost(); boolean isGeneratePdfInTaskManager(); boolean isPdfApiDisabled(); boolean isTitlePdfEnabled(); boolean isTocPdfEnabled(); boolean isMetadataPdfEnabled(); boolean isPagePdfEnabled(); boolean isDocHierarchyPdfEnabled(); boolean isTitleEpubEnabled(); boolean isTocEpubEnabled(); boolean isMetadataEpubEnabled(); String getDownloadFolder(String type); int getRssFeedItems(); String getRssTitle(); String getRssDescription(); String getRssCopyrightText(); String getRulesetFilePath(); String getDefaultCollection(); int getThumbnailsWidth(); int getThumbnailsHeight(); int getThumbnailsCompression(); String getAnchorThumbnailMode(); int getMultivolumeThumbnailWidth(); int getMultivolumeThumbnailHeight(); boolean getDisplayBreadcrumbs(); boolean getDisplayMetadataPageLinkBlock(); boolean isAddDublinCoreMetaTags(); boolean isAddHighwirePressMetaTags(); int getMetadataParamNumber(); boolean useTiles(); boolean useTilesFullscreen(); boolean useTiles(PageType view, ImageType image); int getFooterHeight(); int getFullscreenFooterHeight(); int getFooterHeight(PageType view, ImageType image); String getImageViewType(); String getZoomFullscreenViewType(); String getZoomImageViewType(PageType view, ImageType image); boolean useOpenSeadragon(); List<String> getImageViewZoomScales(); List<String> getImageViewZoomScales(String view); List<String> getImageViewZoomScales(PageType view, ImageType image); Map<Integer, List<Integer>> getTileSizes(); Map<Integer, List<Integer>> getTileSizes(PageType view, ImageType image); SubnodeConfiguration getZoomImageViewConfig(PageType pageType, ImageType imageType); int getBreadcrumbsClipping(); boolean isDisplayTopstructLabel(); boolean getDisplayStructType(); int getSearchHitMetadataValueNumber(); int getSearchHitMetadataValueLength(); List<String> getWatermarkTextConfiguration(); String getWatermarkFormat(); boolean isOriginalContentDownload(); String getStopwordsFilePath(); String getPageType(PageType type); String getDocstructTargetPageType(String docstruct); String getPageTypeExitView(PageType type); int getFulltextPercentageWarningThreshold(); boolean isUseViewerLocaleAsRecordLanguage(); String getFeedbackEmailAddress(); boolean isBookmarksEnabled(); boolean isForceJpegConversion(); int getPageLoaderThreshold(); boolean isPreventProxyCaching(); boolean isSolrCompressionEnabled(); boolean isSolrBackwardsCompatible(); boolean isUserCommentsEnabled(); String getUserCommentsConditionalQuery(); List<String> getUserCommentsNotificationEmailAddresses(); String getViewerHome(); List<String> getWatermarkIdField(); String getSubthemeMainTheme(); String getSubthemeDiscriminatorField(); int getTagCloudSampleSize(String fieldName); List<StringPair> getTocVolumeSortFieldsForTemplate(String template); String getTocVolumeGroupFieldForTemplate(String template); boolean getDisplayTitleBreadcrumbs(); boolean isDisplayTitlePURL(); int getTitleBreadcrumbsMaxTitleLength(); boolean getIncludeAnchorInTitleBreadcrumbs(); boolean isDisplaySearchRssLinks(); boolean showThumbnailsInToc(); String getStartYearForTimeline(); String getEndYearForTimeline(); String getTimelineHits(); boolean isPiwikTrackingEnabled(); String getPiwikBaseURL(); String getPiwikSiteID(); boolean isSearchSavingEnabled(); boolean isBoostTopLevelDocstructs(); boolean isGroupDuplicateHits(); List<String> getRecordGroupIdentifierFields(); List<String> getAncestorIdentifierFields(); boolean isTocListSiblingRecords(); List<SearchFilter> getSearchFilters(); List<Map<String, String>> getWebApiFields(); String getDbPersistenceUnit(); boolean useCustomNavBar(); String getCmsTemplateFolder(); String getCmsMediaFolder(); String getTempMediaFolder(); List<String> getCmsClassifications(); int getCmsMediaDisplayWidth(); int getCmsMediaDisplayHeight(); boolean isTranskribusEnabled(); String getTranskribusUserName(); String getTranskribusPassword(); String getTranskribusDefaultCollection(); String getTranskribusRestApiUrl(); List<String> getTranskribusAllowedDocumentTypes(); int getTocIndentation(); boolean isPageBrowseEnabled(); List<Integer> getPageBrowseSteps(); String getTaskManagerServiceUrl(); String getTaskManagerRestUrl(); String getReCaptchaSiteKey(); boolean isUseReCaptcha(); boolean isSearchInItemEnabled(); String getDefaultBrowseIcon(String field); boolean isSearchExcelExportEnabled(); List<String> getSearchExcelExportFields(); int getExcelDownloadTimeout(); boolean isDisplayEmptyTocInSidebar(); boolean isDoublePageModeEnabled(); List<String> getRestrictedImageUrls(); List<String> getIIIFLicenses(); List<String> getIIIFMetadataFields(); List<String> getIIIFEventFields(); String getIIIFMetadataLabel(String field); int getIIIFDiscoveryAvtivitiesPerPage(); List<String> getIIIFLogo(); String getIIIFNavDateField(); List<String> getIIIFAttribution(); List<String> getIIIFDescriptionFields(); String getSitelinksField(); String getSitelinksFilterQuery(); List<String> getConfiguredCollections(); String getWebApiToken(); boolean isAllowRedirectCollectionToWork(); String getTwitterUserName(); float getLimitImageHeightUpperRatioThreshold(); float getLimitImageHeightLowerRatioThreshold(); boolean isLimitImageHeight(); boolean isAddCORSHeader(); String getCORSHeaderValue(); boolean isDiscloseImageContentLocation(); String getAccessConditionDisplayField(); String getCopyrightDisplayField(); boolean isDisplayCopyrightInfo(); boolean isDisplaySocialMediaShareLinks(); boolean isDisplayAnchorLabelInTitleBar(String template); String getAnchorLabelInTitleBarPrefix(String template); String getAnchorLabelInTitleBarSuffix(String template); String getMapBoxToken(); GeoMapMarker getGeoMapMarker(String name); List<String> getGeoMapMarkerFields(); List<GeoMapMarker> getGeoMapMarkers(); static GeoMapMarker readGeoMapMarker(HierarchicalConfiguration config); List<LicenseDescription> getLicenseDescriptions(); }