CreatureRepository
生物仓储接口
定义生物数据的查询与持久化操作
Author
lishangbu
Since
2025/09/14
Functions
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun insertIfAbsent(entity: Creature, associatedMode: AssociatedSaveMode, block: KSaveCommandPartialDsl.() -> Unit?): Creature
open fun insertIfAbsent(input: Input<Creature>, associatedMode: AssociatedSaveMode, block: KSaveCommandPartialDsl.() -> Unit?): Creature
Link copied to clipboard
按 ID 查询单个生物视图
Link copied to clipboard
open fun <V : View<Creature>> save(entity: Creature, viewType: KClass<V>, block: KSaveCommandDsl.() -> Unit?): V
open fun save(entity: Creature, fetcher: Fetcher<Creature>, block: KSaveCommandDsl.() -> Unit?): Creature
open fun <V : View<Creature>> save(input: Input<Creature>, viewType: KClass<V>, block: KSaveCommandDsl.() -> Unit?): V
open fun save(input: Input<Creature>, fetcher: Fetcher<Creature>, block: KSaveCommandDsl.() -> Unit?): Creature
open fun save(entity: Creature, mode: SaveMode, associatedMode: AssociatedSaveMode, block: KSaveCommandPartialDsl.() -> Unit?): Creature
open fun save(input: Input<Creature>, mode: SaveMode, associatedMode: AssociatedSaveMode, block: KSaveCommandPartialDsl.() -> Unit?): Creature
open fun <V : View<Creature>> save(entity: Creature, mode: SaveMode, associatedMode: AssociatedSaveMode, viewType: KClass<V>, block: KSaveCommandPartialDsl.() -> Unit?): V
open fun save(entity: Creature, mode: SaveMode, associatedMode: AssociatedSaveMode, fetcher: Fetcher<Creature>, block: KSaveCommandPartialDsl.() -> Unit?): Creature
Link copied to clipboard
open fun saveCommand(entity: Creature, block: KSaveCommandDsl.() -> Unit?): KSimpleEntitySaveCommand<Creature>
open fun saveCommand(input: Input<Creature>, block: KSaveCommandDsl.() -> Unit?): KSimpleEntitySaveCommand<Creature>
open fun saveCommand(entity: Creature, mode: SaveMode, associatedMode: AssociatedSaveMode, block: KSaveCommandPartialDsl.() -> Unit?): KSimpleEntitySaveCommand<Creature>
open fun saveCommand(input: Input<Creature>, mode: SaveMode, associatedMode: AssociatedSaveMode, block: KSaveCommandPartialDsl.() -> Unit?): KSimpleEntitySaveCommand<Creature>
Link copied to clipboard
open fun saveEntities(entities: Iterable<Creature>, block: KSaveCommandDsl.() -> Unit?): List<Creature>
open fun <V : View<Creature>> saveEntities(entities: Iterable<Creature>, viewType: KClass<V>, block: KSaveCommandDsl.() -> Unit?): List<V>
open fun saveEntities(entities: Iterable<Creature>, fetcher: Fetcher<Creature>, block: KSaveCommandDsl.() -> Unit?): List<Creature>
open fun saveEntities(entities: Iterable<Creature>, mode: SaveMode, associatedMode: AssociatedSaveMode, block: KSaveCommandPartialDsl.() -> Unit?): List<Creature>
Link copied to clipboard
open fun saveEntitiesCommand(entities: Iterable<Creature>, block: KSaveCommandDsl.() -> Unit?): KBatchEntitySaveCommand<Creature>
open fun saveEntitiesCommand(entities: Iterable<Creature>, mode: SaveMode, associatedMode: AssociatedSaveMode, block: KSaveCommandPartialDsl.() -> Unit?): KBatchEntitySaveCommand<Creature>
Link copied to clipboard
open fun saveInputs(inputs: Iterable<Input<Creature>>, block: KSaveCommandDsl.() -> Unit?): List<Creature>
open fun <V : View<Creature>> saveInputs(inputs: Iterable<Input<Creature>>, viewType: KClass<V>, block: KSaveCommandDsl.() -> Unit?): List<V>
open fun saveInputs(inputs: Iterable<Input<Creature>>, fetcher: Fetcher<Creature>, block: KSaveCommandDsl.() -> Unit?): List<Creature>
open fun saveInputs(inputs: Iterable<Input<Creature>>, mode: SaveMode, associatedMode: AssociatedSaveMode, block: KSaveCommandPartialDsl.() -> Unit?): List<Creature>
Link copied to clipboard
open fun saveInputsCommand(input: Iterable<Input<Creature>>, block: KSaveCommandDsl.() -> Unit?): KBatchEntitySaveCommand<Creature>
open fun saveInputsCommand(inputs: Iterable<Input<Creature>>, mode: SaveMode, associatedMode: AssociatedSaveMode, block: KSaveCommandPartialDsl.() -> Unit?): KBatchEntitySaveCommand<Creature>