Index
All Classes and Interfaces|All Packages
A
- ACCION - Enum constant in enum class com.tfg.crud.GestorBiblioteca.entity.Genero
- activarUsuario(Long) - Method in class com.tfg.crud.GestorBiblioteca.controller.mtoUsuarioController
-
Reactiva un usuario dado de baja.
- ACTIVO - Enum constant in enum class com.tfg.crud.GestorBiblioteca.entity.EstadoPrestamo
- ACTIVO - Enum constant in enum class com.tfg.crud.GestorBiblioteca.entity.EstadoUsuario
- actualizarPrestamosRetrasados() - Method in interface com.tfg.crud.GestorBiblioteca.service.PrestamoService
-
Actualiza el estado de los préstamos retrasados en el sistema.
- actualizarPrestamosRetrasados() - Method in class com.tfg.crud.GestorBiblioteca.service.PrestamoServiceImp
B
- BAJA - Enum constant in enum class com.tfg.crud.GestorBiblioteca.entity.EstadoUsuario
- buscarEjemplaresDisponibles() - Method in interface com.tfg.crud.GestorBiblioteca.repository.EjemplarRepository
- buscarEjemplarPorId(Long) - Method in interface com.tfg.crud.GestorBiblioteca.service.EjemplarService
-
Busca un ejemplar por su identificador.
- buscarEjemplarPorId(Long) - Method in class com.tfg.crud.GestorBiblioteca.service.EjemplarServiceImp
- buscarLibroPorId(Long) - Method in interface com.tfg.crud.GestorBiblioteca.service.LibroService
-
Busca un libro por su identificador.
- buscarLibroPorId(Long) - Method in class com.tfg.crud.GestorBiblioteca.service.LibroServiceImp
- buscarLibros(String, Boolean, Pageable) - Method in interface com.tfg.crud.GestorBiblioteca.repository.LibroRepository
- buscarLibros(String, Boolean, Pageable) - Method in interface com.tfg.crud.GestorBiblioteca.service.LibroService
-
Busca libros aplicando filtros y paginación.
- buscarLibros(String, Boolean, Pageable) - Method in class com.tfg.crud.GestorBiblioteca.service.LibroServiceImp
- buscarPrestamoPorId(Long) - Method in interface com.tfg.crud.GestorBiblioteca.service.PrestamoService
-
Busca préstamos por su identificador.
- buscarPrestamoPorId(Long) - Method in class com.tfg.crud.GestorBiblioteca.service.PrestamoServiceImp
- buscarPrestamos(String, EstadoPrestamo, Pageable) - Method in interface com.tfg.crud.GestorBiblioteca.repository.PrestamoRepository
- buscarPrestamos(String, EstadoPrestamo, Pageable) - Method in interface com.tfg.crud.GestorBiblioteca.service.PrestamoService
-
Busca préstamos aplicando filtros y paginación
- buscarPrestamos(String, EstadoPrestamo, Pageable) - Method in class com.tfg.crud.GestorBiblioteca.service.PrestamoServiceImp
- buscarTodosLibros(String, Pageable) - Method in interface com.tfg.crud.GestorBiblioteca.repository.LibroRepository
- buscarTodosPrestamos(String, Pageable) - Method in interface com.tfg.crud.GestorBiblioteca.repository.PrestamoRepository
- buscarTodosUsuarios(String, Pageable) - Method in interface com.tfg.crud.GestorBiblioteca.repository.UsuarioRepository
- buscarUsuarioPorId(Long) - Method in interface com.tfg.crud.GestorBiblioteca.service.UsuarioService
-
Busca un usuario por su identificador.
- buscarUsuarioPorId(Long) - Method in class com.tfg.crud.GestorBiblioteca.service.UsuarioServiceImp
- buscarUsuarioPorUsername(String) - Method in interface com.tfg.crud.GestorBiblioteca.service.UsuarioService
-
Busca un usuario por su nombre de cuenta.
- buscarUsuarioPorUsername(String) - Method in class com.tfg.crud.GestorBiblioteca.service.UsuarioServiceImp
- buscarUsuarios(String, EstadoUsuario, Pageable) - Method in interface com.tfg.crud.GestorBiblioteca.repository.UsuarioRepository
- buscarUsuarios(String, EstadoUsuario, Pageable) - Method in interface com.tfg.crud.GestorBiblioteca.service.UsuarioService
-
Busca usuarios con filtros y paginación.
- buscarUsuarios(String, EstadoUsuario, Pageable) - Method in class com.tfg.crud.GestorBiblioteca.service.UsuarioServiceImp
- buscarUsuariosDisponibles(String) - Method in interface com.tfg.crud.GestorBiblioteca.service.UsuarioService
-
Busca usuarios filtrando por nombre.
- buscarUsuariosDisponibles(String) - Method in class com.tfg.crud.GestorBiblioteca.service.UsuarioServiceImp
C
- cambiarEstado(Long, EstadoPrestamo) - Method in interface com.tfg.crud.GestorBiblioteca.service.PrestamoService
-
Cambia el estado de un préstamo.
- cambiarEstado(Long, EstadoPrestamo) - Method in class com.tfg.crud.GestorBiblioteca.service.PrestamoServiceImp
- cambiarEstadoLibro(Long) - Method in class com.tfg.crud.GestorBiblioteca.controller.mtoLibrosController
-
Modifica el estado de un libro.
- cambiarEstadoUsuario(Long, Long) - Method in class com.tfg.crud.GestorBiblioteca.controller.mtoLibrosController
-
Modifica el estado de un ejemplar asociado a un libro.
- CIENCIA_FICCION - Enum constant in enum class com.tfg.crud.GestorBiblioteca.entity.Genero
- com.tfg.crud.GestorBiblioteca - package com.tfg.crud.GestorBiblioteca
- com.tfg.crud.GestorBiblioteca.config - package com.tfg.crud.GestorBiblioteca.config
- com.tfg.crud.GestorBiblioteca.controller - package com.tfg.crud.GestorBiblioteca.controller
- com.tfg.crud.GestorBiblioteca.dto - package com.tfg.crud.GestorBiblioteca.dto
- com.tfg.crud.GestorBiblioteca.entity - package com.tfg.crud.GestorBiblioteca.entity
- com.tfg.crud.GestorBiblioteca.repository - package com.tfg.crud.GestorBiblioteca.repository
- com.tfg.crud.GestorBiblioteca.rest - package com.tfg.crud.GestorBiblioteca.rest
- com.tfg.crud.GestorBiblioteca.service - package com.tfg.crud.GestorBiblioteca.service
- com.tfg.crud.GestorBiblioteca.validation - package com.tfg.crud.GestorBiblioteca.validation
- consultarLibro(Model, Long) - Method in class com.tfg.crud.GestorBiblioteca.controller.mtoLibrosController
-
Muestra el detalle de un libro junto con sus ejemplares asociados.
- consultarPrestamo(Long, Model) - Method in class com.tfg.crud.GestorBiblioteca.controller.mtoPrestamoController
-
Muestra el detalle de un préstamo concreto.
- consultarUsuario(Model, Long) - Method in class com.tfg.crud.GestorBiblioteca.controller.mtoUsuarioController
-
Muestra el detalle de un usuario junto con sus préstamos asociados.
- countByActivoTrue() - Method in interface com.tfg.crud.GestorBiblioteca.repository.LibroRepository
- countByEstadoPrestamoIn(List<EstadoPrestamo>) - Method in interface com.tfg.crud.GestorBiblioteca.repository.PrestamoRepository
- countByEstadoUsuarioInAndTipoIn(List<EstadoUsuario>, List<Rol>) - Method in interface com.tfg.crud.GestorBiblioteca.repository.UsuarioRepository
- countByLibroIdLibro(Long) - Method in interface com.tfg.crud.GestorBiblioteca.repository.EjemplarRepository
D
- darDeBajaEjemplar(Long) - Method in interface com.tfg.crud.GestorBiblioteca.service.EjemplarService
-
Da de baja un ejemplar del sistema.
- darDeBajaEjemplar(Long) - Method in class com.tfg.crud.GestorBiblioteca.service.EjemplarServiceImp
- darDeBajaUsuario(Long) - Method in class com.tfg.crud.GestorBiblioteca.controller.mtoUsuarioController
-
Cambia el estado de un usuario a baja.
- DICCIONARIO - Enum constant in enum class com.tfg.crud.GestorBiblioteca.entity.Genero
- DNI - Annotation Interface in com.tfg.crud.GestorBiblioteca.validation
-
Anotación de validación personalizada para comprobar que un DNI español tiene un formato válido y una letra de control correcta.
E
- editarLibro(Long, Libro, BindingResult, RedirectAttributes, Model) - Method in class com.tfg.crud.GestorBiblioteca.controller.mtoLibrosController
-
Actualiza la información de un libro existente.
- editarLibro(Long, Libro) - Method in interface com.tfg.crud.GestorBiblioteca.service.LibroService
-
Actualiza la información de un libro existente.
- editarLibro(Long, Libro) - Method in class com.tfg.crud.GestorBiblioteca.service.LibroServiceImp
- editarPerfil(UsuarioDTO, BindingResult, RedirectAttributes, Model, Authentication, String) - Method in class com.tfg.crud.GestorBiblioteca.controller.mtoUsuarioController
-
Actualiza los datos del perfil del usuario autenticado.
- editarPrestamo(Long, PrestamoDTO) - Method in class com.tfg.crud.GestorBiblioteca.controller.mtoPrestamoController
-
Actualiza la información de un préstamo existente.
- editarPrestamo(Long, PrestamoDTO) - Method in interface com.tfg.crud.GestorBiblioteca.service.PrestamoService
-
Edita un préstamo existente.
- editarPrestamo(Long, PrestamoDTO) - Method in class com.tfg.crud.GestorBiblioteca.service.PrestamoServiceImp
- editarUsuario(Long, UsuarioDTO, BindingResult, RedirectAttributes, Model) - Method in class com.tfg.crud.GestorBiblioteca.controller.mtoUsuarioController
-
Actualiza los datos de un usuario existente.
- editarUsuario(Long, UsuarioDTO) - Method in interface com.tfg.crud.GestorBiblioteca.service.UsuarioService
-
Edita los datos de un usuario existente.
- editarUsuario(Long, UsuarioDTO) - Method in class com.tfg.crud.GestorBiblioteca.service.UsuarioServiceImp
- Ejemplar - Class in com.tfg.crud.GestorBiblioteca.entity
-
Representa las personas y trabajadores de la biblioteca escolar Contiene la información necesaria para realizar un préstamo y autenticarse en la aplicación
- Ejemplar() - Constructor for class com.tfg.crud.GestorBiblioteca.entity.Ejemplar
- Ejemplar(Long, String, String, Libro, boolean) - Constructor for class com.tfg.crud.GestorBiblioteca.entity.Ejemplar
- Ejemplar(String, String, Libro, boolean) - Constructor for class com.tfg.crud.GestorBiblioteca.entity.Ejemplar
- ejemplarController - Class in com.tfg.crud.GestorBiblioteca.controller
-
Controlador encargado de gestionar las operaciones relacionadas con los ejemplares de los libros.
- ejemplarController() - Constructor for class com.tfg.crud.GestorBiblioteca.controller.ejemplarController
- EjemplarRepository - Interface in com.tfg.crud.GestorBiblioteca.repository
- EjemplarService - Interface in com.tfg.crud.GestorBiblioteca.service
-
Servicio encargado de la gestión de ejemplares de libros en la biblioteca.
- EjemplarServiceImp - Class in com.tfg.crud.GestorBiblioteca.service
- EjemplarServiceImp() - Constructor for class com.tfg.crud.GestorBiblioteca.service.EjemplarServiceImp
- ENCICLOPEDIA - Enum constant in enum class com.tfg.crud.GestorBiblioteca.entity.Genero
- ENTREGADO - Enum constant in enum class com.tfg.crud.GestorBiblioteca.entity.EstadoPrestamo
- ENTREGADO_CON_RETRASO - Enum constant in enum class com.tfg.crud.GestorBiblioteca.entity.EstadoPrestamo
- EstadoPrestamo - Enum Class in com.tfg.crud.GestorBiblioteca.entity
- EstadoUsuario - Enum Class in com.tfg.crud.GestorBiblioteca.entity
- existsByDni(String) - Method in interface com.tfg.crud.GestorBiblioteca.repository.UsuarioRepository
- existsByIsbn(String) - Method in interface com.tfg.crud.GestorBiblioteca.repository.LibroRepository
- existsByUsername(String) - Method in interface com.tfg.crud.GestorBiblioteca.repository.UsuarioRepository
- exportarLibros(HttpServletResponse) - Method in class com.tfg.crud.GestorBiblioteca.controller.mtoLibrosController
-
Exporta el catálogo de libros a un fichero CSV.
F
- finalizarPrestamo(LocalDate, Long, String) - Method in interface com.tfg.crud.GestorBiblioteca.service.PrestamoService
-
Finaliza un préstamo estableciendo su fecha de devolución.
- finalizarPrestamo(LocalDate, Long, String) - Method in class com.tfg.crud.GestorBiblioteca.service.PrestamoServiceImp
- findByDni(String) - Method in interface com.tfg.crud.GestorBiblioteca.repository.UsuarioRepository
- findByEjemplarCodigoContainingIgnoreCase(String) - Method in interface com.tfg.crud.GestorBiblioteca.repository.PrestamoRepository
- findByEstadoUsuarioInAndTipoInAndNombreContainingIgnoreCase(List<EstadoUsuario>, List<Rol>, String) - Method in interface com.tfg.crud.GestorBiblioteca.repository.UsuarioRepository
- findByIsbn(String) - Method in interface com.tfg.crud.GestorBiblioteca.repository.LibroRepository
- findByIsbnContainingAndActivoTrue(String) - Method in interface com.tfg.crud.GestorBiblioteca.repository.LibroRepository
- findByLibroIdLibro(Long) - Method in interface com.tfg.crud.GestorBiblioteca.repository.EjemplarRepository
- findByUsername(String) - Method in interface com.tfg.crud.GestorBiblioteca.repository.UsuarioRepository
- findByUsuarioIdUsuario(Long) - Method in interface com.tfg.crud.GestorBiblioteca.repository.PrestamoRepository
G
- Genero - Enum Class in com.tfg.crud.GestorBiblioteca.entity
- GestorBibliotecaApplication - Class in com.tfg.crud.GestorBiblioteca
- GestorBibliotecaApplication() - Constructor for class com.tfg.crud.GestorBiblioteca.GestorBibliotecaApplication
- getApellido1() - Method in class com.tfg.crud.GestorBiblioteca.dto.UsuarioDTO
- getApellido1() - Method in class com.tfg.crud.GestorBiblioteca.entity.Usuario
- getApellido2() - Method in class com.tfg.crud.GestorBiblioteca.dto.UsuarioDTO
- getApellido2() - Method in class com.tfg.crud.GestorBiblioteca.entity.Usuario
- getAutor() - Method in class com.tfg.crud.GestorBiblioteca.entity.Libro
- getCodigo() - Method in class com.tfg.crud.GestorBiblioteca.entity.Ejemplar
- getDni() - Method in class com.tfg.crud.GestorBiblioteca.dto.UsuarioDTO
- getDni() - Method in class com.tfg.crud.GestorBiblioteca.entity.Usuario
- getEditorial() - Method in class com.tfg.crud.GestorBiblioteca.entity.Libro
- getEjemplar() - Method in class com.tfg.crud.GestorBiblioteca.entity.Prestamo
- getEjemplares() - Method in class com.tfg.crud.GestorBiblioteca.entity.Libro
- getEstadoPrestamo() - Method in class com.tfg.crud.GestorBiblioteca.entity.Prestamo
- getEstadoUsuario() - Method in class com.tfg.crud.GestorBiblioteca.entity.Usuario
- getFechaDevolucion() - Method in class com.tfg.crud.GestorBiblioteca.entity.Prestamo
- getFechaFin() - Method in class com.tfg.crud.GestorBiblioteca.dto.PrestamoDTO
- getFechaFin() - Method in class com.tfg.crud.GestorBiblioteca.entity.Prestamo
- getFechaInicio() - Method in class com.tfg.crud.GestorBiblioteca.dto.PrestamoDTO
- getFechaInicio() - Method in class com.tfg.crud.GestorBiblioteca.entity.Prestamo
- getGenero() - Method in class com.tfg.crud.GestorBiblioteca.entity.Libro
- getIdEjemplar() - Method in class com.tfg.crud.GestorBiblioteca.dto.PrestamoDTO
- getIdEjemplar() - Method in class com.tfg.crud.GestorBiblioteca.entity.Ejemplar
- getIdLibro() - Method in class com.tfg.crud.GestorBiblioteca.dto.PrestamoDTO
- getIdLibro() - Method in class com.tfg.crud.GestorBiblioteca.entity.Libro
- getIdPrestamo() - Method in class com.tfg.crud.GestorBiblioteca.dto.PrestamoDTO
- getIdPrestamo() - Method in class com.tfg.crud.GestorBiblioteca.entity.Prestamo
- getIdUsuario() - Method in class com.tfg.crud.GestorBiblioteca.dto.PrestamoDTO
- getIdUsuario() - Method in class com.tfg.crud.GestorBiblioteca.entity.Usuario
- getInicio() - Method in class com.tfg.crud.GestorBiblioteca.rest.InicioRestController
-
Obtiene los datos estadisticos necesarios para la página de inicio de la aplicación.
- getIsbn() - Method in class com.tfg.crud.GestorBiblioteca.entity.Libro
- getLibro() - Method in class com.tfg.crud.GestorBiblioteca.entity.Ejemplar
- getLibrosActivos() - Method in class com.tfg.crud.GestorBiblioteca.dto.InicioDTO
- getNombre() - Method in class com.tfg.crud.GestorBiblioteca.dto.UsuarioDTO
- getNombre() - Method in class com.tfg.crud.GestorBiblioteca.entity.Usuario
- getPassword() - Method in class com.tfg.crud.GestorBiblioteca.dto.UsuarioDTO
- getPassword() - Method in class com.tfg.crud.GestorBiblioteca.entity.Usuario
- getPrestamoActivo() - Method in class com.tfg.crud.GestorBiblioteca.entity.Ejemplar
- getPrestamoActivo(Ejemplar) - Method in interface com.tfg.crud.GestorBiblioteca.service.PrestamoService
-
Obtiene el préstamo activo asociado a un ejemplar.
- getPrestamoActivo(Ejemplar) - Method in class com.tfg.crud.GestorBiblioteca.service.PrestamoServiceImp
- getPrestamos() - Method in class com.tfg.crud.GestorBiblioteca.entity.Ejemplar
- getPrestamos() - Method in class com.tfg.crud.GestorBiblioteca.entity.Usuario
- getPrestamosActivos() - Method in class com.tfg.crud.GestorBiblioteca.dto.InicioDTO
- getRol() - Method in class com.tfg.crud.GestorBiblioteca.dto.UsuarioDTO
- getRol() - Method in class com.tfg.crud.GestorBiblioteca.entity.Usuario
- getTitulo() - Method in class com.tfg.crud.GestorBiblioteca.entity.Libro
- getUsername() - Method in class com.tfg.crud.GestorBiblioteca.dto.UsuarioDTO
- getUsername() - Method in class com.tfg.crud.GestorBiblioteca.entity.Usuario
- getUsuario() - Method in class com.tfg.crud.GestorBiblioteca.entity.Prestamo
- getUsuariosActivos() - Method in class com.tfg.crud.GestorBiblioteca.dto.InicioDTO
- groups() - Element in annotation interface com.tfg.crud.GestorBiblioteca.validation.DNI
-
Permite agrupar validaciones.
- groups() - Element in annotation interface com.tfg.crud.GestorBiblioteca.validation.ISBN
-
Permite agrupar validaciones.
H
I
- importarLibros(MultipartFile, RedirectAttributes) - Method in class com.tfg.crud.GestorBiblioteca.controller.mtoLibrosController
-
Importa libros desde un fichero CSV.
- inicio() - Method in class com.tfg.crud.GestorBiblioteca.controller.inicioController
-
Muestra la página de inicio de la aplicación.
- inicioController - Class in com.tfg.crud.GestorBiblioteca.controller
-
Controlador encargado de gestionar la página principal de la aplicación.
- inicioController() - Constructor for class com.tfg.crud.GestorBiblioteca.controller.inicioController
- InicioDTO - Class in com.tfg.crud.GestorBiblioteca.dto
- InicioDTO() - Constructor for class com.tfg.crud.GestorBiblioteca.dto.InicioDTO
- InicioDTO(Long, Long, Long) - Constructor for class com.tfg.crud.GestorBiblioteca.dto.InicioDTO
- InicioRestController - Class in com.tfg.crud.GestorBiblioteca.rest
-
Controlador REST encargado de proporcionar los datos mostrador en la página principal de la aplicación.
- InicioRestController() - Constructor for class com.tfg.crud.GestorBiblioteca.rest.InicioRestController
- InicioService - Class in com.tfg.crud.GestorBiblioteca.service
-
Servicio enecargado de obtener los datos principales mostrados por pantalla de inicio.
- InicioService() - Constructor for class com.tfg.crud.GestorBiblioteca.service.InicioService
- isActivo() - Method in class com.tfg.crud.GestorBiblioteca.entity.Ejemplar
- isActivo() - Method in class com.tfg.crud.GestorBiblioteca.entity.Libro
- ISBN - Annotation Interface in com.tfg.crud.GestorBiblioteca.validation
-
Anotación de validación personalizada para comprobar que un ISBN tiene formato válido según los estándares ISBN-10 o ISBN-13.
- ISBNValidator - Class in com.tfg.crud.GestorBiblioteca.validation
-
Validar personalizado encargado de comprobar que un ISBN introducido por el usuario es válido.
- ISBNValidator() - Constructor for class com.tfg.crud.GestorBiblioteca.validation.ISBNValidator
- isPrestado() - Method in class com.tfg.crud.GestorBiblioteca.entity.Ejemplar
- isValid(String, ConstraintValidatorContext) - Method in class com.tfg.crud.GestorBiblioteca.validation.ISBNValidator
-
Comprueba si el ISBN recibido cumple las reglas de validación.
L
- Libro - Class in com.tfg.crud.GestorBiblioteca.entity
-
Representa los libros existentes en el catálogo de la biblioteca Guarda la información de los libros y de sus ejemplares
- Libro() - Constructor for class com.tfg.crud.GestorBiblioteca.entity.Libro
- Libro(Long, String, String, Genero, String, String, boolean) - Constructor for class com.tfg.crud.GestorBiblioteca.entity.Libro
- Libro(String, String, Genero, String, String, boolean) - Constructor for class com.tfg.crud.GestorBiblioteca.entity.Libro
- LibroRepository - Interface in com.tfg.crud.GestorBiblioteca.repository
- LibroService - Interface in com.tfg.crud.GestorBiblioteca.service
-
Servicio encargado de la gestión de libros en la biblioteca.
- LibroServiceImp - Class in com.tfg.crud.GestorBiblioteca.service
- LibroServiceImp() - Constructor for class com.tfg.crud.GestorBiblioteca.service.LibroServiceImp
- listarEjemplares() - Method in interface com.tfg.crud.GestorBiblioteca.service.EjemplarService
-
Obtiene todos los ejemplares registrados en el sistema.
- listarEjemplares() - Method in class com.tfg.crud.GestorBiblioteca.service.EjemplarServiceImp
- listarEjemplaresDisponibles() - Method in interface com.tfg.crud.GestorBiblioteca.service.EjemplarService
-
Obtiene todos los ejemplares disponibles para préstamos.
- listarEjemplaresDisponibles() - Method in class com.tfg.crud.GestorBiblioteca.service.EjemplarServiceImp
- listarEjemplaresPorLibro(Long) - Method in interface com.tfg.crud.GestorBiblioteca.service.EjemplarService
-
Obtiene todos los ejemplares registrados en el sistema.
- listarEjemplaresPorLibro(Long) - Method in class com.tfg.crud.GestorBiblioteca.service.EjemplarServiceImp
- listarLibros() - Method in interface com.tfg.crud.GestorBiblioteca.service.LibroService
-
Obtiene la lista de todos los libros registrados.
- listarLibros() - Method in class com.tfg.crud.GestorBiblioteca.service.LibroServiceImp
- listarLibrosDisponibles(String) - Method in interface com.tfg.crud.GestorBiblioteca.service.LibroService
-
Lista de libros disponibles filtrando por ISBN.
- listarLibrosDisponibles(String) - Method in class com.tfg.crud.GestorBiblioteca.service.LibroServiceImp
- listarPrestamosPorUsuario(Long) - Method in interface com.tfg.crud.GestorBiblioteca.service.PrestamoService
-
Lista de todos los préstamoas asociados a un usuario.
- listarPrestamosPorUsuario(Long) - Method in class com.tfg.crud.GestorBiblioteca.service.PrestamoServiceImp
- loadUserByUsername(String) - Method in class com.tfg.crud.GestorBiblioteca.service.UserDetailsServiceImp
-
Carga un usuario del sistema a partir de su nombre de usuario.
- loginController - Class in com.tfg.crud.GestorBiblioteca.controller
-
Controlador encargado de mostrar la página de inicio de sesión de la aplicación
- loginController() - Constructor for class com.tfg.crud.GestorBiblioteca.controller.loginController
M
- main(String[]) - Static method in class com.tfg.crud.GestorBiblioteca.GestorBibliotecaApplication
- message() - Element in annotation interface com.tfg.crud.GestorBiblioteca.validation.DNI
-
Mensaje mostrado cuando el DNI no supera la validación.
- message() - Element in annotation interface com.tfg.crud.GestorBiblioteca.validation.ISBN
-
Mensaje mostrado cuando el ISBN no supera la validación.
- modificarEstadoLibro(Long) - Method in interface com.tfg.crud.GestorBiblioteca.service.LibroService
-
Cambia el estado de un libro (activo/inactivo)
- modificarEstadoLibro(Long) - Method in class com.tfg.crud.GestorBiblioteca.service.LibroServiceImp
- modificarEstadoPrestamo(Long, String) - Method in class com.tfg.crud.GestorBiblioteca.controller.mtoPrestamoController
-
Finaliza un préstamo registrando la fecha de devolución.
- modificarEstadoUsuario(Long, EstadoUsuario) - Method in interface com.tfg.crud.GestorBiblioteca.service.UsuarioService
-
Cambia el estado de un usuario.
- modificarEstadoUsuario(Long, EstadoUsuario) - Method in class com.tfg.crud.GestorBiblioteca.service.UsuarioServiceImp
- mostrarEditarLibro(Model, Long) - Method in class com.tfg.crud.GestorBiblioteca.controller.mtoLibrosController
-
Muestra el formulario de edición de un libro.
- mostrarEditarPerfil(Authentication, Model) - Method in class com.tfg.crud.GestorBiblioteca.controller.mtoUsuarioController
-
Muestra el formulario de edición de perfil del usuario autenticado.
- mostrarEditarPrestamo(Model, Long, String, String, Long, Long) - Method in class com.tfg.crud.GestorBiblioteca.controller.mtoPrestamoController
-
Muestra el formulario de edición de un préstamo.
- mostrarEditarUsuario(Model, Long) - Method in class com.tfg.crud.GestorBiblioteca.controller.mtoUsuarioController
-
Muestra el formulario de edición de un usuario.
- mostrarLibros(Model, String, String, Pageable) - Method in class com.tfg.crud.GestorBiblioteca.controller.mtoLibrosController
-
Muestra el listado de libros con opciones de búsqueda, filtrado y paginación.
- mostrarLogin() - Method in class com.tfg.crud.GestorBiblioteca.controller.loginController
-
Muestra el formulario de inicio de sesión.
- mostrarMtoUsuario(Model, String, EstadoUsuario, Pageable) - Method in class com.tfg.crud.GestorBiblioteca.controller.mtoUsuarioController
-
Muestra el matenimiento de usuarios con soporte para búsqueda, filtrando y paginación.
- mostrarPrestamos(String, EstadoPrestamo, Pageable, Model) - Method in class com.tfg.crud.GestorBiblioteca.controller.mtoPrestamoController
-
Muestra el listado de préstamos con opciones de búsqueda, filtrado y paginación.
- mostrarRegistroLibro(Model) - Method in class com.tfg.crud.GestorBiblioteca.controller.mtoLibrosController
-
Muestra el formulario de registro de libros.
- mostrarRegistroPrestamo(Model, String, String, Long, Long) - Method in class com.tfg.crud.GestorBiblioteca.controller.mtoPrestamoController
-
Muestra el formulario de registro de préstamos.
- mostrarRegistroUsuario(Model) - Method in class com.tfg.crud.GestorBiblioteca.controller.mtoUsuarioController
-
Muestra el formulario de registro de usuarios.
- mtoLibrosController - Class in com.tfg.crud.GestorBiblioteca.controller
-
Controlador encargado de la gestión de libros y ejemplares.
- mtoLibrosController() - Constructor for class com.tfg.crud.GestorBiblioteca.controller.mtoLibrosController
- mtoPrestamoController - Class in com.tfg.crud.GestorBiblioteca.controller
-
Controlador encargado de la gestión de préstamos.
- mtoPrestamoController() - Constructor for class com.tfg.crud.GestorBiblioteca.controller.mtoPrestamoController
- mtoUsuarioController - Class in com.tfg.crud.GestorBiblioteca.controller
-
Controlador encargado de la gestión de usuarios.
- mtoUsuarioController() - Constructor for class com.tfg.crud.GestorBiblioteca.controller.mtoUsuarioController
N
- NOVELA_NEGRA - Enum constant in enum class com.tfg.crud.GestorBiblioteca.entity.Genero
O
- obtenerDatos() - Method in class com.tfg.crud.GestorBiblioteca.service.InicioService
-
Obtiene las métricas principales del sistema para la pantalla de inicio.
P
- passwordEncoder() - Method in class com.tfg.crud.GestorBiblioteca.config.SecurityConfiguration
-
Crea el codificador de contraseñas utilizado por la aplicación.
- payload() - Element in annotation interface com.tfg.crud.GestorBiblioteca.validation.DNI
-
Permite asociar información adicional a la validación
- payload() - Element in annotation interface com.tfg.crud.GestorBiblioteca.validation.ISBN
-
Permite asociar información adicional a la validación.
- POESIA - Enum constant in enum class com.tfg.crud.GestorBiblioteca.entity.Genero
- Prestamo - Class in com.tfg.crud.GestorBiblioteca.entity
-
Representa el prestamo de un ejemplar a un usuario del sistema Almacena la información necesaria para procesar la lógica principal del negocio
- Prestamo() - Constructor for class com.tfg.crud.GestorBiblioteca.entity.Prestamo
- Prestamo(Long, LocalDate, LocalDate, LocalDate, Usuario, Ejemplar, EstadoPrestamo) - Constructor for class com.tfg.crud.GestorBiblioteca.entity.Prestamo
- Prestamo(LocalDate, LocalDate, LocalDate, Usuario, Ejemplar, EstadoPrestamo) - Constructor for class com.tfg.crud.GestorBiblioteca.entity.Prestamo
- PrestamoDTO - Class in com.tfg.crud.GestorBiblioteca.dto
- PrestamoDTO() - Constructor for class com.tfg.crud.GestorBiblioteca.dto.PrestamoDTO
- PrestamoDTO(Long, Long, Long, Long, LocalDate, LocalDate) - Constructor for class com.tfg.crud.GestorBiblioteca.dto.PrestamoDTO
- PrestamoRepository - Interface in com.tfg.crud.GestorBiblioteca.repository
- PrestamoService - Interface in com.tfg.crud.GestorBiblioteca.service
-
Servicio encargado de la gestión de préstamos de la biblioteca.
- PrestamoServiceImp - Class in com.tfg.crud.GestorBiblioteca.service
- PrestamoServiceImp() - Constructor for class com.tfg.crud.GestorBiblioteca.service.PrestamoServiceImp
R
- reabrirPrestamo(Long) - Method in interface com.tfg.crud.GestorBiblioteca.service.PrestamoService
-
Reabre un préstamo previamente finalizado.
- reabrirPrestamo(Long) - Method in class com.tfg.crud.GestorBiblioteca.service.PrestamoServiceImp
- registarLibro(Libro) - Method in interface com.tfg.crud.GestorBiblioteca.service.LibroService
-
Registra un nuevo libro en el sistema.
- registarLibro(Libro) - Method in class com.tfg.crud.GestorBiblioteca.service.LibroServiceImp
- registrarEjemplar(Long) - Method in class com.tfg.crud.GestorBiblioteca.controller.ejemplarController
-
Registra un nuevo ejemplar asociado a un libro.
- registrarEjemplar(Long) - Method in interface com.tfg.crud.GestorBiblioteca.service.EjemplarService
-
Registra un nuevo libro asociado a un libro.
- registrarEjemplar(Long) - Method in class com.tfg.crud.GestorBiblioteca.service.EjemplarServiceImp
- registrarLibro(Libro, BindingResult, RedirectAttributes, Model) - Method in class com.tfg.crud.GestorBiblioteca.controller.mtoLibrosController
-
Registra un nuevo libro en el sistema.
- registrarPrestamo(PrestamoDTO) - Method in interface com.tfg.crud.GestorBiblioteca.service.PrestamoService
-
Registra un nuevo préstamo en el sistema.
- registrarPrestamo(PrestamoDTO) - Method in class com.tfg.crud.GestorBiblioteca.service.PrestamoServiceImp
- registrarPrestamo(PrestamoDTO, RedirectAttributes) - Method in class com.tfg.crud.GestorBiblioteca.controller.mtoPrestamoController
-
Registro un nuevo préstamo en el sistema.
- registrarUsuario(UsuarioDTO, BindingResult, RedirectAttributes, Model) - Method in class com.tfg.crud.GestorBiblioteca.controller.mtoUsuarioController
-
Registra un nuevo usuario en el sistema.
- registrarUsuario(UsuarioDTO) - Method in interface com.tfg.crud.GestorBiblioteca.service.UsuarioService
-
Registra un nuevo usuario en el sistema.
- registrarUsuario(UsuarioDTO) - Method in class com.tfg.crud.GestorBiblioteca.service.UsuarioServiceImp
- RETRASADO - Enum constant in enum class com.tfg.crud.GestorBiblioteca.entity.EstadoPrestamo
- Rol - Enum Class in com.tfg.crud.GestorBiblioteca.entity
- ROLE_ADMINISTRADOR - Enum constant in enum class com.tfg.crud.GestorBiblioteca.entity.Rol
- ROLE_ALUMNO - Enum constant in enum class com.tfg.crud.GestorBiblioteca.entity.Rol
- ROLE_BIBLIOTECARIO - Enum constant in enum class com.tfg.crud.GestorBiblioteca.entity.Rol
- ROLE_PROFESOR - Enum constant in enum class com.tfg.crud.GestorBiblioteca.entity.Rol
- ROMANTICA - Enum constant in enum class com.tfg.crud.GestorBiblioteca.entity.Genero
S
- SecurityConfiguration - Class in com.tfg.crud.GestorBiblioteca.config
-
Configuración de seguridad de la aplicación mediante Spring Security.
- SecurityConfiguration() - Constructor for class com.tfg.crud.GestorBiblioteca.config.SecurityConfiguration
- securityFilterChain(HttpSecurity) - Method in class com.tfg.crud.GestorBiblioteca.config.SecurityConfiguration
-
Configura las reglas de seguridad de la aplicación.
- setActivo(boolean) - Method in class com.tfg.crud.GestorBiblioteca.entity.Ejemplar
- setActivo(boolean) - Method in class com.tfg.crud.GestorBiblioteca.entity.Libro
- setApellido1(String) - Method in class com.tfg.crud.GestorBiblioteca.dto.UsuarioDTO
- setApellido1(String) - Method in class com.tfg.crud.GestorBiblioteca.entity.Usuario
- setApellido2(String) - Method in class com.tfg.crud.GestorBiblioteca.dto.UsuarioDTO
- setApellido2(String) - Method in class com.tfg.crud.GestorBiblioteca.entity.Usuario
- setAutor(String) - Method in class com.tfg.crud.GestorBiblioteca.entity.Libro
- setCodigo(String) - Method in class com.tfg.crud.GestorBiblioteca.entity.Ejemplar
- setDni(String) - Method in class com.tfg.crud.GestorBiblioteca.dto.UsuarioDTO
- setDni(String) - Method in class com.tfg.crud.GestorBiblioteca.entity.Usuario
- setEditorial(String) - Method in class com.tfg.crud.GestorBiblioteca.entity.Libro
- setEjemplar(Ejemplar) - Method in class com.tfg.crud.GestorBiblioteca.entity.Prestamo
- setEjemplares(List<Ejemplar>) - Method in class com.tfg.crud.GestorBiblioteca.entity.Libro
- setEstadoPrestamo(EstadoPrestamo) - Method in class com.tfg.crud.GestorBiblioteca.entity.Prestamo
- setEstadoUsuario(EstadoUsuario) - Method in class com.tfg.crud.GestorBiblioteca.entity.Usuario
- setFechaDevolucion(LocalDate) - Method in class com.tfg.crud.GestorBiblioteca.entity.Prestamo
- setFechaFin(LocalDate) - Method in class com.tfg.crud.GestorBiblioteca.dto.PrestamoDTO
- setFechaFin(LocalDate) - Method in class com.tfg.crud.GestorBiblioteca.entity.Prestamo
- setFechaInicio(LocalDate) - Method in class com.tfg.crud.GestorBiblioteca.dto.PrestamoDTO
- setFechaInicio(LocalDate) - Method in class com.tfg.crud.GestorBiblioteca.entity.Prestamo
- setGenero(Genero) - Method in class com.tfg.crud.GestorBiblioteca.entity.Libro
- setIdEjemplar(Long) - Method in class com.tfg.crud.GestorBiblioteca.dto.PrestamoDTO
- setIdEjemplar(Long) - Method in class com.tfg.crud.GestorBiblioteca.entity.Ejemplar
- setIdLibro(Long) - Method in class com.tfg.crud.GestorBiblioteca.dto.PrestamoDTO
- setIdLibro(Long) - Method in class com.tfg.crud.GestorBiblioteca.entity.Libro
- setIdPrestamo(Long) - Method in class com.tfg.crud.GestorBiblioteca.dto.PrestamoDTO
- setIdPrestamo(Long) - Method in class com.tfg.crud.GestorBiblioteca.entity.Prestamo
- setIdUsuario(Long) - Method in class com.tfg.crud.GestorBiblioteca.dto.PrestamoDTO
- setIdUsuario(Long) - Method in class com.tfg.crud.GestorBiblioteca.entity.Usuario
- setIsbn(String) - Method in class com.tfg.crud.GestorBiblioteca.entity.Libro
- setLibro(Libro) - Method in class com.tfg.crud.GestorBiblioteca.entity.Ejemplar
- setLibrosActivos(Long) - Method in class com.tfg.crud.GestorBiblioteca.dto.InicioDTO
- setNombre(String) - Method in class com.tfg.crud.GestorBiblioteca.dto.UsuarioDTO
- setNombre(String) - Method in class com.tfg.crud.GestorBiblioteca.entity.Usuario
- setPassword(String) - Method in class com.tfg.crud.GestorBiblioteca.dto.UsuarioDTO
- setPassword(String) - Method in class com.tfg.crud.GestorBiblioteca.entity.Usuario
- setPrestamos(List<Prestamo>) - Method in class com.tfg.crud.GestorBiblioteca.entity.Ejemplar
- setPrestamos(List<Prestamo>) - Method in class com.tfg.crud.GestorBiblioteca.entity.Usuario
- setPrestamosActivos(Long) - Method in class com.tfg.crud.GestorBiblioteca.dto.InicioDTO
- setRol(Rol) - Method in class com.tfg.crud.GestorBiblioteca.dto.UsuarioDTO
- setRol(Rol) - Method in class com.tfg.crud.GestorBiblioteca.entity.Usuario
- setTitulo(String) - Method in class com.tfg.crud.GestorBiblioteca.entity.Libro
- setUsername(String) - Method in class com.tfg.crud.GestorBiblioteca.dto.UsuarioDTO
- setUsername(String) - Method in class com.tfg.crud.GestorBiblioteca.entity.Usuario
- setUsuario(Usuario) - Method in class com.tfg.crud.GestorBiblioteca.entity.Prestamo
- setUsuariosActivos(Long) - Method in class com.tfg.crud.GestorBiblioteca.dto.InicioDTO
- sumarDiasHabiles(LocalDate) - Method in interface com.tfg.crud.GestorBiblioteca.service.PrestamoService
-
Calcula una fecha sumando días hábiles a una fecha inicial.
- sumarDiasHabiles(LocalDate) - Method in class com.tfg.crud.GestorBiblioteca.service.PrestamoServiceImp
- SUSPENDIDO - Enum constant in enum class com.tfg.crud.GestorBiblioteca.entity.EstadoUsuario
T
- TEATRO - Enum constant in enum class com.tfg.crud.GestorBiblioteca.entity.Genero
- toString() - Method in class com.tfg.crud.GestorBiblioteca.entity.Ejemplar
- toString() - Method in class com.tfg.crud.GestorBiblioteca.entity.Libro
- toString() - Method in class com.tfg.crud.GestorBiblioteca.entity.Prestamo
U
- UserDetailsServiceImp - Class in com.tfg.crud.GestorBiblioteca.service
-
Servicio encargado de la autenticación de usuarios en el sistema.
- UserDetailsServiceImp() - Constructor for class com.tfg.crud.GestorBiblioteca.service.UserDetailsServiceImp
- Usuario - Class in com.tfg.crud.GestorBiblioteca.entity
-
Representa las personas y trabajadores de la biblioteca escolar Contiene la información necesaria para realizar un préstamo y autenticarse en la aplicación
- Usuario() - Constructor for class com.tfg.crud.GestorBiblioteca.entity.Usuario
- Usuario(Long, String, String, String, String, String, Rol, EstadoUsuario) - Constructor for class com.tfg.crud.GestorBiblioteca.entity.Usuario
- Usuario(String, String, String, String, Rol, EstadoUsuario) - Constructor for class com.tfg.crud.GestorBiblioteca.entity.Usuario
- Usuario(String, String, String, String, String, String, Rol, EstadoUsuario) - Constructor for class com.tfg.crud.GestorBiblioteca.entity.Usuario
- UsuarioDTO - Class in com.tfg.crud.GestorBiblioteca.dto
- UsuarioDTO() - Constructor for class com.tfg.crud.GestorBiblioteca.dto.UsuarioDTO
- UsuarioDTO(String, String, String, String, Rol, String, String) - Constructor for class com.tfg.crud.GestorBiblioteca.dto.UsuarioDTO
- UsuarioRepository - Interface in com.tfg.crud.GestorBiblioteca.repository
- UsuarioService - Interface in com.tfg.crud.GestorBiblioteca.service
-
Servicio encargado de la gestión de usuarios del sistema.
- UsuarioServiceImp - Class in com.tfg.crud.GestorBiblioteca.service
- UsuarioServiceImp() - Constructor for class com.tfg.crud.GestorBiblioteca.service.UsuarioServiceImp
V
- valueOf(String) - Static method in enum class com.tfg.crud.GestorBiblioteca.entity.EstadoPrestamo
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.tfg.crud.GestorBiblioteca.entity.EstadoUsuario
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.tfg.crud.GestorBiblioteca.entity.Genero
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.tfg.crud.GestorBiblioteca.entity.Rol
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class com.tfg.crud.GestorBiblioteca.entity.EstadoPrestamo
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.tfg.crud.GestorBiblioteca.entity.EstadoUsuario
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.tfg.crud.GestorBiblioteca.entity.Genero
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.tfg.crud.GestorBiblioteca.entity.Rol
-
Returns an array containing the constants of this enum class, in the order they are declared.
All Classes and Interfaces|All Packages