|
Oracle Fusion Middleware extensions for Applications Core API Reference 11g Release 1 (11.1.1.5) E22562-01 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object oracle.apps.fnd.applcore.dt.trees.utils.DatabaseUtils
public final class DatabaseUtils
Utility class for all the database related methods.
Method Summary | |
---|---|
static boolean |
deleteConnection(java.lang.String connectionName)
Method to delete a database connection when delete button is pressed. |
static java.sql.Connection |
getConnectionObjectToSelectedDB(java.lang.String connectionName)
getConnectionObjectToSelectedDB returns the ConnectionObject for the selected database in the ComboBox. |
static java.util.List |
getDatabaseConnections()
getDatabaseConnections is the main method which retrieves all the connections. |
static java.util.List<TreeStructureCodes> |
getTreeStructureCodesFromDB(java.sql.Connection conn)
Method to query Objects of TreeStructureCodes for the Tree Structure ComboBox. |
static java.util.List<TreeAttribute> |
getTreeTableAttributes(java.lang.String treeStructureCode,
java.sql.Connection connection,
java.util.Locale l)
Gets the Tree Structure Attributes. |
static boolean |
isDateCol(int colType)
Does colType represent one of the java.sql.Types representing a primitive date. |
static boolean |
isNumericCol(int colType)
Does colType represent one of the java.sql.Types representing a primitive number. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static java.util.List<TreeStructureCodes> getTreeStructureCodesFromDB(java.sql.Connection conn)
conn
- a non - null connection
public static java.util.List getDatabaseConnections()
public static java.sql.Connection getConnectionObjectToSelectedDB(java.lang.String connectionName)
connectionName
- String
public static boolean isNumericCol(int colType)
colType
- integer value
public static boolean isDateCol(int colType)
colType
- Integer value
public static java.util.List<TreeAttribute> getTreeTableAttributes(java.lang.String treeStructureCode, java.sql.Connection connection, java.util.Locale l)
treeStructureCode
- String valueconnection
- Connection Objectl
- locale
public static boolean deleteConnection(java.lang.String connectionName)
connectionName
- String value
|
Oracle Fusion Middleware extensions for Applications Core API Reference 11g Release 1 (11.1.1.5) E22562-01 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |