Class MetadataProviderWriter
java.lang.Object
org.dlese.dpc.schemedit.ndr.writer.MetadataProviderWriter
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:
- dcs_data - holding the contents of the collection's DcsDataRecord
- collection_config - holding the collections' configuration record
- dlese_collect - holding the contents of the collection record
- dlese:nativeFormat - the format of the item level records for this collection
- dlese:collectionName
- dlese:collectionId - the collection key
- Author:
- Jonathan Ostwald
-
Constructor Summary
ConstructorsConstructorDescriptionMetadataProviderWriter(ServletContext servletContext) Constructor for the MetadataProviderWriter object -
Method Summary
Modifier and TypeMethodDescriptionwrite(String collectionRecordId, CollectionConfig collectionConfig, DcsDataRecord collDcsDataRecord) Constructor for the MetadataProviderWriter object
-
Constructor Details
-
MetadataProviderWriter
Constructor for the MetadataProviderWriter object- Parameters:
servletContext- NOT YET DOCUMENTED- Throws:
Exception- NOT YET DOCUMENTED
-
-
Method Details
-
write
public SyncReport write(String collectionRecordId, CollectionConfig collectionConfig, DcsDataRecord collDcsDataRecord) throws Exception Constructor for the MetadataProviderWriter object- Parameters:
collectionRecordId- NOT YET DOCUMENTEDcollectionConfig- NOT YET DOCUMENTEDcollDcsDataRecord- NOT YET DOCUMENTED- Returns:
- NOT YET DOCUMENTED
- Throws:
Exception- NOT YET DOCUMENTED
-