| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.datatools.sqltools.sqleditor.internal.sql.SQLDBProposalsService
public class SQLDBProposalsService
Provides database identifier proposal services for the editor, to support
 code completion. These are services to construct and return a list of
 proposals of database objects (tables, columns) based on a given database
 connection.
 
 This class implements the ISQLDBProposalsService interface.
| Constructor Summary | |
|---|---|
| SQLDBProposalsService(ISQLEditorConnectionInfo connInfo)Constructs an instance of this class with the given ISQLEditorConnectionInfoobject. | |
| Method Summary | |
|---|---|
|  ISQLEditorConnectionInfo | getConnectionInfo()Gets the ISQLEditorConnectionInfoused to provide content
 assist. | 
|  java.util.List | getDBProposals()Gets the list of SQLDBProposalobjects for the content
 assist proposals. | 
|  SQLDBProposalsRequest | getSQLDBProposalRequest()Gets the content assist request for database meta objects. | 
|  ISQLEditorConnectionInfo | getSQLEditorConnectionInfo()Gets the ISQLEditorConnectionInfoused to provide content assist. | 
|  boolean | populate(SQLDBProposalsRequest request)Populates the list database of database object proposals (schemas, tables, columns) using given list of tokens (DB identifiers) indicating the start of the expression for which the user wants DB proposals. | 
|  void | setSQLEditorConnectionInfo(ISQLEditorConnectionInfo connectionInfo)Sets the ISQLEditorConnectionInfoused to provide content assist. | 
| Methods inherited from class java.lang.Object | 
|---|
| equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Constructor Detail | 
|---|
public SQLDBProposalsService(ISQLEditorConnectionInfo connInfo)
ISQLEditorConnectionInfo object.
connInfo - the ISQLEditorConnectionInfo object to use| Method Detail | 
|---|
public ISQLEditorConnectionInfo getConnectionInfo()
ISQLEditorConnectionInfo used to provide content
 assist. Implements ISQLDBProposalsService interface.
ISQLEditorConnectionInfo objectISQLDBProposalsService#getConnectionInfo()public java.util.List getDBProposals()
SQLDBProposal objects for the content
 assist proposals. Implements ISQLDBProposalsService
 interface.
getDBProposals in interface ISQLDBProposalsServiceISQLDBProposalsService.getDBProposals()public SQLDBProposalsRequest getSQLDBProposalRequest()
public boolean populate(SQLDBProposalsRequest request)
ISQLDBProposalsService
 interface.
populate in interface ISQLDBProposalsServicetokenList - list of strings indicating the start of the expression for
            which the user wants DB proposals
ISQLDBProposalsService#populate()public ISQLEditorConnectionInfo getSQLEditorConnectionInfo()
ISQLDBProposalsServiceISQLEditorConnectionInfo used to provide content assist.
getSQLEditorConnectionInfo in interface ISQLDBProposalsServiceISQLEditorConnectionInfo objectpublic void setSQLEditorConnectionInfo(ISQLEditorConnectionInfo connectionInfo)
ISQLDBProposalsServiceISQLEditorConnectionInfo used to provide content assist.
setSQLEditorConnectionInfo in interface ISQLDBProposalsService| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||