public class TrustedKeyHibernateDaoImpl extends BambooHibernateObjectDao<TrustedKey> implements TrustedKeyDao
Constructor and Description |
---|
TrustedKeyHibernateDaoImpl() |
Modifier and Type | Method and Description |
---|---|
boolean |
delete(long id)
Deletes the trusted key with given id.
|
List<TrustedKey> |
findAll() |
TrustedKey |
findByHostAndKey(String host,
String key) |
TrustedKey |
findById(long id) |
countAll, countWithRestriction, delete, deleteAll, executeCountQuery, findAll, findById, merge, save, saveAll
getCacheAwareHibernateTemplate
checkDaoConfig, createHibernateTemplate, currentSession, getHibernateTemplate, getSessionFactory, setHibernateTemplate, setSessionFactory
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
countAll, countWithRestriction, delete, deleteAll, findAll, findById, merge, save, saveAll
@NotNull public List<TrustedKey> findAll()
findAll
in interface TrustedKeyDao
@Nullable public TrustedKey findById(long id)
findById
in interface TrustedKeyDao
@Nullable public TrustedKey findByHostAndKey(@NotNull String host, @NotNull String key)
findByHostAndKey
in interface TrustedKeyDao
public boolean delete(long id)
TrustedKeyDao
delete
in interface TrustedKeyDao
Copyright © 2020 Atlassian Software Systems Pty Ltd. All rights reserved.