Package-level declarations

Implementations for simpler variant of CRUD API

Description

This is the package for simpler variant of CRUD implementations where create/update models and DTOs are just models.

Types

Link copied to clipboard
abstract class SimplerController<I : Serializable, E : SimplerEntity<I>, M : SimplerModel<I>, out Mapper : SimplerMapper<I, E, M>, out R : SimplerRepository<I, E>, out S : SimplerService<I, E, M, R, Mapper>>(typeName: String, service: S, mapper: Mapper) : CRUDController<I, E, M, M, M, M, M, M, Mapper, Mapper, R, S>

Simpler variant of CRUDController where create/update models and DTOs are just models

Link copied to clipboard
abstract class SimplerEntity<I : Serializable> : CRUDEntity<I>

Simpler variant of CRUDEntity

Link copied to clipboard
interface SimplerMapper<I : Serializable, E : SimplerEntity<I>, M : SimplerModel<I>> : CRUDMapper<I, E, M, M, M> , CRUDDTOMapper<I, M, M, M, M, M, M>

Simpler variant of CRUDMapper where create/update models and DTOs are just models, which is also a CRUDDTOMapper

Link copied to clipboard
Link copied to clipboard
abstract class SimplerService<I : Serializable, E : SimplerEntity<I>, M : SimplerModel<I>, out R : SimplerRepository<I, E>, out Mapper : SimplerMapper<I, E, M>>(val typeName: String, instantProvider: InstantProvider, repository: R, mapper: Mapper) : CRUDService<I, E, M, M, M, R, Mapper>

Simpler variant of CRUDService where create/update models are just models