KDeprecated Save Operations
Inheritors
Functions
Link copied to clipboard
open fun <E : Any> insert(entity: E, associatedMode: AssociatedSaveMode = AssociatedSaveMode.APPEND, block: KSaveCommandPartialDsl.() -> Unit? = null): KSimpleSaveResult<E>
Insert an entity object
open fun <E : Any> insert(input: Input<E>, associatedMode: AssociatedSaveMode = AssociatedSaveMode.APPEND, block: KSaveCommandPartialDsl.() -> Unit? = null): KSimpleSaveResult<E>
Insert an input DTO
Link copied to clipboard
open fun <E : Any> insertEntities(entities: Iterable<E>, associatedMode: AssociatedSaveMode = AssociatedSaveMode.APPEND, block: KSaveCommandPartialDsl.() -> Unit? = null): KBatchSaveResult<E>
Link copied to clipboard
open fun <E : Any> insertEntitiesIfAbsent(entities: Iterable<E>, associatedMode: AssociatedSaveMode = AssociatedSaveMode.APPEND_IF_ABSENT, block: KSaveCommandPartialDsl.() -> Unit? = null): KBatchSaveResult<E>
Link copied to clipboard
open fun <E : Any> insertIfAbsent(entity: E, associatedMode: AssociatedSaveMode = AssociatedSaveMode.APPEND_IF_ABSENT, block: KSaveCommandPartialDsl.() -> Unit? = null): KSimpleSaveResult<E>
Insert an entity object if necessary, if the entity object exists in database, ignore it.
open fun <E : Any> insertIfAbsent(input: Input<E>, associatedMode: AssociatedSaveMode = AssociatedSaveMode.APPEND_IF_ABSENT, block: KSaveCommandPartialDsl.() -> Unit? = null): KSimpleSaveResult<E>
Insert an input DTO if necessary, that means to convert the input DTO to entity object and save it. If the entity object exists in database, ignore it.
Link copied to clipboard
open fun <E : Any> insertInputs(inputs: Iterable<Input<E>>, associatedMode: AssociatedSaveMode = AssociatedSaveMode.APPEND, block: KSaveCommandPartialDsl.() -> Unit? = null): KBatchSaveResult<E>
Link copied to clipboard
open fun <E : Any> insertInputsIfAbsent(inputs: Iterable<Input<E>>, associatedMode: AssociatedSaveMode = AssociatedSaveMode.APPEND_IF_ABSENT, block: KSaveCommandPartialDsl.() -> Unit? = null): KBatchSaveResult<E>
Link copied to clipboard
open fun <E : Any> merge(entity: E, block: KSaveCommandPartialDsl.() -> Unit? = null): KSimpleSaveResult<E>
Merge an entity object
open fun <E : Any> merge(input: Input<E>, block: KSaveCommandPartialDsl.() -> Unit? = null): KSimpleSaveResult<E>
Merge an input DTO
Link copied to clipboard
open fun <E : Any> mergeEntities(entities: Iterable<E>, block: KSaveCommandPartialDsl.() -> Unit? = null): KBatchSaveResult<E>
Link copied to clipboard
open fun <E : Any> mergeInputs(inputs: Iterable<Input<E>>, block: KSaveCommandPartialDsl.() -> Unit? = null): KBatchSaveResult<E>
Link copied to clipboard
open fun <E : Any, V : View<E>> save(entity: E, viewType: KClass<V>, block: KSaveCommandDsl.() -> Unit? = null): KSimpleSaveResult.View<E, V>
open fun <E : Any> save(entity: E, fetcher: Fetcher<E>, block: KSaveCommandDsl.() -> Unit? = null): KSimpleSaveResult<E>
open fun <E : Any, V : View<E>> save(input: Input<E>, viewType: KClass<V>, block: KSaveCommandDsl.() -> Unit? = null): KSimpleSaveResult.View<E, V>
open fun <E : Any> save(input: Input<E>, fetcher: Fetcher<E>, block: KSaveCommandDsl.() -> Unit? = null): KSimpleSaveResult<E>
open fun <E : Any, V : View<E>> save(entity: E, mode: SaveMode, associatedMode: AssociatedSaveMode, viewType: KClass<V>, block: KSaveCommandPartialDsl.() -> Unit? = null): KSimpleSaveResult.View<E, V>
open fun <E : Any> save(entity: E, mode: SaveMode, associatedMode: AssociatedSaveMode, fetcher: Fetcher<E>, block: KSaveCommandPartialDsl.() -> Unit? = null): KSimpleSaveResult<E>
open fun <E : Any, V : View<E>> save(input: Input<E>, mode: SaveMode, associatedMode: AssociatedSaveMode, viewType: KClass<V>, block: KSaveCommandPartialDsl.() -> Unit? = null): KSimpleSaveResult.View<E, V>
open fun <E : Any> save(input: Input<E>, mode: SaveMode, associatedMode: AssociatedSaveMode, fetcher: Fetcher<E>, block: KSaveCommandPartialDsl.() -> Unit? = null): KSimpleSaveResult<E>
open fun <E : Any> save(input: Input<E>, block: KSaveCommandDsl.() -> Unit? = null): KSimpleSaveResult<E>
open fun <E : Any> save(entity: E, mode: SaveMode, associatedMode: AssociatedSaveMode = AssociatedSaveMode.MERGE, block: KSaveCommandPartialDsl.() -> Unit? = null): KSimpleSaveResult<E>
open fun <E : Any> save(input: Input<E>, mode: SaveMode, associatedMode: AssociatedSaveMode = AssociatedSaveMode.MERGE, block: KSaveCommandPartialDsl.() -> Unit? = null): KSimpleSaveResult<E>
Link copied to clipboard
abstract fun <E : Any> saveCommand(entity: E, block: KSaveCommandDsl.() -> Unit? = null): KSimpleEntitySaveCommand<E>
open fun <E : Any> saveCommand(input: Input<E>, block: KSaveCommandDsl.() -> Unit? = null): KSimpleEntitySaveCommand<E>
open fun <E : Any> saveCommand(entity: E, mode: SaveMode, associatedMode: AssociatedSaveMode = AssociatedSaveMode.REPLACE, block: KSaveCommandPartialDsl.() -> Unit? = null): KSimpleEntitySaveCommand<E>
open fun <E : Any> saveCommand(input: Input<E>, mode: SaveMode, associatedMode: AssociatedSaveMode = AssociatedSaveMode.REPLACE, block: KSaveCommandPartialDsl.() -> Unit? = null): KSimpleEntitySaveCommand<E>
Link copied to clipboard
open fun <E : Any, V : View<E>> saveEntities(entities: Iterable<E>, viewType: KClass<V>, block: KSaveCommandDsl.() -> Unit? = null): KBatchSaveResult.View<E, V>
open fun <E : Any> saveEntities(entities: Iterable<E>, fetcher: Fetcher<E>, block: KSaveCommandDsl.() -> Unit? = null): KBatchSaveResult<E>
open fun <E : Any, V : View<E>> saveEntities(entities: Iterable<E>, mode: SaveMode, associatedMode: AssociatedSaveMode, viewType: KClass<V>, block: KSaveCommandPartialDsl.() -> Unit? = null): KBatchSaveResult.View<E, V>
open fun <E : Any> saveEntities(entities: Iterable<E>, mode: SaveMode, associatedMode: AssociatedSaveMode, fetcher: Fetcher<E>, block: KSaveCommandPartialDsl.() -> Unit? = null): KBatchSaveResult<E>
open fun <E : Any> saveEntities(entities: Iterable<E>, block: KSaveCommandDsl.() -> Unit? = null): KBatchSaveResult<E>
open fun <E : Any> saveEntities(entities: Iterable<E>, mode: SaveMode, associatedMode: AssociatedSaveMode = AssociatedSaveMode.MERGE, block: KSaveCommandPartialDsl.() -> Unit? = null): KBatchSaveResult<E>
Link copied to clipboard
abstract fun <E : Any> saveEntitiesCommand(entities: Iterable<E>, block: KSaveCommandDsl.() -> Unit? = null): KBatchEntitySaveCommand<E>
open fun <E : Any> saveEntitiesCommand(entities: Iterable<E>, mode: SaveMode, associatedMode: AssociatedSaveMode = AssociatedSaveMode.REPLACE, block: KSaveCommandPartialDsl.() -> Unit? = null): KBatchEntitySaveCommand<E>
Link copied to clipboard
open fun <E : Any, V : View<E>> saveInputs(inputs: Iterable<Input<E>>, viewType: KClass<V>, block: KSaveCommandDsl.() -> Unit? = null): KBatchSaveResult.View<E, V>
open fun <E : Any> saveInputs(inputs: Iterable<Input<E>>, fetcher: Fetcher<E>, block: KSaveCommandDsl.() -> Unit? = null): KBatchSaveResult<E>
open fun <E : Any, V : View<E>> saveInputs(inputs: Iterable<Input<E>>, mode: SaveMode, associatedMode: AssociatedSaveMode, viewType: KClass<V>, block: KSaveCommandPartialDsl.() -> Unit? = null): KBatchSaveResult.View<E, V>
open fun <E : Any> saveInputs(inputs: Iterable<Input<E>>, mode: SaveMode, associatedMode: AssociatedSaveMode, fetcher: Fetcher<E>, block: KSaveCommandPartialDsl.() -> Unit? = null): KBatchSaveResult<E>
open fun <E : Any> saveInputs(inputs: Iterable<Input<E>>, block: KSaveCommandDsl.() -> Unit? = null): KBatchSaveResult<E>
open fun <E : Any> saveInputs(inputs: Iterable<Input<E>>, mode: SaveMode, associatedMode: AssociatedSaveMode = AssociatedSaveMode.MERGE, block: KSaveCommandPartialDsl.() -> Unit? = null): KBatchSaveResult<E>
Link copied to clipboard
open fun <E : Any> saveInputsCommand(input: Iterable<Input<E>>, block: KSaveCommandDsl.() -> Unit? = null): KBatchEntitySaveCommand<E>
open fun <E : Any> saveInputsCommand(inputs: Iterable<Input<E>>, mode: SaveMode, associatedMode: AssociatedSaveMode = AssociatedSaveMode.REPLACE, block: KSaveCommandPartialDsl.() -> Unit? = null): KBatchEntitySaveCommand<E>
Link copied to clipboard
open fun <E : Any> update(entity: E, associatedMode: AssociatedSaveMode = AssociatedSaveMode.UPDATE, block: KSaveCommandPartialDsl.() -> Unit? = null): KSimpleSaveResult<E>
Update an entity object
open fun <E : Any> update(input: Input<E>, associatedMode: AssociatedSaveMode = AssociatedSaveMode.UPDATE, block: KSaveCommandPartialDsl.() -> Unit? = null): KSimpleSaveResult<E>
Update an input DTO
Link copied to clipboard
open fun <E : Any> updateEntities(entities: Iterable<E>, associatedMode: AssociatedSaveMode = AssociatedSaveMode.UPDATE, block: KSaveCommandPartialDsl.() -> Unit? = null): KBatchSaveResult<E>
Link copied to clipboard
open fun <E : Any> updateInputs(inputs: Iterable<Input<E>>, associatedMode: AssociatedSaveMode = AssociatedSaveMode.UPDATE, block: KSaveCommandPartialDsl.() -> Unit? = null): KBatchSaveResult<E>