Klasse ReportCacheKey
java.lang.Object
com.inet.report.cache.ReportCacheKey
- Alle implementierten Schnittstellen:
Serializable
This class represents a unique key for a report output. The object is not mutable.
- Siehe auch:
-
Konstruktorübersicht
KonstruktorenKonstruktorBeschreibungReportCacheKey(String report, String parameter, String format, long vgen) Creates a new ReportCacheKey. -
Methodenübersicht
Modifikator und TypMethodeBeschreibungbooleanCompares the values of this ReportCacheKey with those of the other ReportCacheKey.Returns the export format of the report.Returns the report relevant parameters.Returns the report name (file path) of the report.longgetVGen()Returns the value of the property "vgen".inthashCode()Summary of report-hashcode and parameter-hashcode.toString()Returns a String representation of this ReportCacheKey.
-
Konstruktordetails
-
ReportCacheKey
public ReportCacheKey(String report, String parameter, String format, long vgen) throws ReportException Creates a new ReportCacheKey. The parameter report cannot be null or empty.- Parameter:
report- e.g "file:C:/i-net Clear Reports/reports/test.rpt"parameter- The parameters for the report as a string, key-value pairs paired with the equal sign and separated by ampersands, e.g. "vgen=141513&init=pdf&..."format- the export format for the report. e.g Engine.EXPORT_PDFvgen- default value is 0.- Löst aus:
ReportException- when the report is empty- Seit:
- 6.0
-
-
Methodendetails
-
hashCode
-
equals
Compares the values of this ReportCacheKey with those of the other ReportCacheKey. -
getReport
Returns the report name (file path) of the report.- Gibt zurück:
- The report name (file path) of the report.
- Seit:
- 6.0
-
getParameter
Returns the report relevant parameters.- Gibt zurück:
- The report relevant parameters as a string, paired with the equal sign and separated by ampersands, e.g. "vgen=0&init=pdf&..."
- Seit:
- 6.0
-
getVGen
public long getVGen()Returns the value of the property "vgen".- Gibt zurück:
- The value of the property "vgen".
- Seit:
- 6.0
-
getFormat
Returns the export format of the report.- Gibt zurück:
- The export format of the report.
- Seit:
- 6.0
-
toString
-