com.raritantechnologies.eCommerceAdmin
Class IndexStatusUpdater

java.lang.Object
  extended bycom.raritantechnologies.searchApp.dataCollection.GatewayProcessorFilter
      extended bycom.raritantechnologies.eCommerceAdmin.IndexStatusUpdater
All Implemented Interfaces:
ICollectionIndexer, IConfigurable, IGatewayOutputProcessor, IResultSetProcessor

public class IndexStatusUpdater
extends GatewayProcessorFilter

Collection build stream GatewayOutputProcessor - updates record status for eCommerce applications.

XML Configuration Template:
   <GatewayOutputProcessor class="com.raritantechnologies.eCommerceAdmin.IndexStatusUpdater"
                              itemIDField="[ database  item id field name]"
                              approvedLog="[ log file where newly approved documents are logged ]"
                              rejectedLog="[ log file where rejected documents are logged ]"
                              sourceTypeField="[ result field with source Type information ]"
                              sourceNameField="[ result field with source name information ]"
                              IDField="[ result field with result ID ]"
                              docNameField="[ result field with document name ]"
                              extraFields="[ list of extra fields to be saved in logs ]" >

   </GatewayOutputProcessor>
 

Developed by Raritan Technologies Inc..

Author:
Ted Sullivan

Field Summary
 
Fields inherited from class com.raritantechnologies.searchApp.dataCollection.GatewayProcessorFilter
postProcessorFilters
 
Fields inherited from interface com.raritantechnologies.searchApp.dataCollection.ICollectionIndexer
ADD, CREATE, DELETE, UPDATE
 
Constructor Summary
IndexStatusUpdater()
           
 
Method Summary
protected  IResultSet filterData(IResultSet data)
           
 void initialize(org.w3c.dom.Element elem, ISearchFieldMap sfMap)
          Initialize the GatewayOutputProcessor from XML Configuration Element.
 
Methods inherited from class com.raritantechnologies.searchApp.dataCollection.GatewayProcessorFilter
addOutputProcessor, addPostProcessor, dataComplete, filterResultSet, getConfigurationXML, initialize, initialize, processData, processResultSet, sendToOutput, setIndexMode, setResultMatcher, setUserMatcher
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IndexStatusUpdater

public IndexStatusUpdater()
Method Detail

filterData

protected IResultSet filterData(IResultSet data)
Overrides:
filterData in class GatewayProcessorFilter

initialize

public void initialize(org.w3c.dom.Element elem,
                       ISearchFieldMap sfMap)
Description copied from interface: IGatewayOutputProcessor
Initialize the GatewayOutputProcessor from XML Configuration Element.

Specified by:
initialize in interface IGatewayOutputProcessor
Overrides:
initialize in class GatewayProcessorFilter