public class BatchProcessBibImport extends AbstractBatchProcess
Modifier and Type | Field and Description |
---|---|
protected BatchBibImportHelper |
batchBibImportHelper |
protected OLEBatchProcessProfileBo |
oleBatchProcessProfileBo |
protected String |
user |
job, processDef
EXPORT_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 BatchBibImportHelper |
getBatchBibImportHelper() |
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) |
protected void |
saveAndBuildResult(List<BibMarcRecord> bibMarcRecordList,
OLEBatchBibImportDataObjects oleBatchBibImportDataObjects)
Save Batch and gives mismatch record count
|
void |
setOleBatchProcessProfileBo(OLEBatchProcessProfileBo oleBatchProcessProfileBo) |
checkJobPauseStatus, createBatchDeleteFailureReportFile, createBatchErrorAttachmentFile, createBatchFailureFile, createBatchSuccessFile, createFile, deleteBatchFile, deleteBatchFile, getBatchProcessFileContent, getBatchProcessFileContent, getBatchProcessFilePath, getBusinessObjectService, isJobRunning, loadProfile, process, updateJobProgress
protected BatchBibImportHelper batchBibImportHelper
protected OLEBatchProcessProfileBo oleBatchProcessProfileBo
public BatchProcessBibImport()
public BatchProcessBibImport(OLEBatchProcessDefinitionDocument processDef, OLEBatchProcessJobDetailsBo job)
protected BatchBibImportHelper getBatchBibImportHelper()
protected void getNextBatch() throws Exception
AbstractBatchProcess
getNextBatch
in class AbstractBatchProcess
Exception
protected void processBatch() throws Exception
AbstractBatchProcess
processBatch
in class AbstractBatchProcess
Exception
protected void prepareForRead() throws Exception
AbstractBatchProcess
prepareForRead
in class AbstractBatchProcess
Exception
protected void prepareForWrite() throws Exception
AbstractBatchProcess
prepareForWrite
in class AbstractBatchProcess
Exception
public void processBatch(List<BibMarcRecord> bibMarcRecordList) throws Exception
bibMarcRecordList
- Exception
protected void saveAndBuildResult(List<BibMarcRecord> bibMarcRecordList, OLEBatchBibImportDataObjects oleBatchBibImportDataObjects) throws Exception
bibMarcRecordList
- Exception
public OLEBatchProcessDataHelper getOleBatchProcessDataHelper()
protected void createBatchFailureFile(String misMatchMarcRecords) throws Exception
AbstractBatchProcess
createBatchFailureFile
in class AbstractBatchProcess
Exception
protected void createBatchMismatchFile(String misMatchMarcRecords, String recordName) throws Exception
Exception
public OLEBatchProcessProfileBo getOleBatchProcessProfileBo()
public void setOleBatchProcessProfileBo(OLEBatchProcessProfileBo oleBatchProcessProfileBo)
public List<OrderBibMarcRecord> processBatchOrder(List<OrderBibMarcRecord> orderBibMarcRecords) throws Exception
Exception
Copyright © 2004–2015 The Kuali Foundation. All rights reserved.