public class DJGroupRegistrationManager extends AbstractEntityRegistrationManager
DJGroup
COLOR_SCHEMA_BLUE, COLOR_SCHEMA_GRAY, COLOR_SCHEMA_LIGHT_GREEN, COLOR_SCHEMA_PINK, COLOR_SCHEMA_PINK_AND_BROWN, COLOR_SCHEMA_VIOLET, COLOR_SCHEMA_WHITE, CUSTOM_EXPRESSION__PARAMETERS_MAP, DATA_SOURCE_ORIGIN_FIELD, DATA_SOURCE_ORIGIN_PARAMETER, DATA_SOURCE_ORIGIN_REPORT_DATASOURCE, DATA_SOURCE_ORIGIN_USE_REPORT_CONNECTION, DATA_SOURCE_TYPE_ARRAY, DATA_SOURCE_TYPE_COLLECTION, DATA_SOURCE_TYPE_CSV, DATA_SOURCE_TYPE_HIBERNATE_ITERATE, DATA_SOURCE_TYPE_HIBERNATE_LIST, DATA_SOURCE_TYPE_HIBERNATE_SCROLL, DATA_SOURCE_TYPE_JPA, DATA_SOURCE_TYPE_JRDATASOURCE, DATA_SOURCE_TYPE_MONDRIAN, DATA_SOURCE_TYPE_OGNL_VALUE_STACK, DATA_SOURCE_TYPE_RESULTSET, DATA_SOURCE_TYPE_SQL_CONNECTION, DATA_SOURCE_TYPE_XML, FOOTER, FORMAT_CSV, FORMAT_HTML, FORMAT_PDF, FORMAT_RTF, FORMAT_XLS, FORMAT_XML, HEADER, QUERY_LANGUAGE_EJBQL, QUERY_LANGUAGE_HQL, QUERY_LANGUAGE_MONDRIAN, QUERY_LANGUAGE_SQL, QUERY_LANGUAGE_XPATH, REPORT_LANGUAGE_GROOVY, REPORT_LANGUAGE_JAVA, REPORT_LANGUAGE_JAVASCRIPT, SUBREPORT_PARAM_ORIGIN_CUSTOM, SUBREPORT_PARAM_ORIGIN_FIELD, SUBREPORT_PARAM_ORIGIN_PARAMETER, SUBREPORT_PARAM_ORIGIN_VARIABLE, SUBREPORT_PARAMETER_MAP_ORIGIN_FIELD, SUBREPORT_PARAMETER_MAP_ORIGIN_PARAMETER, WHEN_NO_DATA_TYPE_ALL_SECTIONS_NO_DETAIL, WHEN_NO_DATA_TYPE_BLANK_PAGE, WHEN_NO_DATA_TYPE_NO_DATA_SECTION, WHEN_NO_DATA_TYPE_NO_PAGES, WHEN_RESOURCE_MISSING_TYPE_EMPTY, WHEN_RESOURCE_MISSING_TYPE_ERROR, WHEN_RESOURCE_MISSING_TYPE_KEY, WHEN_RESOURCE_MISSING_TYPE_NULL
Constructor and Description |
---|
DJGroupRegistrationManager(DynamicJasperDesign jd,
DynamicReport dr,
LayoutManager layoutManager) |
Modifier and Type | Method and Description |
---|---|
protected void |
registerEntity(Entity entity)
Registers in the report's JasperDesign instance whatever is needed to
show a given entity.
|
protected Object |
transformEntity(Entity entity)
Transforms a DynamicJasper entity into a JasperReport one
(JRDesignField, JRDesignParameter, JRDesignVariable)
|
protected void |
useVariableForCustomExpression(net.sf.jasperreports.engine.design.JRDesignGroup group,
net.sf.jasperreports.engine.design.JRDesignExpression jrExpression,
CustomExpression customExpression)
When a group expression gets its value from a CustomExpression, a variable must be used otherwise it will fail
to work as expected.
|
getDjd, getDynamicReport, getLayoutManager, registerCustomExpressionParameter, registerEntities
public DJGroupRegistrationManager(DynamicJasperDesign jd, DynamicReport dr, LayoutManager layoutManager)
protected void registerEntity(Entity entity)
AbstractEntityRegistrationManager
registerEntity
in class AbstractEntityRegistrationManager
protected Object transformEntity(Entity entity) throws net.sf.jasperreports.engine.JRException
AbstractEntityRegistrationManager
transformEntity
in class AbstractEntityRegistrationManager
net.sf.jasperreports.engine.JRException
protected void useVariableForCustomExpression(net.sf.jasperreports.engine.design.JRDesignGroup group, net.sf.jasperreports.engine.design.JRDesignExpression jrExpression, CustomExpression customExpression) throws net.sf.jasperreports.engine.JRException
group
- jrExpression
- customExpression
- net.sf.jasperreports.engine.JRException
Copyright © 2006–2015 FDV Solutions. All rights reserved.