public class QuickFilterRuleHibernateDao extends BambooHibernateObjectDao<QuickFilterRule> implements QuickFilterRuleDao
Constructor and Description |
---|
QuickFilterRuleHibernateDao() |
Modifier and Type | Method and Description |
---|---|
void |
delete(QuickFilterRule quickFilterRule)
Removes the given entity from the database
|
QuickFilterRule |
findById(long id) |
void |
save(QuickFilterRule quickFilterRule)
Saves the given entity.
|
countAll, countWithRestriction, deleteAll, executeCountQuery, findAll, findById, merge, saveAll
getCacheAwareHibernateTemplate
checkDaoConfig, createHibernateTemplate, currentSession, getHibernateTemplate, getSessionFactory, setHibernateTemplate, setSessionFactory
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
countAll, countWithRestriction, deleteAll, findAll, findById, merge, saveAll
@Nullable public QuickFilterRule findById(long id)
findById
in interface QuickFilterRuleDao
public void save(@NotNull QuickFilterRule quickFilterRule)
BambooObjectDao
EntityObject
this method will:
- update EntityObject.getLastModificationDate()
- set EntityObject.getCreationDate()
if the object has not been savedsave
in interface BambooObjectDao<QuickFilterRule>
save
in class BambooHibernateObjectDao<QuickFilterRule>
quickFilterRule
- entity to be savedpublic void delete(@NotNull QuickFilterRule quickFilterRule)
BambooObjectDao
delete
in interface BambooObjectDao<QuickFilterRule>
delete
in class BambooHibernateObjectDao<QuickFilterRule>
quickFilterRule
- entity to be removedCopyright © 2017 Atlassian Software Systems Pty Ltd. All rights reserved.