Package io.goobi.viewer.controller
Class DataManager
java.lang.Object
io.goobi.viewer.controller.DataManager
DataManager class.
-
Method Summary
Modifier and TypeMethodDescriptionGetter for the fieldauthResponseListener.Getter for the fieldbookmarkManager.Getter for the fieldconfiguration.getDao()Getter for the fielddao.intstatic DataManagerGetter for the fieldinstance.Getter for the fieldlanguageHelper.getModule.Getter for the fieldmodules.Getter for the fieldrecordCampaignMap.Getter for the fieldsearchIndex.intgetSessionCount.Getter for the fieldsessionMap.Deprecated.apparently shut down but never usedde.intranda.monitoring.timer.TimeAnalysisgetUrlBuilder.voidinjectAuthResponseListener.voidinjectBookmarkManager(SessionStoreBookmarkManager bookmarkManager) injectBookmarkManager.voidinjectConfiguration(Configuration configuration) Sets custom Configuration object (used for unit testing).voidSets custom IDAO object (used for unit testing).voidinjectSearchIndex(SolrSearchIndex searchIndex) Sets custom SolrSearchIndex object (used for unit testing).booleanisModuleLoaded(String id) isModuleLoaded.booleanregisterModule(IModule module) registerModule.voidvoidsetClientManager(ClientApplicationManager manager) voidsetConnectorVersion(String connectorVersion) voidsetHotfolderFileCount(int hotfolderFileCount) voidsetIndexerVersion(String indexerVersion) voidsetRecordCampaignMap(Map<String, List<Campaign>> recordCampaignMap) Setter for the fieldrecordCampaignMap.voidsetRestApiManager(RestApiManager restApiManager) voidsetUsageStatisticsRecorder(UsageStatisticsRecorder usageStatisticsRecorder)
-
Method Details
-
getInstance
Getter for the field
instance.- Returns:
- a
DataManagerobject.
-
getModules
Getter for the field
modules.- Returns:
- the modules
-
getUrlBuilder
getUrlBuilder.
- Returns:
- the urlBuilder
-
getModule
getModule.
- Parameters:
id- aStringobject.- Returns:
- a
IModuleobject. - Throws:
ModuleMissingException- if any.
-
isModuleLoaded
isModuleLoaded.
- Parameters:
id- aStringobject.- Returns:
- a boolean.
-
registerModule
registerModule.
- Parameters:
module- aIModuleobject.- Returns:
- a boolean.
-
getSessionCount
public int getSessionCount()getSessionCount.
- Returns:
- a int.
-
getSessionMap
Getter for the field
sessionMap.- Returns:
- the sessionMap
-
getConfiguration
Getter for the field
configuration.- Returns:
- the configuration
-
getLanguageHelper
Getter for the field
languageHelper.- Returns:
- the languageHelper
-
getSearchIndex
Getter for the field
searchIndex.- Returns:
- the searchIndex
-
getDao
Getter for the field
dao.- Returns:
- the dao
- Throws:
DAOException- if any.
-
injectConfiguration
Sets custom Configuration object (used for unit testing).- Parameters:
configuration- aConfigurationobject.
-
injectSearchIndex
Sets custom SolrSearchIndex object (used for unit testing).- Parameters:
searchIndex- aSolrSearchIndexobject.
-
injectDao
Sets custom IDAO object (used for unit testing).- Parameters:
dao- aIDAOobject.
-
getBookmarkManager
Getter for the field
bookmarkManager.- Returns:
- a
SessionStoreBookmarkManagerobject.
-
injectBookmarkManager
injectBookmarkManager.
- Parameters:
bookmarkManager- aSessionStoreBookmarkManagerobject.
-
injectAuthResponseListener
injectAuthResponseListener.
- Parameters:
listener- aAuthResponseListenerobject.
-
getAuthResponseListener
Getter for the field
authResponseListener.- Returns:
- a
AuthResponseListenerobject.
-
getRecordCampaignMap
Getter for the field
recordCampaignMap.- Returns:
- the recordCampaignMap
-
setRecordCampaignMap
Setter for the field
recordCampaignMap.- Parameters:
recordCampaignMap- the recordCampaignMap to set
-
getIndexerVersion
- Returns:
- the indexerVersion
-
setIndexerVersion
- Parameters:
indexerVersion- the indexerVersion to set
-
getConnectorVersion
- Returns:
- the connectorVersion
-
setConnectorVersion
- Parameters:
connectorVersion- the connectorVersion to set
-
getHotfolderFileCount
public int getHotfolderFileCount()- Returns:
- the hotfolderFileCount
-
setHotfolderFileCount
public void setHotfolderFileCount(int hotfolderFileCount) - Parameters:
hotfolderFileCount- the hotfolderFileCount to set
-
getRestApiManager
- Returns:
- the restApiManager
-
setRestApiManager
- Parameters:
restApiManager- the restApiManager to set
-
getRecordLockManager
- Returns:
- the recordLockManager
-
getTiming
public de.intranda.monitoring.timer.TimeAnalysis getTiming()- Returns:
- the timing
-
resetTiming
public void resetTiming() -
getFileResourceManager
-
getRestApiJobManager
- Returns:
- the restApiJobManager
-
getArchiveManager
-
getClientManager
- Throws:
DAOException
-
getSecurityManager
- Returns:
- the securityManager
-
setClientManager
-
getUsageStatisticsRecorder
- Throws:
DAOException
-
setUsageStatisticsRecorder
-
getBearerTokenManager
- Returns:
- the bearerTokenManager
-
getThreadPoolManager
Deprecated.apparently shut down but never used- Returns:
ThreadPoolManager
-