|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.raritantechnologies.searchApp.reporting.TopResultReporter
Builds a sorted list of the "top" results by executing pre-configured query against some
SearchSource.
<JobProcess processClass="com.raritantechnologies.searchApp.reporting.TopResultReporter"
numberOfRows="10"
sortBy="QUERIES"
outputFileLocation="[ some path to put file]"
outputFileFormat="HTML_PAGE/HTML_TABLE/TEXT/XML"
sourceName="[search source name]"
userName="[search source valid username]"
password="[password valid for search source]"
tableAttributes="border='0' cellspacing='0' cellpadding='0'" >
<Query>
<Field ID="[a search field]" value="[value to search]" />
<Field ID="[another field]" value="[value to search]" />
</Query>
<ResultRenderer rendererClass="[ an RTI IResultRenderer class . . .]" >
<!-- information needed by Result Renderer class . . . -->
</ResultRenderer>
<!-- Alternatively, can use an IDisplayFormRenderer to generate the report -->
<DisplayFormRenderer class="[ class of com.raritantechnologies.searchApp.taglibrary.IDisplayFormRenderer ]" >
<!-- information needed by DisplayFormRenderer class . . . -->
</DisplayFormRenderer>
</JobProcess>
| Constructor Summary | |
TopResultReporter()
|
|
TopResultReporter(java.lang.String outputFormat,
java.lang.String tableAttributes,
IReporter reporter)
|
|
| Method Summary | |
void |
executeJob(RaritanPageContext rpc)
|
void |
executeJob(java.lang.String[] args)
|
void |
executeJob(java.lang.String sessionID,
IReporter reporter,
SourceLoginInfo[] sources,
OrderedMap searchParams,
java.lang.String[] args)
|
java.lang.String |
getConfigurationXML()
|
IReporter |
getReporter()
returns the IReporter used by this reporting process. |
SourceLoginInfo[] |
getSearchSources()
|
void |
initialize(org.w3c.dom.Element elem)
Initializes the object from an XML tag or element. |
void |
setReporter(IReporter reporter)
sets the Reporter to use for data output handling. |
void |
setSearchParams(OrderedMap searchParams)
|
void |
setSearchSources(SourceLoginInfo[] sources)
|
void |
setSessionID(java.lang.String sessionID)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public TopResultReporter()
public TopResultReporter(java.lang.String outputFormat,
java.lang.String tableAttributes,
IReporter reporter)
| Method Detail |
public void initialize(org.w3c.dom.Element elem)
IConfigurable
initialize in interface IJobProcesspublic void executeJob(RaritanPageContext rpc)
executeJob in interface IJobProcesspublic void executeJob(java.lang.String[] args)
executeJob in interface IJobProcess
public void executeJob(java.lang.String sessionID,
IReporter reporter,
SourceLoginInfo[] sources,
OrderedMap searchParams,
java.lang.String[] args)
executeJob in interface IReportingProcesspublic void setReporter(IReporter reporter)
IReportingProcess
setReporter in interface IReportingProcessreporter - The IReporter object that will handle data saving etc.public IReporter getReporter()
IReportingProcess
getReporter in interface IReportingProcesspublic void setSearchSources(SourceLoginInfo[] sources)
setSearchSources in interface IReportingProcesspublic SourceLoginInfo[] getSearchSources()
getSearchSources in interface IReportingProcesspublic void setSearchParams(OrderedMap searchParams)
setSearchParams in interface IReportingProcesspublic void setSessionID(java.lang.String sessionID)
setSessionID in interface IReportingProcesspublic java.lang.String getConfigurationXML()
getConfigurationXML in interface IJobProcess
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||