CRUDService

fun <out R : CRUDRepository<I, E>, out Mapper : CRUDMapper<I, E, M, CM, UM>> CRUDService(typeName: String, instantProvider: InstantProvider, repository: R, mapper: Mapper)(source)

Parameters

I

Id type of the data

M

Model type of the data which is a CRUDModel

E

Entity type of the data which is a CRUDEntity

CM

Create model type of the data which is a CRUDCreateModel

UM

Update model type of the data which is a CRUDUpdateModel

R

Repository type of the data which is a CRUDRepository

Mapper

Mapper type of the data which is a CRUDMapper