Class DatabaseUpdater

java.lang.Object
io.goobi.viewer.dao.update.DatabaseUpdater

public class DatabaseUpdater extends Object
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 Details

    • DatabaseUpdater

      public DatabaseUpdater(IDAO dao, CMSTemplateManager templateManager)

      Constructor for DatabaseUpdater.

      Parameters:
      dao - a IDAO object.
      templateManager -
  • Method Details

    • update

      public void update()

      update.