com.atlassian.crowd.model.property
Class PropertyDAOHibernate

java.lang.Object
  extended by org.springframework.dao.support.DaoSupport
      extended by org.springframework.orm.hibernate3.support.HibernateDaoSupport
          extended by com.atlassian.crowd.util.persistence.hibernate.HibernateDao
              extended by com.atlassian.crowd.model.property.PropertyDAOHibernate
All Implemented Interfaces:
PropertyDAO, ObjectDao, org.springframework.beans.factory.InitializingBean

public class PropertyDAOHibernate
extends HibernateDao
implements PropertyDAO


Field Summary
 
Fields inherited from class com.atlassian.crowd.util.persistence.hibernate.HibernateDao
batchProcessor, logger
 
Constructor Summary
PropertyDAOHibernate()
           
 
Method Summary
 Property add(Property property)
           
 Property find(java.lang.String key, java.lang.String name)
           
 java.util.List<Property> findAll()
           
 java.util.List<Property> findAll(java.lang.String key)
           
 java.lang.Class getPersistentClass()
          All subclasses of HibernateDAO must implement this method for HibernateDao.load(long) to work correctly
 void remove(java.lang.String key, java.lang.String name)
           
 Property update(Property property)
           
 
Methods inherited from class com.atlassian.crowd.util.persistence.hibernate.HibernateDao
load, loadReference, remove, save, saveOrUpdate, setBatchProcessor, update
 
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
 
Methods inherited from interface com.atlassian.crowd.util.persistence.hibernate.ObjectDao
load, remove, save, update
 

Constructor Detail

PropertyDAOHibernate

public PropertyDAOHibernate()
Method Detail

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.