InMemoryMixinRepository

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
open override fun <E : MixinEnabledEntity<String>, T> become(e: E, t: T, type: Class<T>): E

Create a mixin of the two types.

Link copied to clipboard
inline fun <E : MixinEnabledEntity<ID>, T, ID> MixinRepository<ID>.become(e: E, t: T): E
Link copied to clipboard
open override fun <E : MixinEnabledEntity<String>> findById(id: String, type: Class<E>): E?
open override fun <E1 : MixinEnabledEntity<String>, E2 : E1> findById(id: String, type1: Class<E1>, type2: Class<E2>): E2?
Link copied to clipboard
inline fun <E1 : MixinEnabledEntity<ID>, E2 : E1, ID> MixinRepository<ID>.findById(id: ID): E2?
Link copied to clipboard
open override fun <E : MixinEnabledEntity<String>> save(entity: E): E