Class NDRSync

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

public class NDRSync extends Object
NOW Obsolete??
Author:
Jonathan Ostwald
  • Constructor Details

    • 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 Details

    • 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