OauthAuthorizationConsentRepository

OAuth 授权同意仓储接口

定义OAuth 授权同意数据的查询与持久化操作

Author

lishangbu

Since

2025/9/14

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
abstract fun delete(entity: OauthAuthorizationConsent, mode: DeleteMode): Int
Link copied to clipboard
abstract fun deleteAll()
abstract fun deleteAll(entities: Iterable<OauthAuthorizationConsent>, mode: DeleteMode): Int
Link copied to clipboard
@AliasFor(value = "deleteByIds")
open fun deleteAllById(ids: Iterable<OauthAuthorizationConsentId>)
Link copied to clipboard
abstract fun deleteById(id: OauthAuthorizationConsentId, mode: DeleteMode): Int
Link copied to clipboard
@AliasFor(value = "deleteAllById")
open fun deleteByIds(ids: Iterable<OauthAuthorizationConsentId>)
abstract fun deleteByIds(ids: Iterable<OauthAuthorizationConsentId>, mode: DeleteMode): Int
open fun deleteByRegisteredClientIdAndPrincipalName(registeredClientId: String, principalName: String)

按注册客户端 ID 和主体名称删除 OAuth 授权同意

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

按注册客户端 ID 和主体名称查询 OAuth 授权同意

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