|
i-net Clear Reports | |||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectcom.inet.report.schedule.ScheduleAction
com.inet.report.schedule.CacheAction
public class CacheAction
This action will leave the rendered reports in the cache of
i-net Clear Reports. This may be interesting for you if you want to
provide your reports on the server and not render them on every call by a user.
If you use this CacheAction the reports will stay in the cache of i-net Clear Reports.
If the task using this CacheAction is executed then the report in the cache will
be updated. During the rendering the old instance of the report will be still
available.
This action will only have effect if the cache is a hard disk cache
or a database cache.
Please also set the properties "useClientLocale" to "false" and "reloadOnNewRequest" to
"false" in your i-net Clear Reports configuration so that you will get the
scheduled report when you query the report via the applet or the cache
interface.
| Field Summary |
|---|
| Fields inherited from class com.inet.report.schedule.ScheduleAction |
|---|
TYPE_CACHE, TYPE_CUSTOM, TYPE_EMAIL, TYPE_FILE, TYPE_FTP, TYPE_PRINT |
| Constructor Summary | |
|---|---|
CacheAction()
Creates an instance of CacheAction. |
|
| Method Summary | |
|---|---|
void |
action(ExecutedTask task)
This will render the reports of the task so that they will be updated in the cache of i-net Clear Reports. |
boolean |
isRenderAllFormats()
Returns whether all report formats should be saved into the cache. |
void |
setRenderAllFormats(boolean renderAllFormats)
Sets whether all formats should be saved into the cache or if only the report property "export_fmt" should be used. |
java.lang.String |
toString()
Returns a string representation of this CacheAction. |
| Methods inherited from class com.inet.report.schedule.ScheduleAction |
|---|
getErrorMessages, getType, isValid |
| Constructor Detail |
|---|
public CacheAction()
| Method Detail |
|---|
public void action(ExecutedTask task)
action in class ScheduleActiontask - The task which has been executed including all
reports which are associated with the task.public boolean isRenderAllFormats()
True when all formats will be saved into the cache,
false only the format given with the report property "export_fmt"
will be saved into the cache.setRenderAllFormats(boolean)public void setRenderAllFormats(boolean renderAllFormats)
false.
renderAllFormats - Set to true if you want all formats
and false if you want the format specified with the report
property "export_fmt" should be saved into the cache.isRenderAllFormats()public java.lang.String toString()
ScheduleAction.getErrorMessages() if available.
toString in class ScheduleAction
|
i-net Clear Reports | |||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||