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 isSidebarCalendarLinkVisible_shouldReturnCorrectValue() throws Exception { Assert.assertEquals(false, DataManager.getInstance().getConfiguration().isSidebarCalendarViewLinkVisible()); }
|
public boolean isSidebarCalendarViewLinkVisible() { return getLocalBoolean("sidebar.calendar.visible", true); }
|
Configuration extends AbstractConfiguration { public boolean isSidebarCalendarViewLinkVisible() { return getLocalBoolean("sidebar.calendar.visible", true); } }
|
Configuration extends AbstractConfiguration { public boolean isSidebarCalendarViewLinkVisible() { return getLocalBoolean("sidebar.calendar.visible", true); } Configuration(String configFilePath); }
|
Configuration extends AbstractConfiguration { public boolean isSidebarCalendarViewLinkVisible() { return getLocalBoolean("sidebar.calendar.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 isSidebarCalendarViewLinkVisible() { return getLocalBoolean("sidebar.calendar.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 getPdfDownloadQuotaForRecord_shouldReturn100IfRecordHasNoQuotaValue() throws Exception { Assert.assertEquals(100, AccessConditionUtils.getPdfDownloadQuotaForRecord("51419376X")); }
|
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 isSidebarThumbsLinkVisible_shouldReturnCorrectValue() throws Exception { Assert.assertEquals(false, DataManager.getInstance().getConfiguration().isSidebarThumbsViewLinkVisible()); }
|
public boolean isSidebarThumbsViewLinkVisible() { return getLocalBoolean("sidebar.thumbs.visible", true); }
|
Configuration extends AbstractConfiguration { public boolean isSidebarThumbsViewLinkVisible() { return getLocalBoolean("sidebar.thumbs.visible", true); } }
|
Configuration extends AbstractConfiguration { public boolean isSidebarThumbsViewLinkVisible() { return getLocalBoolean("sidebar.thumbs.visible", true); } Configuration(String configFilePath); }
|
Configuration extends AbstractConfiguration { public boolean isSidebarThumbsViewLinkVisible() { return getLocalBoolean("sidebar.thumbs.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 isSidebarThumbsViewLinkVisible() { return getLocalBoolean("sidebar.thumbs.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 isSidebarOpacLinkVisible_shouldReturnCorrectValue() throws Exception { Assert.assertTrue(DataManager.getInstance().getConfiguration().isSidebarOpacLinkVisible()); }
|
public boolean isSidebarOpacLinkVisible() { return this.getLocalBoolean("sidebar.opac.visible", false); }
|
Configuration extends AbstractConfiguration { public boolean isSidebarOpacLinkVisible() { return this.getLocalBoolean("sidebar.opac.visible", false); } }
|
Configuration extends AbstractConfiguration { public boolean isSidebarOpacLinkVisible() { return this.getLocalBoolean("sidebar.opac.visible", false); } Configuration(String configFilePath); }
|
Configuration extends AbstractConfiguration { public boolean isSidebarOpacLinkVisible() { return this.getLocalBoolean("sidebar.opac.visible", 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 isSidebarOpacLinkVisible() { return this.getLocalBoolean("sidebar.opac.visible", 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 isSidebarTocLinkVisible_shouldReturnCorrectValue() throws Exception { Assert.assertEquals(false, DataManager.getInstance().getConfiguration().isSidebarTocViewLinkVisible()); }
|
public boolean isSidebarTocViewLinkVisible() { return getLocalBoolean("sidebar.toc.visible", true); }
|
Configuration extends AbstractConfiguration { public boolean isSidebarTocViewLinkVisible() { return getLocalBoolean("sidebar.toc.visible", true); } }
|
Configuration extends AbstractConfiguration { public boolean isSidebarTocViewLinkVisible() { return getLocalBoolean("sidebar.toc.visible", true); } Configuration(String configFilePath); }
|
Configuration extends AbstractConfiguration { public boolean isSidebarTocViewLinkVisible() { return getLocalBoolean("sidebar.toc.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 isSidebarTocViewLinkVisible() { return getLocalBoolean("sidebar.toc.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 isSidebarTocVisible_shouldReturnCorrectValue() throws Exception { Assert.assertEquals(false, DataManager.getInstance().getConfiguration().isSidebarTocWidgetVisible()); }
|
public boolean isSidebarTocWidgetVisible() { return this.getLocalBoolean("sidebar.sidebarToc.visible", true); }
|
Configuration extends AbstractConfiguration { public boolean isSidebarTocWidgetVisible() { return this.getLocalBoolean("sidebar.sidebarToc.visible", true); } }
|
Configuration extends AbstractConfiguration { public boolean isSidebarTocWidgetVisible() { return this.getLocalBoolean("sidebar.sidebarToc.visible", true); } Configuration(String configFilePath); }
|
Configuration extends AbstractConfiguration { public boolean isSidebarTocWidgetVisible() { return this.getLocalBoolean("sidebar.sidebarToc.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 isSidebarTocWidgetVisible() { return this.getLocalBoolean("sidebar.sidebarToc.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 isSidebarTocVisibleInFullscreen_shouldReturnCorrectValue() throws Exception { Assert.assertEquals(false, DataManager.getInstance().getConfiguration().isSidebarTocWidgetVisibleInFullscreen()); }
|
public boolean isSidebarTocWidgetVisibleInFullscreen() { return this.getLocalBoolean("sidebar.sidebarToc.visibleInFullscreen", true); }
|
Configuration extends AbstractConfiguration { public boolean isSidebarTocWidgetVisibleInFullscreen() { return this.getLocalBoolean("sidebar.sidebarToc.visibleInFullscreen", true); } }
|
Configuration extends AbstractConfiguration { public boolean isSidebarTocWidgetVisibleInFullscreen() { return this.getLocalBoolean("sidebar.sidebarToc.visibleInFullscreen", true); } Configuration(String configFilePath); }
|
Configuration extends AbstractConfiguration { public boolean isSidebarTocWidgetVisibleInFullscreen() { return this.getLocalBoolean("sidebar.sidebarToc.visibleInFullscreen", 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 isSidebarTocWidgetVisibleInFullscreen() { return this.getLocalBoolean("sidebar.sidebarToc.visibleInFullscreen", 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 isSortingEnabled_shouldReturnCorrectValue() throws Exception { Assert.assertEquals(false, DataManager.getInstance().getConfiguration().isSortingEnabled()); }
|
public boolean isSortingEnabled() { return getLocalBoolean("search.sorting.enabled", true); }
|
Configuration extends AbstractConfiguration { public boolean isSortingEnabled() { return getLocalBoolean("search.sorting.enabled", true); } }
|
Configuration extends AbstractConfiguration { public boolean isSortingEnabled() { return getLocalBoolean("search.sorting.enabled", true); } Configuration(String configFilePath); }
|
Configuration extends AbstractConfiguration { public boolean isSortingEnabled() { return getLocalBoolean("search.sorting.enabled", 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 isSortingEnabled() { return getLocalBoolean("search.sorting.enabled", 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 getDefaultSortField_shouldReturnCorrectValue() throws Exception { Assert.assertEquals("SORT_DEFAULT1;SORT_DEFAULT2;SORT_DEFAULT3", DataManager.getInstance().getConfiguration().getDefaultSortField()); }
|
public String getDefaultSortField() { return getLocalString("search.sorting.defaultSortField", null); }
|
Configuration extends AbstractConfiguration { public String getDefaultSortField() { return getLocalString("search.sorting.defaultSortField", null); } }
|
Configuration extends AbstractConfiguration { public String getDefaultSortField() { return getLocalString("search.sorting.defaultSortField", null); } Configuration(String configFilePath); }
|
Configuration extends AbstractConfiguration { public String getDefaultSortField() { return getLocalString("search.sorting.defaultSortField", 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 getDefaultSortField() { return getLocalString("search.sorting.defaultSortField", 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 isUrnDoRedirect_shouldReturnCorrectValue() throws Exception { Assert.assertEquals(true, DataManager.getInstance().getConfiguration().isUrnDoRedirect()); }
|
public boolean isUrnDoRedirect() { return getLocalBoolean("urnresolver.doRedirectInsteadofForward", false); }
|
Configuration extends AbstractConfiguration { public boolean isUrnDoRedirect() { return getLocalBoolean("urnresolver.doRedirectInsteadofForward", false); } }
|
Configuration extends AbstractConfiguration { public boolean isUrnDoRedirect() { return getLocalBoolean("urnresolver.doRedirectInsteadofForward", false); } Configuration(String configFilePath); }
|
Configuration extends AbstractConfiguration { public boolean isUrnDoRedirect() { return getLocalBoolean("urnresolver.doRedirectInsteadofForward", 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 isUrnDoRedirect() { return getLocalBoolean("urnresolver.doRedirectInsteadofForward", 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 isUserCommentsEnabled_shouldReturnCorrectValue() throws Exception { Assert.assertEquals(true, DataManager.getInstance().getConfiguration().isUserCommentsEnabled()); }
|
public boolean isUserCommentsEnabled() { return getLocalBoolean(("userComments.enabled"), false); }
|
Configuration extends AbstractConfiguration { public boolean isUserCommentsEnabled() { return getLocalBoolean(("userComments.enabled"), false); } }
|
Configuration extends AbstractConfiguration { public boolean isUserCommentsEnabled() { return getLocalBoolean(("userComments.enabled"), false); } Configuration(String configFilePath); }
|
Configuration extends AbstractConfiguration { public boolean isUserCommentsEnabled() { return getLocalBoolean(("userComments.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 isUserCommentsEnabled() { return getLocalBoolean(("userComments.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 getUserCommentsConditionalQuery_shouldReturnCorrectValue() throws Exception { Assert.assertEquals("DC:varia", DataManager.getInstance().getConfiguration().getUserCommentsConditionalQuery()); }
|
public String getUserCommentsConditionalQuery() { return getLocalString("userComments.conditionalQuery"); }
|
Configuration extends AbstractConfiguration { public String getUserCommentsConditionalQuery() { return getLocalString("userComments.conditionalQuery"); } }
|
Configuration extends AbstractConfiguration { public String getUserCommentsConditionalQuery() { return getLocalString("userComments.conditionalQuery"); } Configuration(String configFilePath); }
|
Configuration extends AbstractConfiguration { public String getUserCommentsConditionalQuery() { return getLocalString("userComments.conditionalQuery"); } 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 getUserCommentsConditionalQuery() { return getLocalString("userComments.conditionalQuery"); } 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 getPdfDownloadQuotaForRecord_shouldReturn100IfRecordOpenAccess() throws Exception { Assert.assertEquals(100, AccessConditionUtils.getPdfDownloadQuotaForRecord("PPN517154005")); }
|
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 useTiles_shouldReturnCorrectValue() throws Exception { Assert.assertEquals(true, DataManager.getInstance().getConfiguration().useTiles()); }
|
public boolean useTiles() throws ViewerConfigurationException { return useTiles(PageType.viewImage, null); }
|
Configuration extends AbstractConfiguration { public boolean useTiles() throws ViewerConfigurationException { return useTiles(PageType.viewImage, null); } }
|
Configuration extends AbstractConfiguration { public boolean useTiles() throws ViewerConfigurationException { return useTiles(PageType.viewImage, null); } Configuration(String configFilePath); }
|
Configuration extends AbstractConfiguration { public boolean useTiles() throws ViewerConfigurationException { return useTiles(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 boolean useTiles() throws ViewerConfigurationException { return useTiles(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 useTilesFullscreen_shouldReturnCorrectValue() throws Exception { Assert.assertEquals(true, DataManager.getInstance().getConfiguration().useTilesFullscreen()); }
|
public boolean useTilesFullscreen() throws ViewerConfigurationException { return useTiles(PageType.viewFullscreen, null); }
|
Configuration extends AbstractConfiguration { public boolean useTilesFullscreen() throws ViewerConfigurationException { return useTiles(PageType.viewFullscreen, null); } }
|
Configuration extends AbstractConfiguration { public boolean useTilesFullscreen() throws ViewerConfigurationException { return useTiles(PageType.viewFullscreen, null); } Configuration(String configFilePath); }
|
Configuration extends AbstractConfiguration { public boolean useTilesFullscreen() throws ViewerConfigurationException { return useTiles(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 boolean useTilesFullscreen() throws ViewerConfigurationException { return useTiles(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 getPageType_shouldReturnNullForNonConfiguredType() throws Exception { Assert.assertNull(DataManager.getInstance().getConfiguration().getPageType(PageType.term)); }
|
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 getSidebarMetadataForTemplate_shouldReturnCorrectTemplateConfiguration() throws Exception { Assert.assertEquals(5, DataManager.getInstance().getConfiguration().getSidebarMetadataForTemplate("Map").size()); }
|
public List<Metadata> getSidebarMetadataForTemplate(String template) { List<HierarchicalConfiguration> templateList = getLocalConfigurationsAt("metadata.sideBarMetadataList.template"); if (templateList == null) { return Collections.emptyList(); } return getMetadataForTemplate(template, templateList, false, false); }
|
Configuration extends AbstractConfiguration { public List<Metadata> getSidebarMetadataForTemplate(String template) { List<HierarchicalConfiguration> templateList = getLocalConfigurationsAt("metadata.sideBarMetadataList.template"); if (templateList == null) { return Collections.emptyList(); } return getMetadataForTemplate(template, templateList, false, false); } }
|
Configuration extends AbstractConfiguration { public List<Metadata> getSidebarMetadataForTemplate(String template) { List<HierarchicalConfiguration> templateList = getLocalConfigurationsAt("metadata.sideBarMetadataList.template"); if (templateList == null) { return Collections.emptyList(); } return getMetadataForTemplate(template, templateList, false, false); } Configuration(String configFilePath); }
|
Configuration extends AbstractConfiguration { public List<Metadata> getSidebarMetadataForTemplate(String template) { List<HierarchicalConfiguration> templateList = getLocalConfigurationsAt("metadata.sideBarMetadataList.template"); if (templateList == null) { return Collections.emptyList(); } return getMetadataForTemplate(template, templateList, false, 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 List<Metadata> getSidebarMetadataForTemplate(String template) { List<HierarchicalConfiguration> templateList = getLocalConfigurationsAt("metadata.sideBarMetadataList.template"); if (templateList == null) { return Collections.emptyList(); } return getMetadataForTemplate(template, templateList, false, 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 getSortFields_shouldReturnReturnAllConfiguredElements() throws Exception { Assert.assertEquals(4, DataManager.getInstance().getConfiguration().getSortFields().size()); }
|
public List<String> getSortFields() { return getLocalList("search.sorting.luceneField"); }
|
Configuration extends AbstractConfiguration { public List<String> getSortFields() { return getLocalList("search.sorting.luceneField"); } }
|
Configuration extends AbstractConfiguration { public List<String> getSortFields() { return getLocalList("search.sorting.luceneField"); } Configuration(String configFilePath); }
|
Configuration extends AbstractConfiguration { public List<String> getSortFields() { return getLocalList("search.sorting.luceneField"); } 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> getSortFields() { return getLocalList("search.sorting.luceneField"); } 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 getStaticSortFields_shouldReturnReturnAllConfiguredElements() throws Exception { Assert.assertEquals(1, DataManager.getInstance().getConfiguration().getStaticSortFields().size()); }
|
public List<String> getStaticSortFields() { return getLocalList("search.sorting.static.field"); }
|
Configuration extends AbstractConfiguration { public List<String> getStaticSortFields() { return getLocalList("search.sorting.static.field"); } }
|
Configuration extends AbstractConfiguration { public List<String> getStaticSortFields() { return getLocalList("search.sorting.static.field"); } Configuration(String configFilePath); }
|
Configuration extends AbstractConfiguration { public List<String> getStaticSortFields() { return getLocalList("search.sorting.static.field"); } 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> getStaticSortFields() { return getLocalList("search.sorting.static.field"); } 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 getViewerMaxImageHeight_shouldReturnCorrectValue() throws Exception { Assert.assertEquals(7, DataManager.getInstance().getConfiguration().getViewerMaxImageHeight()); }
|
public int getViewerMaxImageHeight() { return getLocalInt("viewer.maxImageHeight", 2000); }
|
Configuration extends AbstractConfiguration { public int getViewerMaxImageHeight() { return getLocalInt("viewer.maxImageHeight", 2000); } }
|
Configuration extends AbstractConfiguration { public int getViewerMaxImageHeight() { return getLocalInt("viewer.maxImageHeight", 2000); } Configuration(String configFilePath); }
|
Configuration extends AbstractConfiguration { public int getViewerMaxImageHeight() { return getLocalInt("viewer.maxImageHeight", 2000); } 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 getViewerMaxImageHeight() { return getLocalInt("viewer.maxImageHeight", 2000); } 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 getViewerMaxImageScale_shouldReturnCorrectValue() throws Exception { Assert.assertEquals(8, DataManager.getInstance().getConfiguration().getViewerMaxImageScale()); }
|
public int getViewerMaxImageScale() { return getLocalInt("viewer.maxImageScale", 500); }
|
Configuration extends AbstractConfiguration { public int getViewerMaxImageScale() { return getLocalInt("viewer.maxImageScale", 500); } }
|
Configuration extends AbstractConfiguration { public int getViewerMaxImageScale() { return getLocalInt("viewer.maxImageScale", 500); } Configuration(String configFilePath); }
|
Configuration extends AbstractConfiguration { public int getViewerMaxImageScale() { return getLocalInt("viewer.maxImageScale", 500); } 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 getViewerMaxImageScale() { return getLocalInt("viewer.maxImageScale", 500); } 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 getViewerMaxImageWidth_shouldReturnCorrectValue() throws Exception { Assert.assertEquals(6, DataManager.getInstance().getConfiguration().getViewerMaxImageWidth()); }
|
public int getViewerMaxImageWidth() { return getLocalInt("viewer.maxImageWidth", 2000); }
|
Configuration extends AbstractConfiguration { public int getViewerMaxImageWidth() { return getLocalInt("viewer.maxImageWidth", 2000); } }
|
Configuration extends AbstractConfiguration { public int getViewerMaxImageWidth() { return getLocalInt("viewer.maxImageWidth", 2000); } Configuration(String configFilePath); }
|
Configuration extends AbstractConfiguration { public int getViewerMaxImageWidth() { return getLocalInt("viewer.maxImageWidth", 2000); } 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 getViewerMaxImageWidth() { return getLocalInt("viewer.maxImageWidth", 2000); } 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 getSidebarMetadataForTemplate_shouldReturnEmptyListIfTemplateNotFound() throws Exception { Assert.assertEquals(0, DataManager.getInstance().getConfiguration().getSidebarMetadataForTemplate("nonexistant").size()); }
|
public List<Metadata> getSidebarMetadataForTemplate(String template) { List<HierarchicalConfiguration> templateList = getLocalConfigurationsAt("metadata.sideBarMetadataList.template"); if (templateList == null) { return Collections.emptyList(); } return getMetadataForTemplate(template, templateList, false, false); }
|
Configuration extends AbstractConfiguration { public List<Metadata> getSidebarMetadataForTemplate(String template) { List<HierarchicalConfiguration> templateList = getLocalConfigurationsAt("metadata.sideBarMetadataList.template"); if (templateList == null) { return Collections.emptyList(); } return getMetadataForTemplate(template, templateList, false, false); } }
|
Configuration extends AbstractConfiguration { public List<Metadata> getSidebarMetadataForTemplate(String template) { List<HierarchicalConfiguration> templateList = getLocalConfigurationsAt("metadata.sideBarMetadataList.template"); if (templateList == null) { return Collections.emptyList(); } return getMetadataForTemplate(template, templateList, false, false); } Configuration(String configFilePath); }
|
Configuration extends AbstractConfiguration { public List<Metadata> getSidebarMetadataForTemplate(String template) { List<HierarchicalConfiguration> templateList = getLocalConfigurationsAt("metadata.sideBarMetadataList.template"); if (templateList == null) { return Collections.emptyList(); } return getMetadataForTemplate(template, templateList, false, 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 List<Metadata> getSidebarMetadataForTemplate(String template) { List<HierarchicalConfiguration> templateList = getLocalConfigurationsAt("metadata.sideBarMetadataList.template"); if (templateList == null) { return Collections.emptyList(); } return getMetadataForTemplate(template, templateList, false, 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 isConcurrentViewsLimitEnabledForAnyAccessCondition_shouldReturnFalseIfAccessConditionsNullOrEmpty() throws Exception { Assert.assertFalse(AccessConditionUtils.isConcurrentViewsLimitEnabledForAnyAccessCondition(null)); Assert.assertFalse(AccessConditionUtils.isConcurrentViewsLimitEnabledForAnyAccessCondition(Collections.emptyList())); }
|
public static boolean isConcurrentViewsLimitEnabledForAnyAccessCondition(List<String> accessConditions) throws DAOException { if (accessConditions == null || accessConditions.isEmpty()) { return false; } List<LicenseType> licenseTypes = DataManager.getInstance().getDao().getLicenseTypes(accessConditions); if (licenseTypes.isEmpty()) { return false; } for (LicenseType licenseType : licenseTypes) { if (licenseType.isConcurrentViewsLimit()) { return true; } } return false; }
|
AccessConditionUtils { public static boolean isConcurrentViewsLimitEnabledForAnyAccessCondition(List<String> accessConditions) throws DAOException { if (accessConditions == null || accessConditions.isEmpty()) { return false; } List<LicenseType> licenseTypes = DataManager.getInstance().getDao().getLicenseTypes(accessConditions); if (licenseTypes.isEmpty()) { return false; } for (LicenseType licenseType : licenseTypes) { if (licenseType.isConcurrentViewsLimit()) { return true; } } return false; } }
|
AccessConditionUtils { public static boolean isConcurrentViewsLimitEnabledForAnyAccessCondition(List<String> accessConditions) throws DAOException { if (accessConditions == null || accessConditions.isEmpty()) { return false; } List<LicenseType> licenseTypes = DataManager.getInstance().getDao().getLicenseTypes(accessConditions); if (licenseTypes.isEmpty()) { return false; } for (LicenseType licenseType : licenseTypes) { if (licenseType.isConcurrentViewsLimit()) { return true; } } return false; } }
|
AccessConditionUtils { public static boolean isConcurrentViewsLimitEnabledForAnyAccessCondition(List<String> accessConditions) throws DAOException { if (accessConditions == null || accessConditions.isEmpty()) { return false; } List<LicenseType> licenseTypes = DataManager.getInstance().getDao().getLicenseTypes(accessConditions); if (licenseTypes.isEmpty()) { return false; } for (LicenseType licenseType : licenseTypes) { if (licenseType.isConcurrentViewsLimit()) { return true; } } return false; } 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 isConcurrentViewsLimitEnabledForAnyAccessCondition(List<String> accessConditions) throws DAOException { if (accessConditions == null || accessConditions.isEmpty()) { return false; } List<LicenseType> licenseTypes = DataManager.getInstance().getDao().getLicenseTypes(accessConditions); if (licenseTypes.isEmpty()) { return false; } for (LicenseType licenseType : licenseTypes) { if (licenseType.isConcurrentViewsLimit()) { return true; } } return false; } 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 getSidebarMetadataForTemplate_shouldReturnEmptyListIfTemplateIsNull() throws Exception { Assert.assertEquals(0, DataManager.getInstance().getConfiguration().getSidebarMetadataForTemplate(null).size()); }
|
public List<Metadata> getSidebarMetadataForTemplate(String template) { List<HierarchicalConfiguration> templateList = getLocalConfigurationsAt("metadata.sideBarMetadataList.template"); if (templateList == null) { return Collections.emptyList(); } return getMetadataForTemplate(template, templateList, false, false); }
|
Configuration extends AbstractConfiguration { public List<Metadata> getSidebarMetadataForTemplate(String template) { List<HierarchicalConfiguration> templateList = getLocalConfigurationsAt("metadata.sideBarMetadataList.template"); if (templateList == null) { return Collections.emptyList(); } return getMetadataForTemplate(template, templateList, false, false); } }
|
Configuration extends AbstractConfiguration { public List<Metadata> getSidebarMetadataForTemplate(String template) { List<HierarchicalConfiguration> templateList = getLocalConfigurationsAt("metadata.sideBarMetadataList.template"); if (templateList == null) { return Collections.emptyList(); } return getMetadataForTemplate(template, templateList, false, false); } Configuration(String configFilePath); }
|
Configuration extends AbstractConfiguration { public List<Metadata> getSidebarMetadataForTemplate(String template) { List<HierarchicalConfiguration> templateList = getLocalConfigurationsAt("metadata.sideBarMetadataList.template"); if (templateList == null) { return Collections.emptyList(); } return getMetadataForTemplate(template, templateList, false, 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 List<Metadata> getSidebarMetadataForTemplate(String template) { List<HierarchicalConfiguration> templateList = getLocalConfigurationsAt("metadata.sideBarMetadataList.template"); if (templateList == null) { return Collections.emptyList(); } return getMetadataForTemplate(template, templateList, false, 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 getNormdataFieldsForTemplate_shouldReturnCorrectTemplateConfiguration() throws Exception { Assert.assertEquals(2, DataManager.getInstance().getConfiguration().getNormdataFieldsForTemplate("CORPORATION").size()); }
|
public List<String> getNormdataFieldsForTemplate(String template) { List<HierarchicalConfiguration> templateList = getLocalConfigurationsAt("metadata.normdataList.template"); if (templateList == null) { return Collections.emptyList(); } HierarchicalConfiguration usingTemplate = null; HierarchicalConfiguration defaultTemplate = null; for (Iterator<HierarchicalConfiguration> it = templateList.iterator(); it.hasNext();) { HierarchicalConfiguration subElement = it.next(); if (subElement.getString("[@name]").equals(template)) { usingTemplate = subElement; break; } } if (usingTemplate == null) { return Collections.emptyList(); } return getLocalList(usingTemplate, null, "field", null); }
|
Configuration extends AbstractConfiguration { public List<String> getNormdataFieldsForTemplate(String template) { List<HierarchicalConfiguration> templateList = getLocalConfigurationsAt("metadata.normdataList.template"); if (templateList == null) { return Collections.emptyList(); } HierarchicalConfiguration usingTemplate = null; HierarchicalConfiguration defaultTemplate = null; for (Iterator<HierarchicalConfiguration> it = templateList.iterator(); it.hasNext();) { HierarchicalConfiguration subElement = it.next(); if (subElement.getString("[@name]").equals(template)) { usingTemplate = subElement; break; } } if (usingTemplate == null) { return Collections.emptyList(); } return getLocalList(usingTemplate, null, "field", null); } }
|
Configuration extends AbstractConfiguration { public List<String> getNormdataFieldsForTemplate(String template) { List<HierarchicalConfiguration> templateList = getLocalConfigurationsAt("metadata.normdataList.template"); if (templateList == null) { return Collections.emptyList(); } HierarchicalConfiguration usingTemplate = null; HierarchicalConfiguration defaultTemplate = null; for (Iterator<HierarchicalConfiguration> it = templateList.iterator(); it.hasNext();) { HierarchicalConfiguration subElement = it.next(); if (subElement.getString("[@name]").equals(template)) { usingTemplate = subElement; break; } } if (usingTemplate == null) { return Collections.emptyList(); } return getLocalList(usingTemplate, null, "field", null); } Configuration(String configFilePath); }
|
Configuration extends AbstractConfiguration { public List<String> getNormdataFieldsForTemplate(String template) { List<HierarchicalConfiguration> templateList = getLocalConfigurationsAt("metadata.normdataList.template"); if (templateList == null) { return Collections.emptyList(); } HierarchicalConfiguration usingTemplate = null; HierarchicalConfiguration defaultTemplate = null; for (Iterator<HierarchicalConfiguration> it = templateList.iterator(); it.hasNext();) { HierarchicalConfiguration subElement = it.next(); if (subElement.getString("[@name]").equals(template)) { usingTemplate = subElement; break; } } if (usingTemplate == null) { return Collections.emptyList(); } return getLocalList(usingTemplate, null, "field", 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 List<String> getNormdataFieldsForTemplate(String template) { List<HierarchicalConfiguration> templateList = getLocalConfigurationsAt("metadata.normdataList.template"); if (templateList == null) { return Collections.emptyList(); } HierarchicalConfiguration usingTemplate = null; HierarchicalConfiguration defaultTemplate = null; for (Iterator<HierarchicalConfiguration> it = templateList.iterator(); it.hasNext();) { HierarchicalConfiguration subElement = it.next(); if (subElement.getString("[@name]").equals(template)) { usingTemplate = subElement; break; } } if (usingTemplate == null) { return Collections.emptyList(); } return getLocalList(usingTemplate, null, "field", 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 isDisplayTopstructLabel_shouldReturnCorrectValue() throws Exception { Assert.assertEquals(true, DataManager.getInstance().getConfiguration().isDisplayTopstructLabel()); }
|
public boolean isDisplayTopstructLabel() { return this.getLocalBoolean("metadata.searchHitMetadataList.displayTopstructLabel", false); }
|
Configuration extends AbstractConfiguration { public boolean isDisplayTopstructLabel() { return this.getLocalBoolean("metadata.searchHitMetadataList.displayTopstructLabel", false); } }
|
Configuration extends AbstractConfiguration { public boolean isDisplayTopstructLabel() { return this.getLocalBoolean("metadata.searchHitMetadataList.displayTopstructLabel", false); } Configuration(String configFilePath); }
|
Configuration extends AbstractConfiguration { public boolean isDisplayTopstructLabel() { return this.getLocalBoolean("metadata.searchHitMetadataList.displayTopstructLabel", 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 isDisplayTopstructLabel() { return this.getLocalBoolean("metadata.searchHitMetadataList.displayTopstructLabel", 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 getAdvancedSearchDefaultItemNumber_shouldReturnCorrectValue() throws Exception { Assert.assertEquals(3, DataManager.getInstance().getConfiguration().getAdvancedSearchDefaultItemNumber()); }
|
public int getAdvancedSearchDefaultItemNumber() { return getLocalInt("search.advanced.defaultItemNumber", 2); }
|
Configuration extends AbstractConfiguration { public int getAdvancedSearchDefaultItemNumber() { return getLocalInt("search.advanced.defaultItemNumber", 2); } }
|
Configuration extends AbstractConfiguration { public int getAdvancedSearchDefaultItemNumber() { return getLocalInt("search.advanced.defaultItemNumber", 2); } Configuration(String configFilePath); }
|
Configuration extends AbstractConfiguration { public int getAdvancedSearchDefaultItemNumber() { return getLocalInt("search.advanced.defaultItemNumber", 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 getAdvancedSearchDefaultItemNumber() { return getLocalInt("search.advanced.defaultItemNumber", 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 getAdvancedSearchFields_shouldReturnAllValues() throws Exception { List<AdvancedSearchFieldConfiguration> result = DataManager.getInstance().getConfiguration().getAdvancedSearchFields(); Assert.assertEquals(11, result.size()); Assert.assertTrue(result.get(0).isHierarchical()); Assert.assertTrue(result.get(5).isRange()); Assert.assertTrue(result.get(1).isUntokenizeForPhraseSearch()); Assert.assertEquals("#SEPARATOR1#", result.get(7).getField()); Assert.assertEquals("-----", result.get(7).getLabel()); Assert.assertTrue(result.get(7).isDisabled()); }
|
public List<AdvancedSearchFieldConfiguration> getAdvancedSearchFields() { List<HierarchicalConfiguration> fieldList = getLocalConfigurationsAt("search.advanced.searchFields.field"); if (fieldList == null) { Collections.emptyList(); } List<AdvancedSearchFieldConfiguration> ret = new ArrayList<>(fieldList.size()); for (Iterator<HierarchicalConfiguration> it = fieldList.iterator(); it.hasNext();) { HierarchicalConfiguration subElement = it.next(); String field = subElement.getString("."); if (StringUtils.isEmpty(field)) { logger.warn("No advanced search field name defined, skipping."); continue; } String label = subElement.getString("[@label]", null); boolean hierarchical = subElement.getBoolean("[@hierarchical]", false); boolean range = subElement.getBoolean("[@range]", false); boolean untokenizeForPhraseSearch = subElement.getBoolean("[@untokenizeForPhraseSearch]", false); ret.add(new AdvancedSearchFieldConfiguration(field) .setLabel(label) .setHierarchical(hierarchical) .setRange(range) .setUntokenizeForPhraseSearch(untokenizeForPhraseSearch) .setDisabled(field.charAt(0) == '#' && field.charAt(field.length() - 1) == '#')); } return ret; }
|
Configuration extends AbstractConfiguration { public List<AdvancedSearchFieldConfiguration> getAdvancedSearchFields() { List<HierarchicalConfiguration> fieldList = getLocalConfigurationsAt("search.advanced.searchFields.field"); if (fieldList == null) { Collections.emptyList(); } List<AdvancedSearchFieldConfiguration> ret = new ArrayList<>(fieldList.size()); for (Iterator<HierarchicalConfiguration> it = fieldList.iterator(); it.hasNext();) { HierarchicalConfiguration subElement = it.next(); String field = subElement.getString("."); if (StringUtils.isEmpty(field)) { logger.warn("No advanced search field name defined, skipping."); continue; } String label = subElement.getString("[@label]", null); boolean hierarchical = subElement.getBoolean("[@hierarchical]", false); boolean range = subElement.getBoolean("[@range]", false); boolean untokenizeForPhraseSearch = subElement.getBoolean("[@untokenizeForPhraseSearch]", false); ret.add(new AdvancedSearchFieldConfiguration(field) .setLabel(label) .setHierarchical(hierarchical) .setRange(range) .setUntokenizeForPhraseSearch(untokenizeForPhraseSearch) .setDisabled(field.charAt(0) == '#' && field.charAt(field.length() - 1) == '#')); } return ret; } }
|
Configuration extends AbstractConfiguration { public List<AdvancedSearchFieldConfiguration> getAdvancedSearchFields() { List<HierarchicalConfiguration> fieldList = getLocalConfigurationsAt("search.advanced.searchFields.field"); if (fieldList == null) { Collections.emptyList(); } List<AdvancedSearchFieldConfiguration> ret = new ArrayList<>(fieldList.size()); for (Iterator<HierarchicalConfiguration> it = fieldList.iterator(); it.hasNext();) { HierarchicalConfiguration subElement = it.next(); String field = subElement.getString("."); if (StringUtils.isEmpty(field)) { logger.warn("No advanced search field name defined, skipping."); continue; } String label = subElement.getString("[@label]", null); boolean hierarchical = subElement.getBoolean("[@hierarchical]", false); boolean range = subElement.getBoolean("[@range]", false); boolean untokenizeForPhraseSearch = subElement.getBoolean("[@untokenizeForPhraseSearch]", false); ret.add(new AdvancedSearchFieldConfiguration(field) .setLabel(label) .setHierarchical(hierarchical) .setRange(range) .setUntokenizeForPhraseSearch(untokenizeForPhraseSearch) .setDisabled(field.charAt(0) == '#' && field.charAt(field.length() - 1) == '#')); } return ret; } Configuration(String configFilePath); }
|
Configuration extends AbstractConfiguration { public List<AdvancedSearchFieldConfiguration> getAdvancedSearchFields() { List<HierarchicalConfiguration> fieldList = getLocalConfigurationsAt("search.advanced.searchFields.field"); if (fieldList == null) { Collections.emptyList(); } List<AdvancedSearchFieldConfiguration> ret = new ArrayList<>(fieldList.size()); for (Iterator<HierarchicalConfiguration> it = fieldList.iterator(); it.hasNext();) { HierarchicalConfiguration subElement = it.next(); String field = subElement.getString("."); if (StringUtils.isEmpty(field)) { logger.warn("No advanced search field name defined, skipping."); continue; } String label = subElement.getString("[@label]", null); boolean hierarchical = subElement.getBoolean("[@hierarchical]", false); boolean range = subElement.getBoolean("[@range]", false); boolean untokenizeForPhraseSearch = subElement.getBoolean("[@untokenizeForPhraseSearch]", false); ret.add(new AdvancedSearchFieldConfiguration(field) .setLabel(label) .setHierarchical(hierarchical) .setRange(range) .setUntokenizeForPhraseSearch(untokenizeForPhraseSearch) .setDisabled(field.charAt(0) == '#' && field.charAt(field.length() - 1) == '#')); } 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<AdvancedSearchFieldConfiguration> getAdvancedSearchFields() { List<HierarchicalConfiguration> fieldList = getLocalConfigurationsAt("search.advanced.searchFields.field"); if (fieldList == null) { Collections.emptyList(); } List<AdvancedSearchFieldConfiguration> ret = new ArrayList<>(fieldList.size()); for (Iterator<HierarchicalConfiguration> it = fieldList.iterator(); it.hasNext();) { HierarchicalConfiguration subElement = it.next(); String field = subElement.getString("."); if (StringUtils.isEmpty(field)) { logger.warn("No advanced search field name defined, skipping."); continue; } String label = subElement.getString("[@label]", null); boolean hierarchical = subElement.getBoolean("[@hierarchical]", false); boolean range = subElement.getBoolean("[@range]", false); boolean untokenizeForPhraseSearch = subElement.getBoolean("[@untokenizeForPhraseSearch]", false); ret.add(new AdvancedSearchFieldConfiguration(field) .setLabel(label) .setHierarchical(hierarchical) .setRange(range) .setUntokenizeForPhraseSearch(untokenizeForPhraseSearch) .setDisabled(field.charAt(0) == '#' && field.charAt(field.length() - 1) == '#')); } 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 isAdvancedSearchFieldRange_shouldReturnCorrectValue() throws Exception { Assert.assertFalse(DataManager.getInstance().getConfiguration().isAdvancedSearchFieldRange(SolrConstants.DC)); Assert.assertTrue(DataManager.getInstance().getConfiguration().isAdvancedSearchFieldRange("MD_YEARPUBLISH")); }
|
public boolean isAdvancedSearchFieldRange(String field) { return isAdvancedSearchFieldHasAttribute(field, "range"); }
|
Configuration extends AbstractConfiguration { public boolean isAdvancedSearchFieldRange(String field) { return isAdvancedSearchFieldHasAttribute(field, "range"); } }
|
Configuration extends AbstractConfiguration { public boolean isAdvancedSearchFieldRange(String field) { return isAdvancedSearchFieldHasAttribute(field, "range"); } Configuration(String configFilePath); }
|
Configuration extends AbstractConfiguration { public boolean isAdvancedSearchFieldRange(String field) { return isAdvancedSearchFieldHasAttribute(field, "range"); } 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 isAdvancedSearchFieldRange(String field) { return isAdvancedSearchFieldHasAttribute(field, "range"); } 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 isAdvancedSearchFieldUntokenizeForPhraseSearch_shouldReturnCorrectValue() throws Exception { Assert.assertFalse(DataManager.getInstance().getConfiguration().isAdvancedSearchFieldUntokenizeForPhraseSearch(SolrConstants.DC)); Assert.assertTrue(DataManager.getInstance().getConfiguration().isAdvancedSearchFieldUntokenizeForPhraseSearch("MD_TITLE")); }
|
public boolean isAdvancedSearchFieldUntokenizeForPhraseSearch(String field) { return isAdvancedSearchFieldHasAttribute(field, "untokenizeForPhraseSearch"); }
|
Configuration extends AbstractConfiguration { public boolean isAdvancedSearchFieldUntokenizeForPhraseSearch(String field) { return isAdvancedSearchFieldHasAttribute(field, "untokenizeForPhraseSearch"); } }
|
Configuration extends AbstractConfiguration { public boolean isAdvancedSearchFieldUntokenizeForPhraseSearch(String field) { return isAdvancedSearchFieldHasAttribute(field, "untokenizeForPhraseSearch"); } Configuration(String configFilePath); }
|
Configuration extends AbstractConfiguration { public boolean isAdvancedSearchFieldUntokenizeForPhraseSearch(String field) { return isAdvancedSearchFieldHasAttribute(field, "untokenizeForPhraseSearch"); } 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 isAdvancedSearchFieldUntokenizeForPhraseSearch(String field) { return isAdvancedSearchFieldHasAttribute(field, "untokenizeForPhraseSearch"); } 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 getAdvancedSearchFieldSeparatorLabel_shouldReturnCorrectValue() throws Exception { Assert.assertEquals("-----", DataManager.getInstance().getConfiguration().getAdvancedSearchFieldSeparatorLabel("#SEPARATOR1#")); }
|
public String getAdvancedSearchFieldSeparatorLabel(String field) { List<HierarchicalConfiguration> fieldList = getLocalConfigurationsAt("search.advanced.searchFields.field"); if (fieldList == null) { return null; } for (Iterator<HierarchicalConfiguration> it = fieldList.iterator(); it.hasNext();) { HierarchicalConfiguration subElement = it.next(); if (subElement.getString(".").equals(field)) { return subElement.getString("[@label]", ""); } } return null; }
|
Configuration extends AbstractConfiguration { public String getAdvancedSearchFieldSeparatorLabel(String field) { List<HierarchicalConfiguration> fieldList = getLocalConfigurationsAt("search.advanced.searchFields.field"); if (fieldList == null) { return null; } for (Iterator<HierarchicalConfiguration> it = fieldList.iterator(); it.hasNext();) { HierarchicalConfiguration subElement = it.next(); if (subElement.getString(".").equals(field)) { return subElement.getString("[@label]", ""); } } return null; } }
|
Configuration extends AbstractConfiguration { public String getAdvancedSearchFieldSeparatorLabel(String field) { List<HierarchicalConfiguration> fieldList = getLocalConfigurationsAt("search.advanced.searchFields.field"); if (fieldList == null) { return null; } for (Iterator<HierarchicalConfiguration> it = fieldList.iterator(); it.hasNext();) { HierarchicalConfiguration subElement = it.next(); if (subElement.getString(".").equals(field)) { return subElement.getString("[@label]", ""); } } return null; } Configuration(String configFilePath); }
|
Configuration extends AbstractConfiguration { public String getAdvancedSearchFieldSeparatorLabel(String field) { List<HierarchicalConfiguration> fieldList = getLocalConfigurationsAt("search.advanced.searchFields.field"); if (fieldList == null) { return null; } for (Iterator<HierarchicalConfiguration> it = fieldList.iterator(); it.hasNext();) { HierarchicalConfiguration subElement = it.next(); if (subElement.getString(".").equals(field)) { return subElement.getString("[@label]", ""); } } return 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 getAdvancedSearchFieldSeparatorLabel(String field) { List<HierarchicalConfiguration> fieldList = getLocalConfigurationsAt("search.advanced.searchFields.field"); if (fieldList == null) { return null; } for (Iterator<HierarchicalConfiguration> it = fieldList.iterator(); it.hasNext();) { HierarchicalConfiguration subElement = it.next(); if (subElement.getString(".").equals(field)) { return subElement.getString("[@label]", ""); } } return 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 getSidebarTocCollapseLengthThreshold_shouldReturnCorrectValue() throws Exception { Assert.assertEquals(141, DataManager.getInstance().getConfiguration().getSidebarTocCollapseLengthThreshold()); }
|
public int getSidebarTocCollapseLengthThreshold() { return this.getLocalInt("sidebar.sidebarToc.collapseLengthThreshold", 10); }
|
Configuration extends AbstractConfiguration { public int getSidebarTocCollapseLengthThreshold() { return this.getLocalInt("sidebar.sidebarToc.collapseLengthThreshold", 10); } }
|
Configuration extends AbstractConfiguration { public int getSidebarTocCollapseLengthThreshold() { return this.getLocalInt("sidebar.sidebarToc.collapseLengthThreshold", 10); } Configuration(String configFilePath); }
|
Configuration extends AbstractConfiguration { public int getSidebarTocCollapseLengthThreshold() { return this.getLocalInt("sidebar.sidebarToc.collapseLengthThreshold", 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 getSidebarTocCollapseLengthThreshold() { return this.getLocalInt("sidebar.sidebarToc.collapseLengthThreshold", 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 getSidebarTocLowestLevelToCollapseForLength_shouldReturnCorrectValue() throws Exception { Assert.assertEquals(333, DataManager.getInstance().getConfiguration().getSidebarTocLowestLevelToCollapseForLength()); }
|
public int getSidebarTocLowestLevelToCollapseForLength() { return this.getLocalInt("sidebar.sidebarToc.collapseLengthThreshold[@lowestLevelToTest]", 2); }
|
Configuration extends AbstractConfiguration { public int getSidebarTocLowestLevelToCollapseForLength() { return this.getLocalInt("sidebar.sidebarToc.collapseLengthThreshold[@lowestLevelToTest]", 2); } }
|
Configuration extends AbstractConfiguration { public int getSidebarTocLowestLevelToCollapseForLength() { return this.getLocalInt("sidebar.sidebarToc.collapseLengthThreshold[@lowestLevelToTest]", 2); } Configuration(String configFilePath); }
|
Configuration extends AbstractConfiguration { public int getSidebarTocLowestLevelToCollapseForLength() { return this.getLocalInt("sidebar.sidebarToc.collapseLengthThreshold[@lowestLevelToTest]", 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 getSidebarTocLowestLevelToCollapseForLength() { return this.getLocalInt("sidebar.sidebarToc.collapseLengthThreshold[@lowestLevelToTest]", 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 isConcurrentViewsLimitEnabledForAnyAccessCondition_shouldReturnTrueIfAnyLicenseTypeHasLimitEnabled() throws Exception { String[] licenseTypes = new String[] { "license type 1 name", "license type 4 name" }; Assert.assertTrue(AccessConditionUtils.isConcurrentViewsLimitEnabledForAnyAccessCondition(Arrays.asList(licenseTypes))); }
|
public static boolean isConcurrentViewsLimitEnabledForAnyAccessCondition(List<String> accessConditions) throws DAOException { if (accessConditions == null || accessConditions.isEmpty()) { return false; } List<LicenseType> licenseTypes = DataManager.getInstance().getDao().getLicenseTypes(accessConditions); if (licenseTypes.isEmpty()) { return false; } for (LicenseType licenseType : licenseTypes) { if (licenseType.isConcurrentViewsLimit()) { return true; } } return false; }
|
AccessConditionUtils { public static boolean isConcurrentViewsLimitEnabledForAnyAccessCondition(List<String> accessConditions) throws DAOException { if (accessConditions == null || accessConditions.isEmpty()) { return false; } List<LicenseType> licenseTypes = DataManager.getInstance().getDao().getLicenseTypes(accessConditions); if (licenseTypes.isEmpty()) { return false; } for (LicenseType licenseType : licenseTypes) { if (licenseType.isConcurrentViewsLimit()) { return true; } } return false; } }
|
AccessConditionUtils { public static boolean isConcurrentViewsLimitEnabledForAnyAccessCondition(List<String> accessConditions) throws DAOException { if (accessConditions == null || accessConditions.isEmpty()) { return false; } List<LicenseType> licenseTypes = DataManager.getInstance().getDao().getLicenseTypes(accessConditions); if (licenseTypes.isEmpty()) { return false; } for (LicenseType licenseType : licenseTypes) { if (licenseType.isConcurrentViewsLimit()) { return true; } } return false; } }
|
AccessConditionUtils { public static boolean isConcurrentViewsLimitEnabledForAnyAccessCondition(List<String> accessConditions) throws DAOException { if (accessConditions == null || accessConditions.isEmpty()) { return false; } List<LicenseType> licenseTypes = DataManager.getInstance().getDao().getLicenseTypes(accessConditions); if (licenseTypes.isEmpty()) { return false; } for (LicenseType licenseType : licenseTypes) { if (licenseType.isConcurrentViewsLimit()) { return true; } } return false; } 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 isConcurrentViewsLimitEnabledForAnyAccessCondition(List<String> accessConditions) throws DAOException { if (accessConditions == null || accessConditions.isEmpty()) { return false; } List<LicenseType> licenseTypes = DataManager.getInstance().getDao().getLicenseTypes(accessConditions); if (licenseTypes.isEmpty()) { return false; } for (LicenseType licenseType : licenseTypes) { if (licenseType.isConcurrentViewsLimit()) { return true; } } return false; } 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 getDisplayTitleBreadcrumbs_shouldReturnCorrectValue() throws Exception { Assert.assertTrue(DataManager.getInstance().getConfiguration().getDisplayTitleBreadcrumbs()); }
|
public boolean getDisplayTitleBreadcrumbs() { return getLocalBoolean("webGuiDisplay.displayTitleBreadcrumbs", false); }
|
Configuration extends AbstractConfiguration { public boolean getDisplayTitleBreadcrumbs() { return getLocalBoolean("webGuiDisplay.displayTitleBreadcrumbs", false); } }
|
Configuration extends AbstractConfiguration { public boolean getDisplayTitleBreadcrumbs() { return getLocalBoolean("webGuiDisplay.displayTitleBreadcrumbs", false); } Configuration(String configFilePath); }
|
Configuration extends AbstractConfiguration { public boolean getDisplayTitleBreadcrumbs() { return getLocalBoolean("webGuiDisplay.displayTitleBreadcrumbs", 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 getDisplayTitleBreadcrumbs() { return getLocalBoolean("webGuiDisplay.displayTitleBreadcrumbs", 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 getIncludeAnchorInTitleBreadcrumbs_shouldReturnCorrectValue() throws Exception { Assert.assertTrue(DataManager.getInstance().getConfiguration().getIncludeAnchorInTitleBreadcrumbs()); }
|
public boolean getIncludeAnchorInTitleBreadcrumbs() { return this.getLocalBoolean("webGuiDisplay.displayTitleBreadcrumbs[@includeAnchor]", false); }
|
Configuration extends AbstractConfiguration { public boolean getIncludeAnchorInTitleBreadcrumbs() { return this.getLocalBoolean("webGuiDisplay.displayTitleBreadcrumbs[@includeAnchor]", false); } }
|
Configuration extends AbstractConfiguration { public boolean getIncludeAnchorInTitleBreadcrumbs() { return this.getLocalBoolean("webGuiDisplay.displayTitleBreadcrumbs[@includeAnchor]", false); } Configuration(String configFilePath); }
|
Configuration extends AbstractConfiguration { public boolean getIncludeAnchorInTitleBreadcrumbs() { return this.getLocalBoolean("webGuiDisplay.displayTitleBreadcrumbs[@includeAnchor]", 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 getIncludeAnchorInTitleBreadcrumbs() { return this.getLocalBoolean("webGuiDisplay.displayTitleBreadcrumbs[@includeAnchor]", 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 getTitleBreadcrumbsMaxTitleLength_shouldReturnCorrectValue() throws Exception { Assert.assertEquals(20, DataManager.getInstance().getConfiguration().getTitleBreadcrumbsMaxTitleLength()); }
|
public int getTitleBreadcrumbsMaxTitleLength() { return this.getLocalInt("webGuiDisplay.displayTitleBreadcrumbs[@maxTitleLength]", 25); }
|
Configuration extends AbstractConfiguration { public int getTitleBreadcrumbsMaxTitleLength() { return this.getLocalInt("webGuiDisplay.displayTitleBreadcrumbs[@maxTitleLength]", 25); } }
|
Configuration extends AbstractConfiguration { public int getTitleBreadcrumbsMaxTitleLength() { return this.getLocalInt("webGuiDisplay.displayTitleBreadcrumbs[@maxTitleLength]", 25); } Configuration(String configFilePath); }
|
Configuration extends AbstractConfiguration { public int getTitleBreadcrumbsMaxTitleLength() { return this.getLocalInt("webGuiDisplay.displayTitleBreadcrumbs[@maxTitleLength]", 25); } 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 getTitleBreadcrumbsMaxTitleLength() { return this.getLocalInt("webGuiDisplay.displayTitleBreadcrumbs[@maxTitleLength]", 25); } 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 isDisplaySearchRssLinks_shouldReturnCorrectValue() throws Exception { Assert.assertFalse(DataManager.getInstance().getConfiguration().isDisplaySearchRssLinks()); }
|
public boolean isDisplaySearchRssLinks() { return getLocalBoolean("rss.displaySearchRssLinks", true); }
|
Configuration extends AbstractConfiguration { public boolean isDisplaySearchRssLinks() { return getLocalBoolean("rss.displaySearchRssLinks", true); } }
|
Configuration extends AbstractConfiguration { public boolean isDisplaySearchRssLinks() { return getLocalBoolean("rss.displaySearchRssLinks", true); } Configuration(String configFilePath); }
|
Configuration extends AbstractConfiguration { public boolean isDisplaySearchRssLinks() { return getLocalBoolean("rss.displaySearchRssLinks", 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 isDisplaySearchRssLinks() { return getLocalBoolean("rss.displaySearchRssLinks", 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 getCalendarDocStructTypes_shouldReturnAllConfiguredElements() throws Exception { Assert.assertEquals(2, DataManager.getInstance().getConfiguration().getCalendarDocStructTypes().size()); }
|
public List<String> getCalendarDocStructTypes() { return getLocalList("metadata.calendarDocstructTypes.docStruct"); }
|
Configuration extends AbstractConfiguration { public List<String> getCalendarDocStructTypes() { return getLocalList("metadata.calendarDocstructTypes.docStruct"); } }
|
Configuration extends AbstractConfiguration { public List<String> getCalendarDocStructTypes() { return getLocalList("metadata.calendarDocstructTypes.docStruct"); } Configuration(String configFilePath); }
|
Configuration extends AbstractConfiguration { public List<String> getCalendarDocStructTypes() { return getLocalList("metadata.calendarDocstructTypes.docStruct"); } 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> getCalendarDocStructTypes() { return getLocalList("metadata.calendarDocstructTypes.docStruct"); } 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 getAllDrillDownFields_shouldReturnCorrectOrder() throws Exception { List<String> result = DataManager.getInstance().getConfiguration().getAllDrillDownFields(); Assert.assertEquals(4, result.size()); Assert.assertEquals("DC", result.get(0)); Assert.assertEquals("YEAR", result.get(1)); Assert.assertEquals("MD_CREATOR", result.get(2)); Assert.assertEquals("MD_PLACEPUBLISH", result.get(3)); }
|
public List<String> getAllDrillDownFields() { HierarchicalConfiguration drillDown = getLocalConfigurationAt("search.drillDown"); List<ConfigurationNode> nodes = drillDown.getRootNode().getChildren(); if (!nodes.isEmpty()) { List<String> ret = new ArrayList<>(nodes.size()); for (ConfigurationNode node : nodes) { switch (node.getName()) { case "field": case "hierarchicalField": ret.add((String) node.getValue()); break; } } return ret; } return Collections.emptyList(); }
|
Configuration extends AbstractConfiguration { public List<String> getAllDrillDownFields() { HierarchicalConfiguration drillDown = getLocalConfigurationAt("search.drillDown"); List<ConfigurationNode> nodes = drillDown.getRootNode().getChildren(); if (!nodes.isEmpty()) { List<String> ret = new ArrayList<>(nodes.size()); for (ConfigurationNode node : nodes) { switch (node.getName()) { case "field": case "hierarchicalField": ret.add((String) node.getValue()); break; } } return ret; } return Collections.emptyList(); } }
|
Configuration extends AbstractConfiguration { public List<String> getAllDrillDownFields() { HierarchicalConfiguration drillDown = getLocalConfigurationAt("search.drillDown"); List<ConfigurationNode> nodes = drillDown.getRootNode().getChildren(); if (!nodes.isEmpty()) { List<String> ret = new ArrayList<>(nodes.size()); for (ConfigurationNode node : nodes) { switch (node.getName()) { case "field": case "hierarchicalField": ret.add((String) node.getValue()); break; } } return ret; } return Collections.emptyList(); } Configuration(String configFilePath); }
|
Configuration extends AbstractConfiguration { public List<String> getAllDrillDownFields() { HierarchicalConfiguration drillDown = getLocalConfigurationAt("search.drillDown"); List<ConfigurationNode> nodes = drillDown.getRootNode().getChildren(); if (!nodes.isEmpty()) { List<String> ret = new ArrayList<>(nodes.size()); for (ConfigurationNode node : nodes) { switch (node.getName()) { case "field": case "hierarchicalField": ret.add((String) node.getValue()); break; } } return ret; } return Collections.emptyList(); } 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> getAllDrillDownFields() { HierarchicalConfiguration drillDown = getLocalConfigurationAt("search.drillDown"); List<ConfigurationNode> nodes = drillDown.getRootNode().getChildren(); if (!nodes.isEmpty()) { List<String> ret = new ArrayList<>(nodes.size()); for (ConfigurationNode node : nodes) { switch (node.getName()) { case "field": case "hierarchicalField": ret.add((String) node.getValue()); break; } } return ret; } return Collections.emptyList(); } 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 getDrillDownFields_shouldReturnAllValues() throws Exception { Assert.assertEquals(2, DataManager.getInstance().getConfiguration().getDrillDownFields().size()); }
|
public List<String> getDrillDownFields() { return getLocalList("search.drillDown.field"); }
|
Configuration extends AbstractConfiguration { public List<String> getDrillDownFields() { return getLocalList("search.drillDown.field"); } }
|
Configuration extends AbstractConfiguration { public List<String> getDrillDownFields() { return getLocalList("search.drillDown.field"); } Configuration(String configFilePath); }
|
Configuration extends AbstractConfiguration { public List<String> getDrillDownFields() { return getLocalList("search.drillDown.field"); } 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> getDrillDownFields() { return getLocalList("search.drillDown.field"); } 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 getHierarchicalDrillDownFields_shouldReturnAllValues() throws Exception { Assert.assertEquals(2, DataManager.getInstance().getConfiguration().getHierarchicalDrillDownFields().size()); }
|
public List<String> getHierarchicalDrillDownFields() { return getLocalList("search.drillDown.hierarchicalField"); }
|
Configuration extends AbstractConfiguration { public List<String> getHierarchicalDrillDownFields() { return getLocalList("search.drillDown.hierarchicalField"); } }
|
Configuration extends AbstractConfiguration { public List<String> getHierarchicalDrillDownFields() { return getLocalList("search.drillDown.hierarchicalField"); } Configuration(String configFilePath); }
|
Configuration extends AbstractConfiguration { public List<String> getHierarchicalDrillDownFields() { return getLocalList("search.drillDown.hierarchicalField"); } 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> getHierarchicalDrillDownFields() { return getLocalList("search.drillDown.hierarchicalField"); } 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 getInitialDrillDownElementNumber_shouldReturnCorrectValue() throws Exception { Assert.assertEquals(4, DataManager.getInstance().getConfiguration().getInitialDrillDownElementNumber(SolrConstants.DC)); Assert.assertEquals(16, DataManager.getInstance().getConfiguration().getInitialDrillDownElementNumber("MD_PLACEPUBLISH")); Assert.assertEquals(23, DataManager.getInstance().getConfiguration().getInitialDrillDownElementNumber(null)); }
|
public int getInitialDrillDownElementNumber(String field) { if (StringUtils.isBlank(field)) { return getLocalInt("search.drillDown.initialElementNumber", 3); } String facetifiedField = SearchHelper.facetifyField(field); List<HierarchicalConfiguration> drillDownFields = getLocalConfigurationsAt("search.drillDown.field"); if (drillDownFields != null && !drillDownFields.isEmpty()) { for (HierarchicalConfiguration fieldConfig : drillDownFields) { if (fieldConfig.getRootNode().getValue().equals(field) || fieldConfig.getRootNode().getValue().equals(field + SolrConstants._UNTOKENIZED) || fieldConfig.getRootNode().getValue().equals(facetifiedField)) { try { return fieldConfig.getInt("[@initialElementNumber]"); } catch (ConversionException | NoSuchElementException e) { } } } } drillDownFields = getLocalConfigurationsAt("search.drillDown.hierarchicalField"); if (drillDownFields != null && !drillDownFields.isEmpty()) { for (HierarchicalConfiguration fieldConfig : drillDownFields) { if (fieldConfig.getRootNode().getValue().equals(field) || fieldConfig.getRootNode().getValue().equals(field + SolrConstants._UNTOKENIZED) || fieldConfig.getRootNode().getValue().equals(facetifiedField)) { try { return fieldConfig.getInt("[@initialElementNumber]"); } catch (ConversionException | NoSuchElementException e) { } } } } return -1; }
|
Configuration extends AbstractConfiguration { public int getInitialDrillDownElementNumber(String field) { if (StringUtils.isBlank(field)) { return getLocalInt("search.drillDown.initialElementNumber", 3); } String facetifiedField = SearchHelper.facetifyField(field); List<HierarchicalConfiguration> drillDownFields = getLocalConfigurationsAt("search.drillDown.field"); if (drillDownFields != null && !drillDownFields.isEmpty()) { for (HierarchicalConfiguration fieldConfig : drillDownFields) { if (fieldConfig.getRootNode().getValue().equals(field) || fieldConfig.getRootNode().getValue().equals(field + SolrConstants._UNTOKENIZED) || fieldConfig.getRootNode().getValue().equals(facetifiedField)) { try { return fieldConfig.getInt("[@initialElementNumber]"); } catch (ConversionException | NoSuchElementException e) { } } } } drillDownFields = getLocalConfigurationsAt("search.drillDown.hierarchicalField"); if (drillDownFields != null && !drillDownFields.isEmpty()) { for (HierarchicalConfiguration fieldConfig : drillDownFields) { if (fieldConfig.getRootNode().getValue().equals(field) || fieldConfig.getRootNode().getValue().equals(field + SolrConstants._UNTOKENIZED) || fieldConfig.getRootNode().getValue().equals(facetifiedField)) { try { return fieldConfig.getInt("[@initialElementNumber]"); } catch (ConversionException | NoSuchElementException e) { } } } } return -1; } }
|
Configuration extends AbstractConfiguration { public int getInitialDrillDownElementNumber(String field) { if (StringUtils.isBlank(field)) { return getLocalInt("search.drillDown.initialElementNumber", 3); } String facetifiedField = SearchHelper.facetifyField(field); List<HierarchicalConfiguration> drillDownFields = getLocalConfigurationsAt("search.drillDown.field"); if (drillDownFields != null && !drillDownFields.isEmpty()) { for (HierarchicalConfiguration fieldConfig : drillDownFields) { if (fieldConfig.getRootNode().getValue().equals(field) || fieldConfig.getRootNode().getValue().equals(field + SolrConstants._UNTOKENIZED) || fieldConfig.getRootNode().getValue().equals(facetifiedField)) { try { return fieldConfig.getInt("[@initialElementNumber]"); } catch (ConversionException | NoSuchElementException e) { } } } } drillDownFields = getLocalConfigurationsAt("search.drillDown.hierarchicalField"); if (drillDownFields != null && !drillDownFields.isEmpty()) { for (HierarchicalConfiguration fieldConfig : drillDownFields) { if (fieldConfig.getRootNode().getValue().equals(field) || fieldConfig.getRootNode().getValue().equals(field + SolrConstants._UNTOKENIZED) || fieldConfig.getRootNode().getValue().equals(facetifiedField)) { try { return fieldConfig.getInt("[@initialElementNumber]"); } catch (ConversionException | NoSuchElementException e) { } } } } return -1; } Configuration(String configFilePath); }
|
Configuration extends AbstractConfiguration { public int getInitialDrillDownElementNumber(String field) { if (StringUtils.isBlank(field)) { return getLocalInt("search.drillDown.initialElementNumber", 3); } String facetifiedField = SearchHelper.facetifyField(field); List<HierarchicalConfiguration> drillDownFields = getLocalConfigurationsAt("search.drillDown.field"); if (drillDownFields != null && !drillDownFields.isEmpty()) { for (HierarchicalConfiguration fieldConfig : drillDownFields) { if (fieldConfig.getRootNode().getValue().equals(field) || fieldConfig.getRootNode().getValue().equals(field + SolrConstants._UNTOKENIZED) || fieldConfig.getRootNode().getValue().equals(facetifiedField)) { try { return fieldConfig.getInt("[@initialElementNumber]"); } catch (ConversionException | NoSuchElementException e) { } } } } drillDownFields = getLocalConfigurationsAt("search.drillDown.hierarchicalField"); if (drillDownFields != null && !drillDownFields.isEmpty()) { for (HierarchicalConfiguration fieldConfig : drillDownFields) { if (fieldConfig.getRootNode().getValue().equals(field) || fieldConfig.getRootNode().getValue().equals(field + SolrConstants._UNTOKENIZED) || fieldConfig.getRootNode().getValue().equals(facetifiedField)) { try { return fieldConfig.getInt("[@initialElementNumber]"); } catch (ConversionException | NoSuchElementException e) { } } } } return -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 getInitialDrillDownElementNumber(String field) { if (StringUtils.isBlank(field)) { return getLocalInt("search.drillDown.initialElementNumber", 3); } String facetifiedField = SearchHelper.facetifyField(field); List<HierarchicalConfiguration> drillDownFields = getLocalConfigurationsAt("search.drillDown.field"); if (drillDownFields != null && !drillDownFields.isEmpty()) { for (HierarchicalConfiguration fieldConfig : drillDownFields) { if (fieldConfig.getRootNode().getValue().equals(field) || fieldConfig.getRootNode().getValue().equals(field + SolrConstants._UNTOKENIZED) || fieldConfig.getRootNode().getValue().equals(facetifiedField)) { try { return fieldConfig.getInt("[@initialElementNumber]"); } catch (ConversionException | NoSuchElementException e) { } } } } drillDownFields = getLocalConfigurationsAt("search.drillDown.hierarchicalField"); if (drillDownFields != null && !drillDownFields.isEmpty()) { for (HierarchicalConfiguration fieldConfig : drillDownFields) { if (fieldConfig.getRootNode().getValue().equals(field) || fieldConfig.getRootNode().getValue().equals(field + SolrConstants._UNTOKENIZED) || fieldConfig.getRootNode().getValue().equals(facetifiedField)) { try { return fieldConfig.getInt("[@initialElementNumber]"); } catch (ConversionException | NoSuchElementException e) { } } } } return -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 getInitialDrillDownElementNumber_shouldReturnDefaultValueIfFieldNotFound() throws Exception { Assert.assertEquals(-1, DataManager.getInstance().getConfiguration().getInitialDrillDownElementNumber("YEAR")); }
|
public int getInitialDrillDownElementNumber(String field) { if (StringUtils.isBlank(field)) { return getLocalInt("search.drillDown.initialElementNumber", 3); } String facetifiedField = SearchHelper.facetifyField(field); List<HierarchicalConfiguration> drillDownFields = getLocalConfigurationsAt("search.drillDown.field"); if (drillDownFields != null && !drillDownFields.isEmpty()) { for (HierarchicalConfiguration fieldConfig : drillDownFields) { if (fieldConfig.getRootNode().getValue().equals(field) || fieldConfig.getRootNode().getValue().equals(field + SolrConstants._UNTOKENIZED) || fieldConfig.getRootNode().getValue().equals(facetifiedField)) { try { return fieldConfig.getInt("[@initialElementNumber]"); } catch (ConversionException | NoSuchElementException e) { } } } } drillDownFields = getLocalConfigurationsAt("search.drillDown.hierarchicalField"); if (drillDownFields != null && !drillDownFields.isEmpty()) { for (HierarchicalConfiguration fieldConfig : drillDownFields) { if (fieldConfig.getRootNode().getValue().equals(field) || fieldConfig.getRootNode().getValue().equals(field + SolrConstants._UNTOKENIZED) || fieldConfig.getRootNode().getValue().equals(facetifiedField)) { try { return fieldConfig.getInt("[@initialElementNumber]"); } catch (ConversionException | NoSuchElementException e) { } } } } return -1; }
|
Configuration extends AbstractConfiguration { public int getInitialDrillDownElementNumber(String field) { if (StringUtils.isBlank(field)) { return getLocalInt("search.drillDown.initialElementNumber", 3); } String facetifiedField = SearchHelper.facetifyField(field); List<HierarchicalConfiguration> drillDownFields = getLocalConfigurationsAt("search.drillDown.field"); if (drillDownFields != null && !drillDownFields.isEmpty()) { for (HierarchicalConfiguration fieldConfig : drillDownFields) { if (fieldConfig.getRootNode().getValue().equals(field) || fieldConfig.getRootNode().getValue().equals(field + SolrConstants._UNTOKENIZED) || fieldConfig.getRootNode().getValue().equals(facetifiedField)) { try { return fieldConfig.getInt("[@initialElementNumber]"); } catch (ConversionException | NoSuchElementException e) { } } } } drillDownFields = getLocalConfigurationsAt("search.drillDown.hierarchicalField"); if (drillDownFields != null && !drillDownFields.isEmpty()) { for (HierarchicalConfiguration fieldConfig : drillDownFields) { if (fieldConfig.getRootNode().getValue().equals(field) || fieldConfig.getRootNode().getValue().equals(field + SolrConstants._UNTOKENIZED) || fieldConfig.getRootNode().getValue().equals(facetifiedField)) { try { return fieldConfig.getInt("[@initialElementNumber]"); } catch (ConversionException | NoSuchElementException e) { } } } } return -1; } }
|
Configuration extends AbstractConfiguration { public int getInitialDrillDownElementNumber(String field) { if (StringUtils.isBlank(field)) { return getLocalInt("search.drillDown.initialElementNumber", 3); } String facetifiedField = SearchHelper.facetifyField(field); List<HierarchicalConfiguration> drillDownFields = getLocalConfigurationsAt("search.drillDown.field"); if (drillDownFields != null && !drillDownFields.isEmpty()) { for (HierarchicalConfiguration fieldConfig : drillDownFields) { if (fieldConfig.getRootNode().getValue().equals(field) || fieldConfig.getRootNode().getValue().equals(field + SolrConstants._UNTOKENIZED) || fieldConfig.getRootNode().getValue().equals(facetifiedField)) { try { return fieldConfig.getInt("[@initialElementNumber]"); } catch (ConversionException | NoSuchElementException e) { } } } } drillDownFields = getLocalConfigurationsAt("search.drillDown.hierarchicalField"); if (drillDownFields != null && !drillDownFields.isEmpty()) { for (HierarchicalConfiguration fieldConfig : drillDownFields) { if (fieldConfig.getRootNode().getValue().equals(field) || fieldConfig.getRootNode().getValue().equals(field + SolrConstants._UNTOKENIZED) || fieldConfig.getRootNode().getValue().equals(facetifiedField)) { try { return fieldConfig.getInt("[@initialElementNumber]"); } catch (ConversionException | NoSuchElementException e) { } } } } return -1; } Configuration(String configFilePath); }
|
Configuration extends AbstractConfiguration { public int getInitialDrillDownElementNumber(String field) { if (StringUtils.isBlank(field)) { return getLocalInt("search.drillDown.initialElementNumber", 3); } String facetifiedField = SearchHelper.facetifyField(field); List<HierarchicalConfiguration> drillDownFields = getLocalConfigurationsAt("search.drillDown.field"); if (drillDownFields != null && !drillDownFields.isEmpty()) { for (HierarchicalConfiguration fieldConfig : drillDownFields) { if (fieldConfig.getRootNode().getValue().equals(field) || fieldConfig.getRootNode().getValue().equals(field + SolrConstants._UNTOKENIZED) || fieldConfig.getRootNode().getValue().equals(facetifiedField)) { try { return fieldConfig.getInt("[@initialElementNumber]"); } catch (ConversionException | NoSuchElementException e) { } } } } drillDownFields = getLocalConfigurationsAt("search.drillDown.hierarchicalField"); if (drillDownFields != null && !drillDownFields.isEmpty()) { for (HierarchicalConfiguration fieldConfig : drillDownFields) { if (fieldConfig.getRootNode().getValue().equals(field) || fieldConfig.getRootNode().getValue().equals(field + SolrConstants._UNTOKENIZED) || fieldConfig.getRootNode().getValue().equals(facetifiedField)) { try { return fieldConfig.getInt("[@initialElementNumber]"); } catch (ConversionException | NoSuchElementException e) { } } } } return -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 getInitialDrillDownElementNumber(String field) { if (StringUtils.isBlank(field)) { return getLocalInt("search.drillDown.initialElementNumber", 3); } String facetifiedField = SearchHelper.facetifyField(field); List<HierarchicalConfiguration> drillDownFields = getLocalConfigurationsAt("search.drillDown.field"); if (drillDownFields != null && !drillDownFields.isEmpty()) { for (HierarchicalConfiguration fieldConfig : drillDownFields) { if (fieldConfig.getRootNode().getValue().equals(field) || fieldConfig.getRootNode().getValue().equals(field + SolrConstants._UNTOKENIZED) || fieldConfig.getRootNode().getValue().equals(facetifiedField)) { try { return fieldConfig.getInt("[@initialElementNumber]"); } catch (ConversionException | NoSuchElementException e) { } } } } drillDownFields = getLocalConfigurationsAt("search.drillDown.hierarchicalField"); if (drillDownFields != null && !drillDownFields.isEmpty()) { for (HierarchicalConfiguration fieldConfig : drillDownFields) { if (fieldConfig.getRootNode().getValue().equals(field) || fieldConfig.getRootNode().getValue().equals(field + SolrConstants._UNTOKENIZED) || fieldConfig.getRootNode().getValue().equals(facetifiedField)) { try { return fieldConfig.getInt("[@initialElementNumber]"); } catch (ConversionException | NoSuchElementException e) { } } } } return -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 isAnswerCorrect_shouldReturnTrueOnCorrectAnswer() throws Exception { SecurityQuestion q = new SecurityQuestion("foo", Collections.singleton("answer")); Assert.assertTrue(q.isAnswerCorrect("answer")); }
|
public boolean isAnswerCorrect(String answer) { answered = true; if (StringUtils.isBlank(answer)) { return false; } return correctAnswers.contains(answer.toLowerCase()); }
|
SecurityQuestion { public boolean isAnswerCorrect(String answer) { answered = true; if (StringUtils.isBlank(answer)) { return false; } return correctAnswers.contains(answer.toLowerCase()); } }
|
SecurityQuestion { public boolean isAnswerCorrect(String answer) { answered = true; if (StringUtils.isBlank(answer)) { return false; } return correctAnswers.contains(answer.toLowerCase()); } SecurityQuestion(String questionKey, Set<String> correctAnswers); }
|
SecurityQuestion { public boolean isAnswerCorrect(String answer) { answered = true; if (StringUtils.isBlank(answer)) { return false; } return correctAnswers.contains(answer.toLowerCase()); } SecurityQuestion(String questionKey, Set<String> correctAnswers); boolean isAnswerCorrect(String answer); String getQuestionKey(); Set<String> getCorrectAnswers(); boolean isAnswered(); }
|
SecurityQuestion { public boolean isAnswerCorrect(String answer) { answered = true; if (StringUtils.isBlank(answer)) { return false; } return correctAnswers.contains(answer.toLowerCase()); } SecurityQuestion(String questionKey, Set<String> correctAnswers); boolean isAnswerCorrect(String answer); String getQuestionKey(); Set<String> getCorrectAnswers(); boolean isAnswered(); }
|
@Test public void getPriorityValuesForDrillDownField_shouldReturnReturnAllConfiguredElementsForRegularFields() throws Exception { List<String> result = DataManager.getInstance().getConfiguration().getPriorityValuesForDrillDownField("MD_PLACEPUBLISH"); Assert.assertNotNull(result); Assert.assertEquals(3, result.size()); Assert.assertEquals("val1", result.get(0)); Assert.assertEquals("val2", result.get(1)); Assert.assertEquals("val3", result.get(2)); }
|
public List<String> getPriorityValuesForDrillDownField(String field) { if (StringUtils.isBlank(field)) { return Collections.emptyList(); } String facetifiedField = SearchHelper.facetifyField(field); List<HierarchicalConfiguration> drillDownFields = getLocalConfigurationsAt("search.drillDown.field"); if (drillDownFields != null && !drillDownFields.isEmpty()) { for (HierarchicalConfiguration fieldConfig : drillDownFields) { if (fieldConfig.getRootNode().getValue().equals(field) || fieldConfig.getRootNode().getValue().equals(field + SolrConstants._UNTOKENIZED) || fieldConfig.getRootNode().getValue().equals(facetifiedField)) { try { String priorityValues = fieldConfig.getString("[@priorityValues]"); if (StringUtils.isNotEmpty(priorityValues)) { String[] priorityValuesSplit = priorityValues.split(";"); return Arrays.asList(priorityValuesSplit); } } catch (ConversionException | NoSuchElementException e) { } } } } drillDownFields = getLocalConfigurationsAt("search.drillDown.hierarchicalField"); if (drillDownFields != null && !drillDownFields.isEmpty()) { for (HierarchicalConfiguration fieldConfig : drillDownFields) { if (fieldConfig.getRootNode().getValue().equals(field) || fieldConfig.getRootNode().getValue().equals(field + SolrConstants._UNTOKENIZED) || fieldConfig.getRootNode().getValue().equals(facetifiedField)) { try { String priorityValues = fieldConfig.getString("[@priorityValues]"); if (StringUtils.isNotEmpty(priorityValues)) { String[] priorityValuesSplit = priorityValues.split(";"); return Arrays.asList(priorityValuesSplit); } } catch (ConversionException | NoSuchElementException e) { } } } } return Collections.emptyList(); }
|
Configuration extends AbstractConfiguration { public List<String> getPriorityValuesForDrillDownField(String field) { if (StringUtils.isBlank(field)) { return Collections.emptyList(); } String facetifiedField = SearchHelper.facetifyField(field); List<HierarchicalConfiguration> drillDownFields = getLocalConfigurationsAt("search.drillDown.field"); if (drillDownFields != null && !drillDownFields.isEmpty()) { for (HierarchicalConfiguration fieldConfig : drillDownFields) { if (fieldConfig.getRootNode().getValue().equals(field) || fieldConfig.getRootNode().getValue().equals(field + SolrConstants._UNTOKENIZED) || fieldConfig.getRootNode().getValue().equals(facetifiedField)) { try { String priorityValues = fieldConfig.getString("[@priorityValues]"); if (StringUtils.isNotEmpty(priorityValues)) { String[] priorityValuesSplit = priorityValues.split(";"); return Arrays.asList(priorityValuesSplit); } } catch (ConversionException | NoSuchElementException e) { } } } } drillDownFields = getLocalConfigurationsAt("search.drillDown.hierarchicalField"); if (drillDownFields != null && !drillDownFields.isEmpty()) { for (HierarchicalConfiguration fieldConfig : drillDownFields) { if (fieldConfig.getRootNode().getValue().equals(field) || fieldConfig.getRootNode().getValue().equals(field + SolrConstants._UNTOKENIZED) || fieldConfig.getRootNode().getValue().equals(facetifiedField)) { try { String priorityValues = fieldConfig.getString("[@priorityValues]"); if (StringUtils.isNotEmpty(priorityValues)) { String[] priorityValuesSplit = priorityValues.split(";"); return Arrays.asList(priorityValuesSplit); } } catch (ConversionException | NoSuchElementException e) { } } } } return Collections.emptyList(); } }
|
Configuration extends AbstractConfiguration { public List<String> getPriorityValuesForDrillDownField(String field) { if (StringUtils.isBlank(field)) { return Collections.emptyList(); } String facetifiedField = SearchHelper.facetifyField(field); List<HierarchicalConfiguration> drillDownFields = getLocalConfigurationsAt("search.drillDown.field"); if (drillDownFields != null && !drillDownFields.isEmpty()) { for (HierarchicalConfiguration fieldConfig : drillDownFields) { if (fieldConfig.getRootNode().getValue().equals(field) || fieldConfig.getRootNode().getValue().equals(field + SolrConstants._UNTOKENIZED) || fieldConfig.getRootNode().getValue().equals(facetifiedField)) { try { String priorityValues = fieldConfig.getString("[@priorityValues]"); if (StringUtils.isNotEmpty(priorityValues)) { String[] priorityValuesSplit = priorityValues.split(";"); return Arrays.asList(priorityValuesSplit); } } catch (ConversionException | NoSuchElementException e) { } } } } drillDownFields = getLocalConfigurationsAt("search.drillDown.hierarchicalField"); if (drillDownFields != null && !drillDownFields.isEmpty()) { for (HierarchicalConfiguration fieldConfig : drillDownFields) { if (fieldConfig.getRootNode().getValue().equals(field) || fieldConfig.getRootNode().getValue().equals(field + SolrConstants._UNTOKENIZED) || fieldConfig.getRootNode().getValue().equals(facetifiedField)) { try { String priorityValues = fieldConfig.getString("[@priorityValues]"); if (StringUtils.isNotEmpty(priorityValues)) { String[] priorityValuesSplit = priorityValues.split(";"); return Arrays.asList(priorityValuesSplit); } } catch (ConversionException | NoSuchElementException e) { } } } } return Collections.emptyList(); } Configuration(String configFilePath); }
|
Configuration extends AbstractConfiguration { public List<String> getPriorityValuesForDrillDownField(String field) { if (StringUtils.isBlank(field)) { return Collections.emptyList(); } String facetifiedField = SearchHelper.facetifyField(field); List<HierarchicalConfiguration> drillDownFields = getLocalConfigurationsAt("search.drillDown.field"); if (drillDownFields != null && !drillDownFields.isEmpty()) { for (HierarchicalConfiguration fieldConfig : drillDownFields) { if (fieldConfig.getRootNode().getValue().equals(field) || fieldConfig.getRootNode().getValue().equals(field + SolrConstants._UNTOKENIZED) || fieldConfig.getRootNode().getValue().equals(facetifiedField)) { try { String priorityValues = fieldConfig.getString("[@priorityValues]"); if (StringUtils.isNotEmpty(priorityValues)) { String[] priorityValuesSplit = priorityValues.split(";"); return Arrays.asList(priorityValuesSplit); } } catch (ConversionException | NoSuchElementException e) { } } } } drillDownFields = getLocalConfigurationsAt("search.drillDown.hierarchicalField"); if (drillDownFields != null && !drillDownFields.isEmpty()) { for (HierarchicalConfiguration fieldConfig : drillDownFields) { if (fieldConfig.getRootNode().getValue().equals(field) || fieldConfig.getRootNode().getValue().equals(field + SolrConstants._UNTOKENIZED) || fieldConfig.getRootNode().getValue().equals(facetifiedField)) { try { String priorityValues = fieldConfig.getString("[@priorityValues]"); if (StringUtils.isNotEmpty(priorityValues)) { String[] priorityValuesSplit = priorityValues.split(";"); return Arrays.asList(priorityValuesSplit); } } catch (ConversionException | NoSuchElementException e) { } } } } return Collections.emptyList(); } 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> getPriorityValuesForDrillDownField(String field) { if (StringUtils.isBlank(field)) { return Collections.emptyList(); } String facetifiedField = SearchHelper.facetifyField(field); List<HierarchicalConfiguration> drillDownFields = getLocalConfigurationsAt("search.drillDown.field"); if (drillDownFields != null && !drillDownFields.isEmpty()) { for (HierarchicalConfiguration fieldConfig : drillDownFields) { if (fieldConfig.getRootNode().getValue().equals(field) || fieldConfig.getRootNode().getValue().equals(field + SolrConstants._UNTOKENIZED) || fieldConfig.getRootNode().getValue().equals(facetifiedField)) { try { String priorityValues = fieldConfig.getString("[@priorityValues]"); if (StringUtils.isNotEmpty(priorityValues)) { String[] priorityValuesSplit = priorityValues.split(";"); return Arrays.asList(priorityValuesSplit); } } catch (ConversionException | NoSuchElementException e) { } } } } drillDownFields = getLocalConfigurationsAt("search.drillDown.hierarchicalField"); if (drillDownFields != null && !drillDownFields.isEmpty()) { for (HierarchicalConfiguration fieldConfig : drillDownFields) { if (fieldConfig.getRootNode().getValue().equals(field) || fieldConfig.getRootNode().getValue().equals(field + SolrConstants._UNTOKENIZED) || fieldConfig.getRootNode().getValue().equals(facetifiedField)) { try { String priorityValues = fieldConfig.getString("[@priorityValues]"); if (StringUtils.isNotEmpty(priorityValues)) { String[] priorityValuesSplit = priorityValues.split(";"); return Arrays.asList(priorityValuesSplit); } } catch (ConversionException | NoSuchElementException e) { } } } } return Collections.emptyList(); } 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 getPriorityValuesForDrillDownField_shouldReturnReturnAllConfiguredElementsForHierarchicalFields() throws Exception { List<String> result = DataManager.getInstance().getConfiguration().getPriorityValuesForDrillDownField("DC"); Assert.assertNotNull(result); Assert.assertEquals(2, result.size()); Assert.assertEquals("collection2", result.get(0)); Assert.assertEquals("collection1", result.get(1)); }
|
public List<String> getPriorityValuesForDrillDownField(String field) { if (StringUtils.isBlank(field)) { return Collections.emptyList(); } String facetifiedField = SearchHelper.facetifyField(field); List<HierarchicalConfiguration> drillDownFields = getLocalConfigurationsAt("search.drillDown.field"); if (drillDownFields != null && !drillDownFields.isEmpty()) { for (HierarchicalConfiguration fieldConfig : drillDownFields) { if (fieldConfig.getRootNode().getValue().equals(field) || fieldConfig.getRootNode().getValue().equals(field + SolrConstants._UNTOKENIZED) || fieldConfig.getRootNode().getValue().equals(facetifiedField)) { try { String priorityValues = fieldConfig.getString("[@priorityValues]"); if (StringUtils.isNotEmpty(priorityValues)) { String[] priorityValuesSplit = priorityValues.split(";"); return Arrays.asList(priorityValuesSplit); } } catch (ConversionException | NoSuchElementException e) { } } } } drillDownFields = getLocalConfigurationsAt("search.drillDown.hierarchicalField"); if (drillDownFields != null && !drillDownFields.isEmpty()) { for (HierarchicalConfiguration fieldConfig : drillDownFields) { if (fieldConfig.getRootNode().getValue().equals(field) || fieldConfig.getRootNode().getValue().equals(field + SolrConstants._UNTOKENIZED) || fieldConfig.getRootNode().getValue().equals(facetifiedField)) { try { String priorityValues = fieldConfig.getString("[@priorityValues]"); if (StringUtils.isNotEmpty(priorityValues)) { String[] priorityValuesSplit = priorityValues.split(";"); return Arrays.asList(priorityValuesSplit); } } catch (ConversionException | NoSuchElementException e) { } } } } return Collections.emptyList(); }
|
Configuration extends AbstractConfiguration { public List<String> getPriorityValuesForDrillDownField(String field) { if (StringUtils.isBlank(field)) { return Collections.emptyList(); } String facetifiedField = SearchHelper.facetifyField(field); List<HierarchicalConfiguration> drillDownFields = getLocalConfigurationsAt("search.drillDown.field"); if (drillDownFields != null && !drillDownFields.isEmpty()) { for (HierarchicalConfiguration fieldConfig : drillDownFields) { if (fieldConfig.getRootNode().getValue().equals(field) || fieldConfig.getRootNode().getValue().equals(field + SolrConstants._UNTOKENIZED) || fieldConfig.getRootNode().getValue().equals(facetifiedField)) { try { String priorityValues = fieldConfig.getString("[@priorityValues]"); if (StringUtils.isNotEmpty(priorityValues)) { String[] priorityValuesSplit = priorityValues.split(";"); return Arrays.asList(priorityValuesSplit); } } catch (ConversionException | NoSuchElementException e) { } } } } drillDownFields = getLocalConfigurationsAt("search.drillDown.hierarchicalField"); if (drillDownFields != null && !drillDownFields.isEmpty()) { for (HierarchicalConfiguration fieldConfig : drillDownFields) { if (fieldConfig.getRootNode().getValue().equals(field) || fieldConfig.getRootNode().getValue().equals(field + SolrConstants._UNTOKENIZED) || fieldConfig.getRootNode().getValue().equals(facetifiedField)) { try { String priorityValues = fieldConfig.getString("[@priorityValues]"); if (StringUtils.isNotEmpty(priorityValues)) { String[] priorityValuesSplit = priorityValues.split(";"); return Arrays.asList(priorityValuesSplit); } } catch (ConversionException | NoSuchElementException e) { } } } } return Collections.emptyList(); } }
|
Configuration extends AbstractConfiguration { public List<String> getPriorityValuesForDrillDownField(String field) { if (StringUtils.isBlank(field)) { return Collections.emptyList(); } String facetifiedField = SearchHelper.facetifyField(field); List<HierarchicalConfiguration> drillDownFields = getLocalConfigurationsAt("search.drillDown.field"); if (drillDownFields != null && !drillDownFields.isEmpty()) { for (HierarchicalConfiguration fieldConfig : drillDownFields) { if (fieldConfig.getRootNode().getValue().equals(field) || fieldConfig.getRootNode().getValue().equals(field + SolrConstants._UNTOKENIZED) || fieldConfig.getRootNode().getValue().equals(facetifiedField)) { try { String priorityValues = fieldConfig.getString("[@priorityValues]"); if (StringUtils.isNotEmpty(priorityValues)) { String[] priorityValuesSplit = priorityValues.split(";"); return Arrays.asList(priorityValuesSplit); } } catch (ConversionException | NoSuchElementException e) { } } } } drillDownFields = getLocalConfigurationsAt("search.drillDown.hierarchicalField"); if (drillDownFields != null && !drillDownFields.isEmpty()) { for (HierarchicalConfiguration fieldConfig : drillDownFields) { if (fieldConfig.getRootNode().getValue().equals(field) || fieldConfig.getRootNode().getValue().equals(field + SolrConstants._UNTOKENIZED) || fieldConfig.getRootNode().getValue().equals(facetifiedField)) { try { String priorityValues = fieldConfig.getString("[@priorityValues]"); if (StringUtils.isNotEmpty(priorityValues)) { String[] priorityValuesSplit = priorityValues.split(";"); return Arrays.asList(priorityValuesSplit); } } catch (ConversionException | NoSuchElementException e) { } } } } return Collections.emptyList(); } Configuration(String configFilePath); }
|
Configuration extends AbstractConfiguration { public List<String> getPriorityValuesForDrillDownField(String field) { if (StringUtils.isBlank(field)) { return Collections.emptyList(); } String facetifiedField = SearchHelper.facetifyField(field); List<HierarchicalConfiguration> drillDownFields = getLocalConfigurationsAt("search.drillDown.field"); if (drillDownFields != null && !drillDownFields.isEmpty()) { for (HierarchicalConfiguration fieldConfig : drillDownFields) { if (fieldConfig.getRootNode().getValue().equals(field) || fieldConfig.getRootNode().getValue().equals(field + SolrConstants._UNTOKENIZED) || fieldConfig.getRootNode().getValue().equals(facetifiedField)) { try { String priorityValues = fieldConfig.getString("[@priorityValues]"); if (StringUtils.isNotEmpty(priorityValues)) { String[] priorityValuesSplit = priorityValues.split(";"); return Arrays.asList(priorityValuesSplit); } } catch (ConversionException | NoSuchElementException e) { } } } } drillDownFields = getLocalConfigurationsAt("search.drillDown.hierarchicalField"); if (drillDownFields != null && !drillDownFields.isEmpty()) { for (HierarchicalConfiguration fieldConfig : drillDownFields) { if (fieldConfig.getRootNode().getValue().equals(field) || fieldConfig.getRootNode().getValue().equals(field + SolrConstants._UNTOKENIZED) || fieldConfig.getRootNode().getValue().equals(facetifiedField)) { try { String priorityValues = fieldConfig.getString("[@priorityValues]"); if (StringUtils.isNotEmpty(priorityValues)) { String[] priorityValuesSplit = priorityValues.split(";"); return Arrays.asList(priorityValuesSplit); } } catch (ConversionException | NoSuchElementException e) { } } } } return Collections.emptyList(); } 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> getPriorityValuesForDrillDownField(String field) { if (StringUtils.isBlank(field)) { return Collections.emptyList(); } String facetifiedField = SearchHelper.facetifyField(field); List<HierarchicalConfiguration> drillDownFields = getLocalConfigurationsAt("search.drillDown.field"); if (drillDownFields != null && !drillDownFields.isEmpty()) { for (HierarchicalConfiguration fieldConfig : drillDownFields) { if (fieldConfig.getRootNode().getValue().equals(field) || fieldConfig.getRootNode().getValue().equals(field + SolrConstants._UNTOKENIZED) || fieldConfig.getRootNode().getValue().equals(facetifiedField)) { try { String priorityValues = fieldConfig.getString("[@priorityValues]"); if (StringUtils.isNotEmpty(priorityValues)) { String[] priorityValuesSplit = priorityValues.split(";"); return Arrays.asList(priorityValuesSplit); } } catch (ConversionException | NoSuchElementException e) { } } } } drillDownFields = getLocalConfigurationsAt("search.drillDown.hierarchicalField"); if (drillDownFields != null && !drillDownFields.isEmpty()) { for (HierarchicalConfiguration fieldConfig : drillDownFields) { if (fieldConfig.getRootNode().getValue().equals(field) || fieldConfig.getRootNode().getValue().equals(field + SolrConstants._UNTOKENIZED) || fieldConfig.getRootNode().getValue().equals(facetifiedField)) { try { String priorityValues = fieldConfig.getString("[@priorityValues]"); if (StringUtils.isNotEmpty(priorityValues)) { String[] priorityValuesSplit = priorityValues.split(";"); return Arrays.asList(priorityValuesSplit); } } catch (ConversionException | NoSuchElementException e) { } } } } return Collections.emptyList(); } 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 getLabelFieldForDrillDownField_shouldReturnCorrectValue() throws Exception { Assert.assertEquals("MD_FIELDLABEL", DataManager.getInstance().getConfiguration().getLabelFieldForDrillDownField(SolrConstants.YEAR)); Assert.assertEquals("MD_FIRSTNAME", DataManager.getInstance().getConfiguration().getLabelFieldForDrillDownField("MD_CREATOR")); }
|
public String getLabelFieldForDrillDownField(String facetField) { if (StringUtils.isBlank(facetField)) { return null; } String facetifiedField = SearchHelper.facetifyField(facetField); List<HierarchicalConfiguration> drillDownFields = getLocalConfigurationsAt("search.drillDown.field"); if (drillDownFields != null && !drillDownFields.isEmpty()) { for (HierarchicalConfiguration fieldConfig : drillDownFields) { if (fieldConfig.getRootNode().getValue().equals(facetField) || fieldConfig.getRootNode().getValue().equals(facetField + SolrConstants._UNTOKENIZED) || fieldConfig.getRootNode().getValue().equals(facetifiedField)) { try { return fieldConfig.getString("[@labelField]"); } catch (ConversionException | NoSuchElementException e) { } } } } drillDownFields = getLocalConfigurationsAt("search.drillDown.hierarchicalField"); if (drillDownFields != null && !drillDownFields.isEmpty()) { for (HierarchicalConfiguration fieldConfig : drillDownFields) { if (fieldConfig.getRootNode().getValue().equals(facetField) || fieldConfig.getRootNode().getValue().equals(facetField + SolrConstants._UNTOKENIZED) || fieldConfig.getRootNode().getValue().equals(facetifiedField)) { try { return fieldConfig.getString("[@labelField]"); } catch (ConversionException | NoSuchElementException e) { } } } } return null; }
|
Configuration extends AbstractConfiguration { public String getLabelFieldForDrillDownField(String facetField) { if (StringUtils.isBlank(facetField)) { return null; } String facetifiedField = SearchHelper.facetifyField(facetField); List<HierarchicalConfiguration> drillDownFields = getLocalConfigurationsAt("search.drillDown.field"); if (drillDownFields != null && !drillDownFields.isEmpty()) { for (HierarchicalConfiguration fieldConfig : drillDownFields) { if (fieldConfig.getRootNode().getValue().equals(facetField) || fieldConfig.getRootNode().getValue().equals(facetField + SolrConstants._UNTOKENIZED) || fieldConfig.getRootNode().getValue().equals(facetifiedField)) { try { return fieldConfig.getString("[@labelField]"); } catch (ConversionException | NoSuchElementException e) { } } } } drillDownFields = getLocalConfigurationsAt("search.drillDown.hierarchicalField"); if (drillDownFields != null && !drillDownFields.isEmpty()) { for (HierarchicalConfiguration fieldConfig : drillDownFields) { if (fieldConfig.getRootNode().getValue().equals(facetField) || fieldConfig.getRootNode().getValue().equals(facetField + SolrConstants._UNTOKENIZED) || fieldConfig.getRootNode().getValue().equals(facetifiedField)) { try { return fieldConfig.getString("[@labelField]"); } catch (ConversionException | NoSuchElementException e) { } } } } return null; } }
|
Configuration extends AbstractConfiguration { public String getLabelFieldForDrillDownField(String facetField) { if (StringUtils.isBlank(facetField)) { return null; } String facetifiedField = SearchHelper.facetifyField(facetField); List<HierarchicalConfiguration> drillDownFields = getLocalConfigurationsAt("search.drillDown.field"); if (drillDownFields != null && !drillDownFields.isEmpty()) { for (HierarchicalConfiguration fieldConfig : drillDownFields) { if (fieldConfig.getRootNode().getValue().equals(facetField) || fieldConfig.getRootNode().getValue().equals(facetField + SolrConstants._UNTOKENIZED) || fieldConfig.getRootNode().getValue().equals(facetifiedField)) { try { return fieldConfig.getString("[@labelField]"); } catch (ConversionException | NoSuchElementException e) { } } } } drillDownFields = getLocalConfigurationsAt("search.drillDown.hierarchicalField"); if (drillDownFields != null && !drillDownFields.isEmpty()) { for (HierarchicalConfiguration fieldConfig : drillDownFields) { if (fieldConfig.getRootNode().getValue().equals(facetField) || fieldConfig.getRootNode().getValue().equals(facetField + SolrConstants._UNTOKENIZED) || fieldConfig.getRootNode().getValue().equals(facetifiedField)) { try { return fieldConfig.getString("[@labelField]"); } catch (ConversionException | NoSuchElementException e) { } } } } return null; } Configuration(String configFilePath); }
|
Configuration extends AbstractConfiguration { public String getLabelFieldForDrillDownField(String facetField) { if (StringUtils.isBlank(facetField)) { return null; } String facetifiedField = SearchHelper.facetifyField(facetField); List<HierarchicalConfiguration> drillDownFields = getLocalConfigurationsAt("search.drillDown.field"); if (drillDownFields != null && !drillDownFields.isEmpty()) { for (HierarchicalConfiguration fieldConfig : drillDownFields) { if (fieldConfig.getRootNode().getValue().equals(facetField) || fieldConfig.getRootNode().getValue().equals(facetField + SolrConstants._UNTOKENIZED) || fieldConfig.getRootNode().getValue().equals(facetifiedField)) { try { return fieldConfig.getString("[@labelField]"); } catch (ConversionException | NoSuchElementException e) { } } } } drillDownFields = getLocalConfigurationsAt("search.drillDown.hierarchicalField"); if (drillDownFields != null && !drillDownFields.isEmpty()) { for (HierarchicalConfiguration fieldConfig : drillDownFields) { if (fieldConfig.getRootNode().getValue().equals(facetField) || fieldConfig.getRootNode().getValue().equals(facetField + SolrConstants._UNTOKENIZED) || fieldConfig.getRootNode().getValue().equals(facetifiedField)) { try { return fieldConfig.getString("[@labelField]"); } catch (ConversionException | NoSuchElementException e) { } } } } return 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 getLabelFieldForDrillDownField(String facetField) { if (StringUtils.isBlank(facetField)) { return null; } String facetifiedField = SearchHelper.facetifyField(facetField); List<HierarchicalConfiguration> drillDownFields = getLocalConfigurationsAt("search.drillDown.field"); if (drillDownFields != null && !drillDownFields.isEmpty()) { for (HierarchicalConfiguration fieldConfig : drillDownFields) { if (fieldConfig.getRootNode().getValue().equals(facetField) || fieldConfig.getRootNode().getValue().equals(facetField + SolrConstants._UNTOKENIZED) || fieldConfig.getRootNode().getValue().equals(facetifiedField)) { try { return fieldConfig.getString("[@labelField]"); } catch (ConversionException | NoSuchElementException e) { } } } } drillDownFields = getLocalConfigurationsAt("search.drillDown.hierarchicalField"); if (drillDownFields != null && !drillDownFields.isEmpty()) { for (HierarchicalConfiguration fieldConfig : drillDownFields) { if (fieldConfig.getRootNode().getValue().equals(facetField) || fieldConfig.getRootNode().getValue().equals(facetField + SolrConstants._UNTOKENIZED) || fieldConfig.getRootNode().getValue().equals(facetifiedField)) { try { return fieldConfig.getString("[@labelField]"); } catch (ConversionException | NoSuchElementException e) { } } } } return 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 getLabelFieldForDrillDownField_shouldReturnNullIfNoValueFound() throws Exception { Assert.assertNull(DataManager.getInstance().getConfiguration().getLabelFieldForDrillDownField("MD_PLACEPUBLISH")); }
|
public String getLabelFieldForDrillDownField(String facetField) { if (StringUtils.isBlank(facetField)) { return null; } String facetifiedField = SearchHelper.facetifyField(facetField); List<HierarchicalConfiguration> drillDownFields = getLocalConfigurationsAt("search.drillDown.field"); if (drillDownFields != null && !drillDownFields.isEmpty()) { for (HierarchicalConfiguration fieldConfig : drillDownFields) { if (fieldConfig.getRootNode().getValue().equals(facetField) || fieldConfig.getRootNode().getValue().equals(facetField + SolrConstants._UNTOKENIZED) || fieldConfig.getRootNode().getValue().equals(facetifiedField)) { try { return fieldConfig.getString("[@labelField]"); } catch (ConversionException | NoSuchElementException e) { } } } } drillDownFields = getLocalConfigurationsAt("search.drillDown.hierarchicalField"); if (drillDownFields != null && !drillDownFields.isEmpty()) { for (HierarchicalConfiguration fieldConfig : drillDownFields) { if (fieldConfig.getRootNode().getValue().equals(facetField) || fieldConfig.getRootNode().getValue().equals(facetField + SolrConstants._UNTOKENIZED) || fieldConfig.getRootNode().getValue().equals(facetifiedField)) { try { return fieldConfig.getString("[@labelField]"); } catch (ConversionException | NoSuchElementException e) { } } } } return null; }
|
Configuration extends AbstractConfiguration { public String getLabelFieldForDrillDownField(String facetField) { if (StringUtils.isBlank(facetField)) { return null; } String facetifiedField = SearchHelper.facetifyField(facetField); List<HierarchicalConfiguration> drillDownFields = getLocalConfigurationsAt("search.drillDown.field"); if (drillDownFields != null && !drillDownFields.isEmpty()) { for (HierarchicalConfiguration fieldConfig : drillDownFields) { if (fieldConfig.getRootNode().getValue().equals(facetField) || fieldConfig.getRootNode().getValue().equals(facetField + SolrConstants._UNTOKENIZED) || fieldConfig.getRootNode().getValue().equals(facetifiedField)) { try { return fieldConfig.getString("[@labelField]"); } catch (ConversionException | NoSuchElementException e) { } } } } drillDownFields = getLocalConfigurationsAt("search.drillDown.hierarchicalField"); if (drillDownFields != null && !drillDownFields.isEmpty()) { for (HierarchicalConfiguration fieldConfig : drillDownFields) { if (fieldConfig.getRootNode().getValue().equals(facetField) || fieldConfig.getRootNode().getValue().equals(facetField + SolrConstants._UNTOKENIZED) || fieldConfig.getRootNode().getValue().equals(facetifiedField)) { try { return fieldConfig.getString("[@labelField]"); } catch (ConversionException | NoSuchElementException e) { } } } } return null; } }
|
Configuration extends AbstractConfiguration { public String getLabelFieldForDrillDownField(String facetField) { if (StringUtils.isBlank(facetField)) { return null; } String facetifiedField = SearchHelper.facetifyField(facetField); List<HierarchicalConfiguration> drillDownFields = getLocalConfigurationsAt("search.drillDown.field"); if (drillDownFields != null && !drillDownFields.isEmpty()) { for (HierarchicalConfiguration fieldConfig : drillDownFields) { if (fieldConfig.getRootNode().getValue().equals(facetField) || fieldConfig.getRootNode().getValue().equals(facetField + SolrConstants._UNTOKENIZED) || fieldConfig.getRootNode().getValue().equals(facetifiedField)) { try { return fieldConfig.getString("[@labelField]"); } catch (ConversionException | NoSuchElementException e) { } } } } drillDownFields = getLocalConfigurationsAt("search.drillDown.hierarchicalField"); if (drillDownFields != null && !drillDownFields.isEmpty()) { for (HierarchicalConfiguration fieldConfig : drillDownFields) { if (fieldConfig.getRootNode().getValue().equals(facetField) || fieldConfig.getRootNode().getValue().equals(facetField + SolrConstants._UNTOKENIZED) || fieldConfig.getRootNode().getValue().equals(facetifiedField)) { try { return fieldConfig.getString("[@labelField]"); } catch (ConversionException | NoSuchElementException e) { } } } } return null; } Configuration(String configFilePath); }
|
Configuration extends AbstractConfiguration { public String getLabelFieldForDrillDownField(String facetField) { if (StringUtils.isBlank(facetField)) { return null; } String facetifiedField = SearchHelper.facetifyField(facetField); List<HierarchicalConfiguration> drillDownFields = getLocalConfigurationsAt("search.drillDown.field"); if (drillDownFields != null && !drillDownFields.isEmpty()) { for (HierarchicalConfiguration fieldConfig : drillDownFields) { if (fieldConfig.getRootNode().getValue().equals(facetField) || fieldConfig.getRootNode().getValue().equals(facetField + SolrConstants._UNTOKENIZED) || fieldConfig.getRootNode().getValue().equals(facetifiedField)) { try { return fieldConfig.getString("[@labelField]"); } catch (ConversionException | NoSuchElementException e) { } } } } drillDownFields = getLocalConfigurationsAt("search.drillDown.hierarchicalField"); if (drillDownFields != null && !drillDownFields.isEmpty()) { for (HierarchicalConfiguration fieldConfig : drillDownFields) { if (fieldConfig.getRootNode().getValue().equals(facetField) || fieldConfig.getRootNode().getValue().equals(facetField + SolrConstants._UNTOKENIZED) || fieldConfig.getRootNode().getValue().equals(facetifiedField)) { try { return fieldConfig.getString("[@labelField]"); } catch (ConversionException | NoSuchElementException e) { } } } } return 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 getLabelFieldForDrillDownField(String facetField) { if (StringUtils.isBlank(facetField)) { return null; } String facetifiedField = SearchHelper.facetifyField(facetField); List<HierarchicalConfiguration> drillDownFields = getLocalConfigurationsAt("search.drillDown.field"); if (drillDownFields != null && !drillDownFields.isEmpty()) { for (HierarchicalConfiguration fieldConfig : drillDownFields) { if (fieldConfig.getRootNode().getValue().equals(facetField) || fieldConfig.getRootNode().getValue().equals(facetField + SolrConstants._UNTOKENIZED) || fieldConfig.getRootNode().getValue().equals(facetifiedField)) { try { return fieldConfig.getString("[@labelField]"); } catch (ConversionException | NoSuchElementException e) { } } } } drillDownFields = getLocalConfigurationsAt("search.drillDown.hierarchicalField"); if (drillDownFields != null && !drillDownFields.isEmpty()) { for (HierarchicalConfiguration fieldConfig : drillDownFields) { if (fieldConfig.getRootNode().getValue().equals(facetField) || fieldConfig.getRootNode().getValue().equals(facetField + SolrConstants._UNTOKENIZED) || fieldConfig.getRootNode().getValue().equals(facetifiedField)) { try { return fieldConfig.getString("[@labelField]"); } catch (ConversionException | NoSuchElementException e) { } } } } return 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 getSortOrderTest() { Assert.assertEquals("numerical", DataManager.getInstance().getConfiguration().getSortOrder("YEAR")); Assert.assertEquals("default", DataManager.getInstance().getConfiguration().getSortOrder("MD_PLACEPUBLISH")); Assert.assertEquals("alphabetical", DataManager.getInstance().getConfiguration().getSortOrder("MD_CREATOR")); }
|
public String getSortOrder(String field) { if (StringUtils.isBlank(field)) { return "default"; } String facetifiedField = SearchHelper.facetifyField(field); List<HierarchicalConfiguration> drillDownFields = getLocalConfigurationsAt("search.drillDown.field"); if (drillDownFields != null && !drillDownFields.isEmpty()) { for (HierarchicalConfiguration fieldConfig : drillDownFields) { if (fieldConfig.getRootNode().getValue().equals(field) || fieldConfig.getRootNode().getValue().equals(field + SolrConstants._UNTOKENIZED) || fieldConfig.getRootNode().getValue().equals(facetifiedField)) { try { String sortOrder = fieldConfig.getString("[@sortOrder]"); if (sortOrder != null) { return sortOrder; } } catch (ConversionException | NoSuchElementException e) { } } } } drillDownFields = getLocalConfigurationsAt("search.drillDown.hierarchicalField"); if (drillDownFields != null && !drillDownFields.isEmpty()) { for (HierarchicalConfiguration fieldConfig : drillDownFields) { if (fieldConfig.getRootNode().getValue().equals(field) || fieldConfig.getRootNode().getValue().equals(field + SolrConstants._UNTOKENIZED) || fieldConfig.getRootNode().getValue().equals(facetifiedField)) { try { String sortOrder = fieldConfig.getString("[@sortOrder]"); if (sortOrder != null) { return sortOrder; } } catch (ConversionException | NoSuchElementException e) { } } } } return "default"; }
|
Configuration extends AbstractConfiguration { public String getSortOrder(String field) { if (StringUtils.isBlank(field)) { return "default"; } String facetifiedField = SearchHelper.facetifyField(field); List<HierarchicalConfiguration> drillDownFields = getLocalConfigurationsAt("search.drillDown.field"); if (drillDownFields != null && !drillDownFields.isEmpty()) { for (HierarchicalConfiguration fieldConfig : drillDownFields) { if (fieldConfig.getRootNode().getValue().equals(field) || fieldConfig.getRootNode().getValue().equals(field + SolrConstants._UNTOKENIZED) || fieldConfig.getRootNode().getValue().equals(facetifiedField)) { try { String sortOrder = fieldConfig.getString("[@sortOrder]"); if (sortOrder != null) { return sortOrder; } } catch (ConversionException | NoSuchElementException e) { } } } } drillDownFields = getLocalConfigurationsAt("search.drillDown.hierarchicalField"); if (drillDownFields != null && !drillDownFields.isEmpty()) { for (HierarchicalConfiguration fieldConfig : drillDownFields) { if (fieldConfig.getRootNode().getValue().equals(field) || fieldConfig.getRootNode().getValue().equals(field + SolrConstants._UNTOKENIZED) || fieldConfig.getRootNode().getValue().equals(facetifiedField)) { try { String sortOrder = fieldConfig.getString("[@sortOrder]"); if (sortOrder != null) { return sortOrder; } } catch (ConversionException | NoSuchElementException e) { } } } } return "default"; } }
|
Configuration extends AbstractConfiguration { public String getSortOrder(String field) { if (StringUtils.isBlank(field)) { return "default"; } String facetifiedField = SearchHelper.facetifyField(field); List<HierarchicalConfiguration> drillDownFields = getLocalConfigurationsAt("search.drillDown.field"); if (drillDownFields != null && !drillDownFields.isEmpty()) { for (HierarchicalConfiguration fieldConfig : drillDownFields) { if (fieldConfig.getRootNode().getValue().equals(field) || fieldConfig.getRootNode().getValue().equals(field + SolrConstants._UNTOKENIZED) || fieldConfig.getRootNode().getValue().equals(facetifiedField)) { try { String sortOrder = fieldConfig.getString("[@sortOrder]"); if (sortOrder != null) { return sortOrder; } } catch (ConversionException | NoSuchElementException e) { } } } } drillDownFields = getLocalConfigurationsAt("search.drillDown.hierarchicalField"); if (drillDownFields != null && !drillDownFields.isEmpty()) { for (HierarchicalConfiguration fieldConfig : drillDownFields) { if (fieldConfig.getRootNode().getValue().equals(field) || fieldConfig.getRootNode().getValue().equals(field + SolrConstants._UNTOKENIZED) || fieldConfig.getRootNode().getValue().equals(facetifiedField)) { try { String sortOrder = fieldConfig.getString("[@sortOrder]"); if (sortOrder != null) { return sortOrder; } } catch (ConversionException | NoSuchElementException e) { } } } } return "default"; } Configuration(String configFilePath); }
|
Configuration extends AbstractConfiguration { public String getSortOrder(String field) { if (StringUtils.isBlank(field)) { return "default"; } String facetifiedField = SearchHelper.facetifyField(field); List<HierarchicalConfiguration> drillDownFields = getLocalConfigurationsAt("search.drillDown.field"); if (drillDownFields != null && !drillDownFields.isEmpty()) { for (HierarchicalConfiguration fieldConfig : drillDownFields) { if (fieldConfig.getRootNode().getValue().equals(field) || fieldConfig.getRootNode().getValue().equals(field + SolrConstants._UNTOKENIZED) || fieldConfig.getRootNode().getValue().equals(facetifiedField)) { try { String sortOrder = fieldConfig.getString("[@sortOrder]"); if (sortOrder != null) { return sortOrder; } } catch (ConversionException | NoSuchElementException e) { } } } } drillDownFields = getLocalConfigurationsAt("search.drillDown.hierarchicalField"); if (drillDownFields != null && !drillDownFields.isEmpty()) { for (HierarchicalConfiguration fieldConfig : drillDownFields) { if (fieldConfig.getRootNode().getValue().equals(field) || fieldConfig.getRootNode().getValue().equals(field + SolrConstants._UNTOKENIZED) || fieldConfig.getRootNode().getValue().equals(facetifiedField)) { try { String sortOrder = fieldConfig.getString("[@sortOrder]"); if (sortOrder != null) { return sortOrder; } } catch (ConversionException | NoSuchElementException e) { } } } } return "default"; } 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 getSortOrder(String field) { if (StringUtils.isBlank(field)) { return "default"; } String facetifiedField = SearchHelper.facetifyField(field); List<HierarchicalConfiguration> drillDownFields = getLocalConfigurationsAt("search.drillDown.field"); if (drillDownFields != null && !drillDownFields.isEmpty()) { for (HierarchicalConfiguration fieldConfig : drillDownFields) { if (fieldConfig.getRootNode().getValue().equals(field) || fieldConfig.getRootNode().getValue().equals(field + SolrConstants._UNTOKENIZED) || fieldConfig.getRootNode().getValue().equals(facetifiedField)) { try { String sortOrder = fieldConfig.getString("[@sortOrder]"); if (sortOrder != null) { return sortOrder; } } catch (ConversionException | NoSuchElementException e) { } } } } drillDownFields = getLocalConfigurationsAt("search.drillDown.hierarchicalField"); if (drillDownFields != null && !drillDownFields.isEmpty()) { for (HierarchicalConfiguration fieldConfig : drillDownFields) { if (fieldConfig.getRootNode().getValue().equals(field) || fieldConfig.getRootNode().getValue().equals(field + SolrConstants._UNTOKENIZED) || fieldConfig.getRootNode().getValue().equals(facetifiedField)) { try { String sortOrder = fieldConfig.getString("[@sortOrder]"); if (sortOrder != null) { return sortOrder; } } catch (ConversionException | NoSuchElementException e) { } } } } return "default"; } 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 isAdvancedSearchEnabled_shouldReturnCorrectValue() throws Exception { Assert.assertFalse(DataManager.getInstance().getConfiguration().isAdvancedSearchEnabled()); }
|
public boolean isAdvancedSearchEnabled() { return getLocalBoolean("search.advanced.enabled", true); }
|
Configuration extends AbstractConfiguration { public boolean isAdvancedSearchEnabled() { return getLocalBoolean("search.advanced.enabled", true); } }
|
Configuration extends AbstractConfiguration { public boolean isAdvancedSearchEnabled() { return getLocalBoolean("search.advanced.enabled", true); } Configuration(String configFilePath); }
|
Configuration extends AbstractConfiguration { public boolean isAdvancedSearchEnabled() { return getLocalBoolean("search.advanced.enabled", 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 isAdvancedSearchEnabled() { return getLocalBoolean("search.advanced.enabled", 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 isCalendarSearchEnabled_shouldReturnCorrectValue() throws Exception { Assert.assertFalse(DataManager.getInstance().getConfiguration().isCalendarSearchEnabled()); }
|
public boolean isCalendarSearchEnabled() { return getLocalBoolean("search.calendar.enabled", true); }
|
Configuration extends AbstractConfiguration { public boolean isCalendarSearchEnabled() { return getLocalBoolean("search.calendar.enabled", true); } }
|
Configuration extends AbstractConfiguration { public boolean isCalendarSearchEnabled() { return getLocalBoolean("search.calendar.enabled", true); } Configuration(String configFilePath); }
|
Configuration extends AbstractConfiguration { public boolean isCalendarSearchEnabled() { return getLocalBoolean("search.calendar.enabled", 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 isCalendarSearchEnabled() { return getLocalBoolean("search.calendar.enabled", 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 isTimelineSearchEnabled_shouldReturnCorrectValue() throws Exception { Assert.assertFalse(DataManager.getInstance().getConfiguration().isTimelineSearchEnabled()); }
|
public boolean isTimelineSearchEnabled() { return getLocalBoolean("search.timeline.enabled", true); }
|
Configuration extends AbstractConfiguration { public boolean isTimelineSearchEnabled() { return getLocalBoolean("search.timeline.enabled", true); } }
|
Configuration extends AbstractConfiguration { public boolean isTimelineSearchEnabled() { return getLocalBoolean("search.timeline.enabled", true); } Configuration(String configFilePath); }
|
Configuration extends AbstractConfiguration { public boolean isTimelineSearchEnabled() { return getLocalBoolean("search.timeline.enabled", 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 isTimelineSearchEnabled() { return getLocalBoolean("search.timeline.enabled", 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 getStaticQuerySuffix_shouldReturnCorrectValue() throws Exception { Assert.assertEquals("-BOOL_HIDE:true", DataManager.getInstance().getConfiguration().getStaticQuerySuffix()); }
|
public String getStaticQuerySuffix() { return getLocalString("search.staticQuerySuffix"); }
|
Configuration extends AbstractConfiguration { public String getStaticQuerySuffix() { return getLocalString("search.staticQuerySuffix"); } }
|
Configuration extends AbstractConfiguration { public String getStaticQuerySuffix() { return getLocalString("search.staticQuerySuffix"); } Configuration(String configFilePath); }
|
Configuration extends AbstractConfiguration { public String getStaticQuerySuffix() { return getLocalString("search.staticQuerySuffix"); } 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 getStaticQuerySuffix() { return getLocalString("search.staticQuerySuffix"); } 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 getNextVersionIdentifierField_shouldReturnCorrectValue() throws Exception { Assert.assertEquals("MD_PREVIOUS_VERSION", DataManager.getInstance().getConfiguration().getPreviousVersionIdentifierField()); }
|
public String getPreviousVersionIdentifierField() { return getLocalString("search.versioning.previousVersionIdentifierField"); }
|
Configuration extends AbstractConfiguration { public String getPreviousVersionIdentifierField() { return getLocalString("search.versioning.previousVersionIdentifierField"); } }
|
Configuration extends AbstractConfiguration { public String getPreviousVersionIdentifierField() { return getLocalString("search.versioning.previousVersionIdentifierField"); } Configuration(String configFilePath); }
|
Configuration extends AbstractConfiguration { public String getPreviousVersionIdentifierField() { return getLocalString("search.versioning.previousVersionIdentifierField"); } 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 getPreviousVersionIdentifierField() { return getLocalString("search.versioning.previousVersionIdentifierField"); } 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 isAnswerCorrect_shouldReturnTrueOnCorrectAnswerAndIgnoreCase() throws Exception { SecurityQuestion q = new SecurityQuestion("foo", Collections.singleton("answer")); Assert.assertTrue(q.isAnswerCorrect("ANSWER")); }
|
public boolean isAnswerCorrect(String answer) { answered = true; if (StringUtils.isBlank(answer)) { return false; } return correctAnswers.contains(answer.toLowerCase()); }
|
SecurityQuestion { public boolean isAnswerCorrect(String answer) { answered = true; if (StringUtils.isBlank(answer)) { return false; } return correctAnswers.contains(answer.toLowerCase()); } }
|
SecurityQuestion { public boolean isAnswerCorrect(String answer) { answered = true; if (StringUtils.isBlank(answer)) { return false; } return correctAnswers.contains(answer.toLowerCase()); } SecurityQuestion(String questionKey, Set<String> correctAnswers); }
|
SecurityQuestion { public boolean isAnswerCorrect(String answer) { answered = true; if (StringUtils.isBlank(answer)) { return false; } return correctAnswers.contains(answer.toLowerCase()); } SecurityQuestion(String questionKey, Set<String> correctAnswers); boolean isAnswerCorrect(String answer); String getQuestionKey(); Set<String> getCorrectAnswers(); boolean isAnswered(); }
|
SecurityQuestion { public boolean isAnswerCorrect(String answer) { answered = true; if (StringUtils.isBlank(answer)) { return false; } return correctAnswers.contains(answer.toLowerCase()); } SecurityQuestion(String questionKey, Set<String> correctAnswers); boolean isAnswerCorrect(String answer); String getQuestionKey(); Set<String> getCorrectAnswers(); boolean isAnswered(); }
|
@Test public void testWrite() { DCRecordWriter writer = new DCRecordWriter(); writer.addDCMetadata("title", "Titel"); writer.addDCMetadata("identifier", "ID"); String xml = writer.getAsString().replaceAll("[\n\r]+", "").replaceAll("\\s+", " "); Assert.assertEquals(RECORD_REFERENCE, xml); }
|
public void write(Path path) throws IOException { Path filePath = path; if(Files.isDirectory(path)) { if(StringUtils.isNotBlank(getMetadataValue("identifier"))) { filePath = path.resolve(getMetadataValue("identifier") + ".xml"); } else if(StringUtils.isNotBlank(getMetadataValue("title"))) { filePath = path.resolve(getMetadataValue("title") + ".xml"); } else { filePath = path.resolve(System.currentTimeMillis() + ".xml"); } } else if(!Files.exists(path.getParent())) { throw new IOException("Parent directory of output destination " + path + " must exist to create file"); } XMLOutputter xmlOutput = new XMLOutputter(); xmlOutput.setFormat(Format.getPrettyFormat()); try(OutputStream out = Files.newOutputStream(filePath)) { xmlOutput.output(doc, out); } }
|
DCRecordWriter { public void write(Path path) throws IOException { Path filePath = path; if(Files.isDirectory(path)) { if(StringUtils.isNotBlank(getMetadataValue("identifier"))) { filePath = path.resolve(getMetadataValue("identifier") + ".xml"); } else if(StringUtils.isNotBlank(getMetadataValue("title"))) { filePath = path.resolve(getMetadataValue("title") + ".xml"); } else { filePath = path.resolve(System.currentTimeMillis() + ".xml"); } } else if(!Files.exists(path.getParent())) { throw new IOException("Parent directory of output destination " + path + " must exist to create file"); } XMLOutputter xmlOutput = new XMLOutputter(); xmlOutput.setFormat(Format.getPrettyFormat()); try(OutputStream out = Files.newOutputStream(filePath)) { xmlOutput.output(doc, out); } } }
|
DCRecordWriter { public void write(Path path) throws IOException { Path filePath = path; if(Files.isDirectory(path)) { if(StringUtils.isNotBlank(getMetadataValue("identifier"))) { filePath = path.resolve(getMetadataValue("identifier") + ".xml"); } else if(StringUtils.isNotBlank(getMetadataValue("title"))) { filePath = path.resolve(getMetadataValue("title") + ".xml"); } else { filePath = path.resolve(System.currentTimeMillis() + ".xml"); } } else if(!Files.exists(path.getParent())) { throw new IOException("Parent directory of output destination " + path + " must exist to create file"); } XMLOutputter xmlOutput = new XMLOutputter(); xmlOutput.setFormat(Format.getPrettyFormat()); try(OutputStream out = Files.newOutputStream(filePath)) { xmlOutput.output(doc, out); } } DCRecordWriter(); }
|
DCRecordWriter { public void write(Path path) throws IOException { Path filePath = path; if(Files.isDirectory(path)) { if(StringUtils.isNotBlank(getMetadataValue("identifier"))) { filePath = path.resolve(getMetadataValue("identifier") + ".xml"); } else if(StringUtils.isNotBlank(getMetadataValue("title"))) { filePath = path.resolve(getMetadataValue("title") + ".xml"); } else { filePath = path.resolve(System.currentTimeMillis() + ".xml"); } } else if(!Files.exists(path.getParent())) { throw new IOException("Parent directory of output destination " + path + " must exist to create file"); } XMLOutputter xmlOutput = new XMLOutputter(); xmlOutput.setFormat(Format.getPrettyFormat()); try(OutputStream out = Files.newOutputStream(filePath)) { xmlOutput.output(doc, out); } } DCRecordWriter(); void addDCMetadata(String name, String value); String getMetadataValue(String name); Document getDocument(); void write(Path path); String getAsString(); }
|
DCRecordWriter { public void write(Path path) throws IOException { Path filePath = path; if(Files.isDirectory(path)) { if(StringUtils.isNotBlank(getMetadataValue("identifier"))) { filePath = path.resolve(getMetadataValue("identifier") + ".xml"); } else if(StringUtils.isNotBlank(getMetadataValue("title"))) { filePath = path.resolve(getMetadataValue("title") + ".xml"); } else { filePath = path.resolve(System.currentTimeMillis() + ".xml"); } } else if(!Files.exists(path.getParent())) { throw new IOException("Parent directory of output destination " + path + " must exist to create file"); } XMLOutputter xmlOutput = new XMLOutputter(); xmlOutput.setFormat(Format.getPrettyFormat()); try(OutputStream out = Files.newOutputStream(filePath)) { xmlOutput.output(doc, out); } } DCRecordWriter(); void addDCMetadata(String name, String value); String getMetadataValue(String name); Document getDocument(); void write(Path path); String getAsString(); static final Namespace namespaceDC; }
|
@Test public void getPreviousVersionIdentifierField_shouldReturnCorrectValue() throws Exception { Assert.assertEquals("MD_NEXT_VERSION", DataManager.getInstance().getConfiguration().getNextVersionIdentifierField()); }
|
public String getNextVersionIdentifierField() { return getLocalString("search.versioning.nextVersionIdentifierField"); }
|
Configuration extends AbstractConfiguration { public String getNextVersionIdentifierField() { return getLocalString("search.versioning.nextVersionIdentifierField"); } }
|
Configuration extends AbstractConfiguration { public String getNextVersionIdentifierField() { return getLocalString("search.versioning.nextVersionIdentifierField"); } Configuration(String configFilePath); }
|
Configuration extends AbstractConfiguration { public String getNextVersionIdentifierField() { return getLocalString("search.versioning.nextVersionIdentifierField"); } 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 getNextVersionIdentifierField() { return getLocalString("search.versioning.nextVersionIdentifierField"); } 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 getVersionLabelField_shouldReturnCorrectValue() throws Exception { Assert.assertEquals("MD_VERSIONLABEL", DataManager.getInstance().getConfiguration().getVersionLabelField()); }
|
public String getVersionLabelField() { return getLocalString("search.versioning.versionLabelField"); }
|
Configuration extends AbstractConfiguration { public String getVersionLabelField() { return getLocalString("search.versioning.versionLabelField"); } }
|
Configuration extends AbstractConfiguration { public String getVersionLabelField() { return getLocalString("search.versioning.versionLabelField"); } Configuration(String configFilePath); }
|
Configuration extends AbstractConfiguration { public String getVersionLabelField() { return getLocalString("search.versioning.versionLabelField"); } 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 getVersionLabelField() { return getLocalString("search.versioning.versionLabelField"); } 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 getCmsTextFolder_shouldReturnCorrectValue() throws Exception { Assert.assertEquals("cms", DataManager.getInstance().getConfiguration().getCmsTextFolder()); }
|
public String getCmsTextFolder() { return getLocalString("cmsTextFolder"); }
|
Configuration extends AbstractConfiguration { public String getCmsTextFolder() { return getLocalString("cmsTextFolder"); } }
|
Configuration extends AbstractConfiguration { public String getCmsTextFolder() { return getLocalString("cmsTextFolder"); } Configuration(String configFilePath); }
|
Configuration extends AbstractConfiguration { public String getCmsTextFolder() { return getLocalString("cmsTextFolder"); } 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 getCmsTextFolder() { return getLocalString("cmsTextFolder"); } 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 isForceJpegConversion_shouldReturnCorrectValue() throws Exception { Assert.assertTrue(DataManager.getInstance().getConfiguration().isForceJpegConversion()); }
|
public boolean isForceJpegConversion() { return getLocalBoolean("viewer.forceJpegConversion", false); }
|
Configuration extends AbstractConfiguration { public boolean isForceJpegConversion() { return getLocalBoolean("viewer.forceJpegConversion", false); } }
|
Configuration extends AbstractConfiguration { public boolean isForceJpegConversion() { return getLocalBoolean("viewer.forceJpegConversion", false); } Configuration(String configFilePath); }
|
Configuration extends AbstractConfiguration { public boolean isForceJpegConversion() { return getLocalBoolean("viewer.forceJpegConversion", 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 isForceJpegConversion() { return getLocalBoolean("viewer.forceJpegConversion", 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 getUserCommentsNotificationEmailAddresses_shouldReturnAllConfiguredElements() throws Exception { Assert.assertEquals(2, DataManager.getInstance().getConfiguration().getUserCommentsNotificationEmailAddresses().size()); }
|
public List<String> getUserCommentsNotificationEmailAddresses() { return getLocalList("userComments.notificationEmailAddress"); }
|
Configuration extends AbstractConfiguration { public List<String> getUserCommentsNotificationEmailAddresses() { return getLocalList("userComments.notificationEmailAddress"); } }
|
Configuration extends AbstractConfiguration { public List<String> getUserCommentsNotificationEmailAddresses() { return getLocalList("userComments.notificationEmailAddress"); } Configuration(String configFilePath); }
|
Configuration extends AbstractConfiguration { public List<String> getUserCommentsNotificationEmailAddresses() { return getLocalList("userComments.notificationEmailAddress"); } 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> getUserCommentsNotificationEmailAddresses() { return getLocalList("userComments.notificationEmailAddress"); } 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 getAltoFolder_shouldReturnCorrectValue() throws Exception { Assert.assertEquals("alto", DataManager.getInstance().getConfiguration().getAltoFolder()); }
|
public String getAltoFolder() { return getLocalString("altoFolder"); }
|
Configuration extends AbstractConfiguration { public String getAltoFolder() { return getLocalString("altoFolder"); } }
|
Configuration extends AbstractConfiguration { public String getAltoFolder() { return getLocalString("altoFolder"); } Configuration(String configFilePath); }
|
Configuration extends AbstractConfiguration { public String getAltoFolder() { return getLocalString("altoFolder"); } 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 getAltoFolder() { return getLocalString("altoFolder"); } 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 getFulltextFolder_shouldReturnCorrectValue() throws Exception { Assert.assertEquals("fulltext", DataManager.getInstance().getConfiguration().getFulltextFolder()); }
|
public String getFulltextFolder() { return getLocalString("fulltextFolder"); }
|
Configuration extends AbstractConfiguration { public String getFulltextFolder() { return getLocalString("fulltextFolder"); } }
|
Configuration extends AbstractConfiguration { public String getFulltextFolder() { return getLocalString("fulltextFolder"); } Configuration(String configFilePath); }
|
Configuration extends AbstractConfiguration { public String getFulltextFolder() { return getLocalString("fulltextFolder"); } 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 getFulltextFolder() { return getLocalString("fulltextFolder"); } 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 getWcFolder_shouldReturnCorrectValue() throws Exception { Assert.assertEquals("wc", DataManager.getInstance().getConfiguration().getWcFolder()); }
|
public String getWcFolder() { return getLocalString("wcFolder"); }
|
Configuration extends AbstractConfiguration { public String getWcFolder() { return getLocalString("wcFolder"); } }
|
Configuration extends AbstractConfiguration { public String getWcFolder() { return getLocalString("wcFolder"); } Configuration(String configFilePath); }
|
Configuration extends AbstractConfiguration { public String getWcFolder() { return getLocalString("wcFolder"); } 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 getWcFolder() { return getLocalString("wcFolder"); } 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 getAbbyyFolder_shouldReturnCorrectValue() throws Exception { Assert.assertEquals("abbyy", DataManager.getInstance().getConfiguration().getAbbyyFolder()); }
|
public String getAbbyyFolder() { return getLocalString("abbyyFolder"); }
|
Configuration extends AbstractConfiguration { public String getAbbyyFolder() { return getLocalString("abbyyFolder"); } }
|
Configuration extends AbstractConfiguration { public String getAbbyyFolder() { return getLocalString("abbyyFolder"); } Configuration(String configFilePath); }
|
Configuration extends AbstractConfiguration { public String getAbbyyFolder() { return getLocalString("abbyyFolder"); } 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 getAbbyyFolder() { return getLocalString("abbyyFolder"); } 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 getTeiFolder_shouldReturnCorrectValue() throws Exception { Assert.assertEquals("tei", DataManager.getInstance().getConfiguration().getTeiFolder()); }
|
public String getTeiFolder() { return getLocalString("teiFolder"); }
|
Configuration extends AbstractConfiguration { public String getTeiFolder() { return getLocalString("teiFolder"); } }
|
Configuration extends AbstractConfiguration { public String getTeiFolder() { return getLocalString("teiFolder"); } Configuration(String configFilePath); }
|
Configuration extends AbstractConfiguration { public String getTeiFolder() { return getLocalString("teiFolder"); } 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 getTeiFolder() { return getLocalString("teiFolder"); } 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 isAnswerCorrect_shouldReturnFalseOnIncorrectAnswer() throws Exception { SecurityQuestion q = new SecurityQuestion("foo", Collections.singleton("answer")); Assert.assertFalse(q.isAnswerCorrect("wronganswer")); }
|
public boolean isAnswerCorrect(String answer) { answered = true; if (StringUtils.isBlank(answer)) { return false; } return correctAnswers.contains(answer.toLowerCase()); }
|
SecurityQuestion { public boolean isAnswerCorrect(String answer) { answered = true; if (StringUtils.isBlank(answer)) { return false; } return correctAnswers.contains(answer.toLowerCase()); } }
|
SecurityQuestion { public boolean isAnswerCorrect(String answer) { answered = true; if (StringUtils.isBlank(answer)) { return false; } return correctAnswers.contains(answer.toLowerCase()); } SecurityQuestion(String questionKey, Set<String> correctAnswers); }
|
SecurityQuestion { public boolean isAnswerCorrect(String answer) { answered = true; if (StringUtils.isBlank(answer)) { return false; } return correctAnswers.contains(answer.toLowerCase()); } SecurityQuestion(String questionKey, Set<String> correctAnswers); boolean isAnswerCorrect(String answer); String getQuestionKey(); Set<String> getCorrectAnswers(); boolean isAnswered(); }
|
SecurityQuestion { public boolean isAnswerCorrect(String answer) { answered = true; if (StringUtils.isBlank(answer)) { return false; } return correctAnswers.contains(answer.toLowerCase()); } SecurityQuestion(String questionKey, Set<String> correctAnswers); boolean isAnswerCorrect(String answer); String getQuestionKey(); Set<String> getCorrectAnswers(); boolean isAnswered(); }
|
@Test public void getCmdiFolder_shouldReturnCorrectValue() throws Exception { Assert.assertEquals("cmdi", DataManager.getInstance().getConfiguration().getCmdiFolder()); }
|
public String getCmdiFolder() { return getLocalString("cmdiFolder"); }
|
Configuration extends AbstractConfiguration { public String getCmdiFolder() { return getLocalString("cmdiFolder"); } }
|
Configuration extends AbstractConfiguration { public String getCmdiFolder() { return getLocalString("cmdiFolder"); } Configuration(String configFilePath); }
|
Configuration extends AbstractConfiguration { public String getCmdiFolder() { return getLocalString("cmdiFolder"); } 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 getCmdiFolder() { return getLocalString("cmdiFolder"); } 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 getAnnotationFolder_shouldReturnCorrectValue() throws Exception { Assert.assertEquals("annotations", DataManager.getInstance().getConfiguration().getAnnotationFolder()); }
|
public String getAnnotationFolder() { return getLocalString("annotationFolder"); }
|
Configuration extends AbstractConfiguration { public String getAnnotationFolder() { return getLocalString("annotationFolder"); } }
|
Configuration extends AbstractConfiguration { public String getAnnotationFolder() { return getLocalString("annotationFolder"); } Configuration(String configFilePath); }
|
Configuration extends AbstractConfiguration { public String getAnnotationFolder() { return getLocalString("annotationFolder"); } 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 getAnnotationFolder() { return getLocalString("annotationFolder"); } 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 getEndYearForTimeline_shouldReturnCorrectValue() throws Exception { Assert.assertEquals("1865", DataManager.getInstance().getConfiguration().getEndYearForTimeline()); }
|
public String getEndYearForTimeline() { return this.getLocalString("search.timeline.endyear", "2014"); }
|
Configuration extends AbstractConfiguration { public String getEndYearForTimeline() { return this.getLocalString("search.timeline.endyear", "2014"); } }
|
Configuration extends AbstractConfiguration { public String getEndYearForTimeline() { return this.getLocalString("search.timeline.endyear", "2014"); } Configuration(String configFilePath); }
|
Configuration extends AbstractConfiguration { public String getEndYearForTimeline() { return this.getLocalString("search.timeline.endyear", "2014"); } 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 getEndYearForTimeline() { return this.getLocalString("search.timeline.endyear", "2014"); } 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 getStartYearForTimeline_shouldReturnCorrectValue() throws Exception { Assert.assertEquals("1861", DataManager.getInstance().getConfiguration().getStartYearForTimeline()); }
|
public String getStartYearForTimeline() { return this.getLocalString("search.timeline.startyear", "1750"); }
|
Configuration extends AbstractConfiguration { public String getStartYearForTimeline() { return this.getLocalString("search.timeline.startyear", "1750"); } }
|
Configuration extends AbstractConfiguration { public String getStartYearForTimeline() { return this.getLocalString("search.timeline.startyear", "1750"); } Configuration(String configFilePath); }
|
Configuration extends AbstractConfiguration { public String getStartYearForTimeline() { return this.getLocalString("search.timeline.startyear", "1750"); } 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 getStartYearForTimeline() { return this.getLocalString("search.timeline.startyear", "1750"); } 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 getTimelineHits_shouldReturnCorrectValue() throws Exception { Assert.assertEquals("120", DataManager.getInstance().getConfiguration().getTimelineHits()); }
|
public String getTimelineHits() { return this.getLocalString("search.timeline.hits", "108"); }
|
Configuration extends AbstractConfiguration { public String getTimelineHits() { return this.getLocalString("search.timeline.hits", "108"); } }
|
Configuration extends AbstractConfiguration { public String getTimelineHits() { return this.getLocalString("search.timeline.hits", "108"); } Configuration(String configFilePath); }
|
Configuration extends AbstractConfiguration { public String getTimelineHits() { return this.getLocalString("search.timeline.hits", "108"); } 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 getTimelineHits() { return this.getLocalString("search.timeline.hits", "108"); } 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 isDisplayTimeMatrix_shouldReturnCorrectValue() throws Exception { Assert.assertEquals(true, DataManager.getInstance().getConfiguration().isDisplayTimeMatrix()); }
|
public boolean isDisplayTimeMatrix() { return this.getLocalBoolean("webGuiDisplay.displayTimeMatrix", false); }
|
Configuration extends AbstractConfiguration { public boolean isDisplayTimeMatrix() { return this.getLocalBoolean("webGuiDisplay.displayTimeMatrix", false); } }
|
Configuration extends AbstractConfiguration { public boolean isDisplayTimeMatrix() { return this.getLocalBoolean("webGuiDisplay.displayTimeMatrix", false); } Configuration(String configFilePath); }
|
Configuration extends AbstractConfiguration { public boolean isDisplayTimeMatrix() { return this.getLocalBoolean("webGuiDisplay.displayTimeMatrix", 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 isDisplayTimeMatrix() { return this.getLocalBoolean("webGuiDisplay.displayTimeMatrix", 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 showThumbnailsInToc_shouldReturnCorrectValue() throws Exception { Assert.assertEquals(false, DataManager.getInstance().getConfiguration().showThumbnailsInToc()); }
|
public boolean showThumbnailsInToc() { return this.getLocalBoolean("toc.multiVolumeThumbnailsEnabled", true); }
|
Configuration extends AbstractConfiguration { public boolean showThumbnailsInToc() { return this.getLocalBoolean("toc.multiVolumeThumbnailsEnabled", true); } }
|
Configuration extends AbstractConfiguration { public boolean showThumbnailsInToc() { return this.getLocalBoolean("toc.multiVolumeThumbnailsEnabled", true); } Configuration(String configFilePath); }
|
Configuration extends AbstractConfiguration { public boolean showThumbnailsInToc() { return this.getLocalBoolean("toc.multiVolumeThumbnailsEnabled", 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 showThumbnailsInToc() { return this.getLocalBoolean("toc.multiVolumeThumbnailsEnabled", 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 getPiwikBaseURL_shouldReturnCorrectValue() throws Exception { Assert.assertEquals("baseURL_value", DataManager.getInstance().getConfiguration().getPiwikBaseURL()); }
|
public String getPiwikBaseURL() { return this.getLocalString("piwik.baseURL", ""); }
|
Configuration extends AbstractConfiguration { public String getPiwikBaseURL() { return this.getLocalString("piwik.baseURL", ""); } }
|
Configuration extends AbstractConfiguration { public String getPiwikBaseURL() { return this.getLocalString("piwik.baseURL", ""); } Configuration(String configFilePath); }
|
Configuration extends AbstractConfiguration { public String getPiwikBaseURL() { return this.getLocalString("piwik.baseURL", ""); } 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 getPiwikBaseURL() { return this.getLocalString("piwik.baseURL", ""); } 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 getPiwikSiteID_shouldReturnCorrectValue() throws Exception { Assert.assertEquals("siteID_value", DataManager.getInstance().getConfiguration().getPiwikSiteID()); }
|
public String getPiwikSiteID() { return this.getLocalString("piwik.siteID", "1"); }
|
Configuration extends AbstractConfiguration { public String getPiwikSiteID() { return this.getLocalString("piwik.siteID", "1"); } }
|
Configuration extends AbstractConfiguration { public String getPiwikSiteID() { return this.getLocalString("piwik.siteID", "1"); } Configuration(String configFilePath); }
|
Configuration extends AbstractConfiguration { public String getPiwikSiteID() { return this.getLocalString("piwik.siteID", "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 String getPiwikSiteID() { return this.getLocalString("piwik.siteID", "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 isPiwikTrackingEnabled_shouldReturnCorrectValue() throws Exception { Assert.assertEquals(true, DataManager.getInstance().getConfiguration().isPiwikTrackingEnabled()); }
|
public boolean isPiwikTrackingEnabled() { return getLocalBoolean("piwik.enabled", false); }
|
Configuration extends AbstractConfiguration { public boolean isPiwikTrackingEnabled() { return getLocalBoolean("piwik.enabled", false); } }
|
Configuration extends AbstractConfiguration { public boolean isPiwikTrackingEnabled() { return getLocalBoolean("piwik.enabled", false); } Configuration(String configFilePath); }
|
Configuration extends AbstractConfiguration { public boolean isPiwikTrackingEnabled() { return getLocalBoolean("piwik.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 isPiwikTrackingEnabled() { return getLocalBoolean("piwik.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 isAnswerCorrect_shouldReturnFalseEmptyAnswer() throws Exception { SecurityQuestion q = new SecurityQuestion("foo", Collections.singleton("answer")); Assert.assertFalse(q.isAnswerCorrect(null)); Assert.assertFalse(q.isAnswerCorrect("")); Assert.assertFalse(q.isAnswerCorrect(" ")); }
|
public boolean isAnswerCorrect(String answer) { answered = true; if (StringUtils.isBlank(answer)) { return false; } return correctAnswers.contains(answer.toLowerCase()); }
|
SecurityQuestion { public boolean isAnswerCorrect(String answer) { answered = true; if (StringUtils.isBlank(answer)) { return false; } return correctAnswers.contains(answer.toLowerCase()); } }
|
SecurityQuestion { public boolean isAnswerCorrect(String answer) { answered = true; if (StringUtils.isBlank(answer)) { return false; } return correctAnswers.contains(answer.toLowerCase()); } SecurityQuestion(String questionKey, Set<String> correctAnswers); }
|
SecurityQuestion { public boolean isAnswerCorrect(String answer) { answered = true; if (StringUtils.isBlank(answer)) { return false; } return correctAnswers.contains(answer.toLowerCase()); } SecurityQuestion(String questionKey, Set<String> correctAnswers); boolean isAnswerCorrect(String answer); String getQuestionKey(); Set<String> getCorrectAnswers(); boolean isAnswered(); }
|
SecurityQuestion { public boolean isAnswerCorrect(String answer) { answered = true; if (StringUtils.isBlank(answer)) { return false; } return correctAnswers.contains(answer.toLowerCase()); } SecurityQuestion(String questionKey, Set<String> correctAnswers); boolean isAnswerCorrect(String answer); String getQuestionKey(); Set<String> getCorrectAnswers(); boolean isAnswered(); }
|
@Test public void getSearchFilters_shouldReturnAllConfiguredElements() throws Exception { Assert.assertEquals(3, DataManager.getInstance().getConfiguration().getSearchFilters().size()); }
|
public List<SearchFilter> getSearchFilters() { List<String> filterStrings = getLocalList("search.filters.filter"); List<SearchFilter> ret = new ArrayList<>(filterStrings.size()); for (String filterString : filterStrings) { if (filterString.startsWith("filter_")) { ret.add(new SearchFilter(filterString, filterString.substring(7))); } else { logger.error("Invalid search filter definition: {}", filterString); } } return ret; }
|
Configuration extends AbstractConfiguration { public List<SearchFilter> getSearchFilters() { List<String> filterStrings = getLocalList("search.filters.filter"); List<SearchFilter> ret = new ArrayList<>(filterStrings.size()); for (String filterString : filterStrings) { if (filterString.startsWith("filter_")) { ret.add(new SearchFilter(filterString, filterString.substring(7))); } else { logger.error("Invalid search filter definition: {}", filterString); } } return ret; } }
|
Configuration extends AbstractConfiguration { public List<SearchFilter> getSearchFilters() { List<String> filterStrings = getLocalList("search.filters.filter"); List<SearchFilter> ret = new ArrayList<>(filterStrings.size()); for (String filterString : filterStrings) { if (filterString.startsWith("filter_")) { ret.add(new SearchFilter(filterString, filterString.substring(7))); } else { logger.error("Invalid search filter definition: {}", filterString); } } return ret; } Configuration(String configFilePath); }
|
Configuration extends AbstractConfiguration { public List<SearchFilter> getSearchFilters() { List<String> filterStrings = getLocalList("search.filters.filter"); List<SearchFilter> ret = new ArrayList<>(filterStrings.size()); for (String filterString : filterStrings) { if (filterString.startsWith("filter_")) { ret.add(new SearchFilter(filterString, filterString.substring(7))); } else { logger.error("Invalid search filter definition: {}", filterString); } } 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<SearchFilter> getSearchFilters() { List<String> filterStrings = getLocalList("search.filters.filter"); List<SearchFilter> ret = new ArrayList<>(filterStrings.size()); for (String filterString : filterStrings) { if (filterString.startsWith("filter_")) { ret.add(new SearchFilter(filterString, filterString.substring(7))); } else { logger.error("Invalid search filter definition: {}", filterString); } } 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 getAnchorThumbnailMode_shouldReturnCorrectValue() throws Exception { Assert.assertEquals("FIRSTVOLUME", DataManager.getInstance().getConfiguration().getAnchorThumbnailMode()); }
|
public String getAnchorThumbnailMode() { return getLocalString("viewer.anchorThumbnailMode", "GENERIC"); }
|
Configuration extends AbstractConfiguration { public String getAnchorThumbnailMode() { return getLocalString("viewer.anchorThumbnailMode", "GENERIC"); } }
|
Configuration extends AbstractConfiguration { public String getAnchorThumbnailMode() { return getLocalString("viewer.anchorThumbnailMode", "GENERIC"); } Configuration(String configFilePath); }
|
Configuration extends AbstractConfiguration { public String getAnchorThumbnailMode() { return getLocalString("viewer.anchorThumbnailMode", "GENERIC"); } 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 getAnchorThumbnailMode() { return getLocalString("viewer.anchorThumbnailMode", "GENERIC"); } 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 isDisplayCollectionBrowsing_shouldReturnCorrectValue() throws Exception { Assert.assertEquals(false, DataManager.getInstance().getConfiguration().isDisplayCollectionBrowsing()); }
|
public boolean isDisplayCollectionBrowsing() { return this.getLocalBoolean("webGuiDisplay.collectionBrowsing", true); }
|
Configuration extends AbstractConfiguration { public boolean isDisplayCollectionBrowsing() { return this.getLocalBoolean("webGuiDisplay.collectionBrowsing", true); } }
|
Configuration extends AbstractConfiguration { public boolean isDisplayCollectionBrowsing() { return this.getLocalBoolean("webGuiDisplay.collectionBrowsing", true); } Configuration(String configFilePath); }
|
Configuration extends AbstractConfiguration { public boolean isDisplayCollectionBrowsing() { return this.getLocalBoolean("webGuiDisplay.collectionBrowsing", 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 isDisplayCollectionBrowsing() { return this.getLocalBoolean("webGuiDisplay.collectionBrowsing", 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 getDisplayTitlePURL_shouldReturnCorrectValue() throws Exception { Assert.assertEquals(false, DataManager.getInstance().getConfiguration().isDisplayTitlePURL()); }
|
public boolean isDisplayTitlePURL() { return this.getLocalBoolean("webGuiDisplay.displayTitlePURL", true); }
|
Configuration extends AbstractConfiguration { public boolean isDisplayTitlePURL() { return this.getLocalBoolean("webGuiDisplay.displayTitlePURL", true); } }
|
Configuration extends AbstractConfiguration { public boolean isDisplayTitlePURL() { return this.getLocalBoolean("webGuiDisplay.displayTitlePURL", true); } Configuration(String configFilePath); }
|
Configuration extends AbstractConfiguration { public boolean isDisplayTitlePURL() { return this.getLocalBoolean("webGuiDisplay.displayTitlePURL", 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 isDisplayTitlePURL() { return this.getLocalBoolean("webGuiDisplay.displayTitlePURL", 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 getWebApiFields_shouldReturnAllConfiguredElements() throws Exception { List<Map<String, String>> fields = DataManager.getInstance().getConfiguration().getWebApiFields(); Assert.assertEquals(2, fields.size()); Assert.assertEquals("json1", fields.get(0).get("jsonField")); Assert.assertEquals("lucene1", fields.get(0).get("luceneField")); Assert.assertEquals("true", fields.get(0).get("multivalue")); Assert.assertEquals(null, fields.get(1).get("multivalue")); }
|
public List<Map<String, String>> getWebApiFields() { List<HierarchicalConfiguration> elements = getLocalConfigurationsAt("webapi.fields.field"); if (elements == null) { return Collections.emptyList(); } List<Map<String, String>> ret = new ArrayList<>(elements.size()); for (Iterator<HierarchicalConfiguration> it = elements.iterator(); it.hasNext();) { HierarchicalConfiguration sub = it.next(); Map<String, String> fieldConfig = new HashMap<>(); fieldConfig.put("jsonField", sub.getString("[@jsonField]", null)); fieldConfig.put("luceneField", sub.getString("[@luceneField]", null)); fieldConfig.put("multivalue", sub.getString("[@multivalue]", null)); ret.add(fieldConfig); } return ret; }
|
Configuration extends AbstractConfiguration { public List<Map<String, String>> getWebApiFields() { List<HierarchicalConfiguration> elements = getLocalConfigurationsAt("webapi.fields.field"); if (elements == null) { return Collections.emptyList(); } List<Map<String, String>> ret = new ArrayList<>(elements.size()); for (Iterator<HierarchicalConfiguration> it = elements.iterator(); it.hasNext();) { HierarchicalConfiguration sub = it.next(); Map<String, String> fieldConfig = new HashMap<>(); fieldConfig.put("jsonField", sub.getString("[@jsonField]", null)); fieldConfig.put("luceneField", sub.getString("[@luceneField]", null)); fieldConfig.put("multivalue", sub.getString("[@multivalue]", null)); ret.add(fieldConfig); } return ret; } }
|
Configuration extends AbstractConfiguration { public List<Map<String, String>> getWebApiFields() { List<HierarchicalConfiguration> elements = getLocalConfigurationsAt("webapi.fields.field"); if (elements == null) { return Collections.emptyList(); } List<Map<String, String>> ret = new ArrayList<>(elements.size()); for (Iterator<HierarchicalConfiguration> it = elements.iterator(); it.hasNext();) { HierarchicalConfiguration sub = it.next(); Map<String, String> fieldConfig = new HashMap<>(); fieldConfig.put("jsonField", sub.getString("[@jsonField]", null)); fieldConfig.put("luceneField", sub.getString("[@luceneField]", null)); fieldConfig.put("multivalue", sub.getString("[@multivalue]", null)); ret.add(fieldConfig); } return ret; } Configuration(String configFilePath); }
|
Configuration extends AbstractConfiguration { public List<Map<String, String>> getWebApiFields() { List<HierarchicalConfiguration> elements = getLocalConfigurationsAt("webapi.fields.field"); if (elements == null) { return Collections.emptyList(); } List<Map<String, String>> ret = new ArrayList<>(elements.size()); for (Iterator<HierarchicalConfiguration> it = elements.iterator(); it.hasNext();) { HierarchicalConfiguration sub = it.next(); Map<String, String> fieldConfig = new HashMap<>(); fieldConfig.put("jsonField", sub.getString("[@jsonField]", null)); fieldConfig.put("luceneField", sub.getString("[@luceneField]", null)); fieldConfig.put("multivalue", sub.getString("[@multivalue]", null)); ret.add(fieldConfig); } 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<Map<String, String>> getWebApiFields() { List<HierarchicalConfiguration> elements = getLocalConfigurationsAt("webapi.fields.field"); if (elements == null) { return Collections.emptyList(); } List<Map<String, String>> ret = new ArrayList<>(elements.size()); for (Iterator<HierarchicalConfiguration> it = elements.iterator(); it.hasNext();) { HierarchicalConfiguration sub = it.next(); Map<String, String> fieldConfig = new HashMap<>(); fieldConfig.put("jsonField", sub.getString("[@jsonField]", null)); fieldConfig.put("luceneField", sub.getString("[@luceneField]", null)); fieldConfig.put("multivalue", sub.getString("[@multivalue]", null)); ret.add(fieldConfig); } 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 getDbPersistenceUnit_shouldReturnCorrectValue() throws Exception { Assert.assertEquals("intranda_viewer_test", DataManager.getInstance().getConfiguration().getDbPersistenceUnit()); }
|
public String getDbPersistenceUnit() { return getLocalString("dbPersistenceUnit", null); }
|
Configuration extends AbstractConfiguration { public String getDbPersistenceUnit() { return getLocalString("dbPersistenceUnit", null); } }
|
Configuration extends AbstractConfiguration { public String getDbPersistenceUnit() { return getLocalString("dbPersistenceUnit", null); } Configuration(String configFilePath); }
|
Configuration extends AbstractConfiguration { public String getDbPersistenceUnit() { return getLocalString("dbPersistenceUnit", 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 getDbPersistenceUnit() { return getLocalString("dbPersistenceUnit", 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 useCustomNavBar_shouldReturnCorrectValue() throws Exception { Assert.assertEquals(true, DataManager.getInstance().getConfiguration().useCustomNavBar()); }
|
public boolean useCustomNavBar() { return getLocalBoolean("cms.useCustomNavBar", false); }
|
Configuration extends AbstractConfiguration { public boolean useCustomNavBar() { return getLocalBoolean("cms.useCustomNavBar", false); } }
|
Configuration extends AbstractConfiguration { public boolean useCustomNavBar() { return getLocalBoolean("cms.useCustomNavBar", false); } Configuration(String configFilePath); }
|
Configuration extends AbstractConfiguration { public boolean useCustomNavBar() { return getLocalBoolean("cms.useCustomNavBar", 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 useCustomNavBar() { return getLocalBoolean("cms.useCustomNavBar", 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 getCmsMediaFolder_shouldReturnCorrectValue() throws Exception { Assert.assertEquals("cmsMediaFolder_value", DataManager.getInstance().getConfiguration().getCmsMediaFolder()); }
|
public String getCmsMediaFolder() { return getLocalString("cms.mediaFolder", "cms_media"); }
|
Configuration extends AbstractConfiguration { public String getCmsMediaFolder() { return getLocalString("cms.mediaFolder", "cms_media"); } }
|
Configuration extends AbstractConfiguration { public String getCmsMediaFolder() { return getLocalString("cms.mediaFolder", "cms_media"); } Configuration(String configFilePath); }
|
Configuration extends AbstractConfiguration { public String getCmsMediaFolder() { return getLocalString("cms.mediaFolder", "cms_media"); } 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 getCmsMediaFolder() { return getLocalString("cms.mediaFolder", "cms_media"); } 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 getCmsTemplateFolder_shouldReturnCorrectValue() throws Exception { Assert.assertEquals("cmsTemplateFolder_value", DataManager.getInstance().getConfiguration().getCmsTemplateFolder()); }
|
public String getCmsTemplateFolder() { return getLocalString("cms.templateFolder", "resources/cms/templates/"); }
|
Configuration extends AbstractConfiguration { public String getCmsTemplateFolder() { return getLocalString("cms.templateFolder", "resources/cms/templates/"); } }
|
Configuration extends AbstractConfiguration { public String getCmsTemplateFolder() { return getLocalString("cms.templateFolder", "resources/cms/templates/"); } Configuration(String configFilePath); }
|
Configuration extends AbstractConfiguration { public String getCmsTemplateFolder() { return getLocalString("cms.templateFolder", "resources/cms/templates/"); } 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 getCmsTemplateFolder() { return getLocalString("cms.templateFolder", "resources/cms/templates/"); } 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 getCmsClassifications_shouldReturnAllConfiguredElements() throws Exception { Assert.assertEquals(4, DataManager.getInstance().getConfiguration().getCmsClassifications().size()); Assert.assertEquals("classification1", DataManager.getInstance().getConfiguration().getCmsClassifications().get(0)); Assert.assertEquals("classification2", DataManager.getInstance().getConfiguration().getCmsClassifications().get(1)); Assert.assertEquals("classification3", DataManager.getInstance().getConfiguration().getCmsClassifications().get(2)); Assert.assertEquals("classification4", DataManager.getInstance().getConfiguration().getCmsClassifications().get(3)); }
|
public List<String> getCmsClassifications() { return getLocalList("cms.classifications.classification"); }
|
Configuration extends AbstractConfiguration { public List<String> getCmsClassifications() { return getLocalList("cms.classifications.classification"); } }
|
Configuration extends AbstractConfiguration { public List<String> getCmsClassifications() { return getLocalList("cms.classifications.classification"); } Configuration(String configFilePath); }
|
Configuration extends AbstractConfiguration { public List<String> getCmsClassifications() { return getLocalList("cms.classifications.classification"); } 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> getCmsClassifications() { return getLocalList("cms.classifications.classification"); } 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 equals_shouldReturnTrueIfPiAndSessionIdSame() throws Exception { RecordLock lock = new RecordLock("PPN123", "sid123"); Assert.assertTrue(lock.equals(new RecordLock("PPN123", "sid123"))); }
|
@Override public boolean equals(Object obj) { if (this == obj) return true; if (obj == null) return false; if (getClass() != obj.getClass()) return false; RecordLock other = (RecordLock) obj; if (pi == null) { if (other.pi != null) return false; } else if (!pi.equals(other.pi)) return false; if (sessionId == null) { if (other.sessionId != null) return false; } else if (!sessionId.equals(other.sessionId)) return false; return true; }
|
RecordLock { @Override public boolean equals(Object obj) { if (this == obj) return true; if (obj == null) return false; if (getClass() != obj.getClass()) return false; RecordLock other = (RecordLock) obj; if (pi == null) { if (other.pi != null) return false; } else if (!pi.equals(other.pi)) return false; if (sessionId == null) { if (other.sessionId != null) return false; } else if (!sessionId.equals(other.sessionId)) return false; return true; } }
|
RecordLock { @Override public boolean equals(Object obj) { if (this == obj) return true; if (obj == null) return false; if (getClass() != obj.getClass()) return false; RecordLock other = (RecordLock) obj; if (pi == null) { if (other.pi != null) return false; } else if (!pi.equals(other.pi)) return false; if (sessionId == null) { if (other.sessionId != null) return false; } else if (!sessionId.equals(other.sessionId)) return false; return true; } RecordLock(String pi, String sessionId); }
|
RecordLock { @Override public boolean equals(Object obj) { if (this == obj) return true; if (obj == null) return false; if (getClass() != obj.getClass()) return false; RecordLock other = (RecordLock) obj; if (pi == null) { if (other.pi != null) return false; } else if (!pi.equals(other.pi)) return false; if (sessionId == null) { if (other.sessionId != null) return false; } else if (!sessionId.equals(other.sessionId)) return false; return true; } RecordLock(String pi, String sessionId); @Override int hashCode(); @Override boolean equals(Object obj); String getPi(); String getSessionId(); long getTimeCreated(); @Override String toString(); }
|
RecordLock { @Override public boolean equals(Object obj) { if (this == obj) return true; if (obj == null) return false; if (getClass() != obj.getClass()) return false; RecordLock other = (RecordLock) obj; if (pi == null) { if (other.pi != null) return false; } else if (!pi.equals(other.pi)) return false; if (sessionId == null) { if (other.sessionId != null) return false; } else if (!sessionId.equals(other.sessionId)) return false; return true; } RecordLock(String pi, String sessionId); @Override int hashCode(); @Override boolean equals(Object obj); String getPi(); String getSessionId(); long getTimeCreated(); @Override String toString(); }
|
@Test public void getCmsMediaDisplayWidthTest() { Assert.assertEquals(600, DataManager.getInstance().getConfiguration().getCmsMediaDisplayWidth()); }
|
public int getCmsMediaDisplayWidth() { return getLocalInt("cms.mediaDisplayWidth", 0); }
|
Configuration extends AbstractConfiguration { public int getCmsMediaDisplayWidth() { return getLocalInt("cms.mediaDisplayWidth", 0); } }
|
Configuration extends AbstractConfiguration { public int getCmsMediaDisplayWidth() { return getLocalInt("cms.mediaDisplayWidth", 0); } Configuration(String configFilePath); }
|
Configuration extends AbstractConfiguration { public int getCmsMediaDisplayWidth() { return getLocalInt("cms.mediaDisplayWidth", 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 getCmsMediaDisplayWidth() { return getLocalInt("cms.mediaDisplayWidth", 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 getCmsMediaDisplaHeightTest() { Assert.assertEquals(800, DataManager.getInstance().getConfiguration().getCmsMediaDisplayHeight()); }
|
public int getCmsMediaDisplayHeight() { return getLocalInt("cms.mediaDisplayHeight", 0); }
|
Configuration extends AbstractConfiguration { public int getCmsMediaDisplayHeight() { return getLocalInt("cms.mediaDisplayHeight", 0); } }
|
Configuration extends AbstractConfiguration { public int getCmsMediaDisplayHeight() { return getLocalInt("cms.mediaDisplayHeight", 0); } Configuration(String configFilePath); }
|
Configuration extends AbstractConfiguration { public int getCmsMediaDisplayHeight() { return getLocalInt("cms.mediaDisplayHeight", 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 getCmsMediaDisplayHeight() { return getLocalInt("cms.mediaDisplayHeight", 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 isSearchSavingEnabled_shouldReturnCorrectValue() throws Exception { Assert.assertFalse(DataManager.getInstance().getConfiguration().isSearchSavingEnabled()); }
|
public boolean isSearchSavingEnabled() { return getLocalBoolean("search.searchSavingEnabled", true); }
|
Configuration extends AbstractConfiguration { public boolean isSearchSavingEnabled() { return getLocalBoolean("search.searchSavingEnabled", true); } }
|
Configuration extends AbstractConfiguration { public boolean isSearchSavingEnabled() { return getLocalBoolean("search.searchSavingEnabled", true); } Configuration(String configFilePath); }
|
Configuration extends AbstractConfiguration { public boolean isSearchSavingEnabled() { return getLocalBoolean("search.searchSavingEnabled", 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 isSearchSavingEnabled() { return getLocalBoolean("search.searchSavingEnabled", 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 getImageViewZoomScalesTest() throws ViewerConfigurationException { List<String> scales = DataManager.getInstance().getConfiguration().getImageViewZoomScales(); Assert.assertEquals("600", scales.get(0)); Assert.assertEquals("1000", scales.get(1)); Assert.assertEquals("1500", scales.get(2)); Assert.assertEquals("3000", scales.get(3)); }
|
public List<String> getImageViewZoomScales() throws ViewerConfigurationException { return getImageViewZoomScales(PageType.viewImage, null); }
|
Configuration extends AbstractConfiguration { public List<String> getImageViewZoomScales() throws ViewerConfigurationException { return getImageViewZoomScales(PageType.viewImage, null); } }
|
Configuration extends AbstractConfiguration { public List<String> getImageViewZoomScales() throws ViewerConfigurationException { return getImageViewZoomScales(PageType.viewImage, null); } Configuration(String configFilePath); }
|
Configuration extends AbstractConfiguration { public List<String> getImageViewZoomScales() throws ViewerConfigurationException { return getImageViewZoomScales(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 List<String> getImageViewZoomScales() throws ViewerConfigurationException { return getImageViewZoomScales(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 getFullscreenViewZoomScalesTest() throws ViewerConfigurationException { List<String> scales = DataManager.getInstance().getConfiguration().getImageViewZoomScales(PageType.viewFullscreen, null); Assert.assertEquals("1000", scales.get(0)); Assert.assertEquals("2000", scales.get(1)); Assert.assertEquals("3000", scales.get(2)); }
|
public List<String> getImageViewZoomScales() throws ViewerConfigurationException { return getImageViewZoomScales(PageType.viewImage, null); }
|
Configuration extends AbstractConfiguration { public List<String> getImageViewZoomScales() throws ViewerConfigurationException { return getImageViewZoomScales(PageType.viewImage, null); } }
|
Configuration extends AbstractConfiguration { public List<String> getImageViewZoomScales() throws ViewerConfigurationException { return getImageViewZoomScales(PageType.viewImage, null); } Configuration(String configFilePath); }
|
Configuration extends AbstractConfiguration { public List<String> getImageViewZoomScales() throws ViewerConfigurationException { return getImageViewZoomScales(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 List<String> getImageViewZoomScales() throws ViewerConfigurationException { return getImageViewZoomScales(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 getImageViewTileSizesTest() throws ViewerConfigurationException { Map<Integer, List<Integer>> tiles = DataManager.getInstance().getConfiguration().getTileSizes(); Assert.assertEquals(512, tiles.keySet().iterator().next(), 0); Assert.assertEquals(1, tiles.get(512).get(0), 0); Assert.assertEquals(2, tiles.get(512).get(1), 0); Assert.assertEquals(3, tiles.get(512).get(2), 0); }
|
public Map<Integer, List<Integer>> getTileSizes() throws ViewerConfigurationException { return getTileSizes(PageType.viewImage, null); }
|
Configuration extends AbstractConfiguration { public Map<Integer, List<Integer>> getTileSizes() throws ViewerConfigurationException { return getTileSizes(PageType.viewImage, null); } }
|
Configuration extends AbstractConfiguration { public Map<Integer, List<Integer>> getTileSizes() throws ViewerConfigurationException { return getTileSizes(PageType.viewImage, null); } Configuration(String configFilePath); }
|
Configuration extends AbstractConfiguration { public Map<Integer, List<Integer>> getTileSizes() throws ViewerConfigurationException { return getTileSizes(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 Map<Integer, List<Integer>> getTileSizes() throws ViewerConfigurationException { return getTileSizes(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 getFullscreenTileSizesTest() throws ViewerConfigurationException { Map<Integer, List<Integer>> tiles = DataManager.getInstance().getConfiguration().getTileSizes(PageType.viewFullscreen, null); Assert.assertEquals(1024, tiles.keySet().iterator().next(), 0); Assert.assertEquals(2, tiles.get(1024).get(0), 0); Assert.assertEquals(4, tiles.get(1024).get(1), 0); Assert.assertEquals(8, tiles.get(1024).get(2), 0); }
|
public Map<Integer, List<Integer>> getTileSizes() throws ViewerConfigurationException { return getTileSizes(PageType.viewImage, null); }
|
Configuration extends AbstractConfiguration { public Map<Integer, List<Integer>> getTileSizes() throws ViewerConfigurationException { return getTileSizes(PageType.viewImage, null); } }
|
Configuration extends AbstractConfiguration { public Map<Integer, List<Integer>> getTileSizes() throws ViewerConfigurationException { return getTileSizes(PageType.viewImage, null); } Configuration(String configFilePath); }
|
Configuration extends AbstractConfiguration { public Map<Integer, List<Integer>> getTileSizes() throws ViewerConfigurationException { return getTileSizes(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 Map<Integer, List<Integer>> getTileSizes() throws ViewerConfigurationException { return getTileSizes(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 getFooterHeightTest() throws ViewerConfigurationException { Assert.assertEquals(50, DataManager.getInstance().getConfiguration().getFooterHeight()); }
|
public int getFooterHeight() throws ViewerConfigurationException { return getFooterHeight(PageType.viewImage, null); }
|
Configuration extends AbstractConfiguration { public int getFooterHeight() throws ViewerConfigurationException { return getFooterHeight(PageType.viewImage, null); } }
|
Configuration extends AbstractConfiguration { public int getFooterHeight() throws ViewerConfigurationException { return getFooterHeight(PageType.viewImage, null); } Configuration(String configFilePath); }
|
Configuration extends AbstractConfiguration { public int getFooterHeight() throws ViewerConfigurationException { return getFooterHeight(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 int getFooterHeight() throws ViewerConfigurationException { return getFooterHeight(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 getCrowdsourcingFooterHeightTest() throws ViewerConfigurationException { Assert.assertEquals(0, DataManager.getInstance().getConfiguration().getFooterHeight(PageType.editContent, null)); }
|
public int getFooterHeight() throws ViewerConfigurationException { return getFooterHeight(PageType.viewImage, null); }
|
Configuration extends AbstractConfiguration { public int getFooterHeight() throws ViewerConfigurationException { return getFooterHeight(PageType.viewImage, null); } }
|
Configuration extends AbstractConfiguration { public int getFooterHeight() throws ViewerConfigurationException { return getFooterHeight(PageType.viewImage, null); } Configuration(String configFilePath); }
|
Configuration extends AbstractConfiguration { public int getFooterHeight() throws ViewerConfigurationException { return getFooterHeight(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 int getFooterHeight() throws ViewerConfigurationException { return getFooterHeight(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(); }
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.