Interface OAuthClientAppDao

All Superinterfaces:
org.springframework.data.repository.CrudRepository<OAuthClientEntity,Long>, org.springframework.data.jpa.repository.JpaRepository<OAuthClientEntity,Long>, org.springframework.data.repository.ListCrudRepository<OAuthClientEntity,Long>, org.springframework.data.repository.ListPagingAndSortingRepository<OAuthClientEntity,Long>, org.springframework.data.repository.PagingAndSortingRepository<OAuthClientEntity,Long>, org.springframework.data.repository.query.QueryByExampleExecutor<OAuthClientEntity>, org.springframework.data.repository.Repository<OAuthClientEntity,Long>

public interface OAuthClientAppDao extends org.springframework.data.jpa.repository.JpaRepository<OAuthClientEntity,Long>
  • Method Summary

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

    count, delete, deleteAll, deleteAll, deleteAllById, deleteById, existsById, findById, 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.repository.ListCrudRepository

    findAll, findAllById, saveAll

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

    findAll

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

    findAll

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

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

    • findByClientIdAndEnabledTrue

      @Query("SELECT c FROM OAuthClient c WHERE (c.registeredClientId = :clientId OR c.clientId = :clientId) AND c.enabled = true") Optional<OAuthClientEntity> findByClientIdAndEnabledTrue(@Param("clientId") String clientId)
    • findByClientId

      @Query("SELECT c FROM OAuthClient c WHERE c.registeredClientId = :clientId OR c.clientId = :clientId") Optional<OAuthClientEntity> findByClientId(@Param("clientId") String clientId)
    • findAllSortByClientNameAsc

      @Query("SELECT c FROM OAuthClient c ORDER BY c.clientName ASC") List<OAuthClientEntity> findAllSortByClientNameAsc()