saveEntity

abstract fun <T : IdentifiableEntity?> saveEntity(entity: T): T

Inserts or updates the given entity.

Return

the updated the entity.;

Parameters

entity

the entity to be save.