com.raritantechnologies.searchApp.sourceMap
Class SessionDataKeySourceReader

java.lang.Object
  extended bycom.raritantechnologies.searchApp.sourceMap.SessionDataKeySourceReader
All Implemented Interfaces:
IConfigurable, IKeySourceReader

public class SessionDataKeySourceReader
extends java.lang.Object
implements IKeySourceReader

Implementation of IKeySourceReader that uses the currently cached result Keys in the SessionData map.

XML Configuration Template:
  <SystemObjects>
    <SystemObject type="KeySourceReader" name="[the name]"
                     sessionKey="Name of key HashSet in sessionData map" >

      <!-- Maps an original search source to a search source designed to do fast
              key lookup. Maps to SourceType tags within this configuration XML -->
      <SourceLookup>
        <Source name="inputName" keyLookupSource="lookupName" keyFieldID="VdkVgwKey" />
      </SourceLookup>

    </SystemObject>
  </SystemObjects>
 

Developed by Raritan Technologies .

Author:
Ted Sullivan

Constructor Summary
SessionDataKeySourceReader()
           
 
Method Summary
 IResultSet getKeyResultSet(ILoginInfo userInfo)
           
 void initialize(org.w3c.dom.Element elem)
          Initializes the object from an XML tag or element.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SessionDataKeySourceReader

public SessionDataKeySourceReader()
Method Detail

getKeyResultSet

public IResultSet getKeyResultSet(ILoginInfo userInfo)
Specified by:
getKeyResultSet in interface IKeySourceReader

initialize

public void initialize(org.w3c.dom.Element elem)
Description copied from interface: IConfigurable
Initializes the object from an XML tag or element. This method is called by the Framework as part of the application initializtion. see ConfigurationManager, XMLConfigurationManager, XMLSearchFieldMapFactory, XMLSearchSourceFactory. Configurable objects that are owned or contained by other configurable objects will be initialized in by the parent object.

Specified by:
initialize in interface IConfigurable