DLESE Tools
v1.6.0

org.dlese.dpc.schemedit.ndr.writer
Class MetadataProviderWriter

java.lang.Object
  extended by org.dlese.dpc.schemedit.ndr.writer.MetadataProviderWriter

public class MetadataProviderWriter
extends Object

The MetadataProviderWriter syncs collection-level information between the NCS and the NDR. It updates (and creates, if necessary) both an aggregator and a metadataProvider object in the NDR, and then records the handles for these NDR objects in the collection-configuration record in the NCS.

The MetadataProvider object will have the following data streams:

And the following properties:

Author:
Jonathan Ostwald

Constructor Summary
MetadataProviderWriter(ServletContext servletContext)
          Constructor for the MetadataProviderWriter object
 
Method Summary
 SyncReport write(String collectionRecordId, CollectionConfig collectionConfig, DcsDataRecord collDcsDataRecord)
          Constructor for the MetadataProviderWriter object
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MetadataProviderWriter

public MetadataProviderWriter(ServletContext servletContext)
                       throws Exception
Constructor for the MetadataProviderWriter object

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

write

public SyncReport write(String collectionRecordId,
                        CollectionConfig collectionConfig,
                        DcsDataRecord collDcsDataRecord)
                 throws Exception
Constructor for the MetadataProviderWriter object

Parameters:
collectionRecordId - NOT YET DOCUMENTED
collectionConfig - NOT YET DOCUMENTED
collDcsDataRecord - NOT YET DOCUMENTED
Returns:
NOT YET DOCUMENTED
Throws:
Exception - NOT YET DOCUMENTED

DLESE Tools
v1.6.0