com.atlassian.crowd.model.property
Class PropertyDAOHibernate
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.property.PropertyDAOHibernate
- All Implemented Interfaces:
- PropertyDAO, ObjectDao, org.springframework.beans.factory.InitializingBean
public class PropertyDAOHibernate
- extends HibernateDao
- implements PropertyDAO
| 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 |
PropertyDAOHibernate
public PropertyDAOHibernate()
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
find
public Property find(java.lang.String key,
java.lang.String name)
throws ObjectNotFoundException
- Specified by:
find in interface PropertyDAO
- Throws:
ObjectNotFoundException
findAll
public java.util.List<Property> findAll(java.lang.String key)
- Specified by:
findAll in interface PropertyDAO
add
public Property add(Property property)
- Specified by:
add in interface PropertyDAO
update
public Property update(Property property)
- Specified by:
update in interface PropertyDAO
remove
public void remove(java.lang.String key,
java.lang.String name)
- Specified by:
remove in interface PropertyDAO
findAll
public java.util.List<Property> findAll()
- Specified by:
findAll in interface PropertyDAO
Copyright © 2009 Atlassian Pty Ltd. All Rights Reserved.