Package com.atlassian.bamboo.security
Interface TrustedKeyDao
- All Superinterfaces:
BambooObjectDao<TrustedKey>
- All Known Implementing Classes:
TrustedKeyHibernateDaoImpl
-
Method Summary
Modifier and TypeMethodDescriptionboolean
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) Methods inherited from interface com.atlassian.bamboo.persistence3.BambooObjectDao
countAll, countWithRestriction, delete, deleteAll, findAll, findById, merge, save, saveAll
-
Method Details
-
findAll
-
findById
-
findByHostAndKey
@Nullable @Nullable TrustedKey findByHostAndKey(@NotNull @NotNull String host, @NotNull @NotNull String key) -
delete
boolean delete(long id) Deletes the trusted key with given id.- Returns:
- true if trusted key with given id was found was deleted, false otherwise
-