com.dhtmlx.connector
Class DistinctOptionsConnector

java.lang.Object
  extended by com.dhtmlx.connector.BaseConnector
      extended by com.dhtmlx.connector.OptionsConnector
          extended by 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


Field Summary
 
Fields inherited from class com.dhtmlx.connector.BaseConnector
access, event, incoming_data, sql
 
Constructor Summary
DistinctOptionsConnector(java.sql.Connection db)
          Instantiates a new distinct options connector.
DistinctOptionsConnector(java.sql.Connection db, DBType db_type)
          Instantiates a new distinct options connector.
DistinctOptionsConnector(java.sql.Connection db, DBType db_type, BaseFactory a_factory)
          Instantiates a new distinct options connector.
 
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
add_top_attribute, dynamic_loading, dynamic_loading, enable_log, is_first_call, is_select_mode, render_array, render_array, render_array, render_complex_sql, render_complex_sql, render_complex_sql, render_connector, render_sql, render_sql, render_sql, render_table, render_table, render_table, servlet, set_encoding, set_options
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

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 connection
db_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 connection
db_type - the db type
a_factory - the class factory
Method Detail

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