Class HibernateClusterSafetyDao
- java.lang.Object
-
- org.springframework.dao.support.DaoSupport
-
- org.springframework.orm.hibernate5.support.HibernateDaoSupport
-
- com.atlassian.confluence.cluster.safety.HibernateClusterSafetyDao
-
- All Implemented Interfaces:
ClusterSafetyDao
,org.springframework.beans.factory.InitializingBean
public class HibernateClusterSafetyDao extends org.springframework.orm.hibernate5.support.HibernateDaoSupport implements ClusterSafetyDao
-
-
Constructor Summary
Constructors Constructor Description HibernateClusterSafetyDao()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Integer
getSafetyNumber()
Returns the current cluster safety number.void
setSafetyNumber(int safetyNumber)
-
-
-
Method Detail
-
getSafetyNumber
public Integer getSafetyNumber()
Description copied from interface:ClusterSafetyDao
Returns the current cluster safety number.- Specified by:
getSafetyNumber
in interfaceClusterSafetyDao
- Returns:
- the cluster safety number, or null if no cluster safety number exists.
-
setSafetyNumber
public void setSafetyNumber(int safetyNumber)
- Specified by:
setSafetyNumber
in interfaceClusterSafetyDao
-
-