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, timeSource
Fields inherited from class com.atlassian.crowd.util.persistence.hibernate.StatelessDao
sessionFactory
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetNodeStatus
(Collection<String> nodeIds) All subclasses of HibernateDao must implement this method forHibernateDao.load(Serializable)
to work correctly.int
removeStatusNotIn
(Collection<String> nodeIds) void
store
(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, update
Methods inherited from class com.atlassian.crowd.util.persistence.hibernate.StatelessDao
setSessionFactory, withStatelessSession
-
Constructor Details
-
ClusterInfoDAOHibernate
public ClusterInfoDAOHibernate()
-
-
Method Details
-
store
- Specified by:
store
in interfaceClusterInfoDao
-
getNodeStatus
- Specified by:
getNodeStatus
in interfaceClusterInfoDao
-
removeStatusNotIn
- Specified by:
removeStatusNotIn
in interfaceClusterInfoDao
-
getPersistentClass
Description copied from class:HibernateDao
All subclasses of HibernateDao must implement this method forHibernateDao.load(Serializable)
to work correctly.- Specified by:
getPersistentClass
in classHibernateDao<ClusterInfoEntity>
- Returns:
- the entity class for this DAO
-