Package io.goobi.viewer.dao.update


package io.goobi.viewer.dao.update
Database migration and update classes that apply structural and data-level changes to the Goobi viewer database schema during application upgrades, coordinated by the central DatabaseUpdater.
  • Class
    Description
     
    Database migration step that removes the obsolete main_title column from the bookshelf_items table.
    Converts all Tags and Classifications from previous viewer-cms versions to the CMSCategory system.
    Helper class used during the CMS page migration that converts raw legacy database rows into typed CMSContent objects.
    Converts cms_media_items.link_url from the LONGBLOB datatype (URI in java) to TEXT (String in java).
    Converts cms_media_items.link_url from the LONGBLOB datatype (URI in java) to TEXT (String in java).
    Database migration step that converts CMS pages from the legacy content-item/language-version schema to the current component-based schema, including template creation and table cleanup.
    Extends cms_record_notes table by row 'note_type' which discriminates between the implementing classes.
    Database migration step that ensures the static "all comments" CommentGroup exists in the database, creating it if it is missing.
    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
    Database migration step that converts the legacy flat GeoMap structure into the feature-set model and migrates the aggregate_results column to the search_scope field.
    Interface for classes which manipulate the database to conform to the setup required by the viewer.
    Database migration step that removes the obsolete crowdsourcing-campaigns license type and drops the deprecated conditions column from the license_types table.
    Database migration step that migrates existing licenses to the new LicenseRightsHolder model and removes obsolete columns from the licenses table.
     
    Database migration step that performs miscellaneous housekeeping tasks, such as dropping obsolete tables that are no longer used by the application.
    Database migration step that renames the legacy TEMPLATEID column in cms_pages to page_template_id and clears stale template ownership references on CMS components.
    Database migration step that renames the legacy roles table to user_roles, handling the case where EclipseLink may have already created the new table.
    Migrates migrates data from the deprcated table cms_sidebar_elements to the new table cms_page_sidebar_elements, which backs CMSSidebarElement.
    Database migration step that renames the subtheme_discriminator column to subtheme in both cms_pages and cms_page_templates, migrating data where both columns coexist.
    Database migration step that renames the legacy value column to translation_value in all translation tables that still use the old column name.