PokemonRepository
宝可梦仓储接口
定义宝可梦数据的查询与持久化操作
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: Pokemon, associatedMode: AssociatedSaveMode, block: KSaveCommandPartialDsl.() -> Unit?): Pokemon
open fun insertIfAbsent(input: Input<Pokemon>, associatedMode: AssociatedSaveMode, block: KSaveCommandPartialDsl.() -> Unit?): Pokemon
Link copied to clipboard
open fun <V : View<Pokemon>> save(entity: Pokemon, viewType: KClass<V>, block: KSaveCommandDsl.() -> Unit?): V
open fun save(entity: Pokemon, fetcher: Fetcher<Pokemon>, block: KSaveCommandDsl.() -> Unit?): Pokemon
open fun <V : View<Pokemon>> save(input: Input<Pokemon>, viewType: KClass<V>, block: KSaveCommandDsl.() -> Unit?): V
open fun save(input: Input<Pokemon>, fetcher: Fetcher<Pokemon>, block: KSaveCommandDsl.() -> Unit?): Pokemon
open fun save(entity: Pokemon, mode: SaveMode, associatedMode: AssociatedSaveMode, block: KSaveCommandPartialDsl.() -> Unit?): Pokemon
open fun save(input: Input<Pokemon>, mode: SaveMode, associatedMode: AssociatedSaveMode, block: KSaveCommandPartialDsl.() -> Unit?): Pokemon
open fun <V : View<Pokemon>> save(entity: Pokemon, mode: SaveMode, associatedMode: AssociatedSaveMode, viewType: KClass<V>, block: KSaveCommandPartialDsl.() -> Unit?): V
open fun save(entity: Pokemon, mode: SaveMode, associatedMode: AssociatedSaveMode, fetcher: Fetcher<Pokemon>, block: KSaveCommandPartialDsl.() -> Unit?): Pokemon
Link copied to clipboard
open fun saveCommand(entity: Pokemon, block: KSaveCommandDsl.() -> Unit?): KSimpleEntitySaveCommand<Pokemon>
open fun saveCommand(input: Input<Pokemon>, block: KSaveCommandDsl.() -> Unit?): KSimpleEntitySaveCommand<Pokemon>
open fun saveCommand(entity: Pokemon, mode: SaveMode, associatedMode: AssociatedSaveMode, block: KSaveCommandPartialDsl.() -> Unit?): KSimpleEntitySaveCommand<Pokemon>
open fun saveCommand(input: Input<Pokemon>, mode: SaveMode, associatedMode: AssociatedSaveMode, block: KSaveCommandPartialDsl.() -> Unit?): KSimpleEntitySaveCommand<Pokemon>
Link copied to clipboard
open fun saveEntities(entities: Iterable<Pokemon>, block: KSaveCommandDsl.() -> Unit?): List<Pokemon>
open fun <V : View<Pokemon>> saveEntities(entities: Iterable<Pokemon>, viewType: KClass<V>, block: KSaveCommandDsl.() -> Unit?): List<V>
open fun saveEntities(entities: Iterable<Pokemon>, fetcher: Fetcher<Pokemon>, block: KSaveCommandDsl.() -> Unit?): List<Pokemon>
open fun saveEntities(entities: Iterable<Pokemon>, mode: SaveMode, associatedMode: AssociatedSaveMode, block: KSaveCommandPartialDsl.() -> Unit?): List<Pokemon>
Link copied to clipboard
open fun saveEntitiesCommand(entities: Iterable<Pokemon>, block: KSaveCommandDsl.() -> Unit?): KBatchEntitySaveCommand<Pokemon>
open fun saveEntitiesCommand(entities: Iterable<Pokemon>, mode: SaveMode, associatedMode: AssociatedSaveMode, block: KSaveCommandPartialDsl.() -> Unit?): KBatchEntitySaveCommand<Pokemon>
Link copied to clipboard
open fun saveInputs(inputs: Iterable<Input<Pokemon>>, block: KSaveCommandDsl.() -> Unit?): List<Pokemon>
open fun <V : View<Pokemon>> saveInputs(inputs: Iterable<Input<Pokemon>>, viewType: KClass<V>, block: KSaveCommandDsl.() -> Unit?): List<V>
open fun saveInputs(inputs: Iterable<Input<Pokemon>>, fetcher: Fetcher<Pokemon>, block: KSaveCommandDsl.() -> Unit?): List<Pokemon>
open fun saveInputs(inputs: Iterable<Input<Pokemon>>, mode: SaveMode, associatedMode: AssociatedSaveMode, block: KSaveCommandPartialDsl.() -> Unit?): List<Pokemon>
Link copied to clipboard
open fun saveInputsCommand(input: Iterable<Input<Pokemon>>, block: KSaveCommandDsl.() -> Unit?): KBatchEntitySaveCommand<Pokemon>
open fun saveInputsCommand(inputs: Iterable<Input<Pokemon>>, mode: SaveMode, associatedMode: AssociatedSaveMode, block: KSaveCommandPartialDsl.() -> Unit?): KBatchEntitySaveCommand<Pokemon>