接口 OAuth2ScopeRepository

所有超级接口:
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

作者:
: gengwei.zheng
Date:
: 2020/3/19 16:57
  • 方法概要

    修饰符和类型
    方法
    说明
    根据范围代码查询应用范围
    根据 scope codes 查询对应的对象列表

    从接口继承的方法 cn.herodotus.engine.data.core.repository.BaseRepository

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

    从接口继承的方法 org.springframework.data.repository.CrudRepository

    delete, deleteAll, deleteAll, deleteAllById, existsById, save

    从接口继承的方法 org.springframework.data.jpa.repository.JpaRepository

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

    从接口继承的方法 org.springframework.data.jpa.repository.JpaSpecificationExecutor

    delete, exists, findBy

    从接口继承的方法 org.springframework.data.repository.ListCrudRepository

    findAllById, saveAll

    从接口继承的方法 org.springframework.data.repository.query.QueryByExampleExecutor

    count, exists, findAll, findBy, findOne
  • 方法详细资料

    • findByScopeCode

      OAuth2Scope findByScopeCode(String scopeCode)
      根据范围代码查询应用范围
      参数:
      scopeCode - 范围代码
      返回:
      应用范围 OAuth2Scope
    • findByScopeCodeIn

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