public class BatchProcessInvoiceIngest extends AbstractBatchProcess
| Modifier and Type | Field and Description |
|---|---|
protected org.kuali.rice.krad.service.DocumentService |
documentService |
OleInvoiceService |
oleInvoiceService |
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 |
|---|
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, updateJobProgressprotected 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 AbstractBatchProcesspublic String readFile(File file) throws IOException
IOExceptionpublic void prepareForRead() throws Exception
AbstractBatchProcessprepareForRead in class AbstractBatchProcessExceptionpublic void byPassLogicForPreProcess(String rawMarcContent, boolean preProcessingReq)
public String preProcessMarc(String marcFileContent)
public void updatePrice(OleInvoiceDocument oleInvoiceDocument)
public void prepareForWrite() throws Exception
AbstractBatchProcessprepareForWrite in class AbstractBatchProcessExceptionpublic boolean validateVendorNumber(String vendorNumber)
public boolean validateForNumber(String fieldValue)
public boolean validateDestinationFieldValues(String destinationFieldValue)
public void getNextBatch()
AbstractBatchProcessgetNextBatch in class AbstractBatchProcesspublic void processBatch()
AbstractBatchProcessprocessBatch in class AbstractBatchProcessCopyright © 2004–2014 The Kuali Foundation. All rights reserved.