|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface JRParameter
Field Summary | |
---|---|
static String |
FILTER
A DatasetFilter to be used in addition to JRDataset.getFilterExpression()
for filtering dataset rows. |
static String |
IS_IGNORE_PAGINATION
Whether to use pagination. |
static String |
JASPER_REPORT
A net.sf.jasperreports.engine.JasperReport instance representing the current report template. |
static String |
REPORT_CLASS_LOADER
Deprecated. Replaced by JasperReportsContext . |
static String |
REPORT_CONNECTION
A java.sql.Connection needed to run the default report query. |
static String |
REPORT_CONTEXT
|
static String |
REPORT_DATA_SOURCE
A JRDataSource instance representing the report data source. |
static String |
REPORT_FILE_RESOLVER
Deprecated. Replaced by JasperReportsContext . |
static String |
REPORT_FORMAT_FACTORY
A FormatFactory instance to be used
during the report filling process to create instances of java.text.DateFormat to format date text
fields and instances of java.text.NumberFormat to format numeric text fields. |
static String |
REPORT_LOCALE
A java.util.Locale instance containing the resource bundle desired locale. |
static String |
REPORT_MAX_COUNT
An integer allowing users to limit the datasource size. |
static String |
REPORT_PARAMETERS_MAP
A Map containing report parameters passed by users at fill time. |
static String |
REPORT_RESOURCE_BUNDLE
The java.util.ResourceBundle containing localized messages. |
static String |
REPORT_SCRIPTLET
A JRAbstractScriptlet containing an instance of the report scriptlet provided by the user. |
static String |
REPORT_TEMPLATES
A collection of templates passed to the
report at fill time. |
static String |
REPORT_TIME_ZONE
A java.util.TimeZone instance to use for date formatting. |
static String |
REPORT_URL_HANDLER_FACTORY
Deprecated. Replaced by JasperReportsContext . |
static String |
REPORT_VIRTUALIZER
The JRVirtualizer to be used for page virtualization. |
static String |
SORT_FIELDS
|
Method Summary | |
---|---|
JRExpression |
getDefaultValueExpression()
|
String |
getDescription()
|
String |
getName()
|
Class<?> |
getNestedType()
Returns the parameter nested value type. |
String |
getNestedTypeName()
Returns the name of the parameter nested value type. |
Class<?> |
getValueClass()
|
String |
getValueClassName()
|
boolean |
isForPrompting()
|
boolean |
isSystemDefined()
|
void |
setDescription(String description)
|
Methods inherited from interface net.sf.jasperreports.engine.JRPropertiesHolder |
---|
getParentProperties, getPropertiesMap, hasProperties |
Methods inherited from interface net.sf.jasperreports.engine.JRCloneable |
---|
clone |
Field Detail |
---|
static final String REPORT_PARAMETERS_MAP
static final String JASPER_REPORT
static final String REPORT_CONNECTION
static final String REPORT_MAX_COUNT
static final String REPORT_DATA_SOURCE
JRDataSource
instance representing the report data source. JasperReports defines some convenience implementations
of JRDataSource, but users may create their own data sources for specific needs.
static final String REPORT_SCRIPTLET
JRAbstractScriptlet
containing an instance of the report scriptlet provided by the user.
static final String REPORT_LOCALE
static final String REPORT_RESOURCE_BUNDLE
static final String REPORT_TIME_ZONE
static final String REPORT_VIRTUALIZER
JRVirtualizer
to be used for page virtualization. This parameter is optional.
static final String REPORT_CLASS_LOADER
JasperReportsContext
.
static final String REPORT_URL_HANDLER_FACTORY
JasperReportsContext
.
static final String REPORT_FILE_RESOLVER
JasperReportsContext
.FileResolver
instance to be used during the report filling process to
handle locate files on disk using relative paths.
static final String REPORT_FORMAT_FACTORY
FormatFactory
instance to be used
during the report filling process to create instances of java.text.DateFormat to format date text
fields and instances of java.text.NumberFormat to format numeric text fields.
static final String IS_IGNORE_PAGINATION
If set to true
the report will be generated on one long page.
static final String REPORT_TEMPLATES
collection
of templates
passed to the
report at fill time.
These templates add to the ones specified in the report (see JRReport.getTemplates()
).
In the final templates list they are placed after the report templates; therefore styles from
these templates can use and override styles in the report templates.
They are, however, placed before the report styles hence report styles can use and override
styles from these templates.
static final String SORT_FIELDS
static final String REPORT_CONTEXT
static final String FILTER
DatasetFilter
to be used in addition to JRDataset.getFilterExpression()
for filtering dataset rows.
Method Detail |
---|
String getName()
String getDescription()
void setDescription(String description)
Class<?> getValueClass()
String getValueClassName()
boolean isSystemDefined()
boolean isForPrompting()
JRExpression getDefaultValueExpression()
Class<?> getNestedType()
The parameter nested value type is used when the parameter value class
is not sufficient in determining the expected type of the parameter values.
The most common such scenario is when the parameter value class is
Collection
or a derived class, in which case the nested
type specifies the type of values which are to be placed inside the collection.
null
if none setgetValueClass()
String getNestedTypeName()
null
if none setgetNestedType()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |