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
-
-
Constructor Summary
Constructors Constructor Description QuickFilterRuleHibernateDao()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
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 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
-
-
-
-
Method Detail
-
findById
@Nullable public @Nullable QuickFilterRule findById(long id)
- Specified by:
findById
in interfaceQuickFilterRuleDao
-
save
public void save(@NotNull @NotNull QuickFilterRule quickFilterRule)
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
public void delete(@NotNull @NotNull QuickFilterRule quickFilterRule)
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
-
-