|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.maven.continuum.management.redback.LegacyJdoDataManagementTool
public class LegacyJdoDataManagementTool
JDO implementation the database management tool API.
Constructor Summary | |
---|---|
LegacyJdoDataManagementTool()
|
Method Summary | |
---|---|
void |
backupDatabase(File backupDirectory)
Backup the database. |
void |
backupKeyDatabase(File backupDirectory)
|
void |
backupRBACDatabase(File backupDirectory)
|
void |
backupUserDatabase(File backupDirectory)
|
void |
eraseDatabase()
Smoke the database. |
void |
eraseKeysDatabase()
|
void |
eraseRBACDatabase()
|
void |
eraseUsersDatabase()
|
void |
restoreDatabase(File backupDirectory,
boolean strict)
Restore the database. |
void |
restoreKeysDatabase(File backupDirectory)
|
void |
restoreRBACDatabase(File backupDirectory)
|
void |
restoreUsersDatabase(File backupDirectory)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public LegacyJdoDataManagementTool()
Method Detail |
---|
public void backupDatabase(File backupDirectory) throws IOException
DataManagementTool
backupDatabase
in interface DataManagementTool
backupDirectory
- the directory to backup to
IOException
- if there is a problem writing to the backup filepublic void restoreDatabase(File backupDirectory, boolean strict) throws IOException, DataManagementException
DataManagementTool
restoreDatabase
in interface DataManagementTool
backupDirectory
- the directory where the backup to restore from resides
IOException
- if there is a problem reading the backup file
DataManagementException
- if there is a problem parsing the backup filepublic void eraseDatabase()
DataManagementTool
eraseDatabase
in interface DataManagementTool
public void backupRBACDatabase(File backupDirectory) throws org.codehaus.plexus.security.rbac.RbacManagerException, IOException, javax.xml.stream.XMLStreamException
org.codehaus.plexus.security.rbac.RbacManagerException
IOException
javax.xml.stream.XMLStreamException
public void backupUserDatabase(File backupDirectory) throws IOException, javax.xml.stream.XMLStreamException
IOException
javax.xml.stream.XMLStreamException
public void backupKeyDatabase(File backupDirectory) throws IOException, javax.xml.stream.XMLStreamException
IOException
javax.xml.stream.XMLStreamException
public void restoreRBACDatabase(File backupDirectory) throws IOException, javax.xml.stream.XMLStreamException, org.codehaus.plexus.security.rbac.RbacManagerException, org.codehaus.plexus.jdo.PlexusStoreException
IOException
javax.xml.stream.XMLStreamException
org.codehaus.plexus.security.rbac.RbacManagerException
org.codehaus.plexus.jdo.PlexusStoreException
public void restoreUsersDatabase(File backupDirectory) throws IOException, javax.xml.stream.XMLStreamException
IOException
javax.xml.stream.XMLStreamException
public void restoreKeysDatabase(File backupDirectory) throws IOException, javax.xml.stream.XMLStreamException
IOException
javax.xml.stream.XMLStreamException
public void eraseRBACDatabase()
public void eraseUsersDatabase()
public void eraseKeysDatabase()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |