Interface ExtractionControllerFactory
- All Known Implementing Classes:
DefaultExtractionControllerFactory
public interface ExtractionControllerFactory
This interface implementation may holding relation between report band orientation and related controller logic
if relation not set, default controller should be returned
The default controller implementation is io.jmix.reports.yarg.reporting.extraction.controller.DefaultExtractionController
The default implementation is io.jmix.reports.yarg.reporting.extraction.DefaultExtractionControllerFactory
-
Method Summary
Modifier and TypeMethodDescriptioncontrollerBy
(BandOrientation orientation) void
register
(BandOrientation orientation, BiFunction<ExtractionControllerFactory, ReportLoaderFactory, ExtractionController> controllerCreator) Method for runtime configuring data extraction logic by orientation
-
Method Details
-
register
void register(BandOrientation orientation, BiFunction<ExtractionControllerFactory, ReportLoaderFactory, ExtractionController> controllerCreator) Method for runtime configuring data extraction logic by orientation- Parameters:
orientation
- band orientationcontrollerCreator
- specific creator function for extraction controller
-
controllerBy
- Parameters:
orientation
- band orientation- Returns:
- data extraction controller
-
defaultController
ExtractionController defaultController()- Returns:
- default data extraction controller
-