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 Summary
Modifier and TypeMethodDescriptionvoid
importFromDatabase
(LegacyImportDataHolder importData) Migrates data from legacy Crowd database (pre 2.0) to current database (Crowd 2.0+) schema.void
setLegacyTableQueries
(LegacyTableQueries legacyTableQueries) The set of SQL queries that is compatible with the database in use (eg.
-
Method Details
-
importFromDatabase
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
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
-