Class BambooHibernateObjectWithOidDao<E extends BambooObjectWithOid>
java.lang.Object
org.springframework.dao.support.DaoSupport
org.springframework.orm.hibernate5.support.HibernateDaoSupport
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 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.BambooHibernateObjectDao
convertSearchTermToLikeExpression, countAll, countWithRestriction, delete, deleteAll, executeCountQuery, findAll, findAll, findById, merge, save, saveAllMethods 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
-
BambooHibernateObjectWithOidDao
public BambooHibernateObjectWithOidDao()
-
-
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>
-