fedora.server.storage.replication
Interface DOReplicator

All Known Implementing Classes:
DefaultDOReplicator

public interface DOReplicator

Title: DOReplicator.java

Description:

-----------------------------------------------------------------------------

License and Copyright: The contents of this file are subject to the Mozilla Public License Version 1.1 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.mozilla.org/MPL/.

Software distributed under the License is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for the specific language governing rights and limitations under the License.

The entire file consists of original code. Copyright © 2002-2005 by The Rector and Visitors of the University of Virginia and Cornell University. All rights reserved.

-----------------------------------------------------------------------------

Version:
$Id: DOReplicator.java,v 1.13 2005/01/11 20:06:08 cwilper Exp $
Author:
Paul Charlton, cwilper@cs.cornell.edu

Method Summary
 void delete(java.lang.String pid)
           
 void replicate(BDefReader bDefReader)
          Replicates a Fedora behavior definition object.
 void replicate(BMechReader bMechReader)
          Replicates a Fedora behavior mechanism object.
 void replicate(DOReader doReader)
          Replicates a Fedora data object.
 

Method Detail

replicate

public void replicate(BDefReader bDefReader)
               throws ReplicationException,
                      java.sql.SQLException
Replicates a Fedora behavior definition object.

Parameters:
bDefReader - behavior definition reader
Throws:
ReplicationException - replication processing error
java.sql.SQLException - JDBC, SQL error

replicate

public void replicate(BMechReader bMechReader)
               throws ReplicationException,
                      java.sql.SQLException
Replicates a Fedora behavior mechanism object.

Parameters:
bMechReader - behavior mechanism reader
Throws:
ReplicationException - replication processing error
java.sql.SQLException - JDBC, SQL error

replicate

public void replicate(DOReader doReader)
               throws ReplicationException,
                      java.sql.SQLException
Replicates a Fedora data object.

Parameters:
doReader - data object reader
Throws:
ReplicationException - replication processing error
java.sql.SQLException - JDBC, SQL error

delete

public void delete(java.lang.String pid)
            throws ReplicationException
Throws:
ReplicationException