|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.raritantechnologies.searchApp.alert.AlertPageGenerator
Job Process that generates an Alert page.
XML Configuration Template:
<JobProcess class="com.raritantechnologies.searchApp.alert.AlertPageGenerator"
queryReaderName="[ name of QueryResultSetReader ]"
alertResultSize="[ max number of records in alert ]"
alertPeriod="[ alert interval ]" >
<AlertFormatter formatterClass="[ class of com.raritantechnologies.searchApp.alert.IAlertFormatter ]" >
</AlertFormatter>
<!-- Reporter - outputs the alert in some fashion (e.g. send email, cache) etc. -->
<Reporter reporterClass="[ class of com.raritantechnologies.searchApp.reporting.IReporter ]" >
</Reporter>
</JobProcess>
| Constructor Summary | |
AlertPageGenerator()
|
|
| Method Summary | |
void |
executeJob(RaritanPageContext rpc)
|
void |
executeJob(java.lang.String[] args)
Use IUserInfoReader to get a set of Users. |
java.lang.String |
getAlertPage(ILoginInfo userInfo)
|
java.lang.String |
getConfigurationXML()
|
void |
initialize(org.w3c.dom.Element elem)
Initializes the object from an XML tag or element. |
java.lang.String |
processAlerts(ILoginInfo userInfo,
QueryResultBeanSet queries,
DateSearchField fromDate,
DateSearchField toDate)
process the alerts. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public AlertPageGenerator()
| Method Detail |
public void executeJob(RaritanPageContext rpc)
executeJob in interface IJobProcesspublic void executeJob(java.lang.String[] args)
executeJob in interface IJobProcesspublic java.lang.String getAlertPage(ILoginInfo userInfo)
public java.lang.String processAlerts(ILoginInfo userInfo,
QueryResultBeanSet queries,
DateSearchField fromDate,
DateSearchField toDate)
IAlertProcessor
processAlerts in interface IAlertProcessoruserInfo - User that owns the alert.queries - Set of user queries.fromDate - date for earliest resulttoDate - latest date for alert result
public void initialize(org.w3c.dom.Element elem)
IConfigurable
initialize in interface IJobProcesspublic java.lang.String getConfigurationXML()
getConfigurationXML in interface IJobProcess
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||