|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.springframework.dao.support.DaoSupport
org.springframework.orm.hibernate3.support.HibernateDaoSupport
com.atlassian.crowd.util.persistence.hibernate.HibernateDao
com.atlassian.crowd.dao.property.PropertyDAOHibernate
public class PropertyDAOHibernate
| Field Summary |
|---|
| Fields inherited from class com.atlassian.crowd.util.persistence.hibernate.HibernateDao |
|---|
batchFinder, batchProcessor, logger |
| Constructor Summary | |
|---|---|
PropertyDAOHibernate()
|
|
| Method Summary | |
|---|---|
Property |
add(Property property)
Adds a new property. |
Property |
find(java.lang.String key,
java.lang.String name)
Finds property by key and name. |
java.util.List<Property> |
findAll()
Retrieves all properties. |
java.util.List<Property> |
findAll(java.lang.String key)
Finds properties by 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)
Removes a property. |
Property |
update(Property property)
Updates a property. |
| Methods inherited from class com.atlassian.crowd.util.persistence.hibernate.HibernateDao |
|---|
load, loadReference, remove, save, saveOrUpdate, setBatchFinder, 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 |
| Constructor Detail |
|---|
public PropertyDAOHibernate()
| Method Detail |
|---|
public java.lang.Class getPersistentClass()
HibernateDaoHibernateDao.load(long) to
work correctly
getPersistentClass in class HibernateDao
public Property find(java.lang.String key,
java.lang.String name)
throws ObjectNotFoundException
PropertyDAO
find in interface PropertyDAOkey - Key.name - Name.
ObjectNotFoundException - If the property cannot be found.public java.util.List<Property> findAll(java.lang.String key)
PropertyDAO
findAll in interface PropertyDAOkey - Key.
public Property add(Property property)
PropertyDAO
add in interface PropertyDAOproperty - Property.
public Property update(Property property)
PropertyDAO
update in interface PropertyDAOproperty - Property.
public void remove(java.lang.String key,
java.lang.String name)
PropertyDAO
remove in interface PropertyDAOkey - Key.name - Name.public java.util.List<Property> findAll()
PropertyDAO
findAll in interface PropertyDAO
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||