Class BambooHibernateObjectWithOidDao<E extends BambooObjectWithOid>
java.lang.Object
org.springframework.dao.support.DaoSupport
org.springframework.orm.hibernate5.support.HibernateDaoSupport
com.atlassian.bamboo.persistence3.StatelessSessionHibernateDaoSupport
com.atlassian.bamboo.persistence3.BambooHibernateObjectDao<E>
com.atlassian.bamboo.persistence3.BambooHibernateObjectWithOidDao<E>
- All Implemented Interfaces:
BambooObjectDao<E>
,BambooObjectWithOidDao<E>
,org.springframework.beans.factory.InitializingBean
- Direct Known Subclasses:
CredentialsHibernateDao
,PlanHibernateDao
,ProjectHibernateDao
public abstract class BambooHibernateObjectWithOidDao<E extends BambooObjectWithOid>
extends BambooHibernateObjectDao<E>
implements BambooObjectWithOidDao<E>
-
Field Summary
Fields inherited from class org.springframework.dao.support.DaoSupport
logger
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfindByOid
(@NotNull BambooEntityOid oid, @NotNull Class<? extends E> aClass) Methods inherited from class com.atlassian.bamboo.persistence3.BambooHibernateObjectDao
convertSearchTermToLikeExpression, countAll, countWithRestriction, delete, deleteAll, executeCountQuery, findAll, findById, merge, save, saveAll
Methods inherited from class com.atlassian.bamboo.persistence3.StatelessSessionHibernateDaoSupport
getCacheAwareHibernateTemplate
Methods inherited from class org.springframework.orm.hibernate5.support.HibernateDaoSupport
checkDaoConfig, createHibernateTemplate, currentSession, getHibernateTemplate, getSessionFactory, 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.bamboo.persistence3.BambooObjectDao
countAll, countWithRestriction, delete, deleteAll, findAll, findById, merge, save, saveAll
-
Constructor Details
-
BambooHibernateObjectWithOidDao
public BambooHibernateObjectWithOidDao()
-
-
Method Details
-
findByOid
public E findByOid(@NotNull @NotNull BambooEntityOid oid, @NotNull @NotNull Class<? extends E> aClass) - Specified by:
findByOid
in interfaceBambooObjectWithOidDao<E extends BambooObjectWithOid>
-