public class NDRSync
extends java.lang.Object
Constructor and Description |
---|
NDRSync(java.lang.String collectionKey,
java.lang.String sessionUserName,
javax.servlet.ServletContext servletContext)
Constructor for the NDRSync object
|
Modifier and Type | Method and Description |
---|---|
SyncReport |
sync()
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.
|
void |
syncItems() |
SyncReport |
writeCollectionInfo(DcsSetInfo setInfo)
Write collection-level info (metadataProvider and Aggregator) for the
specified collection (set) to the NDR.
|
public NDRSync(java.lang.String collectionKey, java.lang.String sessionUserName, javax.servlet.ServletContext servletContext) throws java.lang.Exception
collectionKey
- NOT YET DOCUMENTEDsessionUserName
- NOT YET DOCUMENTEDservletContext
- NOT YET DOCUMENTEDjava.lang.Exception
- NOT YET DOCUMENTEDpublic SyncReport writeCollectionInfo(DcsSetInfo setInfo) throws java.lang.Exception
setInfo
- Data structure holding collection informationjava.lang.Exception
- NOT YET DOCUMENTEDpublic SyncReport sync() throws java.lang.Exception
java.lang.Exception
- NOT YET DOCUMENTEDpublic void syncItems() throws java.lang.Exception
java.lang.Exception