org.eclipse.datatools.enablement.ibm.db2.internal.luw
Class LUWDBPropertiesPersistenceHook

java.lang.Object
  extended by org.eclipse.datatools.connectivity.PropertiesPersistenceHook
      extended by org.eclipse.datatools.connectivity.drivers.jdbc.JDBCPasswordPropertyPersistenceHook
          extended by org.eclipse.datatools.enablement.ibm.db2.internal.luw.LUWDBPropertiesPersistenceHook
All Implemented Interfaces:
IPropertiesPersistenceHook

public class LUWDBPropertiesPersistenceHook
extends JDBCPasswordPropertyPersistenceHook


Constructor Summary
LUWDBPropertiesPersistenceHook()
           
 
Method Summary
 boolean arePropertiesComplete(java.util.Properties props)
          Allows the framework to determine whether or not a connection dialog needs to be displayed prior to opening a connection to the server (e.g.
 java.lang.String getConnectionPropertiesPageID()
          Returns the ID of the property page used to collect the information required to make the property set complete.
 
Methods inherited from class org.eclipse.datatools.connectivity.drivers.jdbc.JDBCPasswordPropertyPersistenceHook
getPersitentProperties
 
Methods inherited from class org.eclipse.datatools.connectivity.PropertiesPersistenceHook
populateTransientProperties
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.eclipse.datatools.connectivity.IPropertiesPersistenceHook
populateTransientProperties
 

Constructor Detail

LUWDBPropertiesPersistenceHook

public LUWDBPropertiesPersistenceHook()
Method Detail

arePropertiesComplete

public boolean arePropertiesComplete(java.util.Properties props)
Description copied from interface: IPropertiesPersistenceHook
Allows the framework to determine whether or not a connection dialog needs to be displayed prior to opening a connection to the server (e.g. authentication information is missing). This call is not intended to verify that the information will allow for a successful connection, just that the information is complete enough to make an attempt.

Specified by:
arePropertiesComplete in interface IPropertiesPersistenceHook
Overrides:
arePropertiesComplete in class JDBCPasswordPropertyPersistenceHook
Parameters:
props - the property set to inspect
Returns:
true if the property set is complete; false if additional information must be specified.

getConnectionPropertiesPageID

public java.lang.String getConnectionPropertiesPageID()
Description copied from interface: IPropertiesPersistenceHook
Returns the ID of the property page used to collect the information required to make the property set complete.

Specified by:
getConnectionPropertiesPageID in interface IPropertiesPersistenceHook
Overrides:
getConnectionPropertiesPageID in class JDBCPasswordPropertyPersistenceHook
Returns:
the ID of the property page used to collect the missing required properties