public class BatchProcessBibImport extends AbstractBatchProcess
job, processDefEXPORT_BIB_AND_INSTANCE, EXPORT_BIB_INSTANCE_AND_EINSTANCE, EXPORT_BIB_ONLY, EXPORT_EX_STAFF, EXPORT_FILTER, EXPORT_FULL, EXPORT_INC, EXT_ERR_TXT, EXT_MARC, EXT_MARCXML, FILTER_DT_FORMAT, INCREMENTAL_EXPORT_EX_STAFF, JOB_DT_FORMAT, MARC, MARCXML, PERCENT, SOLR_DT_FORMAT, XML_DEC| Constructor and Description |
|---|
BatchProcessBibImport() |
BatchProcessBibImport(OLEBatchProcessDefinitionDocument processDef,
OLEBatchProcessJobDetailsBo job) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
createBatchFailureFile(String misMatchMarcRecords)
Create the failure record file in the batch process type directory
|
protected void |
createBatchMismatchFile(String misMatchMarcRecords,
String recordName) |
protected void |
getNextBatch()
method to be implemented to retreive the next batch of data to be processed
|
OLEBatchProcessDataHelper |
getOleBatchProcessDataHelper() |
OLEBatchProcessProfileBo |
getOleBatchProcessProfileBo() |
protected void |
prepareForRead()
method to be implemented to read initial data for the various processes; will be called before prepareForWrite() method
|
protected void |
prepareForWrite()
method to be implemented to prepare for writing the data; will be called before writeData()
|
protected void |
processBatch()
method to be implemented for various write operation
|
void |
processBatch(List<BibMarcRecord> bibMarcRecordList)
Performs the ingest , checkIn operations
|
List<OrderBibMarcRecord> |
processBatchOrder(List<OrderBibMarcRecord> orderBibMarcRecords) |
void |
setOleBatchProcessProfileBo(OLEBatchProcessProfileBo oleBatchProcessProfileBo) |
checkJobPauseStatus, createBatchDeleteFailureReportFile, createBatchErrorAttachmentFile, createBatchFailureFile, createBatchSuccessFile, createFile, deleteBatchFile, deleteBatchFile, getBatchProcessFileContent, getBatchProcessFileContent, getBatchProcessFilePath, getBusinessObjectService, isJobRunning, loadProfile, process, updateJobProgresspublic BatchProcessBibImport()
public BatchProcessBibImport(OLEBatchProcessDefinitionDocument processDef, OLEBatchProcessJobDetailsBo job)
protected void getNextBatch() throws Exception
AbstractBatchProcessgetNextBatch in class AbstractBatchProcessExceptionprotected void processBatch() throws Exception
AbstractBatchProcessprocessBatch in class AbstractBatchProcessExceptionprotected void prepareForRead() throws Exception
AbstractBatchProcessprepareForRead in class AbstractBatchProcessExceptionprotected void prepareForWrite() throws Exception
AbstractBatchProcessprepareForWrite in class AbstractBatchProcessExceptionpublic void processBatch(List<BibMarcRecord> bibMarcRecordList) throws Exception
bibMarcRecordList - Exceptionpublic OLEBatchProcessDataHelper getOleBatchProcessDataHelper()
protected void createBatchFailureFile(String misMatchMarcRecords) throws Exception
AbstractBatchProcesscreateBatchFailureFile in class AbstractBatchProcessExceptionprotected void createBatchMismatchFile(String misMatchMarcRecords, String recordName) throws Exception
Exceptionpublic OLEBatchProcessProfileBo getOleBatchProcessProfileBo()
public void setOleBatchProcessProfileBo(OLEBatchProcessProfileBo oleBatchProcessProfileBo)
public List<OrderBibMarcRecord> processBatchOrder(List<OrderBibMarcRecord> orderBibMarcRecords) throws Exception
ExceptionCopyright © 2004–2015 The Kuali Foundation. All rights reserved.