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

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

public class CollectionDaoImpl
extends java.lang.Object
implements CollectionDao, SetupDao


Constructor Summary
CollectionDaoImpl()
           
 
Method Summary
 java.util.List<SRBCollectionEvent> getCollectionEvents()
          getCollectionEvents retrieves the list of Collection events from the server representing the changes on the SRB server.
 javax.sql.DataSource getMcatDao()
           
 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

CollectionDaoImpl

public CollectionDaoImpl()
Method Detail

getMcatDao

public javax.sql.DataSource getMcatDao()

setMcatDao

public void setMcatDao(javax.sql.DataSource mcatDao)

getCollectionEvents

public java.util.List<SRBCollectionEvent> getCollectionEvents()
Description copied from interface: CollectionDao
getCollectionEvents retrieves the list of Collection events from the server representing the changes on the SRB server.

Specified by:
getCollectionEvents in interface CollectionDao
Returns:
An ArrayList of SRBCollectionEvents

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.