com.atlassian.confluence.cluster.safety
Class HibernateClusterSafetyDao

java.lang.Object
  extended byorg.springframework.orm.hibernate.support.HibernateDaoSupport
      extended bycom.atlassian.confluence.cluster.safety.HibernateClusterSafetyDao
All Implemented Interfaces:
ClusterSafetyDao, org.springframework.beans.factory.InitializingBean

public class HibernateClusterSafetyDao
extends org.springframework.orm.hibernate.support.HibernateDaoSupport
implements ClusterSafetyDao


Field Summary
 
Fields inherited from class org.springframework.orm.hibernate.support.HibernateDaoSupport
logger
 
Constructor Summary
HibernateClusterSafetyDao()
           
 
Method Summary
 int getSafetyNumber()
           
 boolean safetyNumberExists()
           
 void setSafetyNumber(int safetyNumber)
           
 
Methods inherited from class org.springframework.orm.hibernate.support.HibernateDaoSupport
afterPropertiesSet, closeSessionIfNecessary, convertHibernateAccessException, createHibernateTemplate, getHibernateTemplate, getSession, getSession, getSessionFactory, initDao, setHibernateTemplate, setSessionFactory
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HibernateClusterSafetyDao

public HibernateClusterSafetyDao()
Method Detail

getSafetyNumber

public int getSafetyNumber()
Specified by:
getSafetyNumber in interface ClusterSafetyDao

safetyNumberExists

public boolean safetyNumberExists()
Specified by:
safetyNumberExists in interface ClusterSafetyDao
Returns:
whether or not a safety number has been written to the database

setSafetyNumber

public void setSafetyNumber(int safetyNumber)
Specified by:
setSafetyNumber in interface ClusterSafetyDao


Confluence is developed by Atlassian.