org.apache.maven.continuum.management.redback
Class LegacyJdoDataManagementTool

Package class diagram package LegacyJdoDataManagementTool
java.lang.Object
  extended by 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 $

Constructor Summary
LegacyJdoDataManagementTool()
           
 
Method Summary
 void backupDatabase(File backupDirectory)
           
 void backupKeyDatabase(File backupDirectory)
           
 void backupRBACDatabase(File backupDirectory)
           
 void backupUserDatabase(File backupDirectory)
           
 void eraseDatabase()
           
 void eraseKeysDatabase()
           
 void eraseRBACDatabase()
           
 void eraseUsersDatabase()
           
 void restoreDatabase(File backupDirectory, boolean strict)
           
 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

LegacyJdoDataManagementTool

public LegacyJdoDataManagementTool()
Method Detail

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.