Package io.jmix.reports.libintegration
Class JmixTableFormatter
java.lang.Object
io.jmix.reports.yarg.formatters.impl.AbstractFormatter
io.jmix.reports.libintegration.JmixTableFormatter
- All Implemented Interfaces:
ReportFormatter
@Component("report_JmixTableFormatter")
@Scope("prototype")
public class JmixTableFormatter
extends AbstractFormatter
-
Nested Class Summary
Nested classes/interfaces inherited from class io.jmix.reports.yarg.formatters.impl.AbstractFormatter
AbstractFormatter.BandPathAndParameterName, AbstractFormatter.InlinerAndMatcher
-
Field Summary
Modifier and TypeFieldDescriptionprotected MessageTools
protected Metadata
protected MetadataTools
protected StandardSerialization
Fields inherited from class io.jmix.reports.yarg.formatters.impl.AbstractFormatter
ALIAS_GROUP, ALIAS_WITH_BAND_NAME_PATTERN, ALIAS_WITH_BAND_NAME_REGEXP, BAND_NAME_DECLARATION_PATTERN, BAND_NAME_DECLARATION_REGEXP, contentInliners, defaultFormatProvider, groovyScriptParametersProvider, outputStream, outputType, reportTemplate, rootBand, scripting, SIMPLE_ALIAS_REGEXP, STRING_FUNCTION_GROUP, supportedOutputTypes, UNIVERSAL_ALIAS_PATTERN, UNIVERSAL_ALIAS_REGEXP, VALUE
-
Constructor Summary
ModifierConstructorDescriptionprotected
JmixTableFormatter
(FormatterFactoryInput formatterFactoryInput) -
Method Summary
Modifier and TypeMethodDescriptionprotected void
checkInstanceNameLoaded
(Object value) protected boolean
containsHeader
(Set<JmixTableData.ColumnInfo> headers, String header) protected boolean
containsLowerCaseDuplicate
(JmixTableData.ColumnInfo columnInfo, Set<JmixTableData.ColumnInfo> headers) protected JmixTableData
getTableData
(TemplateTableDescription templateTableDescription, Map<String, List<KeyValueEntity>> transformedData, Map<String, Set<JmixTableData.ColumnInfo>> headerMap, Map<String, List<BandData>> childrenBands) void
Creates document and serializes it to predefined stream (or something like this)protected JmixTableData
transformData
(BandData rootBand) Methods inherited from class io.jmix.reports.yarg.formatters.impl.AbstractFormatter
applyStringFunction, checkThreadInterrupted, containsJustOneAlias, createDocument, defaultFormat, findBandByPath, formatValue, formatValue, getAllAliases, getContentInlinerForFormat, getContentInliners, getFormatString, getFullParameterName, inlineParameterValue, insertBandDataToString, isGroovyScript, separateBandNameAndParameterName, setContentInliners, setDefaultFormatProvider, setScripting, unwrapParameterName, wrapWithReportingException, wrapWithReportingException
-
Field Details
-
messageTools
-
metadata
-
metadataTools
-
standardSerialization
-
-
Constructor Details
-
JmixTableFormatter
-
-
Method Details
-
renderDocument
public void renderDocument()Description copied from interface:ReportFormatter
Creates document and serializes it to predefined stream (or something like this) -
transformData
-
getTableData
protected JmixTableData getTableData(TemplateTableDescription templateTableDescription, Map<String, List<KeyValueEntity>> transformedData, Map<String, Set<JmixTableData.ColumnInfo>> headerMap, Map<String, List<BandData>> childrenBands) -
containsLowerCaseDuplicate
protected boolean containsLowerCaseDuplicate(JmixTableData.ColumnInfo columnInfo, Set<JmixTableData.ColumnInfo> headers) -
checkInstanceNameLoaded
-
containsHeader
-