Interface ExtractionContext
- All Known Implementing Classes:
ExtractionContextImpl
public interface ExtractionContext
This interface implementation should presents extraction context dependent state
The default implementation is io.jmix.reports.yarg.reporting.extraction.ExtractionContextImpl
-
Method Summary
Modifier and TypeMethodDescriptionextendParams
(Map<String, Object> params) Method must extend existed params with presented params mapgetBand()
boolean
withBand
(ReportBand band, BandData parentBand) Method must create new version of context with new report band and parent band datawithParams
(Map<String, Object> params) Method must create new version of context with new params (not extended)withParentData
(BandData parentBand) Method must create new version of context with parent band data
-
Method Details
-
putEmptyRowIfNoDataSelected
boolean putEmptyRowIfNoDataSelected()- Returns:
- boolean flag that controller should create empty data row if no report query data presented
-
getBand
ReportBand getBand()- Returns:
- current processing report band
-
getParentBandData
BandData getParentBandData()- Returns:
- parent report band loaded data
-
getParams
- Returns:
- params for data loader
-
extendParams
Method must extend existed params with presented params map -
withParams
Method must create new version of context with new params (not extended) -
withBand
Method must create new version of context with new report band and parent band data -
withParentData
Method must create new version of context with parent band data
-