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 Alpers
-
Constructor Summary
ConstructorsConstructorDescriptionDatabaseUpdater(IDAO dao, CMSTemplateManager templateManager) Creates a new DatabaseUpdater instance. -
Method Summary
-
Constructor Details
-
DatabaseUpdater
Creates a new DatabaseUpdater instance.- Parameters:
dao- aIDAOobject.templateManager- CMS template manager used during update
-
-
Method Details
-
update
public void update()update.
-