Package io.jmix.reports.libintegration
Class CustomFormatter
java.lang.Object
io.jmix.reports.libintegration.CustomFormatter
- All Implemented Interfaces:
CustomReport
@Component("report_CustomFormatter")
@Scope("prototype")
public class CustomFormatter
extends Object
implements CustomReport
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionprotected org.springframework.context.ApplicationContext
protected ClassManager
protected CoreProperties
protected static final ScheduledExecutorService
static final String
protected Report
protected ReportsProperties
protected org.springframework.scripting.ScriptEvaluator
protected ReportTemplate
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbyte[]
createDocument
(BandData rootBand) byte[]
protected byte[]
doReadBytesFromUrl
(String url) protected byte[]
generateReportWithClass
(BandData rootBand, String customDefinition) protected byte[]
generateReportWithScript
(BandData rootBand, String customDefinition) protected byte[]
generateReportWithUrl
(BandData rootBand, String customDefinition)
-
Field Details
-
scriptEvaluator
@Autowired protected org.springframework.scripting.ScriptEvaluator scriptEvaluator -
classManager
-
reportsProperties
-
coreProperties
-
applicationContext
@Autowired protected org.springframework.context.ApplicationContext applicationContext -
PARAMS
- See Also:
-
executor
-
report
-
template
-
params
-
-
Constructor Details
-
CustomFormatter
-
-
Method Details
-
createReport
- Specified by:
createReport
in interfaceCustomReport
-
createDocument
-
generateReportWithClass
-
generateReportWithScript
-
generateReportWithUrl
-
doReadBytesFromUrl
-