Package io.goobi.viewer.dao.update
Class DatabaseUpdater
java.lang.Object
io.goobi.viewer.dao.update.DatabaseUpdater
Management tool to updated deprecated viewer database setups to the one required by the viewer. to be run at viewer start, right after initializing
the dao Appplies a fixed list of
IModelUpdates
to the IDAO
which are responsible to make the
required changes- Author:
- florian
-
Constructor Summary
ConstructorDescriptionDatabaseUpdater
(IDAO dao, CMSTemplateManager templateManager) Constructor for DatabaseUpdater. -
Method Summary
-
Constructor Details
-
DatabaseUpdater
Constructor for DatabaseUpdater.
- Parameters:
dao
- aIDAO
object.templateManager
-
-
-
Method Details
-
update
public void update()update.
-