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 SummaryNested classes/interfaces inherited from class io.jmix.reports.yarg.formatters.impl.AbstractFormatterAbstractFormatter.BandPathAndParameterName, AbstractFormatter.InlinerAndMatcher
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprotected MessageToolsprotected Metadataprotected MetadataToolsprotected StandardSerializationFields inherited from class io.jmix.reports.yarg.formatters.impl.AbstractFormatterALIAS_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 SummaryConstructorsModifierConstructorDescriptionprotectedJmixTableFormatter(FormatterFactoryInput formatterFactoryInput) 
- 
Method SummaryModifier and TypeMethodDescriptionprotected voidcheckInstanceNameLoaded(Object value) protected booleancontainsHeader(Set<JmixTableData.ColumnInfo> headers, String header) protected booleancontainsLowerCaseDuplicate(JmixTableData.ColumnInfo columnInfo, Set<JmixTableData.ColumnInfo> headers) protected JmixTableDatagetTableData(TemplateTableDescription templateTableDescription, Map<String, List<KeyValueEntity>> transformedData, Map<String, Set<JmixTableData.ColumnInfo>> headerMap, Map<String, List<BandData>> childrenBands) voidCreates document and serializes it to predefined stream (or something like this)protected JmixTableDatatransformData(BandData rootBand) Methods inherited from class io.jmix.reports.yarg.formatters.impl.AbstractFormatterapplyStringFunction, 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- 
renderDocumentpublic void renderDocument()Description copied from interface:ReportFormatterCreates document and serializes it to predefined stream (or something like this)
- 
transformData
- 
getTableDataprotected JmixTableData getTableData(TemplateTableDescription templateTableDescription, Map<String, List<KeyValueEntity>> transformedData, Map<String, Set<JmixTableData.ColumnInfo>> headerMap, Map<String, List<BandData>> childrenBands) 
- 
containsLowerCaseDuplicateprotected boolean containsLowerCaseDuplicate(JmixTableData.ColumnInfo columnInfo, Set<JmixTableData.ColumnInfo> headers) 
- 
checkInstanceNameLoaded
- 
containsHeader
 
-