public class BatchProcessExportData 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, JOB_DT_FORMAT, MARC, MARCXML, PERCENT, SOLR_DT_FORMAT, XML_DEC| Constructor and Description | 
|---|
BatchProcessExportData()  | 
| Modifier and Type | Method and Description | 
|---|---|
protected void | 
getNextBatch()
gets the next batch of records for export 
 | 
protected void | 
loadProfile(OLEBatchProcessDefinitionDocument processDef)
loads the profile and checks for incremental export 
 | 
protected void | 
prepareForRead()
method to be implemented to read initial data for the various processes; will be called before prepareForWrite() method 
 | 
protected void | 
prepareForWrite()
methods creates the directories to write file to if they do not exist
 if the user provided folder is not valid (cannot be created) then the default location is chosen 
 | 
protected void | 
processBatch()
Performs the batch write operation
 Writes the data to marcxml or mrc format based on the output format specified in the process 
 | 
createBatchFailureFile, createFile, deleteBatchFile, getBatchProcessFileContent, getBatchProcessFileContent, getBatchProcessFilePath, isJobRunning, process, updateJobProgresspublic BatchProcessExportData()
protected void prepareForRead() throws Exception
AbstractBatchProcessprepareForRead in class AbstractBatchProcessExceptionprotected void getNextBatch() throws Exception
getNextBatch in class AbstractBatchProcessExceptionprotected void prepareForWrite() throws Exception
prepareForWrite in class AbstractBatchProcessExceptionprotected void processBatch() throws Exception
processBatch in class AbstractBatchProcessExceptionprotected void loadProfile(OLEBatchProcessDefinitionDocument processDef) throws Exception
loadProfile in class AbstractBatchProcessprocessDef - ExceptionCopyright © 2004-2013 The Kuali Foundation. All Rights Reserved.