com.dhtmlx.connector
Class DistinctOptionsConnector
java.lang.Object
com.dhtmlx.connector.BaseConnector
com.dhtmlx.connector.OptionsConnector
com.dhtmlx.connector.DistinctOptionsConnector
public class DistinctOptionsConnector
- extends OptionsConnector
The Class DistinctOptionsConnector.
This connecto is used to select list of unique values,
and can be used to fill co|coro columns and select filters in grid
Fields inherited from class com.dhtmlx.connector.BaseConnector |
access, cfactory, config, db_type, dynloading, dynloading_size, event, global_http_request, global_http_response, http_request, http_response, incoming_data, request, sql |
Method Summary |
java.lang.String |
render()
Build xml response, based on previously provided configuration
All top level render methods, call this one, after parsing provided configuration |
Methods inherited from class com.dhtmlx.connector.BaseConnector |
dynamic_loading, dynamic_loading, enable_log, end_run, get_connection, is_select_mode, output_as_xml, parse_request, render_connector, render_set, render_sql, render_sql, render_sql, render_table, render_table, render_table, resolve_parameter, safe_field_name, servlet, set_encoding, uuid, xml_end, xml_start |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DistinctOptionsConnector
public DistinctOptionsConnector(java.sql.Connection db)
- Instantiates a new distinct options connector.
- Parameters:
db
- the db connection
DistinctOptionsConnector
public DistinctOptionsConnector(java.sql.Connection db,
DBType db_type)
- Instantiates a new distinct options connector.
- Parameters:
db
- the db connectiondb_type
- the db type
DistinctOptionsConnector
public DistinctOptionsConnector(java.sql.Connection db,
DBType db_type,
BaseFactory a_factory)
- Instantiates a new distinct options connector.
- Parameters:
db
- the db connectiondb_type
- the db typea_factory
- the class factory
render
public java.lang.String render()
- Description copied from class:
BaseConnector
- Build xml response, based on previously provided configuration
All top level render methods, call this one, after parsing provided configuration
- Overrides:
render
in class OptionsConnector
- Returns:
- the xml string