com.googlecode.fascinator.portal.process
Class RecordProcessor

java.lang.Object
  extended by com.googlecode.fascinator.portal.process.RecordProcessor
All Implemented Interfaces:
Processor

public class RecordProcessor
extends Object
implements Processor

Pulls records using a specific Solr Query, as specified in the config file.
Processing is stage-sensitive. For "pre"- processing: @see #getRecords(String, String, String, HashMap) For "post"- processing @see #postProcess(String, String, String, HashMap)

Author:
Shilo Banihit

Constructor Summary
RecordProcessor()
           
 
Method Summary
 boolean process(String id, String inputKey, String outputKey, String stage, String configFilePath, HashMap<String,Object> dataMap)
          Main processing method.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RecordProcessor

public RecordProcessor()
Method Detail

process

public boolean process(String id,
                       String inputKey,
                       String outputKey,
                       String stage,
                       String configFilePath,
                       HashMap<String,Object> dataMap)
                throws Exception
Main processing method.

Specified by:
process in interface Processor
Throws:
Exception


Copyright © 2009-2014. All Rights Reserved.