Class TableReportUtilsImpl
java.lang.Object
net.datenwerke.rs.base.service.reportengines.table.TableReportUtilsImpl
- All Implemented Interfaces:
TableReportUtils
-
Constructor Summary
ConstructorsConstructorDescriptionTableReportUtilsImpl(TableReportColumnMetadataService tableReportMetadataService, ReportExecutorService reportExecutor, <any> entityManagerProvider, <any> authenticatorServiceProvider, ProxyUtils proxyUtils, <any> configServiceProvider) -
Method Summary
Modifier and TypeMethodDescriptiongetColumnFiltersWithColumn(Column column) getColumnReferencesFor(AdditionalColumnSpec reference) getParentFilterBlock(FilterBlock filterBlock) getReportInformation(TableReport report, String executeToken, User user) getReturnedColumns(TableReport report, String executeToken) getReturnedColumns(TableReport report, User user, String executeToken) getReturnedPlainColumns(TableReport report, String executeToken) getReturnedPlainColumns(TableReport report, User user, String executeToken) getReturnedPlainTableDefinition(TableReport report, String executeToken) voidpersist(AdditionalColumnSpec column) voidvoidremove(AdditionalColumnSpec column) voidvoidremove(FilterBlock filterBlock) void
-
Constructor Details
-
TableReportUtilsImpl
public TableReportUtilsImpl(TableReportColumnMetadataService tableReportMetadataService, ReportExecutorService reportExecutor, <any> entityManagerProvider, <any> authenticatorServiceProvider, ProxyUtils proxyUtils, <any> configServiceProvider)
-
-
Method Details
-
getReportInformation
public TableReportInformation getReportInformation(TableReport report, String executeToken, User user) throws ReportExecutorException - Specified by:
getReportInformationin interfaceTableReportUtils- Throws:
ReportExecutorException
-
getReportsWithMetadataDatasource
@SimpleQuery(from=TableReport.class, join=@Join(joinAttribute=<error>,where=@Predicate(attribute=<error>,value="ds"))) public List<TableReport> getReportsWithMetadataDatasource(DatasourceDefinition ds) - Specified by:
getReportsWithMetadataDatasourcein interfaceTableReportUtils
-
getColumnFiltersWithColumn
@QueryByAttribute(where=<error>) public List<ColumnFilter> getColumnFiltersWithColumn(Column column) - Specified by:
getColumnFiltersWithColumnin interfaceTableReportUtils
-
getBinaryColumnFiltersWithColumn
- Specified by:
getBinaryColumnFiltersWithColumnin interfaceTableReportUtils
-
getColumnReferencesFor
@QueryByAttribute(where=<error>) public List<ColumnReference> getColumnReferencesFor(AdditionalColumnSpec reference) - Specified by:
getColumnReferencesForin interfaceTableReportUtils
-
getParentFilterBlock
@SimpleQuery(join=@Join(joinAttribute=<error>,where=@Predicate(attribute="",value="childBlock"))) public FilterBlock getParentFilterBlock(FilterBlock filterBlock) - Specified by:
getParentFilterBlockin interfaceTableReportUtils
-
getReturnedPlainColumns
public List<Column> getReturnedPlainColumns(TableReport report, String executeToken) throws ReportExecutorException, NonFatalException - Specified by:
getReturnedPlainColumnsin interfaceTableReportUtils- Throws:
ReportExecutorExceptionNonFatalException
-
getReturnedPlainTableDefinition
public TableDefinition getReturnedPlainTableDefinition(TableReport report, String executeToken) throws ReportExecutorException, NonFatalException - Specified by:
getReturnedPlainTableDefinitionin interfaceTableReportUtils- Throws:
ReportExecutorExceptionNonFatalException
-
getReturnedColumns
public List<Column> getReturnedColumns(TableReport report, String executeToken) throws ReportExecutorException, NonFatalException - Specified by:
getReturnedColumnsin interfaceTableReportUtils- Throws:
ReportExecutorExceptionNonFatalException
-
getReturnedPlainColumns
public List<Column> getReturnedPlainColumns(TableReport report, User user, String executeToken) throws ReportExecutorException, NonFatalException - Specified by:
getReturnedPlainColumnsin interfaceTableReportUtils- Throws:
ReportExecutorExceptionNonFatalException
-
getReturnedColumns
public List<Column> getReturnedColumns(TableReport report, User user, String executeToken) throws ReportExecutorException, NonFatalException - Specified by:
getReturnedColumnsin interfaceTableReportUtils- Throws:
ReportExecutorExceptionNonFatalException
-
remove
- Specified by:
removein interfaceTableReportUtils
-
remove
- Specified by:
removein interfaceTableReportUtils
-
persist
- Specified by:
persistin interfaceTableReportUtils
-
persist
- Specified by:
persistin interfaceTableReportUtils
-
merge
- Specified by:
mergein interfaceTableReportUtils
-
remove
- Specified by:
removein interfaceTableReportUtils
-
remove
- Specified by:
removein interfaceTableReportUtils
-
getPreviewPageSizeConfigs
- Specified by:
getPreviewPageSizeConfigsin interfaceTableReportUtils
-