MoveRepository

@Repository
interface MoveRepository : KRepository<Move, Long>

招式仓储接口

定义招式数据的查询与持久化操作

Author

lishangbu

Since

2025/09/14

Properties

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