Interface BibliotecaService

All Known Implementing Classes:
BibliotecaServiceImpl

public interface BibliotecaService
  • Field Details

  • Method Details

    • getBibliotecaById

      Biblioteca getBibliotecaById(Long id)
    • salvarBiblioteca

      Biblioteca salvarBiblioteca(Biblioteca biblioteca)
    • isSiglaEmUso

      boolean isSiglaEmUso(String sigla)
    • isSiglaEmUso

      boolean isSiglaEmUso(String sigla, Long excluideId)
    • getBibliotecaPorSigla

      Biblioteca getBibliotecaPorSigla(String sigla)
    • getBibliotecas

      List<Biblioteca> getBibliotecas()
    • getBibliotecasPorTipo

      List<Biblioteca> getBibliotecasPorTipo(TipoBiblioteca tipo)
    • removerBiblioteca

      void removerBiblioteca(Long id)
    • createFilter

      BibliotecaArquivoFilter createFilter()
    • 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)
    • getArquivoPorNome

      Arquivo getArquivoPorNome(String siglaBiblioteca, String nomeArquivo)
    • limparBiblioteca

      void limparBiblioteca(Long bibliotecaId)
    • removerArquivos

      int removerArquivos(Collection<Integer> filesId)
    • removerArquivo

      void removerArquivo(Integer fileId)
    • buildEndpointUrl

      String buildEndpointUrl(String libraryKey, String resourceName)
    • buildEndpointUrl

      String buildEndpointUrl(Biblioteca biblioteca, String resourceName)
    • buildEndpointUrl

      String buildEndpointUrl(Biblioteca biblioteca, Arquivo arquivo)