Package com.atlassian.crowd.dao.cluster
Class ClusterInfoDAOHibernate
java.lang.Object
com.atlassian.crowd.util.persistence.hibernate.StatelessDao
com.atlassian.crowd.util.persistence.hibernate.HibernateDao<ClusterInfoEntity>
com.atlassian.crowd.dao.cluster.ClusterInfoDAOHibernate
- All Implemented Interfaces:
ClusterInfoDao
public class ClusterInfoDAOHibernate
extends HibernateDao<ClusterInfoEntity>
implements ClusterInfoDao
-
Field Summary
Fields inherited from class com.atlassian.crowd.util.persistence.hibernate.HibernateDao
batchFinder, batchProcessor, logger, statelessSessionBatchProcessor, timeSourceFields inherited from class com.atlassian.crowd.util.persistence.hibernate.StatelessDao
sessionFactory -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetNodeStatus(Collection<String> nodeIds) All subclasses of HibernateDao must implement this method forHibernateDao.load(Serializable)to work correctly.intremoveStatusNotIn(Collection<String> nodeIds) voidstore(ClusterInfoEntity clusterInfo) Methods inherited from class com.atlassian.crowd.util.persistence.hibernate.HibernateDao
createDeleteQuery, createDeleteQuery, createQuery, createQuery, executeHQLQuery, findAllInternal, findByProperties, findByPropertiesOptional, findByProperty, findByProperty, findByPropertyOptional, findByPropertyOrThrow, getCountByProperties, load, load, loadOptional, loadReference, loadReference, remove, removeByIdIfPresent, save, saveOrUpdate, session, setBatchFinder, setBatchProcessor, setClock, setStatelessSessionBatchProcessor, toPredicates, updateMethods inherited from class com.atlassian.crowd.util.persistence.hibernate.StatelessDao
setSessionFactory, withStatelessSession
-
Constructor Details
-
ClusterInfoDAOHibernate
public ClusterInfoDAOHibernate()
-
-
Method Details
-
store
- Specified by:
storein interfaceClusterInfoDao
-
getNodeStatus
- Specified by:
getNodeStatusin interfaceClusterInfoDao
-
removeStatusNotIn
- Specified by:
removeStatusNotInin interfaceClusterInfoDao
-
getPersistentClass
Description copied from class:HibernateDaoAll subclasses of HibernateDao must implement this method forHibernateDao.load(Serializable)to work correctly.- Specified by:
getPersistentClassin classHibernateDao<ClusterInfoEntity>- Returns:
- the entity class for this DAO
-