RegionRepository

@Repository
interface RegionRepository : KRepository<Region, Long>

Types

Link copied to clipboard
object Companion

Properties

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