CreatureSpeciesRepository

@Repository
interface CreatureSpeciesRepository : KRepository<CreatureSpecies, Long>

生物种类仓储接口

定义生物种类数据的查询与持久化操作

Author

lishangbu

Since

2026/2/12

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
Link copied to clipboard
abstract val sql: KSqlClient
Link copied to clipboard
abstract val type: ImmutableType

Functions

Link copied to clipboard
abstract fun count(): Long
Link copied to clipboard
open fun delete(entity: CreatureSpecies)
abstract fun delete(entity: CreatureSpecies, mode: DeleteMode): Int
Link copied to clipboard
abstract fun deleteAll()
open fun deleteAll(entities: Iterable<CreatureSpecies>)
abstract fun deleteAll(entities: Iterable<CreatureSpecies>, mode: DeleteMode): Int
Link copied to clipboard
@AliasFor(value = "deleteByIds")
open fun deleteAllById(ids: Iterable<Long>)
Link copied to clipboard
open fun deleteById(id: Long)
abstract fun deleteById(id: Long, mode: DeleteMode): Int
Link copied to clipboard
@AliasFor(value = "deleteAllById")
open fun deleteByIds(ids: Iterable<Long>)
abstract fun deleteByIds(ids: Iterable<Long>, mode: DeleteMode): Int
Link copied to clipboard
open fun existsById(id: Long): Boolean
Link copied to clipboard
abstract fun findAll(fetcher: Fetcher<CreatureSpecies>?): List<CreatureSpecies>
abstract override fun findAll(pageable: Pageable): Page<CreatureSpecies>
open override fun findAll(sort: Sort): List<CreatureSpecies>
abstract fun findAll(fetcher: Fetcher<CreatureSpecies>?, block: SortDsl<CreatureSpecies>.() -> Unit): List<CreatureSpecies>
abstract fun findAll(fetcher: Fetcher<CreatureSpecies>?, sort: Sort): List<CreatureSpecies>
abstract fun findAll(pageable: Pageable, fetcher: Fetcher<CreatureSpecies>?): Page<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
@AliasFor(value = "findByIds")
open fun findAllById(ids: Iterable<Long>): List<CreatureSpecies>
Link copied to clipboard
open fun findById(id: Long, fetcher: Fetcher<CreatureSpecies>): Optional<CreatureSpecies>
Link copied to clipboard
@AliasFor(value = "findAllById")
abstract fun findByIds(ids: Iterable<Long>, fetcher: Fetcher<CreatureSpecies>?): List<CreatureSpecies>
Link copied to clipboard
abstract fun findMapByIds(ids: Iterable<Long>, fetcher: Fetcher<CreatureSpecies>?): Map<Long, CreatureSpecies>
Link copied to clipboard
abstract fun findNullable(id: Long, fetcher: Fetcher<CreatureSpecies>?): CreatureSpecies?
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
open fun listViews(specification: CreatureSpeciesSpecification?): List<CreatureSpeciesView>

按条件查询生物种族视图

Link copied to clipboard
open fun loadViewById(id: Long): CreatureSpeciesView?

按 ID 查询单个生物种族视图

Link copied to clipboard
open fun merge(entity: CreatureSpecies, block: KSaveCommandPartialDsl.() -> Unit?): CreatureSpecies
open fun merge(input: Input<CreatureSpecies>, block: KSaveCommandPartialDsl.() -> Unit?): CreatureSpecies
Link copied to clipboard
open fun pageViews(specification: CreatureSpeciesSpecification?, pageable: Pageable): Page<CreatureSpeciesView>

按条件分页查询生物种族视图

Link copied to clipboard
open fun <S : CreatureSpecies> save(entity: S): S
open fun save(input: Input<CreatureSpecies>, block: KSaveCommandDsl.() -> Unit?): CreatureSpecies
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 <S : CreatureSpecies> saveAll(entity: Iterable<S>): List<S>
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>