Class ExcelQueryComponentImpl
java.lang.Object
bld.generator.report.query.impl.SpreadsheetQueryComponentImpl
bld.generator.report.excel.query.impl.ExcelQueryComponentImpl
- All Implemented Interfaces:
ExcelQueryComponent
@Transactional
@Component
@ConditionalOnExpression("${bld.commons.multiple.datasource:false} or !T(org.springframework.util.StringUtils).isEmpty(\'${spring.datasource.url:}\')")
public class ExcelQueryComponentImpl
extends SpreadsheetQueryComponentImpl
implements ExcelQueryComponent
The Class ExcelQueryComponentImpl.
ExcelQueryComponentImpl is the class that manages the
It gets the
ExcelQueryComponentImpl is the class that manages the
QuerySheetData classes and the annotation
ExcelQuery. It gets the
RowSheet list through the
query within the annotation
ExcelQuery.-
Field Summary
Fields inherited from class bld.generator.report.query.impl.SpreadsheetQueryComponentImpl
spreadsheetDataSource -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription<T extends RowSheet>
voidexecuteQuery(QuerySheetData<T> querySheetData) Execute query.Methods inherited from class bld.generator.report.query.impl.SpreadsheetQueryComponentImpl
nativeQuery, reflection, setParameters
-
Constructor Details
-
ExcelQueryComponentImpl
public ExcelQueryComponentImpl()
-
-
Method Details
-
executeQuery
Execute query.- Specified by:
executeQueryin interfaceExcelQueryComponent- Type Parameters:
T- the generic type- Parameters:
querySheetData- the query sheet data- Throws:
Exception- the exception
-