|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.kuali.ole.docstore.document.AbstractDocumentManager
org.kuali.ole.docstore.document.WorkInstanceDocumentManager
public class WorkInstanceDocumentManager
Implements the DocumentManager interface for [Work-Instance-*] documents.
| Field Summary |
|---|
| Fields inherited from class org.kuali.ole.docstore.document.AbstractDocumentManager |
|---|
docCategory, docFormat, docType, nodeManager, repositoryManager |
| Constructor Summary | |
|---|---|
protected |
WorkInstanceDocumentManager()
|
| Method Summary | |
|---|---|
protected void |
addNewRecordsToDocStore(RequestDocument requestDocument,
javax.jcr.Session session)
|
ResponseDocument |
bind(RequestDocument requestDocument,
javax.jcr.Session session,
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,
javax.jcr.Session session)
|
List<ResponseDocument> |
deleteVerify(List<RequestDocument> requestDocument,
javax.jcr.Session session)
|
ResponseDocument |
deleteVerify(RequestDocument requestDocument,
javax.jcr.Session session)
|
static WorkInstanceDocumentManager |
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,
javax.jcr.Session session,
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,
javax.jcr.Session session,
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,
javax.jcr.Session session,
List<String> fieldValues)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
protected WorkInstanceDocumentManager()
| Method Detail |
|---|
public static WorkInstanceDocumentManager getInstance()
public void modifyDocumentContent(RequestDocument document,
String nodeIdentifier,
String parentNodeIdentifier)
modifyDocumentContent in class AbstractDocumentManager
public javax.jcr.Node storeDocument(RequestDocument requestDocument,
javax.jcr.Session session,
ResponseDocument responseDocument)
throws OleDocStoreException
DocumentManager
storeDocument in interface DocumentManagerstoreDocument in class AbstractDocumentManagerOleDocStoreException
protected void modifyContent(RequestDocument reqDoc,
javax.jcr.Session session,
javax.jcr.Node nodeByUUID)
throws javax.jcr.RepositoryException,
FileNotFoundException,
OleDocStoreException
modifyContent in class AbstractDocumentManagerjavax.jcr.RepositoryException
FileNotFoundException
OleDocStoreException
protected void addNewRecordsToDocStore(RequestDocument requestDocument,
javax.jcr.Session session)
throws OleDocStoreException
addNewRecordsToDocStore in class AbstractDocumentManagerOleDocStoreException
public ResponseDocument bind(RequestDocument requestDocument,
javax.jcr.Session session,
String operation)
throws OleDocStoreException,
javax.jcr.RepositoryException,
OleException,
FileNotFoundException
bind in interface DocumentManagerbind in class AbstractDocumentManagerOleDocStoreException
javax.jcr.RepositoryException
OleException
FileNotFoundException
public ResponseDocument unbind(RequestDocument requestDocument,
javax.jcr.Session session,
String operation)
throws OleDocStoreException,
javax.jcr.RepositoryException,
OleException,
FileNotFoundException
unbind in interface DocumentManagerunbind in class AbstractDocumentManagerOleDocStoreException
javax.jcr.RepositoryException
OleException
FileNotFoundException
public List<ResponseDocument> deleteVerify(List<RequestDocument> requestDocument,
javax.jcr.Session session)
public ResponseDocument deleteVerify(RequestDocument requestDocument,
javax.jcr.Session session)
throws Exception
Exception
public ResponseDocument delete(RequestDocument requestDocument,
javax.jcr.Session session)
throws Exception
delete in interface DocumentManagerdelete in class AbstractDocumentManagerException
protected String checkOutContent(javax.jcr.Node nodeByUUID,
String format,
String user)
throws javax.jcr.RepositoryException,
OleDocStoreException,
FileNotFoundException
checkOutContent in class AbstractDocumentManagerjavax.jcr.RepositoryException
OleDocStoreException
FileNotFoundException
public List<RequestDocument> getParsedHoldingsNItemDocuments(RequestDocument instanceDoc,
List<String> linkedBibIds)
throws OleDocStoreException
instanceDoc - - Instance document in format OleMLlinkedBibIds - TODO
OleDocStoreException
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
OleDocStoreExceptionpublic ResponseDocument buildResponseDocument(RequestDocument requestDocument)
buildResponseDocument in interface DocumentManagerbuildResponseDocument in class AbstractDocumentManager
public ResponseDocument buildResponseDocument(RequestDocument requestDocument,
javax.jcr.Session session)
protected void buildLinkedResponseDocuments(RequestDocument requestDocument,
ResponseDocument responseDocument)
buildLinkedResponseDocuments in class AbstractDocumentManagerrequestDocument - 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,
javax.jcr.Session session,
List<String> fieldValues)
throws OleDocStoreException
OleDocStoreExceptionpublic void computeCallNumberType(CallNumber callNumber)
callNumber -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||