public class DatasourceParameterServiceImpl extends java.lang.Object implements DatasourceParameterService
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CONFIG_FILE |
static java.lang.String |
PARAMETER_POSTPROCESSING_ENABLE |
static java.lang.String |
PARAMETER_QUERY_TIMEOUT |
Constructor and Description |
---|
DatasourceParameterServiceImpl(SimpleDataSupplier simpleDataSupplyer,
ParameterSetFactory parameterSetFactory,
GroovyScriptingService scriptEngine,
LicenseService licenseService,
ConfigService configService) |
Modifier and Type | Method and Description |
---|---|
java.util.List<DatasourceParameterData> |
getParameterData(DatasourceParameterDefinition parameter,
ParameterSet parameterSet) |
java.util.List<DatasourceParameterData> |
getParameterData(DatasourceParameterDefinition parameter,
Report report) |
java.util.List<DatasourceParameterDefinition> |
getParametersWithDatasource(DatasourceDefinition ds) |
boolean |
isAllowDatasourceParameterPostProcessing() |
public static final java.lang.String CONFIG_FILE
public static final java.lang.String PARAMETER_QUERY_TIMEOUT
public static final java.lang.String PARAMETER_POSTPROCESSING_ENABLE
public DatasourceParameterServiceImpl(SimpleDataSupplier simpleDataSupplyer, ParameterSetFactory parameterSetFactory, GroovyScriptingService scriptEngine, LicenseService licenseService, ConfigService configService)
public java.util.List<DatasourceParameterData> getParameterData(DatasourceParameterDefinition parameter, Report report) throws ReportExecutorException
getParameterData
in interface DatasourceParameterService
ReportExecutorException
@SimpleQuery(from=DatasourceParameterDefinition.class, join=@Join(joinAttribute=<error>,where=@Predicate(attribute=<error>,value="ds"))) public java.util.List<DatasourceParameterDefinition> getParametersWithDatasource(DatasourceDefinition ds)
getParametersWithDatasource
in interface DatasourceParameterService
public java.util.List<DatasourceParameterData> getParameterData(DatasourceParameterDefinition parameter, ParameterSet parameterSet) throws ReportExecutorException
getParameterData
in interface DatasourceParameterService
ReportExecutorException
public boolean isAllowDatasourceParameterPostProcessing()
isAllowDatasourceParameterPostProcessing
in interface DatasourceParameterService