|
DLESE Tools v1.6.0 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.dlese.dpc.schemedit.repository.ServletContextRepositoryWriterPlugin org.dlese.dpc.schemedit.ndr.writer.NdrRepositoryWriterPlugin
public class NdrRepositoryWriterPlugin
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...
Constructor Summary | |
---|---|
NdrRepositoryWriterPlugin()
Constructor for the NdrRepositoryWriterPlugin object |
Method Summary | |
---|---|
void |
deleteRecord(String recId,
DcsDataRecord dcsDataRecord)
NOT YET DOCUMENTED |
void |
putCollectionData(String id,
CollectionConfig collectionConfig,
DcsDataRecord dcsDataRecord)
NOT YET CALLED |
void |
putRecord(String recId,
String recordXml,
String xmlFormat,
DcsDataRecord dcsDataRecord)
Writes a metadata record to the NDR, with special handling for records of ncs_collect format. |
Methods inherited from class org.dlese.dpc.schemedit.repository.ServletContextRepositoryWriterPlugin |
---|
getServletContext, setServletContext |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public NdrRepositoryWriterPlugin()
Method Detail |
---|
public void putRecord(String recId, String recordXml, String xmlFormat, DcsDataRecord dcsDataRecord) throws NdrRepositoryWriterPluginException
Note: this method is called by RepositoryWriter AFTER the record has been indexed, so the "recordXml" provided here should be equal to the xml stored in the reader object for "recId"??
recId
- metadata record IddcsDataRecord
- dcsData for the record to be
writtenrecordXml
- metadata as an xml StringxmlFormat
- format of metadata record
NdrRepositoryWriterPluginException
- NOT YET DOCUMENTEDpublic void putCollectionData(String id, CollectionConfig collectionConfig, DcsDataRecord dcsDataRecord) throws NdrRepositoryWriterPluginException
id
- NOT YET DOCUMENTEDcollectionConfig
- NOT YET DOCUMENTEDdcsDataRecord
- NOT YET DOCUMENTED
NdrRepositoryWriterPluginException
- NOT YET DOCUMENTEDpublic void deleteRecord(String recId, DcsDataRecord dcsDataRecord) throws NdrRepositoryWriterPluginException
recId
- NOT YET DOCUMENTEDdcsDataRecord
- NOT YET DOCUMENTED
NdrRepositoryWriterPluginException
- NOT YET DOCUMENTED
|
DLESE Tools v1.6.0 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |