OauthAuthorizationConsentRepository
interface OauthAuthorizationConsentRepository : KRepository<OauthAuthorizationConsent, OauthAuthorizationConsentId>
OAuth 授权同意仓储接口
定义OAuth 授权同意数据的查询与持久化操作
Author
lishangbu
Since
2025/9/14
Functions
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun deleteByRegisteredClientIdAndPrincipalName(registeredClientId: String, principalName: String)
按注册客户端 ID 和主体名称删除 OAuth 授权同意
Link copied to clipboard
Link copied to clipboard
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")
Link copied to clipboard
open fun findById(id: OauthAuthorizationConsentId, fetcher: Fetcher<OauthAuthorizationConsent>): Optional<OauthAuthorizationConsent>
Link copied to clipboard
@AliasFor(value = "findAllById")
Link copied to clipboard
open fun findByRegisteredClientIdAndPrincipalName(registeredClientId: String, principalName: String): OauthAuthorizationConsent?
按注册客户端 ID 和主体名称查询 OAuth 授权同意
Link copied to clipboard
abstract fun findMapByIds(ids: Iterable<OauthAuthorizationConsentId>, fetcher: Fetcher<OauthAuthorizationConsent>?): Map<OauthAuthorizationConsentId, OauthAuthorizationConsent>
Link copied to clipboard
abstract fun findNullable(id: OauthAuthorizationConsentId, fetcher: Fetcher<OauthAuthorizationConsent>?): OauthAuthorizationConsent?
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 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
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>