Interface RepositoryWriterPlugin
- All Known Implementing Classes:
NdrRepositoryWriterPlugin,ServletContextRepositoryWriterPlugin
public interface RepositoryWriterPlugin
Methods to create, copy, and put Records to the Repository
NOTE: currently, this class implements a repositoryWriter plugin for the NDR. When we understand what the plugin INTERFACE should be, then the interface will be in this package, and the NDR implementation will be elsewhere...
- Version:
- $Id: RepositoryWriterPlugin.java,v 1.5 2007/07/30 18:06:15 ostwald Exp $
- Author:
- ostwald
$Id: RepositoryWriterPlugin.java,v 1.10 2009/03/20 23:33:57 jweather Exp $
-
Method Summary
Modifier and TypeMethodDescriptionvoiddeleteRecord(String recId, DcsDataRecord dcsDataRecord) NOT YET DOCUMENTEDvoidputCollectionData(String id, CollectionConfig collectionConfig, DcsDataRecord dcsDataRecord) NOT YET DOCUMENTEDvoidputRecord(String recId, String recordXml, String xmlFormat, DcsDataRecord dcsDataRecord) Writes a metadata record to the NDR, with pecial handling for records of ncs_collect format.
-
Method Details
-
putRecord
void putRecord(String recId, String recordXml, String xmlFormat, DcsDataRecord dcsDataRecord) throws RepositoryWriterPluginException Writes a metadata record to the NDR, with pecial handling for records of ncs_collect format. For ncs_collect records (the collection management format), we check to ensure the record is "FinalStatus" and valid, and if so we update the entire collection definition in the NDR.- Parameters:
recId- metadata record IdrecordXml- metadata as an xml StringxmlFormat- format of metadata recorddcsDataRecord- dcsData for the record to be written- Throws:
RepositoryWriterPluginException- NOT YET DOCUMENTED
-
putCollectionData
void putCollectionData(String id, CollectionConfig collectionConfig, DcsDataRecord dcsDataRecord) throws RepositoryWriterPluginException NOT YET DOCUMENTED- Parameters:
id- NOT YET DOCUMENTEDcollectionConfig- NOT YET DOCUMENTEDdcsDataRecord- NOT YET DOCUMENTED- Throws:
RepositoryWriterPluginException- NOT YET DOCUMENTED
-
deleteRecord
NOT YET DOCUMENTED- Parameters:
recId- NOT YET DOCUMENTEDdcsDataRecord- NOT YET DOCUMENTED- Throws:
RepositoryWriterPluginException- NOT YET DOCUMENTED
-