com.raritantechnologies.searchApp.sourceMap.taglibrary
Class SourceMapSearchTag

java.lang.Object
  extended byBodyTagSupport
      extended bycom.raritantechnologies.searchApp.sourceMap.taglibrary.SourceMapSearchTag
All Implemented Interfaces:
IConfigurable, ICustomTag

public class SourceMapSearchTag
extends BodyTagSupport
implements ICustomTag

Implements a Search given a ISourceMap. Used by SourceMapDisplayForm. Puts the result set in the SessionManager's currentResultSet.

Performs a federated search if the number of sources is greater than 1.


Developed by Raritan Technologies .

Author:
Ted Sullivan
See Also:
Serialized Form

Constructor Summary
SourceMapSearchTag()
           
 
Method Summary
 int doStartTag()
           
 java.lang.String getBody(RaritanPageContext rpc)
          Returns the tag body.
 void initialize(org.w3c.dom.Element elem)
          Initializes the object from an XML tag or element.
 void initialize(java.util.Map initParams)
           
 void setCategory(java.lang.String category)
           
 void setDefaultSourceMap(java.lang.String sourceMap)
           
 void setSearchForm(java.lang.String searchForm)
           
 void setSourceMapTreeName(java.lang.String sourceMapTreeName)
           
static IResultSet sourceMappedSearch(java.lang.String defaultSourceMap, java.util.Map requestMap, java.lang.String sessionID, java.lang.String basePath)
           
static IResultSet sourceMappedSearch(java.lang.String defaultSourceMap, java.util.Map requestMap, java.lang.String sessionID, java.lang.String basePath, java.lang.Integer pageSize, java.lang.Integer startRec, java.lang.String sourceMapTreeName)
           
static IResultSet sourceMappedSearch(java.lang.String defaultSourceMap, java.util.Map requestMap, java.lang.String sessionID, java.lang.String basePath, java.lang.Integer pageSize, java.lang.Integer startRec, java.lang.String sourceMapTreeName, java.lang.Integer queryID)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SourceMapSearchTag

public SourceMapSearchTag()
Method Detail

setDefaultSourceMap

public void setDefaultSourceMap(java.lang.String sourceMap)

setSearchForm

public void setSearchForm(java.lang.String searchForm)

setCategory

public void setCategory(java.lang.String category)

setSourceMapTreeName

public void setSourceMapTreeName(java.lang.String sourceMapTreeName)

doStartTag

public int doStartTag()
               throws JspException
Throws:
JspException

getBody

public java.lang.String getBody(RaritanPageContext rpc)
Description copied from interface: ICustomTag
Returns the tag body.

Specified by:
getBody in interface ICustomTag
Parameters:
rpc - Platform-neutral page context ( can be used in non J2EE environments such as ASP).
Returns:
The tag body text string.

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

initialize

public void initialize(java.util.Map initParams)
Specified by:
initialize in interface ICustomTag

sourceMappedSearch

public static IResultSet sourceMappedSearch(java.lang.String defaultSourceMap,
                                            java.util.Map requestMap,
                                            java.lang.String sessionID,
                                            java.lang.String basePath)

sourceMappedSearch

public static IResultSet sourceMappedSearch(java.lang.String defaultSourceMap,
                                            java.util.Map requestMap,
                                            java.lang.String sessionID,
                                            java.lang.String basePath,
                                            java.lang.Integer pageSize,
                                            java.lang.Integer startRec,
                                            java.lang.String sourceMapTreeName)

sourceMappedSearch

public static IResultSet sourceMappedSearch(java.lang.String defaultSourceMap,
                                            java.util.Map requestMap,
                                            java.lang.String sessionID,
                                            java.lang.String basePath,
                                            java.lang.Integer pageSize,
                                            java.lang.Integer startRec,
                                            java.lang.String sourceMapTreeName,
                                            java.lang.Integer queryID)