public class DefaultFD2DatasourceProvider extends Object implements IFD2DataSourceProvider
Modifier and Type | Field and Description |
---|---|
protected static org.slf4j.Logger |
LOG |
Constructor and Description |
---|
DefaultFD2DatasourceProvider(IFormRenderContext renderCtx) |
DefaultFD2DatasourceProvider(Mandant mandant,
Map<String,Serializable> sessionAttributes,
ValueParameters requestParameters,
Projekt projekt) |
DefaultFD2DatasourceProvider(Mandant mandant,
SessionAttributes sessionAttributes,
ValueParameters requestParameters,
Projekt projekt)
|
Modifier and Type | Method and Description |
---|---|
com.alibaba.fastjson.JSONObject |
createAllDatenquellenJSON()
Returns a list of all data sources.
|
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.
|
void |
resolveItemOptions(IXFormRenderConfig config,
XItem item)
Deprecated.
|
void |
resolveItemOptions(XItemRenderData renderData) |
public DefaultFD2DatasourceProvider(IFormRenderContext renderCtx)
@Deprecated public DefaultFD2DatasourceProvider(Mandant mandant, SessionAttributes sessionAttributes, ValueParameters requestParameters, Projekt projekt)
public DefaultFD2DatasourceProvider(Mandant mandant, Map<String,Serializable> sessionAttributes, ValueParameters requestParameters, Projekt projekt)
public void resolveItemOptions(XItemRenderData renderData)
resolveItemOptions
in interface IFD2DataSourceProvider
@Deprecated public void resolveItemOptions(IXFormRenderConfig config, XItem item)
resolveItemOptions
in interface IFD2DataSourceProvider
public com.alibaba.fastjson.JSONObject createAllDatenquellenJSON()
IFD2DataSourceProvider
{DB: [{name: "datasource", type: "DB", paramCount: 2}, LDAP: [], PLUGIN: [], CSV: [], JSON: [], XML: []]}
createAllDatenquellenJSON
in interface IFD2DataSourceProvider
EDatenquellenTyp
, the string
PLUGIN
for an IPluginDataSource
; or the string LDAP
for an LDAPAbfrage
.public com.alibaba.fastjson.JSONArray createDatenquellenJSON()
IFD2DataSourceProvider
?
).
Also includes plugin data sources (IPluginDataSource
).createDatenquellenJSON
in interface IFD2DataSourceProvider
Copyright © 2019 XIMA MEDIA GmbH. All rights reserved.