Class BambooHibernateVersionAwareObjectWithOidDao<E extends BambooObjectWithOid,T>
java.lang.Object
org.springframework.dao.support.DaoSupport
org.springframework.orm.hibernate5.support.HibernateDaoSupport
com.atlassian.bamboo.persistence3.BambooHibernateObjectDao<E>
com.atlassian.bamboo.persistence3.BambooHibernateVersionAwareObjectDao<E,T>
com.atlassian.bamboo.persistence3.BambooHibernateVersionAwareObjectWithOidDao<E,T>
- All Implemented Interfaces:
BambooObjectDao<E>,BambooObjectWithOidDao<E>,org.springframework.beans.factory.InitializingBean
- Direct Known Subclasses:
RepositoryDefinitionHibernateDao
public abstract class BambooHibernateVersionAwareObjectWithOidDao<E extends BambooObjectWithOid,T>
extends BambooHibernateVersionAwareObjectDao<E,T>
implements BambooObjectWithOidDao<E>
-
Field Summary
Fields inherited from class org.springframework.dao.support.DaoSupport
logger -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription<V extends R,R extends E>
RfindByOid(@NotNull BambooEntityOid oid, @NotNull Class<V> eClass, @NotNull Class<R> rClass) Methods inherited from class com.atlassian.bamboo.persistence3.BambooHibernateVersionAwareObjectDao
delete, deleteAll, getMainVersioningSupplement, getRootVersioningSupplement, incrementMainVersion, incrementMainVersion, incrementRootVersion, incrementRootVersion, incrementRootVersion, save, saveAllMethods inherited from class com.atlassian.bamboo.persistence3.BambooHibernateObjectDao
convertSearchTermToLikeExpression, countAll, countWithRestriction, executeCountQuery, findAll, findAll, findById, mergeMethods inherited from class org.springframework.orm.hibernate5.support.HibernateDaoSupport
checkDaoConfig, createHibernateTemplate, currentSession, getHibernateTemplate, getSessionFactory, setHibernateTemplate, setSessionFactoryMethods inherited from class org.springframework.dao.support.DaoSupport
afterPropertiesSet, initDao
-
Constructor Details
-
BambooHibernateVersionAwareObjectWithOidDao
public BambooHibernateVersionAwareObjectWithOidDao()
-
-
Method Details
-
findByOid
public <V extends R,R extends E> R findByOid(@NotNull @NotNull BambooEntityOid oid, @NotNull @NotNull Class<V> eClass, @NotNull @NotNull Class<R> rClass) - Specified by:
findByOidin interfaceBambooObjectWithOidDao<E extends BambooObjectWithOid>
-