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.
|
@NotNull List<TrustedKey> |
findAll() |
@Nullable TrustedKey |
findByHostAndKey(@NotNull String host,
@NotNull String key) |
@Nullable 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 @NotNull List<TrustedKey> findAll()
findAll
in interface TrustedKeyDao
@Nullable public @Nullable TrustedKey findById(long id)
findById
in interface TrustedKeyDao
@Nullable public @Nullable TrustedKey findByHostAndKey(@NotNull @NotNull String host, @NotNull @NotNull String key)
findByHostAndKey
in interface TrustedKeyDao
public boolean delete(long id)
TrustedKeyDao
delete
in interface TrustedKeyDao
Copyright © 2022 Atlassian Software Systems Pty Ltd. All rights reserved.