Class QuickFilterRuleHibernateDao
java.lang.Object
org.springframework.dao.support.DaoSupport
org.springframework.orm.hibernate5.support.HibernateDaoSupport
com.atlassian.bamboo.persistence3.StatelessSessionHibernateDaoSupport
com.atlassian.bamboo.persistence3.BambooHibernateObjectDao<QuickFilterRule>
com.atlassian.bamboo.quickfilter.rule.QuickFilterRuleHibernateDao
- All Implemented Interfaces:
BambooObjectDao<QuickFilterRule>
,QuickFilterRuleDao
,org.springframework.beans.factory.InitializingBean
public class QuickFilterRuleHibernateDao
extends BambooHibernateObjectDao<QuickFilterRule>
implements QuickFilterRuleDao
-
Field Summary
Fields inherited from class org.springframework.dao.support.DaoSupport
logger
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
delete
(@NotNull QuickFilterRule quickFilterRule) Removes the given entity from the database@Nullable QuickFilterRule
findById
(long id) void
save
(@NotNull QuickFilterRule quickFilterRule) Saves the given entity.Methods inherited from class com.atlassian.bamboo.persistence3.BambooHibernateObjectDao
convertSearchTermToLikeExpression, countAll, countWithRestriction, deleteAll, executeCountQuery, findAll, findById, merge, 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, deleteAll, findAll, findById, merge, saveAll
-
Constructor Details
-
QuickFilterRuleHibernateDao
public QuickFilterRuleHibernateDao()
-
-
Method Details
-
findById
- Specified by:
findById
in interfaceQuickFilterRuleDao
-
save
Description copied from interface:BambooObjectDao
Saves the given entity. If the entity implementation is an instance ofEntityObject
this method will: - updateEntityObject.getLastModificationDate()
- setEntityObject.getCreationDate()
if the object has not been saved- Specified by:
save
in interfaceBambooObjectDao<QuickFilterRule>
- Overrides:
save
in classBambooHibernateObjectDao<QuickFilterRule>
- Parameters:
quickFilterRule
- entity to be saved
-
delete
Description copied from interface:BambooObjectDao
Removes the given entity from the database- Specified by:
delete
in interfaceBambooObjectDao<QuickFilterRule>
- Overrides:
delete
in classBambooHibernateObjectDao<QuickFilterRule>
- Parameters:
quickFilterRule
- entity to be removed
-