PokemonSpeciesRepository

@Repository
interface PokemonSpeciesRepository : KRepository<PokemonSpecies, Long>

宝可梦种类仓储接口

定义宝可梦种类数据的查询与持久化操作

Author

lishangbu

Since

2026/2/12

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: PokemonSpecies)
abstract fun delete(entity: PokemonSpecies, mode: DeleteMode): Int
Link copied to clipboard
abstract fun deleteAll()
open fun deleteAll(entities: Iterable<PokemonSpecies>)
abstract fun deleteAll(entities: Iterable<PokemonSpecies>, 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<PokemonSpecies>?): List<PokemonSpecies>
abstract override fun findAll(pageable: Pageable): Page<PokemonSpecies>
open override fun findAll(sort: Sort): List<PokemonSpecies>
abstract fun findAll(fetcher: Fetcher<PokemonSpecies>?, block: SortDsl<PokemonSpecies>.() -> Unit): List<PokemonSpecies>
abstract fun findAll(fetcher: Fetcher<PokemonSpecies>?, sort: Sort): List<PokemonSpecies>
abstract fun findAll(pageable: Pageable, fetcher: Fetcher<PokemonSpecies>?): Page<PokemonSpecies>
abstract fun findAll(pageIndex: Int, pageSize: Int, fetcher: Fetcher<PokemonSpecies>?, block: SortDsl<PokemonSpecies>.() -> Unit?): Page<PokemonSpecies>
abstract fun findAll(pageIndex: Int, pageSize: Int, fetcher: Fetcher<PokemonSpecies>?, sort: Sort): Page<PokemonSpecies>
Link copied to clipboard
@AliasFor(value = "findByIds")
open fun findAllById(ids: Iterable<Long>): List<PokemonSpecies>
Link copied to clipboard
open fun findById(id: Long, fetcher: Fetcher<PokemonSpecies>): Optional<PokemonSpecies>
Link copied to clipboard
@AliasFor(value = "findAllById")
abstract fun findByIds(ids: Iterable<Long>, fetcher: Fetcher<PokemonSpecies>?): List<PokemonSpecies>
Link copied to clipboard
abstract fun findMapByIds(ids: Iterable<Long>, fetcher: Fetcher<PokemonSpecies>?): Map<Long, PokemonSpecies>
Link copied to clipboard
abstract fun findNullable(id: Long, fetcher: Fetcher<PokemonSpecies>?): PokemonSpecies?
Link copied to clipboard
open fun insert(entity: PokemonSpecies, associatedMode: AssociatedSaveMode, block: KSaveCommandPartialDsl.() -> Unit?): PokemonSpecies
open fun insert(input: Input<PokemonSpecies>, associatedMode: AssociatedSaveMode, block: KSaveCommandPartialDsl.() -> Unit?): PokemonSpecies
Link copied to clipboard
open fun insertIfAbsent(entity: PokemonSpecies, associatedMode: AssociatedSaveMode, block: KSaveCommandPartialDsl.() -> Unit?): PokemonSpecies
open fun insertIfAbsent(input: Input<PokemonSpecies>, associatedMode: AssociatedSaveMode, block: KSaveCommandPartialDsl.() -> Unit?): PokemonSpecies
Link copied to clipboard
open fun merge(entity: PokemonSpecies, block: KSaveCommandPartialDsl.() -> Unit?): PokemonSpecies
open fun merge(input: Input<PokemonSpecies>, block: KSaveCommandPartialDsl.() -> Unit?): PokemonSpecies
Link copied to clipboard
open fun <S : PokemonSpecies> save(entity: S): S
open fun save(input: Input<PokemonSpecies>, block: KSaveCommandDsl.() -> Unit?): PokemonSpecies
open fun <V : View<PokemonSpecies>> save(entity: PokemonSpecies, viewType: KClass<V>, block: KSaveCommandDsl.() -> Unit?): V
open fun save(entity: PokemonSpecies, fetcher: Fetcher<PokemonSpecies>, block: KSaveCommandDsl.() -> Unit?): PokemonSpecies
open fun <V : View<PokemonSpecies>> save(input: Input<PokemonSpecies>, viewType: KClass<V>, block: KSaveCommandDsl.() -> Unit?): V
open fun save(input: Input<PokemonSpecies>, fetcher: Fetcher<PokemonSpecies>, block: KSaveCommandDsl.() -> Unit?): PokemonSpecies
open fun save(entity: PokemonSpecies, mode: SaveMode, associatedMode: AssociatedSaveMode, block: KSaveCommandPartialDsl.() -> Unit?): PokemonSpecies
open fun save(input: Input<PokemonSpecies>, mode: SaveMode, associatedMode: AssociatedSaveMode, block: KSaveCommandPartialDsl.() -> Unit?): PokemonSpecies
open fun <V : View<PokemonSpecies>> save(entity: PokemonSpecies, mode: SaveMode, associatedMode: AssociatedSaveMode, viewType: KClass<V>, block: KSaveCommandPartialDsl.() -> Unit?): V
open fun save(entity: PokemonSpecies, mode: SaveMode, associatedMode: AssociatedSaveMode, fetcher: Fetcher<PokemonSpecies>, block: KSaveCommandPartialDsl.() -> Unit?): PokemonSpecies
open fun <V : View<PokemonSpecies>> save(input: Input<PokemonSpecies>, mode: SaveMode, associatedMode: AssociatedSaveMode, viewType: KClass<V>, block: KSaveCommandPartialDsl.() -> Unit?): V
open fun save(input: Input<PokemonSpecies>, mode: SaveMode, associatedMode: AssociatedSaveMode, fetcher: Fetcher<PokemonSpecies>, block: KSaveCommandPartialDsl.() -> Unit?): PokemonSpecies
Link copied to clipboard
open fun <S : PokemonSpecies> saveAll(entity: Iterable<S>): List<S>
Link copied to clipboard
open fun saveCommand(entity: PokemonSpecies, block: KSaveCommandDsl.() -> Unit?): KSimpleEntitySaveCommand<PokemonSpecies>
open fun saveCommand(input: Input<PokemonSpecies>, block: KSaveCommandDsl.() -> Unit?): KSimpleEntitySaveCommand<PokemonSpecies>
open fun saveCommand(entity: PokemonSpecies, mode: SaveMode, associatedMode: AssociatedSaveMode, block: KSaveCommandPartialDsl.() -> Unit?): KSimpleEntitySaveCommand<PokemonSpecies>
open fun saveCommand(input: Input<PokemonSpecies>, mode: SaveMode, associatedMode: AssociatedSaveMode, block: KSaveCommandPartialDsl.() -> Unit?): KSimpleEntitySaveCommand<PokemonSpecies>
Link copied to clipboard
open fun saveEntities(entities: Iterable<PokemonSpecies>, block: KSaveCommandDsl.() -> Unit?): List<PokemonSpecies>
open fun <V : View<PokemonSpecies>> saveEntities(entities: Iterable<PokemonSpecies>, viewType: KClass<V>, block: KSaveCommandDsl.() -> Unit?): List<V>
open fun saveEntities(entities: Iterable<PokemonSpecies>, fetcher: Fetcher<PokemonSpecies>, block: KSaveCommandDsl.() -> Unit?): List<PokemonSpecies>
open fun saveEntities(entities: Iterable<PokemonSpecies>, mode: SaveMode, associatedMode: AssociatedSaveMode, block: KSaveCommandPartialDsl.() -> Unit?): List<PokemonSpecies>
open fun <V : View<PokemonSpecies>> saveEntities(entities: Iterable<PokemonSpecies>, mode: SaveMode, associatedMode: AssociatedSaveMode, viewType: KClass<V>, block: KSaveCommandPartialDsl.() -> Unit?): List<V>
open fun saveEntities(entities: Iterable<PokemonSpecies>, mode: SaveMode, associatedMode: AssociatedSaveMode, fetcher: Fetcher<PokemonSpecies>, block: KSaveCommandPartialDsl.() -> Unit?): List<PokemonSpecies>
Link copied to clipboard
open fun saveEntitiesCommand(entities: Iterable<PokemonSpecies>, block: KSaveCommandDsl.() -> Unit?): KBatchEntitySaveCommand<PokemonSpecies>
open fun saveEntitiesCommand(entities: Iterable<PokemonSpecies>, mode: SaveMode, associatedMode: AssociatedSaveMode, block: KSaveCommandPartialDsl.() -> Unit?): KBatchEntitySaveCommand<PokemonSpecies>
Link copied to clipboard
open fun saveInputs(inputs: Iterable<Input<PokemonSpecies>>, block: KSaveCommandDsl.() -> Unit?): List<PokemonSpecies>
open fun <V : View<PokemonSpecies>> saveInputs(inputs: Iterable<Input<PokemonSpecies>>, viewType: KClass<V>, block: KSaveCommandDsl.() -> Unit?): List<V>
open fun saveInputs(inputs: Iterable<Input<PokemonSpecies>>, fetcher: Fetcher<PokemonSpecies>, block: KSaveCommandDsl.() -> Unit?): List<PokemonSpecies>
open fun saveInputs(inputs: Iterable<Input<PokemonSpecies>>, mode: SaveMode, associatedMode: AssociatedSaveMode, block: KSaveCommandPartialDsl.() -> Unit?): List<PokemonSpecies>
open fun <V : View<PokemonSpecies>> saveInputs(inputs: Iterable<Input<PokemonSpecies>>, mode: SaveMode, associatedMode: AssociatedSaveMode, viewType: KClass<V>, block: KSaveCommandPartialDsl.() -> Unit?): List<V>
open fun saveInputs(inputs: Iterable<Input<PokemonSpecies>>, mode: SaveMode, associatedMode: AssociatedSaveMode, fetcher: Fetcher<PokemonSpecies>, block: KSaveCommandPartialDsl.() -> Unit?): List<PokemonSpecies>
Link copied to clipboard
open fun saveInputsCommand(input: Iterable<Input<PokemonSpecies>>, block: KSaveCommandDsl.() -> Unit?): KBatchEntitySaveCommand<PokemonSpecies>
open fun saveInputsCommand(inputs: Iterable<Input<PokemonSpecies>>, mode: SaveMode, associatedMode: AssociatedSaveMode, block: KSaveCommandPartialDsl.() -> Unit?): KBatchEntitySaveCommand<PokemonSpecies>
Link copied to clipboard
open fun update(entity: PokemonSpecies, associatedMode: AssociatedSaveMode, block: KSaveCommandPartialDsl.() -> Unit?): PokemonSpecies
open fun update(input: Input<PokemonSpecies>, associatedMode: AssociatedSaveMode, block: KSaveCommandPartialDsl.() -> Unit?): PokemonSpecies
Link copied to clipboard
abstract fun <V : View<PokemonSpecies>> viewer(viewType: KClass<V>): KRepository.Viewer<PokemonSpecies, Long, V>