com.atlassian.crowd.model.application
Class ApplicationDAOHibernate
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.application.ApplicationDAOHibernate
- All Implemented Interfaces:
- ApplicationDAO, ObjectDao, org.springframework.beans.factory.InitializingBean
public class ApplicationDAOHibernate
- extends HibernateDao
- implements ApplicationDAO
| 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 |
ApplicationDAOHibernate
public ApplicationDAOHibernate()
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 Application findById(long id)
throws ObjectNotFoundException
- Specified by:
findById in interface ApplicationDAO
- Throws:
ObjectNotFoundException
findByName
public Application findByName(java.lang.String name)
throws ObjectNotFoundException
- Specified by:
findByName in interface ApplicationDAO
- Throws:
ObjectNotFoundException
add
public Application add(Application application)
- Specified by:
add in interface ApplicationDAO
update
public Application update(Application application)
- Specified by:
update in interface ApplicationDAO
remove
public void remove(Application application)
- Specified by:
remove in interface ApplicationDAO
search
public java.util.List<Application> search(EntityQuery query)
- Specified by:
search in interface ApplicationDAO
removeDirectoryMappings
public void removeDirectoryMappings(long directoryId)
- Specified by:
removeDirectoryMappings in interface ApplicationDAO
removeGroupMappings
public void removeGroupMappings(long directoryId,
java.lang.String groupName)
- Specified by:
removeGroupMappings in interface ApplicationDAO
renameGroupMappings
public void renameGroupMappings(long directoryId,
java.lang.String oldGroupName,
java.lang.String newGroupName)
- Specified by:
renameGroupMappings in interface ApplicationDAO
setHqlQueryTranslater
public void setHqlQueryTranslater(HQLQueryTranslater hqlQueryTranslater)
Copyright © 2009 Atlassian Pty Ltd. All Rights Reserved.