Interface IFD2DataSourceProvider
- 
- All Superinterfaces:
 Serializable
- All Known Implementing Classes:
 DefaultFD2DatasourceProvider
public interface IFD2DataSourceProvider extends Serializable
 
- 
- 
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description com.alibaba.fastjson.JSONObjectcreateAllDatenquellenJSON()Returns a list of all data sources.com.alibaba.fastjson.JSONArraycreateDatenquellenJSON()Returns a JSON array of all datasources that can be used a data source for a select element in the designer, ie.voidresolveItemOptions(IXFormRenderConfig config, XItem item)Deprecated.voidresolveItemOptions(XItemRenderData renderData) 
 - 
 
- 
- 
Method Detail
- 
resolveItemOptions
@Deprecated void resolveItemOptions(IXFormRenderConfig config, XItem item)
Deprecated. 
- 
resolveItemOptions
void resolveItemOptions(XItemRenderData renderData)
 
- 
createDatenquellenJSON
com.alibaba.fastjson.JSONArray createDatenquellenJSON()
Returns a JSON array of all datasources that can be used a data source for a select element in the designer, ie. all CSV data sources and database queries without any free parameters (not containing question marks?). Also includes plugin data sources (IPluginDataSource).- Returns:
 - Data sources for select elements in the designer, an array of JSON objects with the following property
     keys:
     
- value: To be used as the value of the select option, such as the name of the data source.
 - text: To be used as the display text of the select option, such as the name of the data source.
 - group: The type of data source, such as 
DBorCSV - paramCount: The number of free parameters in the data source.
 
 
 
- 
createAllDatenquellenJSON
com.alibaba.fastjson.JSONObject createAllDatenquellenJSON()
Returns a list of all data sources. Used eg. for suggestions in the JavaScript editor within the designer. Example for the returned JSON object:{DB: [{name: "datasource", type: "DB", paramCount: 2}, LDAP: [], PLUGIN: [], CSV: [], JSON: [], XML: []]}- Returns:
 - All available data queries. A JSON object with the data source type as the key, mapped to a JSON array of
     all data sources of that type, each a JSON object with the following property keys:
     
- name: The name of the datasource.
 - type: The type of the datasource. One of the enum constant in 
EDatenquellenTyp, the stringPLUGINfor anIPluginDataSource; or the stringLDAPfor an LDAP-query. - paramCount: The number of free parameters in the data source.
 
 
 
 - 
 
 -