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