ItemAttributeRepository

@Repository
interface ItemAttributeRepository : KRepository<ItemAttribute, Long>

道具属性仓储接口

定义道具属性数据的查询与持久化操作

Author

lishangbu

Since

2025/09/14

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