Package-level declarations
Base implementations for CRUD API
Description
This is the base package for CRUD implementations with most functionality.
Types
Link copied to clipboard
@Validated
Base implementation of a controller for API layer providing CRUD operations
Link copied to clipboard
interface CRUDCreateDTO
Base DTO that contains required data to create a new entity
Link copied to clipboard
interface CRUDCreateModel
Base model that contains required data to create a new entity
Link copied to clipboard
Base DTO of an entity
Link copied to clipboard
interface CRUDDTOMapper<I : Serializable, in M : CRUDModel<I>, out D : CRUDDTO<I>, out CM : CRUDCreateModel, out UM : CRUDUpdateModel, in CD : CRUDCreateDTO, in UD : CRUDUpdateDTO>
Mapper to convert between DTOs, models and entities
Link copied to clipboard
Base entity of a data model representing its persisted structure
Link copied to clipboard
interface CRUDMapper<I : Serializable, E : CRUDEntity<I>, out M : CRUDModel<I>, in CM : CRUDCreateModel, in UM : CRUDUpdateModel>
Mapper to convert between models and entities
Link copied to clipboard
Base model of a data model
Link copied to clipboard
Base interface of a CRUD repository for data layer
Link copied to clipboard
abstract class CRUDService<I : Serializable, E : CRUDEntity<I>, out M : CRUDModel<I>, in CM : CRUDCreateModel, in UM : CRUDUpdateModel, out R : CRUDRepository<I, E>, out Mapper : CRUDMapper<I, E, M, CM, UM>>(val typeName: String, instantProvider: InstantProvider, repository: R, mapper: Mapper)
Base implementation of a CRUD service for business layer
Link copied to clipboard
interface CRUDUpdateDTO
Base DTO that contains required data to update an existing entity
Link copied to clipboard
interface CRUDUpdateModel
Base model that contains required data to update an existing entity