Oauth2RegisteredClientRepository

OAuth2 注册客户端仓储接口

定义OAuth2 注册客户端数据的查询与持久化操作

Author

lishangbu

Since

2023-10-08

Types

Link copied to clipboard
object Companion

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: OauthRegisteredClient)
abstract fun delete(entity: OauthRegisteredClient, mode: DeleteMode): Int
Link copied to clipboard
abstract fun deleteAll()
abstract fun deleteAll(entities: Iterable<OauthRegisteredClient>, mode: DeleteMode): Int
Link copied to clipboard
@AliasFor(value = "deleteByIds")
open fun deleteAllById(ids: Iterable<String>)
Link copied to clipboard
open fun deleteById(id: String)
abstract fun deleteById(id: String, mode: DeleteMode): Int
Link copied to clipboard
@AliasFor(value = "deleteAllById")
open fun deleteByIds(ids: Iterable<String>)
abstract fun deleteByIds(ids: Iterable<String>, mode: DeleteMode): Int
Link copied to clipboard
open fun existsById(id: String): Boolean
Link copied to clipboard
open fun findAll(specification: Specification<OauthRegisteredClient>?): List<OauthRegisteredClient>

按条件查询 OAuth2 注册客户端列表

open fun findAll(specification: Specification<OauthRegisteredClient>?, pageable: Pageable): Page<OauthRegisteredClient>

按条件分页查询 OAuth2 注册客户端

abstract fun findAll(fetcher: Fetcher<OauthRegisteredClient>?): List<OauthRegisteredClient>
abstract override fun findAll(pageable: Pageable): Page<OauthRegisteredClient>
open override fun findAll(sort: Sort): List<OauthRegisteredClient>
abstract fun findAll(fetcher: Fetcher<OauthRegisteredClient>?, block: SortDsl<OauthRegisteredClient>.() -> Unit): List<OauthRegisteredClient>
abstract fun findAll(fetcher: Fetcher<OauthRegisteredClient>?, sort: Sort): List<OauthRegisteredClient>
abstract fun findAll(pageable: Pageable, fetcher: Fetcher<OauthRegisteredClient>?): Page<OauthRegisteredClient>
abstract fun findAll(pageIndex: Int, pageSize: Int, fetcher: Fetcher<OauthRegisteredClient>?, block: SortDsl<OauthRegisteredClient>.() -> Unit?): Page<OauthRegisteredClient>
abstract fun findAll(pageIndex: Int, pageSize: Int, fetcher: Fetcher<OauthRegisteredClient>?, sort: Sort): Page<OauthRegisteredClient>
Link copied to clipboard
@AliasFor(value = "findByIds")
open fun findAllById(ids: Iterable<String>): List<OauthRegisteredClient>
Link copied to clipboard
abstract fun findByClientId(clientId: String): OauthRegisteredClient?

根据客户端 ID查找OAuth2 注册客户端

Link copied to clipboard
Link copied to clipboard
@AliasFor(value = "findAllById")
abstract fun findByIds(ids: Iterable<String>, fetcher: Fetcher<OauthRegisteredClient>?): List<OauthRegisteredClient>
Link copied to clipboard
Link copied to clipboard
abstract fun findNullable(id: String, fetcher: Fetcher<OauthRegisteredClient>?): OauthRegisteredClient?
Link copied to clipboard
open fun insert(entity: OauthRegisteredClient, associatedMode: AssociatedSaveMode, block: KSaveCommandPartialDsl.() -> Unit?): OauthRegisteredClient
open fun insert(input: Input<OauthRegisteredClient>, associatedMode: AssociatedSaveMode, block: KSaveCommandPartialDsl.() -> Unit?): OauthRegisteredClient
Link copied to clipboard
open fun insertIfAbsent(entity: OauthRegisteredClient, associatedMode: AssociatedSaveMode, block: KSaveCommandPartialDsl.() -> Unit?): OauthRegisteredClient
open fun insertIfAbsent(input: Input<OauthRegisteredClient>, associatedMode: AssociatedSaveMode, block: KSaveCommandPartialDsl.() -> Unit?): OauthRegisteredClient
Link copied to clipboard
open fun listViews(specification: Specification<OauthRegisteredClient>?): List<OauthRegisteredClientView>

按条件查询 OAuth2 注册客户端视图列表

