Interface OAuth2ScopeRepository
- All Superinterfaces:
cn.herodotus.engine.data.core.jpa.repository.BaseJpaRepository<OAuth2Scope,,String> org.springframework.data.repository.CrudRepository<OAuth2Scope,,String> org.springframework.data.jpa.repository.JpaRepository<OAuth2Scope,,String> org.springframework.data.jpa.repository.JpaSpecificationExecutor<OAuth2Scope>,org.springframework.data.repository.ListCrudRepository<OAuth2Scope,,String> org.springframework.data.repository.ListPagingAndSortingRepository<OAuth2Scope,,String> org.springframework.data.repository.PagingAndSortingRepository<OAuth2Scope,,String> org.springframework.data.repository.query.QueryByExampleExecutor<OAuth2Scope>,org.springframework.data.repository.Repository<OAuth2Scope,String>
public interface OAuth2ScopeRepository
extends cn.herodotus.engine.data.core.jpa.repository.BaseJpaRepository<OAuth2Scope,String>
Description : OauthScopeRepository
- Author:
- : gengwei.zheng
- Date:
- : 2020/3/19 16:57
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.springframework.data.jpa.repository.JpaSpecificationExecutor
org.springframework.data.jpa.repository.JpaSpecificationExecutor.SpecificationFluentQuery<T extends Object> -
Method Summary
Modifier and TypeMethodDescriptionfindByScopeCode(String scopeCode) 根据范围代码查询应用范围findByScopeCodeIn(List<String> scopeCodes) 根据 scope codes 查询对应的对象列表Methods inherited from interface cn.herodotus.engine.data.core.jpa.repository.BaseJpaRepository
count, count, deleteById, findAll, findAll, findAll, findAll, findAll, findAll, findAllById, findById, findOne, getReferenceByIdMethods 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, saveAllAndFlush, saveAndFlushMethods inherited from interface org.springframework.data.jpa.repository.JpaSpecificationExecutor
delete, exists, findAll, findByMethods inherited from interface org.springframework.data.repository.ListCrudRepository
saveAllMethods inherited from interface org.springframework.data.repository.query.QueryByExampleExecutor
count, exists, findAll, findBy, findOne
-
Method Details
-
findByScopeCode
根据范围代码查询应用范围- Parameters:
scopeCode- 范围代码- Returns:
- 应用范围
OAuth2Scope
-
findByScopeCodeIn
根据 scope codes 查询对应的对象列表- Parameters:
scopeCodes- 范围代码- Returns:
- 对象列表
-