public class DatasourceConfigurator extends ParameterConfiguratorImpl<DatasourceParameterDefinitionDto,DatasourceParameterInstanceDto>
ParameterConfigurator.ParameterType
Constructor and Description |
---|
DatasourceConfigurator(DatasourceParameterDao rpcService,
<any> editComponentForInstanceProvider,
DatasourceParameterUiService dsParamService,
EnterpriseUiService entpriseService,
TableReportUtilityDao tableReportDao,
ToolbarService toolbarService) |
getEditComponentForInstance, getNewDto, getType, isAvailable, updateDefinitionOnSubmit
public DatasourceConfigurator(DatasourceParameterDao rpcService, <any> editComponentForInstanceProvider, DatasourceParameterUiService dsParamService, EnterpriseUiService entpriseService, TableReportUtilityDao tableReportDao, ToolbarService toolbarService)
public java.lang.String getName()
public boolean consumes(java.lang.Class<? extends ParameterDefinitionDto> type)
public ImageResource getIcon()
public Widget getEditComponentForDefinition(DatasourceParameterDefinitionDto definition, ReportDto report)
public Widget doGetEditComponentForInstance(DatasourceParameterInstanceDto instance, java.util.Collection<ParameterInstanceDto> relevantInstances, DatasourceParameterDefinitionDto definition, boolean initial, int labelWidth, java.lang.String executeReportToken, ReportDto report)
public boolean canHandle(ParameterProposalDto proposal)
canHandle
in interface ParameterConfigurator<DatasourceParameterDefinitionDto,DatasourceParameterInstanceDto>
canHandle
in class ParameterConfiguratorImpl<DatasourceParameterDefinitionDto,DatasourceParameterInstanceDto>
public ParameterDefinitionDto getNewDto(ParameterProposalDto proposal, ReportDto report)
getNewDto
in interface ParameterConfigurator<DatasourceParameterDefinitionDto,DatasourceParameterInstanceDto>
getNewDto
in class ParameterConfiguratorImpl<DatasourceParameterDefinitionDto,DatasourceParameterInstanceDto>
public void dependeeInstanceChanged(DatasourceParameterInstanceDto instance, DatasourceParameterDefinitionDto aDefinition, java.util.Collection<ParameterInstanceDto> relevantInstances)
dependeeInstanceChanged
in interface ParameterConfigurator<DatasourceParameterDefinitionDto,DatasourceParameterInstanceDto>
dependeeInstanceChanged
in class ParameterConfiguratorImpl<DatasourceParameterDefinitionDto,DatasourceParameterInstanceDto>
public boolean canDependOnParameters()
canDependOnParameters
in interface ParameterConfigurator<DatasourceParameterDefinitionDto,DatasourceParameterInstanceDto>
canDependOnParameters
in class ParameterConfiguratorImpl<DatasourceParameterDefinitionDto,DatasourceParameterInstanceDto>
public java.util.List<java.lang.String> validateParameter(DatasourceParameterDefinitionDto definition, DatasourceParameterInstanceDto instance, Widget widget)
validateParameter
in interface ParameterConfigurator<DatasourceParameterDefinitionDto,DatasourceParameterInstanceDto>
validateParameter
in class ParameterConfiguratorImpl<DatasourceParameterDefinitionDto,DatasourceParameterInstanceDto>