org.kuali.ole.ingest
Class AbstractIngestProcessor

java.lang.Object
  extended by org.kuali.ole.ingest.AbstractIngestProcessor
Direct Known Subclasses:
IngestProcessor

public abstract class AbstractIngestProcessor
extends Object

AbstractIngestProcessor which does the pre-processing for Staff Upload process to create Requisition.


Constructor Summary
AbstractIngestProcessor()
           
 
Method Summary
protected  Map<String,String> getAgendaContext(String agendaName)
          This method returns selector map contains agendaName
 DocstoreHelperService getDocstoreHelperService()
           
 List<org.kuali.rice.krms.api.engine.EngineResults> getEngineResults()
          Gets the engineResults attribute.
 List<OverlayOption> getOverlayOption(String agendaName)
          This method gets the ProfileAttributeBos based on agendaName.
 List<ProfileAttributeBo> getProfileAttributeBos(String agendaName)
          This method gets the ProfileAttributeBos based on agendaName.
protected  Map<String,String> getSelectionContext(String contextName)
          This method returns selector map contains OLE code and contextName.
abstract  void postProcess()
           
abstract  String preProcessEDI(String ediFileContent)
           
abstract  String preProcessMarc(String marcFileContent)
           
 void process()
          This method starts the process for marcXmlContent and ediXmlContent.
 void start(IngestRecord ingestRecord)
          This method takes the initial request when Ingesting a record.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractIngestProcessor

public AbstractIngestProcessor()
Method Detail

getEngineResults

public List<org.kuali.rice.krms.api.engine.EngineResults> getEngineResults()
Gets the engineResults attribute.

Returns:
engineResults

getDocstoreHelperService

public DocstoreHelperService getDocstoreHelperService()

start

public void start(IngestRecord ingestRecord)
This method takes the initial request when Ingesting a record.

Parameters:
ingestRecord -

process

public void process()
             throws URISyntaxException,
                    IOException,
                    SAXException,
                    XPathExpressionException,
                    ParserConfigurationException,
                    InterruptedException,
                    Exception
This method starts the process for marcXmlContent and ediXmlContent.

Throws:
URISyntaxException
IOException
SAXException
XPathExpressionException
ParserConfigurationException
InterruptedException
Exception

getOverlayOption

public List<OverlayOption> getOverlayOption(String agendaName)
This method gets the ProfileAttributeBos based on agendaName.

Parameters:
agendaName -
Returns:
matching

getProfileAttributeBos

public List<ProfileAttributeBo> getProfileAttributeBos(String agendaName)
This method gets the ProfileAttributeBos based on agendaName.

Parameters:
agendaName -
Returns:
matching

getSelectionContext

protected Map<String,String> getSelectionContext(String contextName)
This method returns selector map contains OLE code and contextName.

Parameters:
contextName -
Returns:
selector

getAgendaContext

protected Map<String,String> getAgendaContext(String agendaName)
This method returns selector map contains agendaName

Parameters:
agendaName -
Returns:
selector

preProcessMarc

public abstract String preProcessMarc(String marcFileContent)

preProcessEDI

public abstract String preProcessEDI(String ediFileContent)

postProcess

public abstract void postProcess()


Copyright © 2004-2013 The Kuali Foundation. All Rights Reserved.