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, execute, executeCountQuery, executeReturnInt, executeReturnLong, findAll, findById, save, saveAll
getCacheAwareHibernateTemplate
checkDaoConfig, convertHibernateAccessException, createHibernateTemplate, getHibernateTemplate, getSession, getSession, getSessionFactory, releaseSession, setHibernateTemplate, setSessionFactory
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
countAll, countWithRestriction, delete, deleteAll, executeReturnInt, executeReturnLong, findAll, findById, 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 © 2016 Atlassian Software Systems Pty Ltd. All rights reserved.