Interface QueryConfigFactory
- All Known Implementing Classes:
- AbstractQueryConfigFactory
public interface QueryConfigFactory
This is the designer-scoped interface that 3rd party module authors need to implement to add new query types.
 If you create a new instance of this class, make sure and register it with the
 
DesignerDataSourceRegistry- Since:
- 7.8.0
- 
Method SummaryModifier and TypeMethodDescriptioncreateConfigPanel(DesignerContext context, ReportResource report, QueryConfig configObject) Create a newQueryConfigPanelwhich will be used to display and alter the configuration of a config object.A string to use as the default "Data Key" name for this queryA human friendly name for this type of querygetId()Return a unique ID for this type of query.An optional string for a tooltip for this queryCreate a new, unconfigured copy of the object used to store the configuration of an instance of this query.
- 
Method Details- 
getIdString getId()Return a unique ID for this type of query. Must match the ID of a QueryType registered in the Gateway
- 
getDisplayNameString getDisplayName()A human friendly name for this type of query
- 
getTooltipString getTooltip()An optional string for a tooltip for this query
- 
getDefaultDataKeyString getDefaultDataKey()A string to use as the default "Data Key" name for this query
- 
newConfigObjectQueryConfig newConfigObject()Create a new, unconfigured copy of the object used to store the configuration of an instance of this query. Must not return null. This object must be both java.io.Serializable and XML serializable (public constructor, getter/setter pairs)
- 
createConfigPanelQueryConfigPanel createConfigPanel(DesignerContext context, ReportResource report, QueryConfig configObject) Create a newQueryConfigPanelwhich will be used to display and alter the configuration of a config object.
 
-