public class BatchProcessDeleteData 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 |
|---|
BatchProcessDeleteData() |
| Modifier and Type | Method and Description |
|---|---|
void |
createBatchFailureFile()
Create the failure and success and failure Report files
|
List |
getBatchDeleteBibIdsList(String fileContent)
This method returns the list of bib ids which are not used in requisition , loan and does not contain multiple instances and boundwith
|
protected void |
getNextBatch()
method to be implemented to retreive the next batch of data to be processed
|
void |
performBatchDelete()
This method perform the delete the records by using list bib ids
|
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
|
checkJobPauseStatus, createBatchDeleteFailureReportFile, createBatchErrorAttachmentFile, createBatchFailureFile, createBatchFailureFile, createBatchSuccessFile, createFile, deleteBatchFile, deleteBatchFile, getBatchProcessFileContent, getBatchProcessFileContent, getBatchProcessFilePath, getBusinessObjectService, isJobRunning, loadProfile, process, updateJobProgresspublic BatchProcessDeleteData()
protected void prepareForRead() throws Exception
AbstractBatchProcessprepareForRead in class AbstractBatchProcessExceptionprotected void prepareForWrite() throws Exception
AbstractBatchProcessprepareForWrite in class AbstractBatchProcessExceptionprotected void getNextBatch() throws Exception
AbstractBatchProcessgetNextBatch in class AbstractBatchProcessExceptionprotected void processBatch() throws Exception
AbstractBatchProcessprocessBatch in class AbstractBatchProcessExceptionpublic List getBatchDeleteBibIdsList(String fileContent) throws Exception
fileContent - Exceptionpublic void performBatchDelete() throws Exception
Exceptionpublic void createBatchFailureFile() throws Exception
ExceptionCopyright © 2004–2015 The Kuali Foundation. All rights reserved.