Link copied to clipboard
open fun loadViewById(id: String): OauthRegisteredClientView?

按 ID 查询 OAuth2 注册客户端视图

Link copied to clipboard
open fun merge(entity: OauthRegisteredClient, block: KSaveCommandPartialDsl.() -> Unit?): OauthRegisteredClient
open fun merge(input: Input<OauthRegisteredClient>, block: KSaveCommandPartialDsl.() -> Unit?): OauthRegisteredClient
Link copied to clipboard
open fun pageViews(specification: Specification<OauthRegisteredClient>?, pageable: Pageable): Page<OauthRegisteredClientView>

按条件分页查询 OAuth2 注册客户端视图

Link copied to clipboard
open fun <S : OauthRegisteredClient> save(entity: S): S
open fun save(input: Input<OauthRegisteredClient>, block: KSaveCommandDsl.() -> Unit?): OauthRegisteredClient
open fun <V : View<OauthRegisteredClient>> save(entity: OauthRegisteredClient, viewType: KClass<V>, block: KSaveCommandDsl.() -> Unit?): V
open fun save(entity: OauthRegisteredClient, fetcher: Fetcher<OauthRegisteredClient>, block: KSaveCommandDsl.() -> Unit?): OauthRegisteredClient
open fun <V : View<OauthRegisteredClient>> save(input: Input<OauthRegisteredClient>, viewType: KClass<V>, block: KSaveCommandDsl.() -> Unit?): V
open fun save(input: Input<OauthRegisteredClient>, fetcher: Fetcher<OauthRegisteredClient>, block: KSaveCommandDsl.() -> Unit?): OauthRegisteredClient
open fun save(entity: OauthRegisteredClient, mode: SaveMode, associatedMode: AssociatedSaveMode, block: KSaveCommandPartialDsl.() -> Unit?): OauthRegisteredClient
open fun save(input: Input<OauthRegisteredClient>, mode: SaveMode, associatedMode: AssociatedSaveMode, block: KSaveCommandPartialDsl.() -> Unit?): OauthRegisteredClient
open fun <V : View<OauthRegisteredClient>> save(entity: OauthRegisteredClient, mode: SaveMode, associatedMode: AssociatedSaveMode, viewType: KClass<V>, block: KSaveCommandPartialDsl.() -> Unit?): V
open fun save(entity: OauthRegisteredClient, mode: SaveMode, associatedMode: AssociatedSaveMode, fetcher: Fetcher<OauthRegisteredClient>, block: KSaveCommandPartialDsl.() -> Unit?): OauthRegisteredClient
open fun <V : View<OauthRegisteredClient>> save(input: Input<OauthRegisteredClient>, mode: SaveMode, associatedMode: AssociatedSaveMode, viewType: KClass<V>, block: KSaveCommandPartialDsl.() -> Unit?): V
open fun save(input: Input<OauthRegisteredClient>, mode: SaveMode, associatedMode: AssociatedSaveMode, fetcher: Fetcher<OauthRegisteredClient>, block: KSaveCommandPartialDsl.() -> Unit?): OauthRegisteredClient
Link copied to clipboard
open fun <S : OauthRegisteredClient> saveAll(entity: Iterable<S>): List<S>
Link copied to clipboard
open fun saveCommand(entity: OauthRegisteredClient, block: KSaveCommandDsl.() -> Unit?): KSimpleEntitySaveCommand<OauthRegisteredClient>
open fun saveCommand(input: Input<OauthRegisteredClient>, block: KSaveCommandDsl.() -> Unit?): KSimpleEntitySaveCommand<OauthRegisteredClient>
open fun saveCommand(entity: OauthRegisteredClient, mode: SaveMode, associatedMode: AssociatedSaveMode, block: KSaveCommandPartialDsl.() -> Unit?): KSimpleEntitySaveCommand<OauthRegisteredClient>
open fun saveCommand(input: Input<OauthRegisteredClient>, mode: SaveMode, associatedMode: AssociatedSaveMode, block: KSaveCommandPartialDsl.() -> Unit?): KSimpleEntitySaveCommand<OauthRegisteredClient>
Link copied to clipboard
open fun saveEntities(entities: Iterable<OauthRegisteredClient>, block: KSaveCommandDsl.() -> Unit?): List<OauthRegisteredClient>
open fun <V : View<OauthRegisteredClient>> saveEntities(entities: Iterable<OauthRegisteredClient>, viewType: KClass<V>, block: KSaveCommandDsl.() -> Unit?): List<V>
open fun saveEntities(entities: Iterable<OauthRegisteredClient>, fetcher: Fetcher<OauthRegisteredClient>, block: KSaveCommandDsl.() -> Unit?): List<OauthRegisteredClient>
open fun saveEntities(entities: Iterable<OauthRegisteredClient>, mode: SaveMode, associatedMode: AssociatedSaveMode, block: KSaveCommandPartialDsl.() -> Unit?): List<OauthRegisteredClient>
open fun <V : View<OauthRegisteredClient>> saveEntities(entities: Iterable<OauthRegisteredClient>, mode: SaveMode, associatedMode: AssociatedSaveMode, viewType: KClass<V>, block: KSaveCommandPartialDsl.() -> Unit?): List<V>
open fun saveEntities(entities: Iterable<OauthRegisteredClient>, mode: SaveMode, associatedMode: AssociatedSaveMode, fetcher: Fetcher<OauthRegisteredClient>, block: KSaveCommandPartialDsl.() -> Unit?): List<OauthRegisteredClient>
Link copied to clipboard
open fun saveEntitiesCommand(entities: Iterable<OauthRegisteredClient>, block: KSaveCommandDsl.() -> Unit?): KBatchEntitySaveCommand<OauthRegisteredClient>
open fun saveEntitiesCommand(entities: Iterable<OauthRegisteredClient>, mode: SaveMode, associatedMode: AssociatedSaveMode, block: KSaveCommandPartialDsl.() -> Unit?): KBatchEntitySaveCommand<OauthRegisteredClient>
Link copied to clipboard
open fun saveInputs(inputs: Iterable<Input<OauthRegisteredClient>>, block: KSaveCommandDsl.() -> Unit?): List<OauthRegisteredClient>
open fun <V : View<OauthRegisteredClient>> saveInputs(inputs: Iterable<Input<OauthRegisteredClient>>, viewType: KClass<V>, block: KSaveCommandDsl.() -> Unit?): List<V>
open fun saveInputs(inputs: Iterable<Input<OauthRegisteredClient>>, fetcher: Fetcher<OauthRegisteredClient>, block: KSaveCommandDsl.() -> Unit?): List<OauthRegisteredClient>
open fun saveInputs(inputs: Iterable<Input<OauthRegisteredClient>>, mode: SaveMode, associatedMode: AssociatedSaveMode, block: KSaveCommandPartialDsl.() -> Unit?): List<OauthRegisteredClient>
open fun <V : View<OauthRegisteredClient>> saveInputs(inputs: Iterable<Input<OauthRegisteredClient>>, mode: SaveMode, associatedMode: AssociatedSaveMode, viewType: KClass<V>, block: KSaveCommandPartialDsl.() -> Unit?): List<V>
open fun saveInputs(inputs: Iterable<Input<OauthRegisteredClient>>, mode: SaveMode, associatedMode: AssociatedSaveMode, fetcher: Fetcher<OauthRegisteredClient>, block: KSaveCommandPartialDsl.() -> Unit?): List<OauthRegisteredClient>
Link copied to clipboard
open fun saveInputsCommand(input: Iterable<Input<OauthRegisteredClient>>, block: KSaveCommandDsl.() -> Unit?): KBatchEntitySaveCommand<OauthRegisteredClient>
open fun saveInputsCommand(inputs: Iterable<Input<OauthRegisteredClient>>, mode: SaveMode, associatedMode: AssociatedSaveMode, block: KSaveCommandPartialDsl.() -> Unit?): KBatchEntitySaveCommand<OauthRegisteredClient>
Link copied to clipboard
open fun update(entity: OauthRegisteredClient, associatedMode: AssociatedSaveMode, block: KSaveCommandPartialDsl.() -> Unit?): OauthRegisteredClient
open fun update(input: Input<OauthRegisteredClient>, associatedMode: AssociatedSaveMode, block: KSaveCommandPartialDsl.() -> Unit?): OauthRegisteredClient
Link copied to clipboard
abstract fun <V : View<OauthRegisteredClient>> viewer(viewType: KClass<V>): KRepository.Viewer<OauthRegisteredClient, String, V>