Class FreemarkerExportColumn
java.lang.Object
ch.tocco.nice2.reporting.impl.action.export.column.FreemarkerExportColumn
- All Implemented Interfaces:
ExportColumn
-
Nested Class Summary
Nested classes/interfaces inherited from interface ch.tocco.nice2.reporting.api.action.export.ExportColumn
ExportColumn.IndexRegistry
-
Constructor Summary
ConstructorDescriptionFreemarkerExportColumn
(TemplateEngine templateEngine, String label, String freemarkerScript) -
Method Summary
Modifier and TypeMethodDescriptiongetLabel()
Optional
<TypedValue<?>> getTypedValue
(Object[] row, ExportColumn.IndexRegistry indexRegistry) getValueAsString
(Object[] row, ExportColumn.IndexRegistry indexRegistry) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface ch.tocco.nice2.reporting.api.action.export.ExportColumn
initialize
-
Constructor Details
-
FreemarkerExportColumn
-
-
Method Details
-
getImportPath
- Specified by:
getImportPath
in interfaceExportColumn
- Returns:
- path to use to re-import this column
-
getQueryPath
- Specified by:
getQueryPath
in interfaceExportColumn
- Returns:
- path that needs to be requested from the database
-
getLabel
- Specified by:
getLabel
in interfaceExportColumn
-
getValueAsString
- Specified by:
getValueAsString
in interfaceExportColumn
-
getTypedValue
public Optional<TypedValue<?>> getTypedValue(Object[] row, ExportColumn.IndexRegistry indexRegistry) - Specified by:
getTypedValue
in interfaceExportColumn
-