public class JcrWorkInstanceDocumentManager extends JcrAbstractDocumentManager
docCategory, docFormat, docType, nodeManager, repositoryManager| Modifier | Constructor and Description |
|---|---|
protected |
JcrWorkInstanceDocumentManager() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addNewRecordsToDocStore(RequestDocument requestDocument,
javax.jcr.Session session) |
ResponseDocument |
bind(RequestDocument requestDocument,
Object object,
String operation) |
protected void |
buildLinkedResponseDocuments(RequestDocument requestDocument,
ResponseDocument responseDocument)
Used in the case of adding an item.
|
ResponseDocument |
buildResponseDocument(RequestDocument requestDocument) |
ResponseDocument |
buildResponseDocument(RequestDocument requestDocument,
javax.jcr.Session session) |
protected String |
buildSortableCallNumber(String callNumber,
String codeValue) |
protected String |
checkOutContent(javax.jcr.Node nodeByUUID,
String format,
String user) |
void |
computeCallNumberType(CallNumber callNumber)
Compute 'call number type name' if a valid 'call number type code' is available
|
ResponseDocument |
delete(RequestDocument requestDocument,
Object object) |
List<ResponseDocument> |
deleteVerify(List<RequestDocument> requestDocument,
Object object) |
ResponseDocument |
deleteVerify(RequestDocument requestDocument,
Object object) |
static JcrWorkInstanceDocumentManager |
getInstance() |
List<RequestDocument> |
getParsedHoldingsNItemDocuments(RequestDocument instanceDoc,
List<String> linkedBibIds)
Method to get Parsed Holdings & Item Documents.
|
protected void |
modifyContent(RequestDocument reqDoc,
javax.jcr.Session session,
javax.jcr.Node nodeByUUID) |
void |
modifyDocumentContent(RequestDocument document,
String nodeIdentifier,
String parentNodeIdentifier) |
protected void |
processCallNumber(OleHoldings oleHolding) |
javax.jcr.Node |
storeDocument(RequestDocument requestDocument,
Object object,
ResponseDocument responseDocument)
Deletes the given documents, along with linked documents, from the discovery.
|
void |
transferInstances(List<RequestDocument> requestDocuments,
javax.jcr.Session session) |
void |
transferItems(List<RequestDocument> requestDocuments,
javax.jcr.Session session) |
ResponseDocument |
unbind(RequestDocument requestDocument,
Object object,
String operation) |
void |
updateShelvingOrder(Item item,
OleHoldings oleHolding) |
void |
validateCallNumber(CallNumber cNum) |
void |
validateCallNumber(CallNumber itemCNum,
OleHoldings holdings) |
protected boolean |
validateCallNumber(String callNumber,
String codeValue) |
void |
validateInput(RequestDocument requestDocument,
Object object,
List<String> fieldValues) |
batchIngest, buildResponseDocument, buildResponseDocuments, bulkIngest, checkin, checkin, checkInstanceForBoundsWith, checkInstancesOrItemsExistsInOLE, checkInstancesOrItemsExistsInOLE, checkItemsExists, checkout, checkout, convertContentToBytes, delete, delete, deleteFromRepository, deleteIndex, getVersionManager, index, ingest, ingest, isVersioningEnabled, modifyAdditionalAttributes, prepareRequestDocument, setResponseParameters, store, store, storeLinkedDocuments, updateContentToNode, updateDocstore, updateIndex, updateRecord, updateVersionaddResourceId, getDate, getTimeStampFromStringprotected JcrWorkInstanceDocumentManager()
public static JcrWorkInstanceDocumentManager getInstance()
public void modifyDocumentContent(RequestDocument document, String nodeIdentifier, String parentNodeIdentifier)
modifyDocumentContent in class JcrAbstractDocumentManagerpublic javax.jcr.Node storeDocument(RequestDocument requestDocument, Object object, ResponseDocument responseDocument) throws OleDocStoreException
DocumentManagerstoreDocument in interface DocumentManagerstoreDocument in class JcrAbstractDocumentManagerOleDocStoreExceptionprotected void modifyContent(RequestDocument reqDoc, javax.jcr.Session session, javax.jcr.Node nodeByUUID) throws javax.jcr.RepositoryException, FileNotFoundException, OleDocStoreException
modifyContent in class JcrAbstractDocumentManagerjavax.jcr.RepositoryExceptionFileNotFoundExceptionOleDocStoreExceptionprotected void addNewRecordsToDocStore(RequestDocument requestDocument, javax.jcr.Session session) throws OleDocStoreException
addNewRecordsToDocStore in class JcrAbstractDocumentManagerOleDocStoreExceptionpublic ResponseDocument bind(RequestDocument requestDocument, Object object, String operation) throws OleDocStoreException, javax.jcr.RepositoryException, OleException, FileNotFoundException
bind in interface DocumentManagerbind in class JcrAbstractDocumentManagerOleDocStoreExceptionjavax.jcr.RepositoryExceptionOleExceptionFileNotFoundExceptionpublic ResponseDocument unbind(RequestDocument requestDocument, Object object, String operation) throws OleDocStoreException, javax.jcr.RepositoryException, OleException, FileNotFoundException
unbind in interface DocumentManagerunbind in class JcrAbstractDocumentManagerOleDocStoreExceptionjavax.jcr.RepositoryExceptionOleExceptionFileNotFoundExceptionpublic List<ResponseDocument> deleteVerify(List<RequestDocument> requestDocument, Object object)
public ResponseDocument deleteVerify(RequestDocument requestDocument, Object object) throws Exception
Exceptionpublic ResponseDocument delete(RequestDocument requestDocument, Object object) throws Exception
delete in interface DocumentManagerdelete in class JcrAbstractDocumentManagerExceptionprotected String checkOutContent(javax.jcr.Node nodeByUUID, String format, String user) throws javax.jcr.RepositoryException, OleDocStoreException, FileNotFoundException
checkOutContent in class JcrAbstractDocumentManagerjavax.jcr.RepositoryExceptionOleDocStoreExceptionFileNotFoundExceptionpublic List<RequestDocument> getParsedHoldingsNItemDocuments(RequestDocument instanceDoc, List<String> linkedBibIds) throws OleDocStoreException
instanceDoc - - Instance document in format OleMLlinkedBibIds - TODOOleDocStoreExceptionprotected void processCallNumber(OleHoldings oleHolding) throws OleDocStoreException
OleDocStoreExceptionpublic void validateCallNumber(CallNumber cNum) throws OleDocStoreException
OleDocStoreExceptionpublic void validateCallNumber(CallNumber itemCNum, OleHoldings holdings) throws OleDocStoreException
OleDocStoreExceptionpublic void updateShelvingOrder(Item item, OleHoldings oleHolding) throws OleDocStoreException
OleDocStoreExceptionprotected boolean validateCallNumber(String callNumber, String codeValue) throws OleDocStoreException
OleDocStoreExceptionprotected String buildSortableCallNumber(String callNumber, String codeValue) throws OleDocStoreException
OleDocStoreExceptionpublic ResponseDocument buildResponseDocument(RequestDocument requestDocument)
buildResponseDocument in interface DocumentManagerbuildResponseDocument in class JcrAbstractDocumentManagerpublic ResponseDocument buildResponseDocument(RequestDocument requestDocument, javax.jcr.Session session)
protected void buildLinkedResponseDocuments(RequestDocument requestDocument, ResponseDocument responseDocument)
buildLinkedResponseDocuments in class JcrAbstractDocumentManagerrequestDocument - responseDocument - public void transferItems(List<RequestDocument> requestDocuments, javax.jcr.Session session) throws Exception
Exceptionpublic void transferInstances(List<RequestDocument> requestDocuments, javax.jcr.Session session) throws Exception
Exceptionpublic void validateInput(RequestDocument requestDocument, Object object, List<String> fieldValues) throws OleDocStoreException
OleDocStoreExceptionpublic void computeCallNumberType(CallNumber callNumber)
callNumber - Copyright © 2004–2015 The Kuali Foundation. All rights reserved.