org.mycore.services.migration
Class MCRMigrationCommands
java.lang.Object
org.mycore.frontend.cli.MCRAbstractCommands
org.mycore.services.migration.MCRMigrationCommands
- All Implemented Interfaces:
- MCRExternalCommandInterface
public class MCRMigrationCommands
- extends MCRAbstractCommands
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MCRMigrationCommands
public MCRMigrationCommands()
migrateClassifications
public static List<String> migrateClassifications()
throws JDOMException
- Throws:
JDOMException
migrateClassifications
public static void migrateClassifications(int step)
throws JDOMException,
URISyntaxException
- Throws:
JDOMException
URISyntaxException
migrateUser
public static List<String> migrateUser()
migrateUser
public static List<String> migrateUser(int step)
throws Exception
- Throws:
Exception
migrateAccess
public static List<String> migrateAccess()
migrateAccess
public static List<String> migrateAccess(int step)
throws Exception
- Throws:
Exception
migrateMCRXMLTable
public static List<String> migrateMCRXMLTable()
migrateMCRXMLTable
public static void migrateMCRXMLTable(String objectID)
throws Exception
- Migrates the MCRXMLTABLE to the version with last modified attribute.
- Parameters:
objectID - the objectID to be migrated
- Throws:
Exception