Interface OAuth2ScopeRepository

All Superinterfaces:
cn.herodotus.engine.data.core.repository.BaseRepository<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.repository.BaseRepository<OAuth2Scope,String>

Description : OauthScopeRepository

Author:
: gengwei.zheng
Date:
: 2020/3/19 16:57
  • Method Summary

    Modifier and Type
    Method
    Description
    根据范围代码查询应用范围
    根据 scope codes 查询对应的对象列表

    Methods inherited from interface cn.herodotus.engine.data.core.repository.BaseRepository

    count, count, deleteById, findAll, findAll, findAll, findAll, findAll, findAll, findById, findOne

    Methods inherited from interface org.springframework.data.repository.CrudRepository

    delete, deleteAll, deleteAll, deleteAllById, existsById, save

    Methods inherited from interface org.springframework.data.jpa.repository.JpaRepository

    deleteAllByIdInBatch, deleteAllInBatch, deleteAllInBatch, deleteInBatch, findAll, findAll, flush, getById, getOne, getReferenceById, saveAllAndFlush, saveAndFlush

    Methods inherited from interface org.springframework.data.jpa.repository.JpaSpecificationExecutor

    delete, exists, findBy

    Methods inherited from interface org.springframework.data.repository.ListCrudRepository

    findAllById, saveAll

    Methods inherited from interface org.springframework.data.repository.query.QueryByExampleExecutor

    count, exists, findAll, findBy, findOne
  • Method Details

    • findByScopeCode

      OAuth2Scope findByScopeCode(String scopeCode)
      根据范围代码查询应用范围
      Parameters:
      scopeCode - 范围代码
      Returns:
      应用范围 OAuth2Scope
    • findByScopeCodeIn

      List<OAuth2Scope> findByScopeCodeIn(List<String> scopeCodes)
      根据 scope codes 查询对应的对象列表
      Parameters:
      scopeCodes - 范围代码
      Returns:
      对象列表