EggGroupRepository

@Repository
interface EggGroupRepository : KRepository<EggGroup, Long>

蛋组仓储接口

定义蛋组数据的查询与持久化操作

Author

lishangbu

Since

2025/09/14

Properties

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