i-net Clear Reports

com.inet.report.schedule
Class ScheduleTask.LastGeneratedReportInstance

java.lang.Object
  extended by com.inet.report.schedule.ScheduleTask.LastGeneratedReportInstance
Enclosing class:
ScheduleTask

public static class ScheduleTask.LastGeneratedReportInstance
extends java.lang.Object

Contains information about a report that has been rendered and it's files. They can be used to download the report again.
One object of this represents one rendered report-instance (there can be more instances of one report with dynamic properties which renders all formats.
This object will be stored in prefs with Json.
This stores filenames of saved files which has been created by a FileAction or sth similar.
This additionally stores a ReportCacheKey, which points to the rendered report.


Constructor Summary
ScheduleTask.LastGeneratedReportInstance()
           
 
Method Summary
 java.util.ArrayList getFiles()
          Get the paths to the files
 java.lang.String getNameSuffix()
          get the name suffix which is to be shown after the report name.
 void setFiles(java.util.ArrayList files)
          set the filePaths
 void setNameSuffix(java.lang.String nameSuffix)
          Set a name suffix for the report name.
 

Constructor Detail

ScheduleTask.LastGeneratedReportInstance

public ScheduleTask.LastGeneratedReportInstance()
Method Detail

getFiles

public java.util.ArrayList getFiles()
Get the paths to the files

Returns:
the filePaths

setFiles

public void setFiles(java.util.ArrayList files)
set the filePaths

Parameters:
files - the filePaths to set

setNameSuffix

public void setNameSuffix(java.lang.String nameSuffix)
Set a name suffix for the report name.
This text is displayed after the report name when this ReportInstance is offered to be downloaded by the Web-GUI.

Parameters:
nameSuffix - the suffix to show, can be null.

getNameSuffix

public java.lang.String getNameSuffix()
get the name suffix which is to be shown after the report name.

Returns:
the name suffix, can be null.

i-net Clear Reports

Copyright © 1999-2015 by i-net software GmbH