public class BatchProcessDeleteData extends AbstractBatchProcess
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, JOB_DT_FORMAT, MARC, MARCXML, PERCENT, SOLR_DT_FORMAT, XML_DEC
Constructor and Description |
---|
BatchProcessDeleteData() |
Modifier and Type | Method and Description |
---|---|
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
|
createBatchFailureFile, createFile, deleteBatchFile, getBatchProcessFileContent, getBatchProcessFileContent, getBatchProcessFilePath, isJobRunning, loadProfile, process, updateJobProgress
public BatchProcessDeleteData()
protected void prepareForRead() throws Exception
AbstractBatchProcess
prepareForRead
in class AbstractBatchProcess
Exception
protected void prepareForWrite() throws Exception
AbstractBatchProcess
prepareForWrite
in class AbstractBatchProcess
Exception
protected void getNextBatch() throws Exception
AbstractBatchProcess
getNextBatch
in class AbstractBatchProcess
Exception
protected void processBatch() throws Exception
AbstractBatchProcess
processBatch
in class AbstractBatchProcess
Exception
public List getBatchDeleteBibIdsList(String fileContent) throws Exception
fileContent
- Exception
public void performBatchDelete() throws Exception
Exception
Copyright © 2004-2014 The Kuali Foundation. All Rights Reserved.