public class TableReportUtilsImpl extends java.lang.Object implements TableReportUtils
Constructor and Description |
---|
TableReportUtilsImpl(TableReportColumnMetadataService tableReportMetadataService,
ReportExecutorService reportExecutor,
<any> entityManagerProvider,
<any> authenticatorServiceProvider,
ProxyUtils proxyUtils) |
public TableReportUtilsImpl(TableReportColumnMetadataService tableReportMetadataService, ReportExecutorService reportExecutor, <any> entityManagerProvider, <any> authenticatorServiceProvider, ProxyUtils proxyUtils)
public TableReportInformation getReportInformation(TableReport report, java.lang.String executeToken) throws ReportExecutorException
getReportInformation
in interface TableReportUtils
ReportExecutorException
@SimpleQuery(from=TableReport.class, join=@Join(joinAttribute=<error>,where=@Predicate(attribute=<error>,value="ds"))) public java.util.List<TableReport> getReportsWithMetadataDatasource(DatasourceDefinition ds)
getReportsWithMetadataDatasource
in interface TableReportUtils
@QueryByAttribute(where=<error>) public java.util.List<ColumnFilter> getColumnFiltersWithColumn(Column column)
getColumnFiltersWithColumn
in interface TableReportUtils
public java.util.Collection<BinaryColumnFilter> getBinaryColumnFiltersWithColumn(Column column)
getBinaryColumnFiltersWithColumn
in interface TableReportUtils
@QueryByAttribute(where=<error>) public java.util.List<ColumnReference> getColumnReferencesFor(AdditionalColumnSpec reference)
getColumnReferencesFor
in interface TableReportUtils
@SimpleQuery(join=@Join(joinAttribute=<error>,where=@Predicate(attribute="",value="childBlock"))) public FilterBlock getParentFilterBlock(FilterBlock filterBlock)
getParentFilterBlock
in interface TableReportUtils
public java.util.List<Column> getReturnedPlainColumns(TableReport report, java.lang.String executeToken) throws ReportExecutorException, NonFatalException
getReturnedPlainColumns
in interface TableReportUtils
ReportExecutorException
NonFatalException
public TableDefinition getReturnedPlainTableDefinition(TableReport report, java.lang.String executeToken) throws ReportExecutorException, NonFatalException
getReturnedPlainTableDefinition
in interface TableReportUtils
ReportExecutorException
NonFatalException
public java.util.List<Column> getReturnedColumns(TableReport report, java.lang.String executeToken) throws ReportExecutorException, NonFatalException
getReturnedColumns
in interface TableReportUtils
ReportExecutorException
NonFatalException
public java.util.List<Column> getReturnedPlainColumns(TableReport report, User user, java.lang.String executeToken) throws ReportExecutorException, NonFatalException
getReturnedPlainColumns
in interface TableReportUtils
ReportExecutorException
NonFatalException
public java.util.List<Column> getReturnedColumns(TableReport report, User user, java.lang.String executeToken) throws ReportExecutorException, NonFatalException
getReturnedColumns
in interface TableReportUtils
ReportExecutorException
NonFatalException
public void remove(Column column)
remove
in interface TableReportUtils
public void remove(FilterBlock filterBlock)
remove
in interface TableReportUtils
public void persist(AdditionalColumnSpec column)
persist
in interface TableReportUtils
public void persist(Column column)
persist
in interface TableReportUtils
public Column merge(Column column)
merge
in interface TableReportUtils
public void remove(AdditionalColumnSpec column)
remove
in interface TableReportUtils
public void remove(PreFilter filter)
remove
in interface TableReportUtils