Interface DatabaseImporter

All Known Implementing Classes:
ApplicationMapper, DirectoryMapper, GroupMapper, PropertyMapper, RoleMapper, SALPropertyMapper, UserMapper

public interface DatabaseImporter
A mapper that will handle migrating the data from a legacy Crowd (pre 2.0) database to the Crowd 2.0+ database schema.
  • Method Details

    • importFromDatabase

      void importFromDatabase(LegacyImportDataHolder importData) throws ImportException
      Migrates data from legacy Crowd database (pre 2.0) to current database (Crowd 2.0+) schema.
      Parameters:
      importData - stores significant import results
      Throws:
      ImportException
    • setLegacyTableQueries

      void setLegacyTableQueries(LegacyTableQueries legacyTableQueries)
      The set of SQL queries that is compatible with the database in use (eg. postgres, mysql).
      Parameters:
      legacyTableQueries - SQL queries for the database in use