org.apache.maven.continuum.management.redback
Class LegacyJdoDataManagementTool
java.lang.Object
org.apache.maven.continuum.management.redback.LegacyJdoDataManagementTool
- All Implemented Interfaces:
- org.apache.maven.continuum.management.DataManagementTool
public class LegacyJdoDataManagementTool
- extends Object
- implements org.apache.maven.continuum.management.DataManagementTool
JDO implementation the database management tool API.
- Version:
- $Id: LegacyJdoDataManagementTool.java 785095 2009-06-16 07:20:12Z ctan $
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LegacyJdoDataManagementTool
public LegacyJdoDataManagementTool()
backupDatabase
public void backupDatabase(File backupDirectory)
throws IOException
- Specified by:
backupDatabase
in interface org.apache.maven.continuum.management.DataManagementTool
- Throws:
IOException
restoreDatabase
public void restoreDatabase(File backupDirectory,
boolean strict)
throws IOException,
org.apache.maven.continuum.management.DataManagementException
- Specified by:
restoreDatabase
in interface org.apache.maven.continuum.management.DataManagementTool
- Throws:
IOException
org.apache.maven.continuum.management.DataManagementException
eraseDatabase
public void eraseDatabase()
- Specified by:
eraseDatabase
in interface org.apache.maven.continuum.management.DataManagementTool
backupRBACDatabase
public void backupRBACDatabase(File backupDirectory)
throws org.codehaus.plexus.security.rbac.RbacManagerException,
IOException,
javax.xml.stream.XMLStreamException
- Throws:
org.codehaus.plexus.security.rbac.RbacManagerException
IOException
javax.xml.stream.XMLStreamException
backupUserDatabase
public void backupUserDatabase(File backupDirectory)
throws IOException,
javax.xml.stream.XMLStreamException
- Throws:
IOException
javax.xml.stream.XMLStreamException
backupKeyDatabase
public void backupKeyDatabase(File backupDirectory)
throws IOException,
javax.xml.stream.XMLStreamException
- Throws:
IOException
javax.xml.stream.XMLStreamException
restoreRBACDatabase
public void restoreRBACDatabase(File backupDirectory)
throws IOException,
javax.xml.stream.XMLStreamException,
org.codehaus.plexus.security.rbac.RbacManagerException,
org.codehaus.plexus.jdo.PlexusStoreException
- Throws:
IOException
javax.xml.stream.XMLStreamException
org.codehaus.plexus.security.rbac.RbacManagerException
org.codehaus.plexus.jdo.PlexusStoreException
restoreUsersDatabase
public void restoreUsersDatabase(File backupDirectory)
throws IOException,
javax.xml.stream.XMLStreamException
- Throws:
IOException
javax.xml.stream.XMLStreamException
restoreKeysDatabase
public void restoreKeysDatabase(File backupDirectory)
throws IOException,
javax.xml.stream.XMLStreamException
- Throws:
IOException
javax.xml.stream.XMLStreamException
eraseRBACDatabase
public void eraseRBACDatabase()
eraseUsersDatabase
public void eraseUsersDatabase()
eraseKeysDatabase
public void eraseKeysDatabase()
Copyright © 2003-2011 The Apache Software Foundation. All Rights Reserved.