public class ReportProvider
extends java.lang.Object
ReportProvider
provides methods for executing reports
This Class is usually used in Rule-classes and allows API access only
Constructor and Description |
---|
ReportProvider() |
Modifier and Type | Method and Description |
---|---|
static NuclosFile |
run(OutputFormat format)
This method runs the
Report that belongs to the given OutputFormat and returns
the generated NuclosFile |
static NuclosFile |
run(OutputFormat format,
java.util.Map<java.lang.String,java.lang.Object> params)
Providing the parameters this method runs the
Report that belongs to the given OutputFormat and
returns the generated NuclosFile |
static NuclosFile |
run(OutputFormat format,
java.util.Map<java.lang.String,java.lang.Object> params,
NuclosLocale locale)
Providing the parameters this method runs the
Report that belongs to the given OutputFormat and
returns the generated NuclosFile containing all localized data in the given locale language |
static NuclosFile |
run(OutputFormat format,
NuclosLocale locale)
This method runs the
Report that belongs to the given OutputFormat and returns
the generated NuclosFile containing all localized data in the given locale language |
static NuclosFile |
run(UID outputFormatId,
java.util.Map<java.lang.String,java.lang.Object> params,
NuclosLocale locale) |
void |
setReportService(ReportService repService) |
public void setReportService(ReportService repService)
public static NuclosFile run(OutputFormat format) throws BusinessException
Report
that belongs to the given OutputFormat
and returns
the generated NuclosFile
format
- OutputFormat
- ReportOutputFormat stored in the generated report classNuclosFile
BusinessException
public static NuclosFile run(OutputFormat format, java.util.Map<java.lang.String,java.lang.Object> params) throws BusinessException
Report
that belongs to the given OutputFormat
and
returns the generated NuclosFile
format
- OutputFormat
- ReportOutputFormat stored in the generated report classparams
- Map
- Parameters for the reportNuclosFile
BusinessException
public static NuclosFile run(OutputFormat format, NuclosLocale locale) throws BusinessException
Report
that belongs to the given OutputFormat
and returns
the generated NuclosFile
containing all localized data in the given locale languageformat
- OutputFormat
- ReportOutputFormat stored in the generated report classlocale
- NuclosLocale
- Data localeNuclosFile
BusinessException
public static NuclosFile run(OutputFormat format, java.util.Map<java.lang.String,java.lang.Object> params, NuclosLocale locale) throws BusinessException
Report
that belongs to the given OutputFormat
and
returns the generated NuclosFile
containing all localized data in the given locale languageformat
- OutputFormat
- ReportOutputFormat stored in the generated report classparams
- Map
- Parameters for the reportlocale
- NuclosLocale
- Data localeNuclosFile
BusinessException
public static NuclosFile run(UID outputFormatId, java.util.Map<java.lang.String,java.lang.Object> params, NuclosLocale locale) throws BusinessException
BusinessException
Copyright © 2024. All rights reserved.