|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.ObjectBodyTagSupport
com.raritantechnologies.searchApp.reporting.taglibrary.TimedReportingTag
Executes a reporting job to refresh a screen tag at some configurable time interval.
XML Configuration Template:
<SearchElementRenderer class="com.raritantechnologies.searchApp.reporting.taglibrary.TimedReportingTag"
reportProcessName="[ name of reporting process ]"
cacheInterval="[ recache interval in milliseconds ]" >
</SearchElementRenderer>
| Constructor Summary | |
TimedReportingTag()
|
|
| Method Summary | |
int |
doStartTag()
Main entry point for JSP custom tag. |
java.lang.String |
getBody(ISearchFormRenderer parent,
RaritanPageContext rpc)
Returns the element html fragment. |
java.lang.String |
getBody(RaritanPageContext rpc)
Main entry point for RTI ICustomTag implementations. |
ISearchElementRenderer |
getRenderer(java.lang.String name)
Returns ISearchElementRenderer of this render or a nested renderer matching the name given or null if no match is found. |
void |
initialize(org.w3c.dom.Element elem)
Initialize renderer-specific parameters from the configuration XML tag. |
void |
initialize(java.util.Map initParams)
|
boolean |
isHidden(ISearchFormRenderer parent,
RaritanPageContext pageContext)
|
void |
setAddPersistentParams(java.lang.String addPersist)
sets flag to determine if this tag will add persistent parameters to the application (parameters whose state should be preserved across page requests). |
void |
setCacheInterval(java.lang.String cacheInterval)
sets the cache interval in milliseconds. |
void |
setEnable(boolean enabled)
Enable/Disable the renderer. |
void |
setRecacheParameters(java.lang.String recacheParameters)
sets a list of parameters that will trigger a refresh of the report when they change. |
void |
setReportProcessName(java.lang.String reportProcessName)
sets the name of reporting process (defined as a SystemObject tag in the application's configuration XML. |
void |
setSearchParameters(java.lang.String searchParams)
sets a list of parameters that will be used as search parameters for the report's SearchSource. |
void |
setSearchSourceParam(java.lang.String searchSourceParam)
Sets the request parameter name that will contain the name of the SearchSource to use for the reporting process. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public TimedReportingTag()
| Method Detail |
public void setReportProcessName(java.lang.String reportProcessName)
public void setCacheInterval(java.lang.String cacheInterval)
public void setAddPersistentParams(java.lang.String addPersist)
public void setSearchSourceParam(java.lang.String searchSourceParam)
public void setRecacheParameters(java.lang.String recacheParameters)
recacheParameters - Comma separated list of request parameters that will trigger
a report refresh.public void setSearchParameters(java.lang.String searchParams)
searchParams - Comma separated list of request parameters that will be used
as search parameters for the report's SearchSource.
public int doStartTag()
throws JspException
JspExceptionpublic java.lang.String getBody(RaritanPageContext rpc)
getBody in interface ICustomTagrpc - Platform-neutral page context ( can be used in non J2EE environments such as ASP).
public java.lang.String getBody(ISearchFormRenderer parent,
RaritanPageContext rpc)
ISearchElementRenderer
getBody in interface ISearchElementRendererpublic void setEnable(boolean enabled)
ISearchElementRenderer
setEnable in interface ISearchElementRendererpublic ISearchElementRenderer getRenderer(java.lang.String name)
ISearchElementRenderer
getRenderer in interface ISearchElementRenderer
public boolean isHidden(ISearchFormRenderer parent,
RaritanPageContext pageContext)
isHidden in interface ISearchElementRendererpublic void initialize(org.w3c.dom.Element elem)
ISearchElementRenderer
initialize in interface IConfigurablepublic void initialize(java.util.Map initParams)
initialize in interface ICustomTag
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||