au.edu.jcu.hpc.srb.mcatext.dao.postgresql
Class SetupDaoImpl
java.lang.Object
au.edu.jcu.hpc.srb.mcatext.dao.postgresql.SetupDaoImpl
- All Implemented Interfaces:
- SetupDao
public class SetupDaoImpl
- extends java.lang.Object
- implements SetupDao
|
Method Summary |
static void |
executeSql(java.sql.Connection con,
org.apache.log4j.Logger logger,
java.io.InputStream in)
|
java.util.List<SetupDao> |
getDAOs()
|
boolean |
isMonitored()
isMonitored check wether the database we are looking is setup
to do triggers. |
void |
setDAOs(java.util.List<SetupDao> DAOs)
|
void |
setupMonitoring()
setupMonitoring makes the necessary changes to the database to
enable triggers. |
static boolean |
tableExists(java.sql.Connection con,
org.apache.log4j.Logger logger,
java.lang.String tableName)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SetupDaoImpl
public SetupDaoImpl()
getDAOs
public java.util.List<SetupDao> getDAOs()
isMonitored
public boolean isMonitored()
- Description copied from interface:
SetupDao
isMonitored check wether the database we are looking is setup
to do triggers.
- Specified by:
isMonitored in interface SetupDao
- Returns:
setupMonitoring
public void setupMonitoring()
- Description copied from interface:
SetupDao
setupMonitoring makes the necessary changes to the database to
enable triggers.
- Specified by:
setupMonitoring in interface SetupDao
setDAOs
public void setDAOs(java.util.List<SetupDao> DAOs)
tableExists
public static boolean tableExists(java.sql.Connection con,
org.apache.log4j.Logger logger,
java.lang.String tableName)
executeSql
public static void executeSql(java.sql.Connection con,
org.apache.log4j.Logger logger,
java.io.InputStream in)
Copyright © 2008. All Rights Reserved.