com.raritantechnologies.searchApp.sourceMap
Class SessionDataKeySourceReader
java.lang.Object
com.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
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SessionDataKeySourceReader
public SessionDataKeySourceReader()
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