org.kuali.ole.docstore.document
Class WorkInstanceDocumentManager
java.lang.Object
org.kuali.ole.docstore.document.AbstractDocumentManager
org.kuali.ole.docstore.document.WorkInstanceDocumentManager
- All Implemented Interfaces:
- DocumentManager
public class WorkInstanceDocumentManager
- extends AbstractDocumentManager
Implements the DocumentManager interface for [Work-Instance-*] documents.
- Version:
- %I%, %G%
Methods inherited from class org.kuali.ole.docstore.document.AbstractDocumentManager |
batchIngest, buildResponse, buildResponseDocument, buildResponseDocuments, bulkIngest, checkin, checkin, checkout, checkout, convertContentToBytes, delete, delete, delete, deleteIndex, getVersionManager, index, ingest, ingest, isVersioningEnabled, modifyAdditionalAttributes, store, store, storeLinkedDocuments, updateContentToNode, updateDocstore, updateRecord, updateVersion, validateInput, validateInput |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WorkInstanceDocumentManager
protected WorkInstanceDocumentManager()
getInstance
public static WorkInstanceDocumentManager getInstance()
modifyDocumentContent
public void modifyDocumentContent(RequestDocument document,
String nodeIdentifier,
String parentNodeIdentifier)
- Overrides:
modifyDocumentContent
in class AbstractDocumentManager
storeDocument
protected javax.jcr.Node storeDocument(RequestDocument requestDocument,
javax.jcr.Session session)
throws OleDocStoreException
- Overrides:
storeDocument
in class AbstractDocumentManager
- Throws:
OleDocStoreException
modifyContent
protected void modifyContent(RequestDocument reqDoc,
javax.jcr.Session session,
javax.jcr.Node nodeByUUID)
throws javax.jcr.RepositoryException
- Overrides:
modifyContent
in class AbstractDocumentManager
- Throws:
javax.jcr.RepositoryException
addNewRecordsToDocStore
protected void addNewRecordsToDocStore(RequestDocument requestDocument,
javax.jcr.Session session)
throws OleDocStoreException
- Overrides:
addNewRecordsToDocStore
in class AbstractDocumentManager
- Throws:
OleDocStoreException
updateIndex
protected String updateIndex(RequestDocument requestDocument)
throws OleDocStoreException
- Overrides:
updateIndex
in class AbstractDocumentManager
- Throws:
OleDocStoreException
checkOutContent
protected String checkOutContent(javax.jcr.Node nodeByUUID,
String format,
String user)
throws javax.jcr.RepositoryException,
OleDocStoreException,
FileNotFoundException
- Overrides:
checkOutContent
in class AbstractDocumentManager
- Throws:
javax.jcr.RepositoryException
OleDocStoreException
FileNotFoundException
getParsedHoldingsNItemDocuments
public List<RequestDocument> getParsedHoldingsNItemDocuments(RequestDocument instanceDoc,
List<String> linkedBibIds)
- Method to get Parsed Holdings & Item Documents.
- Parameters:
instanceDoc
- - Instance document in format OleMLlinkedBibIds
- TODO
- Returns:
Copyright © 2004-2012 The Kuali Foundation. All Rights Reserved.