Interface TrustedKeyDao

All Superinterfaces:
BambooObjectDao<TrustedKey>
All Known Implementing Classes:
TrustedKeyHibernateDaoImpl

public interface TrustedKeyDao extends BambooObjectDao<TrustedKey>
  • Method Details

    • 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