CRUDController
Base implementation of a controller for API layer providing CRUD operations
This is meant to be extended from a @RestController class, ideally also with a @RequestMapping with some path prefix for the endpoints.
Parameters
Id type of the data
Entity type of the data which is a CRUDEntity
Model type of the data which is a CRUDModel
DTO type of the data which is a CRUDDTO
Create model type of the data which is a CRUDCreateModel
Update model type of the data which is a CRUDUpdateModel
Create DTO type of the data which is a CRUDCreateDTO
Update DTO type of the data which is a CRUDUpdateDTO
Mapper type of the data which is a CRUDMapper
DTO mapper type of the data which is a CRUDDTOMapper
Repository type of the data which is a CRUDRepository
Service type of the data which is a CRUDService
Inheritors
Functions
Default implementation for creating a new entity from given create DTO
Default implementation for listing entities with given pagination
Default implementation for updating an entity with given id with given update DTO data