Package com.portal.search
Class SearchTemplate
java.lang.Object
com.portal.search.SearchTemplate
- All Implemented Interfaces:
Serializable
,Comparable
The SearchTemplate class is intended to be a basic data structure for
containing template information.
- Version:
- %version: 18 % %date_modified: Tue May 28 10:23:37 2002 %
- Author:
- Larry Lynch-Freshner, Monica Gaines
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionint
The method is the implementation for Comparable Interface.String[]
Returns the result labels for the given template.void
setControlInfo
(Hashtable ciTbl) void
setDirectArgs
(PModelHandle dArgs) Sets the PModelHandle for the search template.
-
Field Details
-
PREFIX
- See Also:
-
name
-
localName
-
directType
public boolean directType -
spec
-
directClass
-
subClass
-
indirectClass
-
indirectSpec
-
caption
-
props
-
isGen
public boolean isGen -
used
public boolean used -
usable
public boolean usable -
results
-
sort
-
sortIndex
public int sortIndex -
classes
-
mergeSpec
-
mergeSearch
-
readFields
public boolean readFields -
directSearch
-
indirectSearch
-
-
Constructor Details
-
SearchTemplate
public SearchTemplate()
-
-
Method Details
-
setDirectArgs
Sets the PModelHandle for the search template. It is used to build the search panel and to generate the search.- Parameters:
dArgs
- the PModelHandle representing the arguments
-
getDirectArgs
-
getControlInfo
-
setControlInfo
-
compareTo
The method is the implementation for Comparable Interface. This directs the sorting mechanism to be done for SearchTemplate objects.- Specified by:
compareTo
in interfaceComparable
- Parameters:
otherSearchTemplate
- the SearchTemplate representing the arguments
-
getResultLabels
Returns the result labels for the given template.
-