public abstract class AbstractIngestProcessor extends Object
Constructor and Description |
---|
AbstractIngestProcessor() |
Modifier and Type | Method and Description |
---|---|
void |
byPassLogicForPreProcess(String rawMarcContent,
boolean preProcessingReq,
OLEBatchProcessJobDetailsBo job) |
protected Map<String,String> |
getAgendaContext(String agendaName)
This method returns selector map contains agendaName
|
org.kuali.rice.krad.service.BusinessObjectService |
getBusinessObjectService()
Gets the instance of businessObjectService.
|
DocstoreClientLocator |
getDocstoreClientLocator() |
List<org.kuali.rice.krms.api.engine.EngineResults> |
getEngineResults()
Gets the engineResults attribute.
|
List<OleOrderRecord> |
getOleOrderRecordList() |
String |
getParameter(String name) |
protected Map<String,String> |
getSelectionContext(String contextName)
This method returns selector map contains OLE code and contextName.
|
boolean |
marcEdiprocess(OLEBatchProcessDefinitionDocument processDef,
OLEBatchProcessJobDetailsBo job)
This method is for building Order Record values based on ingested marc file or Edi files/data mapping or constant and default values from profile.
|
boolean |
marcProcess(OLEBatchProcessDefinitionDocument processDef,
OLEBatchProcessJobDetailsBo job)
This method is for building Order Record values based on ingested marc file/data mapping or constant and default values from profile.
|
abstract void |
postProcess(OLEBatchProcessJobDetailsBo job) |
abstract String |
preProcessEDI(String ediFileContent) |
abstract String |
preProcessMarc(String marcFileContent,
OLEBatchProcessJobDetailsBo job) |
void |
setOleOrderRecordList(List<OleOrderRecord> oleOrderRecordList) |
void |
setUser(String user) |
int |
start(IngestRecord ingestRecord,
boolean failure_flag,
OLEBatchProcessDefinitionDocument processDef,
OLEBatchProcessJobDetailsBo job)
This method takes the initial request when Ingesting a record.
|
public AbstractIngestProcessor()
public List<OleOrderRecord> getOleOrderRecordList()
public void setOleOrderRecordList(List<OleOrderRecord> oleOrderRecordList)
public DocstoreClientLocator getDocstoreClientLocator()
public List<org.kuali.rice.krms.api.engine.EngineResults> getEngineResults()
public int start(IngestRecord ingestRecord, boolean failure_flag, OLEBatchProcessDefinitionDocument processDef, OLEBatchProcessJobDetailsBo job)
ingestRecord
- processDef
- job
- public void byPassLogicForPreProcess(String rawMarcContent, boolean preProcessingReq, OLEBatchProcessJobDetailsBo job)
public boolean marcProcess(OLEBatchProcessDefinitionDocument processDef, OLEBatchProcessJobDetailsBo job) throws Exception
processDef
- job
- Exception
public boolean marcEdiprocess(OLEBatchProcessDefinitionDocument processDef, OLEBatchProcessJobDetailsBo job) throws Exception
Exception
public String getParameter(String name)
public org.kuali.rice.krad.service.BusinessObjectService getBusinessObjectService()
protected Map<String,String> getSelectionContext(String contextName)
contextName
- protected Map<String,String> getAgendaContext(String agendaName)
agendaName
- public abstract String preProcessMarc(String marcFileContent, OLEBatchProcessJobDetailsBo job)
public abstract String preProcessEDI(String ediFileContent)
public abstract void postProcess(OLEBatchProcessJobDetailsBo job)
Copyright © 2004–2015 The Kuali Foundation. All rights reserved.