Package com.atlassian.bamboo.security
Interface TrustedKeyDao
-
- All Superinterfaces:
BambooObjectDao<TrustedKey>
- All Known Implementing Classes:
TrustedKeyHibernateDaoImpl
public interface TrustedKeyDao extends BambooObjectDao<TrustedKey>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method 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)
-
Methods inherited from interface com.atlassian.bamboo.persistence3.BambooObjectDao
countAll, countWithRestriction, delete, deleteAll, findAll, findById, merge, save, saveAll
-
-
-
-
Method Detail
-
findAll
@NotNull @NotNull List<TrustedKey> findAll()
-
findById
@Nullable @Nullable TrustedKey findById(long id)
-
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
-
-