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, updateVersion
addResourceId, getDate, getTimeStampFromString
protected JcrWorkInstanceDocumentManager()
public static JcrWorkInstanceDocumentManager getInstance()
public void modifyDocumentContent(RequestDocument document, String nodeIdentifier, String parentNodeIdentifier)
modifyDocumentContent
in class JcrAbstractDocumentManager
public javax.jcr.Node storeDocument(RequestDocument requestDocument, Object object, ResponseDocument responseDocument) throws OleDocStoreException
DocumentManager
storeDocument
in interface DocumentManager
storeDocument
in class JcrAbstractDocumentManager
OleDocStoreException
protected void modifyContent(RequestDocument reqDoc, javax.jcr.Session session, javax.jcr.Node nodeByUUID) throws javax.jcr.RepositoryException, FileNotFoundException, OleDocStoreException
modifyContent
in class JcrAbstractDocumentManager
javax.jcr.RepositoryException
FileNotFoundException
OleDocStoreException
protected void addNewRecordsToDocStore(RequestDocument requestDocument, javax.jcr.Session session) throws OleDocStoreException
addNewRecordsToDocStore
in class JcrAbstractDocumentManager
OleDocStoreException
public ResponseDocument bind(RequestDocument requestDocument, Object object, String operation) throws OleDocStoreException, javax.jcr.RepositoryException, OleException, FileNotFoundException
bind
in interface DocumentManager
bind
in class JcrAbstractDocumentManager
OleDocStoreException
javax.jcr.RepositoryException
OleException
FileNotFoundException
public ResponseDocument unbind(RequestDocument requestDocument, Object object, String operation) throws OleDocStoreException, javax.jcr.RepositoryException, OleException, FileNotFoundException
unbind
in interface DocumentManager
unbind
in class JcrAbstractDocumentManager
OleDocStoreException
javax.jcr.RepositoryException
OleException
FileNotFoundException
public List<ResponseDocument> deleteVerify(List<RequestDocument> requestDocument, Object object)
public ResponseDocument deleteVerify(RequestDocument requestDocument, Object object) throws Exception
Exception
public ResponseDocument delete(RequestDocument requestDocument, Object object) throws Exception
delete
in interface DocumentManager
delete
in class JcrAbstractDocumentManager
Exception
protected String checkOutContent(javax.jcr.Node nodeByUUID, String format, String user) throws javax.jcr.RepositoryException, OleDocStoreException, FileNotFoundException
checkOutContent
in class JcrAbstractDocumentManager
javax.jcr.RepositoryException
OleDocStoreException
FileNotFoundException
public List<RequestDocument> getParsedHoldingsNItemDocuments(RequestDocument instanceDoc, List<String> linkedBibIds) throws OleDocStoreException
instanceDoc
- - Instance document in format OleMLlinkedBibIds
- TODOOleDocStoreException
protected void processCallNumber(OleHoldings oleHolding) throws OleDocStoreException
OleDocStoreException
public void validateCallNumber(CallNumber cNum) throws OleDocStoreException
OleDocStoreException
public void validateCallNumber(CallNumber itemCNum, OleHoldings holdings) throws OleDocStoreException
OleDocStoreException
public void updateShelvingOrder(Item item, OleHoldings oleHolding) throws OleDocStoreException
OleDocStoreException
protected boolean validateCallNumber(String callNumber, String codeValue) throws OleDocStoreException
OleDocStoreException
protected String buildSortableCallNumber(String callNumber, String codeValue) throws OleDocStoreException
OleDocStoreException
public ResponseDocument buildResponseDocument(RequestDocument requestDocument)
buildResponseDocument
in interface DocumentManager
buildResponseDocument
in class JcrAbstractDocumentManager
public ResponseDocument buildResponseDocument(RequestDocument requestDocument, javax.jcr.Session session)
protected void buildLinkedResponseDocuments(RequestDocument requestDocument, ResponseDocument responseDocument)
buildLinkedResponseDocuments
in class JcrAbstractDocumentManager
requestDocument
- responseDocument
- public void transferItems(List<RequestDocument> requestDocuments, javax.jcr.Session session) throws Exception
Exception
public void transferInstances(List<RequestDocument> requestDocuments, javax.jcr.Session session) throws Exception
Exception
public void validateInput(RequestDocument requestDocument, Object object, List<String> fieldValues) throws OleDocStoreException
OleDocStoreException
public void computeCallNumberType(CallNumber callNumber)
callNumber
- Copyright © 2004–2014 The Kuali Foundation. All rights reserved.