public class DocumentIngester extends Object
| Constructor and Description | 
|---|
| DocumentIngester() | 
| Modifier and Type | Method and Description | 
|---|---|
| javax.jcr.Node | getStaticFormatNode(RequestDocument doc,
                                      javax.jcr.Session session) | 
| List<String> | ingestBatch(List<RequestDocument> reqDocs,
                      javax.jcr.Session session,
                      javax.jcr.Node formatNode)This method is specifically written only for testing performance for 1 Million bib records. | 
| protected javax.jcr.Node | ingestBibDocument(RequestDocument reqDoc,
                                  javax.jcr.Session session,
                                  javax.jcr.Node formatNode)Method to ingest a Bib RequestDocument. | 
| protected List<javax.jcr.Node> | ingestBibDocumentUsingBTreeMgr(List<RequestDocument> reqDocs,
                                                            javax.jcr.Session session,
                                                            javax.jcr.Node formatNode)Method to ingest a Bib RequestDocument using Btree manager. | 
| List<String> | ingestBibNLinkedInstanceRequestDocuments(RequestDocument reqDoc,
                                                                                javax.jcr.Session session)Method to ingest Bib & Linked Instance RequestDocuments for String Ingest. | 
| List<String> | ingestInstaceRequestDocumentForBulk(RequestDocument reqDoc,
                                                                      javax.jcr.Session session,
                                                                      javax.jcr.Node formatNode)Method to ingestInstaceRequestDocument | 
| protected javax.jcr.Node | ingestInstanceDocument(RequestDocument reqDoc,
                                            javax.jcr.Session session,
                                            List<String> ingestedIds,
                                            List<String> linkedBibIds,
                                            javax.jcr.Node formatNode)Method to ingest an Instance Request Document. | 
| protected javax.jcr.Node | ingestLicenseDocument(RequestDocument reqDoc,
                                          javax.jcr.Session session,
                                          javax.jcr.Node formatNode)Method to ingest a License RequestDocument. | 
| protected List<String> | ingestPatronRequestDocument(RequestDocument reqDoc,
                                                      javax.jcr.Session session,
                                                      javax.jcr.Node formatNode) | 
| List<String> | ingestRequestDocumentsForBulk(List<RequestDocument> reqDocs,
                                                          javax.jcr.Session session)Method to ingest RequestDocuments For Bulk Ingest Opertaions. | 
| List<String> | ingestRequestDocumentsForBulkUsingBTreeMgr(List<RequestDocument> reqDocs,
                                                                                    javax.jcr.Session session)Deprecated.  | 
| javax.jcr.Node | ingestWorkLicenseOnixplRequestDocument(RequestDocument reqDoc,
                                                                            javax.jcr.Session session,
                                                                            List<String> ingestedIds)Method to ingest Bib & Linked Instance RequestDocuments for String Ingest. | 
| void | rollbackDocStoreIngestedData(javax.jcr.Session session,
                                                        List<RequestDocument> requestDocuments)Method to rollback Doc Store Ingested Data. | 
public DocumentIngester()
public javax.jcr.Node getStaticFormatNode(RequestDocument doc, javax.jcr.Session session) throws javax.jcr.RepositoryException
javax.jcr.RepositoryExceptionprotected javax.jcr.Node ingestBibDocument(RequestDocument reqDoc, javax.jcr.Session session, javax.jcr.Node formatNode) throws Exception
reqDoc - session - formatNode - Exceptionprotected List<javax.jcr.Node> ingestBibDocumentUsingBTreeMgr(List<RequestDocument> reqDocs, javax.jcr.Session session, javax.jcr.Node formatNode) throws Exception
reqDocs - session - formatNode - Exceptionprotected javax.jcr.Node ingestLicenseDocument(RequestDocument reqDoc, javax.jcr.Session session, javax.jcr.Node formatNode) throws Exception
reqDoc - session - formatNode - Exceptionprotected javax.jcr.Node ingestInstanceDocument(RequestDocument reqDoc, javax.jcr.Session session, List<String> ingestedIds, List<String> linkedBibIds, javax.jcr.Node formatNode) throws Exception
reqDoc - session - ingestedIds - - can even be null if ingested Ids are not required for Outside.linkedBibIds - - Pass Linked Bib Id's only if linking is necessary & be used in making a resource Linking.formatNode - Exception - - Throws Exception if it cannot ingest any of the instance / item / holdings documents.protected List<String> ingestPatronRequestDocument(RequestDocument reqDoc, javax.jcr.Session session, javax.jcr.Node formatNode) throws Exception
Exceptionpublic List<String> ingestRequestDocumentsForBulk(List<RequestDocument> reqDocs, javax.jcr.Session session) throws Exception
reqDocs - session - Exceptionpublic List<String> ingestBatch(List<RequestDocument> reqDocs, javax.jcr.Session session, javax.jcr.Node formatNode) throws Exception
reqDocs - session - formatNode - Exception@Deprecated public List<String> ingestRequestDocumentsForBulkUsingBTreeMgr(List<RequestDocument> reqDocs, javax.jcr.Session session) throws Exception
reqDocs - session - Exceptionpublic List<String> ingestBibNLinkedInstanceRequestDocuments(RequestDocument reqDoc, javax.jcr.Session session) throws Exception
reqDoc - session - Exceptionpublic javax.jcr.Node ingestWorkLicenseOnixplRequestDocument(RequestDocument reqDoc, javax.jcr.Session session, List<String> ingestedIds) throws Exception
reqDoc - session - Exceptionpublic List<String> ingestInstaceRequestDocumentForBulk(RequestDocument reqDoc, javax.jcr.Session session, javax.jcr.Node formatNode) throws Exception
reqDoc - session - formatNode - Exceptionpublic void rollbackDocStoreIngestedData(javax.jcr.Session session, List<RequestDocument> requestDocuments)
session - requestDocuments - Copyright © 2004–2014 The Kuali Foundation. All rights reserved.