DLESE Tools
v1.6.0

org.dlese.dpc.schemedit.ndr
Class NDRSync

java.lang.Object
  extended by org.dlese.dpc.schemedit.ndr.NDRSync

public class NDRSync
extends Object

NOW Obsolete??

Author:
Jonathan Ostwald

Constructor Summary
NDRSync(String collectionKey, String sessionUserName, ServletContext servletContext)
          Constructor for the NDRSync object
 
Method Summary
 SyncReport sync()
          Sync a collection with the NDR by first updating collection-level (metadataProvider, aggregator) information in the NDR and then updating outOfSync metadata with the NDR.
 void syncItems()
           
 SyncReport writeCollectionInfo(DcsSetInfo setInfo)
          Write collection-level info (metadataProvider and Aggregator) for the specified collection (set) to the NDR.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NDRSync

public NDRSync(String collectionKey,
               String sessionUserName,
               ServletContext servletContext)
        throws Exception
Constructor for the NDRSync object

Parameters:
collectionKey - NOT YET DOCUMENTED
sessionUserName - NOT YET DOCUMENTED
servletContext - NOT YET DOCUMENTED
Throws:
Exception - NOT YET DOCUMENTED
Method Detail

writeCollectionInfo

public SyncReport writeCollectionInfo(DcsSetInfo setInfo)
                               throws Exception
Write collection-level info (metadataProvider and Aggregator) for the specified collection (set) to the NDR.

Parameters:
setInfo - Data structure holding collection information
Returns:
NOT YET DOCUMENTED
Throws:
Exception - NOT YET DOCUMENTED

sync

public SyncReport sync()
                throws Exception
Sync a collection with the NDR by first updating collection-level (metadataProvider, aggregator) information in the NDR and then updating outOfSync metadata with the NDR.

Returns:
NOT YET DOCUMENTED
Throws:
Exception - NOT YET DOCUMENTED

syncItems

public void syncItems()
               throws Exception
Throws:
Exception

DLESE Tools
v1.6.0