com.dhtmlx.connector
Class CommonConnector

java.lang.Object
  extended by com.dhtmlx.connector.BaseConnector
      extended by com.dhtmlx.connector.CommonConnector
Direct Known Subclasses:
JSONCommonConnector, TreeCommonConnector

public class CommonConnector
extends BaseConnector


Field Summary
 
Fields inherited from class com.dhtmlx.connector.BaseConnector
access, event, incoming_data, sql
 
Constructor Summary
CommonConnector(java.sql.Connection db)
          Instantiates a new scheduler connector.
CommonConnector(java.sql.Connection db, DBType db_type)
          Instantiates a new scheduler connector.
CommonConnector(java.sql.Connection db, DBType db_type, BaseFactory a_factory)
          Instantiates a new scheduler connector.
CommonConnector(java.sql.Connection db, DBType db_type, BaseFactory a_factory, RenderStrategy render_type)
          Instantiates a new scheduler connector.
 
Method Summary
 void add_section(java.lang.String name, java.lang.String value)
           
 java.lang.String getRecord(java.lang.String getNewId)
           
 boolean isSimpleProtocolUsed()
           
 
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, render, servlet, set_encoding, set_options
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CommonConnector

public CommonConnector(java.sql.Connection db)
Instantiates a new scheduler connector.

Parameters:
db - the db connection

CommonConnector

public CommonConnector(java.sql.Connection db,
                       DBType db_type)
Instantiates a new scheduler connector.

Parameters:
db - the db connection
db_type - the db type

CommonConnector

public CommonConnector(java.sql.Connection db,
                       DBType db_type,
                       BaseFactory a_factory)
Instantiates a new scheduler connector.

Parameters:
db - the db connection
db_type - the db type
a_factory - the class factory, which will be used by object

CommonConnector

public CommonConnector(java.sql.Connection db,
                       DBType db_type,
                       BaseFactory a_factory,
                       RenderStrategy render_type)
Instantiates a new scheduler connector.

Parameters:
db - the db connection
db_type - the db type
a_factory - the class factory, which will be used by object
Method Detail

isSimpleProtocolUsed

public boolean isSimpleProtocolUsed()

getRecord

public java.lang.String getRecord(java.lang.String getNewId)
                           throws ConnectorOperationException
Throws:
ConnectorOperationException

add_section

public void add_section(java.lang.String name,
                        java.lang.String value)