com.raritantechnologies.federated.eRoom
Class ERoomSearchSourceFactory

java.lang.Object
  extended bycom.raritantechnologies.searchApp.XMLSearchSourceFactory
      extended bycom.raritantechnologies.federated.eRoom.ERoomSearchSourceFactory
All Implemented Interfaces:
IXMLSearchSourceFactory

public class ERoomSearchSourceFactory
extends XMLSearchSourceFactory

Responsible for constructing ERoomSearchSource objects from <SourceType> XML tags.

XML Configuration Template:
  <SourceType name="[ source name ]" type="ERoomSearchSource" displayName="[ source display name ]"
                 debug="true|false"
                 eRoomURI="base ERoom target"
                 eRoomExtension="ERoom site or facility extension"
                 sourceFactoryClass="com.raritantechnologies.federated.eRoom.ERoomSearchSourceFactory" 
                 queryProcessor="com.raritantechnologies.federated.eRoom.ERoomQueryProcessor" >

     <LoginProcess UserName="[ the user's eRoom user name ]" 
                      Password="[ user password (clear text) ]"
                      PasswordEnc="[ DES encrypted password ]" />

     <ResultMap>
       <ResultField colName="[ name of eroom column ]" Name="[ standard name ]" />
     </ResultMap>

     <!-- Proxy Settings for http firewalls: -->
     <ProxySettings>

     </ProxySettings>

  </SourceType>
 

Developed by Raritan Technologies .

Author:
Pat Crabtree

Constructor Summary
ERoomSearchSourceFactory()
           
 
Method Summary
 SearchSource[] createSearchSources(org.w3c.dom.Element sourceElem, ISearchFieldMapFactory factory)
           
static void initializeQueryFields(org.w3c.dom.Element sourceElem, SearchSource sSource)
           
 boolean isDEBUG()
           
 void setDEBUG(boolean debug)
           
 
Methods inherited from class com.raritantechnologies.searchApp.XMLSearchSourceFactory
changeBasePath, initializeFieldFormatters, initializeSource, initializeStaticFields
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ERoomSearchSourceFactory

public ERoomSearchSourceFactory()
Method Detail

createSearchSources

public SearchSource[] createSearchSources(org.w3c.dom.Element sourceElem,
                                          ISearchFieldMapFactory factory)
Specified by:
createSearchSources in interface IXMLSearchSourceFactory
Specified by:
createSearchSources in class XMLSearchSourceFactory

initializeQueryFields

public static void initializeQueryFields(org.w3c.dom.Element sourceElem,
                                         SearchSource sSource)

isDEBUG

public boolean isDEBUG()

setDEBUG

public void setDEBUG(boolean debug)