Interface RecursoDAO

All Superinterfaces:
org.springframework.data.repository.CrudRepository<Recurso,Long>, org.springframework.data.jpa.repository.JpaRepository<Recurso,Long>, org.springframework.data.repository.ListCrudRepository<Recurso,Long>, org.springframework.data.repository.ListPagingAndSortingRepository<Recurso,Long>, org.springframework.data.repository.PagingAndSortingRepository<Recurso,Long>, org.springframework.data.repository.query.QueryByExampleExecutor<Recurso>, RecursoDAOCustom, org.springframework.data.repository.Repository<Recurso,Long>

public interface RecursoDAO extends org.springframework.data.jpa.repository.JpaRepository<Recurso,Long>, RecursoDAOCustom
Representa la interfaz que expone para la API los recursos
Author:
JOSE LUIS PUENTES ALAMOS - MIGUEL PRADA MUNOZ
  • Method Summary

    Modifier and Type
    Method
    Description
    Devuelve una lista de recursos que contiene ese texto en su nombre

    Methods inherited from interface org.springframework.data.repository.CrudRepository

    count, delete, deleteAll, deleteAll, deleteAllById, deleteById, existsById, findById, save

    Methods inherited from interface org.springframework.data.jpa.repository.JpaRepository

    deleteAllByIdInBatch, deleteAllInBatch, deleteAllInBatch, deleteInBatch, findAll, findAll, flush, getById, getOne, getReferenceById, saveAllAndFlush, saveAndFlush

    Methods inherited from interface org.springframework.data.repository.ListCrudRepository

    findAll, findAllById, saveAll

    Methods inherited from interface org.springframework.data.repository.ListPagingAndSortingRepository

    findAll

    Methods inherited from interface org.springframework.data.repository.PagingAndSortingRepository

    findAll

    Methods inherited from interface org.springframework.data.repository.query.QueryByExampleExecutor

    count, exists, findAll, findBy, findOne

    Methods inherited from interface es.mde.repositorios.RecursoDAOCustom

    getCategoriasFicheroDeRecurso
  • Method Details

    • findByNombreIgnoreCaseContaining

      List<Recurso> findByNombreIgnoreCaseContaining(@Param("nombre") String txt)
      Devuelve una lista de recursos que contiene ese texto en su nombre
      Parameters:
      txt - Texto que esta incluido en el nombre de los recursos buscados
      Returns:
      Devuelve una lista de recursos que contiene ese texto en su nombre