|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.springframework.dao.support.DaoSupport org.springframework.orm.hibernate.support.HibernateDaoSupport com.atlassian.hibernate.HibernateObjectDao com.atlassian.bamboo.persistence.BambooHibernateObjectDao
public abstract class BambooHibernateObjectDao
Base hibernate object dao for Bamboo
Field Summary |
---|
Fields inherited from class com.atlassian.hibernate.HibernateObjectDao |
---|
log |
Fields inherited from class org.springframework.dao.support.DaoSupport |
---|
logger |
Constructor Summary | |
---|---|
BambooHibernateObjectDao()
|
Method Summary | ||
---|---|---|
long |
executeCountQuery(java.lang.String queryName)
Execute count-type query and returns result |
|
long |
executeReturnLong(org.springframework.orm.hibernate.HibernateCallback callback)
|
|
BambooObject |
findById(long id)
Gets the object from its id |
|
|
findById(long id,
java.lang.Class<T> persistantClass)
|
Methods inherited from class com.atlassian.hibernate.HibernateObjectDao |
---|
findAll, findAllSorted, findNamedQuery, findNamedQuery, findNamedQuery, findNamedQueryStringParam, findNamedQueryStringParam, findNamedQueryStringParam, findNamedQueryStringParams, findNamedQueryStringParams, findNamedQueryStringParams, findNamedQueryStringParams, findNamedQueryStringParams, findNamedQueryStringParams, findNamedQueryStringParams, findNamedQueryStringParams, findNamedQueryStringParams, findSingleObject, getByClassId, index, refresh, reIndex, remove, replicate, save, saveRaw, setIndexer, unIndex, updateModificationData |
Methods inherited from class org.springframework.orm.hibernate.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 bucket.core.persistence.ObjectDao |
---|
findAll, findAllSorted, getPersistentClass, refresh, remove, replicate, save, saveRaw |
Constructor Detail |
---|
public BambooHibernateObjectDao()
Method Detail |
---|
public BambooObject findById(long id)
BambooObjectDao
findById
in interface BambooObjectDao
BambooObject
. null if not found.public <T> T findById(long id, java.lang.Class<T> persistantClass)
public long executeReturnLong(@NotNull org.springframework.orm.hibernate.HibernateCallback callback)
public long executeCountQuery(@NotNull java.lang.String queryName)
queryName
- name of the named query to execute
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |