Expresso 5-6

com.jcorporate.expresso.ext.report
Interface MultiFormatReport

All Superinterfaces:
ExpressoReport

public interface MultiFormatReport
extends ExpressoReport

A MultiFormatted report is a report that can be sent in multiple format types. For example, many report engines can print their reports in: XML, CSV, PDF, Html, Excel, etc. Reports that have this multiple output capability should implement this interface so that the report engine driver can work with the various export types.

Author:
Michael Rimov

Method Summary
 List getReportFormats()
          Retrieve a List of ValidValue objects that define by key and friendly name the types of reports that are available.
 void setReportFormat(String reportTypeKey)
          Sets the report type.
 
Methods inherited from interface com.jcorporate.expresso.ext.report.ExpressoReport
getDefaultValue, getParameterNames, getReportFileExtension, getReportMimeType, getTitle, printReport, setDataContext, setReportCode, setReportParameters
 

Method Detail

getReportFormats

public List getReportFormats()
Retrieve a List of ValidValue objects that define by key and friendly name the types of reports that are available. The end user can then select the format they desire.

Returns:
java.util.List

setReportFormat

public void setReportFormat(String reportTypeKey)
Sets the report type. The report type key must

Parameters:
reportTypeKey - the key in the valid value list.
Throws:
IllegalArgumentException - if the report type key is unsupported.

Expresso 5-6

Please see www.jcorporate.com for information about new Expresso releases.