Interface BibliotecaDao

All Superinterfaces:
Dao<Biblioteca,Long>
All Known Implementing Classes:
BibliotecaDaoImpl

public interface BibliotecaDao extends Dao<Biblioteca,Long>
  • Method Details

    • isSiglaEmUso

      boolean isSiglaEmUso(String sigla)
    • isSiglaEmUso

      boolean isSiglaEmUso(String sigla, Long excluideId)
    • getBibliotecaPorSigla

      Biblioteca getBibliotecaPorSigla(String sigla)
    • getBibliotecaPorTipo

      List<Biblioteca> getBibliotecaPorTipo(TipoBiblioteca tipo)
    • addArquivo

      BibliotecaArquivo addArquivo(Biblioteca biblioteca, Arquivo arquivo)
    • getArquivos

      List<Arquivo> getArquivos(BibliotecaArquivoFilter filter)
    • getArquivos

      List<Arquivo> getArquivos(BibliotecaArquivoFilter filter, int offset, int limit)
    • getArquivosCount

      Long getArquivosCount(BibliotecaArquivoFilter filter)
    • removerArquivos

      int removerArquivos(Collection<Integer> filesId)
    • removerArquivo

      void removerArquivo(Integer fileId)