LocationRepository

@Repository
interface LocationRepository : KRepository<Location, Long>

Types

Link copied to clipboard
object Companion

Properties

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