au.edu.jcu.hpc.srb.mcatext.dao.postgresql
Class ObjectDaoImpl

java.lang.Object
  extended by au.edu.jcu.hpc.srb.mcatext.dao.postgresql.ObjectDaoImpl
All Implemented Interfaces:
ObjectDao, SetupDao

public class ObjectDaoImpl
extends java.lang.Object
implements ObjectDao, SetupDao


Constructor Summary
ObjectDaoImpl()
           
 
Method Summary
 javax.sql.DataSource getMcatDao()
           
 java.util.List<SRBObjectEvent> getObjectEvents()
          getObjectEvents retrieves the list of Object events from the server representing the changes on the SRB server.
 boolean isMonitored()
          isMonitored check wether the database we are looking is setup to do triggers.
 void setMcatDao(javax.sql.DataSource mcatDao)
           
 void setupMonitoring()
          setupMonitoring makes the necessary changes to the database to enable triggers.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ObjectDaoImpl

public ObjectDaoImpl()
Method Detail

getMcatDao

public javax.sql.DataSource getMcatDao()

setMcatDao

public void setMcatDao(javax.sql.DataSource mcatDao)

getObjectEvents

public java.util.List<SRBObjectEvent> getObjectEvents()
Description copied from interface: ObjectDao
getObjectEvents retrieves the list of Object events from the server representing the changes on the SRB server.

Specified by:
getObjectEvents in interface ObjectDao
Returns:
An ArrayList of SRBObjectEvents

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


Copyright © 2008. All Rights Reserved.