CreatureSpeciesRepository
生物种类仓储接口
定义生物种类数据的查询与持久化操作
Author
lishangbu
Since
2026/2/12
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
abstract fun findAll(fetcher: Fetcher<CreatureSpecies>?, block: SortDsl<CreatureSpecies>.() -> Unit): List<CreatureSpecies>
abstract fun findAll(pageIndex: Int, pageSize: Int, fetcher: Fetcher<CreatureSpecies>?, block: SortDsl<CreatureSpecies>.() -> Unit?): Page<CreatureSpecies>
abstract fun findAll(pageIndex: Int, pageSize: Int, fetcher: Fetcher<CreatureSpecies>?, sort: Sort): Page<CreatureSpecies>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
@AliasFor(value = "findAllById")
Link copied to clipboard
abstract fun findMapByIds(ids: Iterable<Long>, fetcher: Fetcher<CreatureSpecies>?): Map<Long, CreatureSpecies>
Link copied to clipboard
Link copied to clipboard
open fun insert(entity: CreatureSpecies, associatedMode: AssociatedSaveMode, block: KSaveCommandPartialDsl.() -> Unit?): CreatureSpecies
open fun insert(input: Input<CreatureSpecies>, associatedMode: AssociatedSaveMode, block: KSaveCommandPartialDsl.() -> Unit?): CreatureSpecies
Link copied to clipboard
open fun insertIfAbsent(entity: CreatureSpecies, associatedMode: AssociatedSaveMode, block: KSaveCommandPartialDsl.() -> Unit?): CreatureSpecies
open fun insertIfAbsent(input: Input<CreatureSpecies>, associatedMode: AssociatedSaveMode, block: KSaveCommandPartialDsl.() -> Unit?): CreatureSpecies
Link copied to clipboard
按 ID 查询单个生物种族视图
Link copied to clipboard
open fun merge(input: Input<CreatureSpecies>, block: KSaveCommandPartialDsl.() -> Unit?): CreatureSpecies
Link copied to clipboard
open fun <V : View<CreatureSpecies>> save(entity: CreatureSpecies, viewType: KClass<V>, block: KSaveCommandDsl.() -> Unit?): V
open fun save(entity: CreatureSpecies, fetcher: Fetcher<CreatureSpecies>, block: KSaveCommandDsl.() -> Unit?): CreatureSpecies
open fun <V : View<CreatureSpecies>> save(input: Input<CreatureSpecies>, viewType: KClass<V>, block: KSaveCommandDsl.() -> Unit?): V
open fun save(input: Input<CreatureSpecies>, fetcher: Fetcher<CreatureSpecies>, block: KSaveCommandDsl.() -> Unit?): CreatureSpecies
open fun save(entity: CreatureSpecies, mode: SaveMode, associatedMode: AssociatedSaveMode, block: KSaveCommandPartialDsl.() -> Unit?): CreatureSpecies
open fun save(input: Input<CreatureSpecies>, mode: SaveMode, associatedMode: AssociatedSaveMode, block: KSaveCommandPartialDsl.() -> Unit?): CreatureSpecies
open fun <V : View<CreatureSpecies>> save(entity: CreatureSpecies, mode: SaveMode, associatedMode: AssociatedSaveMode, viewType: KClass<V>, block: KSaveCommandPartialDsl.() -> Unit?): V
open fun save(entity: CreatureSpecies, mode: SaveMode, associatedMode: AssociatedSaveMode, fetcher: Fetcher<CreatureSpecies>, block: KSaveCommandPartialDsl.() -> Unit?): CreatureSpecies
open fun <V : View<CreatureSpecies>> save(input: Input<CreatureSpecies>, mode: SaveMode, associatedMode: AssociatedSaveMode, viewType: KClass<V>, block: KSaveCommandPartialDsl.() -> Unit?): V
open fun save(input: Input<CreatureSpecies>, mode: SaveMode, associatedMode: AssociatedSaveMode, fetcher: Fetcher<CreatureSpecies>, block: KSaveCommandPartialDsl.() -> Unit?): CreatureSpecies
Link copied to clipboard
open fun saveCommand(entity: CreatureSpecies, block: KSaveCommandDsl.() -> Unit?): KSimpleEntitySaveCommand<CreatureSpecies>
open fun saveCommand(input: Input<CreatureSpecies>, block: KSaveCommandDsl.() -> Unit?): KSimpleEntitySaveCommand<CreatureSpecies>
open fun saveCommand(entity: CreatureSpecies, mode: SaveMode, associatedMode: AssociatedSaveMode, block: KSaveCommandPartialDsl.() -> Unit?): KSimpleEntitySaveCommand<CreatureSpecies>
open fun saveCommand(input: Input<CreatureSpecies>, mode: SaveMode, associatedMode: AssociatedSaveMode, block: KSaveCommandPartialDsl.() -> Unit?): KSimpleEntitySaveCommand<CreatureSpecies>
Link copied to clipboard
open fun saveEntities(entities: Iterable<CreatureSpecies>, block: KSaveCommandDsl.() -> Unit?): List<CreatureSpecies>
open fun <V : View<CreatureSpecies>> saveEntities(entities: Iterable<CreatureSpecies>, viewType: KClass<V>, block: KSaveCommandDsl.() -> Unit?): List<V>
open fun saveEntities(entities: Iterable<CreatureSpecies>, fetcher: Fetcher<CreatureSpecies>, block: KSaveCommandDsl.() -> Unit?): List<CreatureSpecies>
open fun saveEntities(entities: Iterable<CreatureSpecies>, mode: SaveMode, associatedMode: AssociatedSaveMode, block: KSaveCommandPartialDsl.() -> Unit?): List<CreatureSpecies>
open fun <V : View<CreatureSpecies>> saveEntities(entities: Iterable<CreatureSpecies>, mode: SaveMode, associatedMode: AssociatedSaveMode, viewType: KClass<V>, block: KSaveCommandPartialDsl.() -> Unit?): List<V>
open fun saveEntities(entities: Iterable<CreatureSpecies>, mode: SaveMode, associatedMode: AssociatedSaveMode, fetcher: Fetcher<CreatureSpecies>, block: KSaveCommandPartialDsl.() -> Unit?): List<CreatureSpecies>
Link copied to clipboard
open fun saveEntitiesCommand(entities: Iterable<CreatureSpecies>, block: KSaveCommandDsl.() -> Unit?): KBatchEntitySaveCommand<CreatureSpecies>
open fun saveEntitiesCommand(entities: Iterable<CreatureSpecies>, mode: SaveMode, associatedMode: AssociatedSaveMode, block: KSaveCommandPartialDsl.() -> Unit?): KBatchEntitySaveCommand<CreatureSpecies>
Link copied to clipboard
open fun saveInputs(inputs: Iterable<Input<CreatureSpecies>>, block: KSaveCommandDsl.() -> Unit?): List<CreatureSpecies>
open fun <V : View<CreatureSpecies>> saveInputs(inputs: Iterable<Input<CreatureSpecies>>, viewType: KClass<V>, block: KSaveCommandDsl.() -> Unit?): List<V>
open fun saveInputs(inputs: Iterable<Input<CreatureSpecies>>, fetcher: Fetcher<CreatureSpecies>, block: KSaveCommandDsl.() -> Unit?): List<CreatureSpecies>
open fun saveInputs(inputs: Iterable<Input<CreatureSpecies>>, mode: SaveMode, associatedMode: AssociatedSaveMode, block: KSaveCommandPartialDsl.() -> Unit?): List<CreatureSpecies>
open fun <V : View<CreatureSpecies>> saveInputs(inputs: Iterable<Input<CreatureSpecies>>, mode: SaveMode, associatedMode: AssociatedSaveMode, viewType: KClass<V>, block: KSaveCommandPartialDsl.() -> Unit?): List<V>
open fun saveInputs(inputs: Iterable<Input<CreatureSpecies>>, mode: SaveMode, associatedMode: AssociatedSaveMode, fetcher: Fetcher<CreatureSpecies>, block: KSaveCommandPartialDsl.() -> Unit?): List<CreatureSpecies>
Link copied to clipboard
open fun saveInputsCommand(input: Iterable<Input<CreatureSpecies>>, block: KSaveCommandDsl.() -> Unit?): KBatchEntitySaveCommand<CreatureSpecies>
open fun saveInputsCommand(inputs: Iterable<Input<CreatureSpecies>>, mode: SaveMode, associatedMode: AssociatedSaveMode, block: KSaveCommandPartialDsl.() -> Unit?): KBatchEntitySaveCommand<CreatureSpecies>
Link copied to clipboard
open fun update(entity: CreatureSpecies, associatedMode: AssociatedSaveMode, block: KSaveCommandPartialDsl.() -> Unit?): CreatureSpecies
open fun update(input: Input<CreatureSpecies>, associatedMode: AssociatedSaveMode, block: KSaveCommandPartialDsl.() -> Unit?): CreatureSpecies
Link copied to clipboard
abstract fun <V : View<CreatureSpecies>> viewer(viewType: KClass<V>): KRepository.Viewer<CreatureSpecies, Long, V>