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