org.mycore.services.migration
Class MCRUserMigrationHelper
java.lang.Object
org.mycore.services.migration.MCRUserMigrationHelper
class MCRUserMigrationHelper
- extends Object
Update of User Management to comply with new MyCoRe 2.0
Therefore we first checkout all users and groups, drop the concerning tables
and check all users and groups back in. Before check-in the new user tables
will be automatically created by Hibernate which takes care of new primary
key and foreign key constraints.
- Author:
- Robert Stephan
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MCRUserMigrationHelper
MCRUserMigrationHelper()
getUserFile
static File getUserFile()
getGroupFile
static File getGroupFile()
dropTables
static final void dropTables()
throws SQLException
- Throws:
SQLException
deleteTempFiles
static final void deleteTempFiles()
cleanupGroupFile
static void cleanupGroupFile()
throws Exception
- Throws:
Exception
cleanupUserFile
static void cleanupUserFile()
updateAdmins
static void updateAdmins()