public class BatchProcessInvoiceIngest extends AbstractBatchProcess
Modifier and Type | Field and Description |
---|---|
protected org.kuali.rice.krad.service.DocumentService |
documentService |
OleInvoiceService |
oleInvoiceService |
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 |
---|
BatchProcessInvoiceIngest() |
Modifier and Type | Method and Description |
---|---|
void |
byPassLogicForPreProcess(String rawMarcContent,
boolean preProcessingReq) |
protected org.kuali.rice.krad.service.BusinessObjectService |
getBusinessObjectService() |
DocstoreClientLocator |
getDocstoreClientLocator() |
void |
getNextBatch()
method to be implemented to retreive the next batch of data to be processed
|
static OlePurapService |
getOlePurapService() |
void |
prepareForRead()
method to be implemented to read initial data for the various processes; will be called before prepareForWrite() method
|
void |
prepareForWrite()
method to be implemented to prepare for writing the data; will be called before writeData()
|
String |
preProcessMarc(String marcFileContent) |
void |
processBatch()
method to be implemented for various write operation
|
String |
readFile(File file) |
void |
updatePrice(OleInvoiceDocument oleInvoiceDocument) |
boolean |
validateDestinationFieldValues(String destinationFieldValue) |
boolean |
validateForNumber(String fieldValue) |
boolean |
validateVendorNumber(String vendorNumber) |
checkJobPauseStatus, createBatchDeleteFailureReportFile, createBatchErrorAttachmentFile, createBatchFailureFile, createBatchFailureFile, createBatchSuccessFile, createFile, deleteBatchFile, deleteBatchFile, getBatchProcessFileContent, getBatchProcessFileContent, getBatchProcessFilePath, isJobRunning, loadProfile, process, updateJobProgress
protected org.kuali.rice.krad.service.DocumentService documentService
public OleInvoiceService oleInvoiceService
public BatchProcessInvoiceIngest()
public static OlePurapService getOlePurapService()
public DocstoreClientLocator getDocstoreClientLocator()
protected org.kuali.rice.krad.service.BusinessObjectService getBusinessObjectService()
getBusinessObjectService
in class AbstractBatchProcess
public String readFile(File file) throws IOException
IOException
public void prepareForRead() throws Exception
AbstractBatchProcess
prepareForRead
in class AbstractBatchProcess
Exception
public void byPassLogicForPreProcess(String rawMarcContent, boolean preProcessingReq)
public String preProcessMarc(String marcFileContent)
public void updatePrice(OleInvoiceDocument oleInvoiceDocument)
public void prepareForWrite() throws Exception
AbstractBatchProcess
prepareForWrite
in class AbstractBatchProcess
Exception
public boolean validateVendorNumber(String vendorNumber)
public boolean validateForNumber(String fieldValue)
public boolean validateDestinationFieldValues(String destinationFieldValue)
public void getNextBatch()
AbstractBatchProcess
getNextBatch
in class AbstractBatchProcess
public void processBatch()
AbstractBatchProcess
processBatch
in class AbstractBatchProcess
Copyright © 2004–2014 The Kuali Foundation. All rights reserved.