CRUDController
@Validated
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
I
Id type of the data
E
Entity type of the data which is a CRUDEntity
M
Model type of the data which is a CRUDModel
D
DTO type of the data which is a CRUDDTO
CM
Create model type of the data which is a CRUDCreateModel
UM
Update model type of the data which is a CRUDUpdateModel
CD
Create DTO type of the data which is a CRUDCreateDTO
UD
Update DTO type of the data which is a CRUDUpdateDTO
Mapper
Mapper type of the data which is a CRUDMapper
DTOMapper
DTO mapper type of the data which is a CRUDDTOMapper
S
Service type of the data which is a CRUDService