Interface OAuth2ApplicationRepository
- All Superinterfaces:
cn.herodotus.engine.data.core.repository.BaseRepository<OAuth2Application,,String> org.springframework.data.repository.CrudRepository<OAuth2Application,,String> org.springframework.data.jpa.repository.JpaRepository<OAuth2Application,,String> org.springframework.data.jpa.repository.JpaSpecificationExecutor<OAuth2Application>,org.springframework.data.repository.ListCrudRepository<OAuth2Application,,String> org.springframework.data.repository.ListPagingAndSortingRepository<OAuth2Application,,String> org.springframework.data.repository.PagingAndSortingRepository<OAuth2Application,,String> org.springframework.data.repository.query.QueryByExampleExecutor<OAuth2Application>,org.springframework.data.repository.Repository<OAuth2Application,String>
public interface OAuth2ApplicationRepository
extends cn.herodotus.engine.data.core.repository.BaseRepository<OAuth2Application,String>
Description: OAuth2ApplicationRepository
- Author:
- : gengwei.zheng
- Date:
- : 2022/3/1 18:05
-
Method Summary
Modifier and TypeMethodDescriptionfindByClientId(String clientId) 根据 Client ID 查询 OAuth2ApplicationMethods inherited from interface cn.herodotus.engine.data.core.repository.BaseRepository
count, count, deleteById, findAll, findAll, findAll, findAll, findAll, findAll, findById, findOneMethods inherited from interface org.springframework.data.repository.CrudRepository
delete, deleteAll, deleteAll, deleteAllById, existsById, saveMethods inherited from interface org.springframework.data.jpa.repository.JpaRepository
deleteAllByIdInBatch, deleteAllInBatch, deleteAllInBatch, deleteInBatch, findAll, findAll, flush, getById, getOne, getReferenceById, saveAllAndFlush, saveAndFlushMethods inherited from interface org.springframework.data.jpa.repository.JpaSpecificationExecutor
delete, exists, findByMethods inherited from interface org.springframework.data.repository.ListCrudRepository
findAllById, saveAllMethods inherited from interface org.springframework.data.repository.query.QueryByExampleExecutor
count, exists, findAll, findBy, findOne
-
Method Details
-
findByClientId
根据 Client ID 查询 OAuth2Application- Parameters:
clientId- OAuth2Application 中的 clientId- Returns:
OAuth2Application
-