EspressReport 6.6

quadbase.reportdesigner.util
Interface IDynamicReportKeyGenerator


public interface IDynamicReportKeyGenerator

This interface allows the user to provide a custom URL for each report. It is only used when exporting to DHTML and dynamic export is set to true. The likely scenario is that the export is being streamed to an output stream rather than being written to a file. Classes implementing this interface will define the 'generateReportURL' method which takes a report in the form of a byte array and returns a string ID where the report can be accessed from the server. for example http://127.0.0.1:8080/servlet/DrillDownReportServlet?KEY= It is responsibility of the implementing class to store this byte array and make it available via an URL connection. Please see the RPTImageGenerator servlet \ (quickstart guide 1.5.7.11.1) for an example.


Method Summary
 java.lang.String generateReportKey(byte[] report)
          Takes the bytes of a report and make it available at the returned URL string.
 

Method Detail

generateReportKey

java.lang.String generateReportKey(byte[] report)
Takes the bytes of a report and make it available at the returned URL string.


EspressReport 6.6