Package es.mde.repositorios
Interface CategoriaDAO
- All Superinterfaces:
CategoriaDAOCustom
,org.springframework.data.repository.CrudRepository<Categoria,
,Long> org.springframework.data.jpa.repository.JpaRepository<Categoria,
,Long> org.springframework.data.repository.ListCrudRepository<Categoria,
,Long> org.springframework.data.repository.ListPagingAndSortingRepository<Categoria,
,Long> org.springframework.data.repository.PagingAndSortingRepository<Categoria,
,Long> org.springframework.data.repository.query.QueryByExampleExecutor<Categoria>
,org.springframework.data.repository.Repository<Categoria,
Long>
public interface CategoriaDAO
extends org.springframework.data.jpa.repository.JpaRepository<Categoria,Long>, CategoriaDAOCustom
Representa la interfaz que expone para la API las categorias
- Author:
- JOSE LUIS PUENTES ALAMOS - MIGUEL PRADA MUNOZ
-
Method Summary
Modifier and TypeMethodDescriptionDevuelve una lista de categorias que contiene ese texto en su nombreMethods inherited from interface es.mde.repositorios.CategoriaDAOCustom
getCategoriasPadre, getRecursosDeSubcategorias, getSubcategoriasAnidadas
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
-
Method Details
-
findByNombreIgnoreCaseContaining
Devuelve una lista de categorias que contiene ese texto en su nombre- Parameters:
txt
- Texto que esta incluido en el nombre de las categorias buscadas- Returns:
- Devuelve una lista de categorias que contiene ese texto en su nombre
-