com.atlassian.crowd.model.directory
Class DirectoryDAOHibernate
java.lang.Object
org.springframework.dao.support.DaoSupport
org.springframework.orm.hibernate3.support.HibernateDaoSupport
com.atlassian.crowd.util.persistence.hibernate.HibernateDao
com.atlassian.crowd.model.directory.DirectoryDAOHibernate
- All Implemented Interfaces:
- DirectoryDAO, ObjectDao, org.springframework.beans.factory.InitializingBean
public class DirectoryDAOHibernate
- extends HibernateDao
- implements DirectoryDAO
| Methods inherited from class org.springframework.orm.hibernate3.support.HibernateDaoSupport |
checkDaoConfig, convertHibernateAccessException, createHibernateTemplate, getHibernateTemplate, getSession, getSession, getSessionFactory, releaseSession, setHibernateTemplate, setSessionFactory |
| Methods inherited from class org.springframework.dao.support.DaoSupport |
afterPropertiesSet, initDao |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DirectoryDAOHibernate
public DirectoryDAOHibernate()
getPersistentClass
public java.lang.Class getPersistentClass()
- Description copied from class:
HibernateDao
- All subclasses of HibernateDAO must implement this method for
HibernateDao.load(long) to
work correctly
- Specified by:
getPersistentClass in interface ObjectDao- Specified by:
getPersistentClass in class HibernateDao
- Returns:
- Class
findById
public Directory findById(long id)
throws ObjectNotFoundException
- Specified by:
findById in interface DirectoryDAO
- Throws:
ObjectNotFoundException
findByName
public Directory findByName(java.lang.String name)
throws ObjectNotFoundException
- Specified by:
findByName in interface DirectoryDAO
- Throws:
ObjectNotFoundException
add
public Directory add(Directory directory)
- Specified by:
add in interface DirectoryDAO
update
public Directory update(Directory directory)
- Specified by:
update in interface DirectoryDAO
remove
public void remove(Directory directory)
- Specified by:
remove in interface DirectoryDAO
search
public java.util.List<Directory> search(EntityQuery query)
- Specified by:
search in interface DirectoryDAO
setUserDAO
public void setUserDAO(UserDAO userDAO)
setGroupDAO
public void setGroupDAO(GroupDAO groupDAO)
setHqlQueryTranslater
public void setHqlQueryTranslater(HQLQueryTranslater hqlQueryTranslater)
Copyright © 2009 Atlassian Pty Ltd. All Rights Reserved.