org.surfnet.oaaas.repository
Interface ClientRepository

All Superinterfaces:
org.springframework.data.repository.CrudRepository<Client,Long>, org.springframework.data.repository.Repository<Client,Long>

@Repository
public interface ClientRepository
extends org.springframework.data.repository.CrudRepository<Client,Long>


Method Summary
 Client findByClientId(String clientId)
           
 Client findByIdAndResourceServer(Long id, ResourceServer resourceServer)
           
 List<Client> findByResourceServer(ResourceServer resourceServer)
           
 
Methods inherited from interface org.springframework.data.repository.CrudRepository
count, delete, delete, delete, deleteAll, exists, findAll, findAll, findOne, save, save
 

Method Detail

findByResourceServer

List<Client> findByResourceServer(ResourceServer resourceServer)

findByIdAndResourceServer

Client findByIdAndResourceServer(Long id,
                                 ResourceServer resourceServer)

findByClientId

Client findByClientId(String clientId)


Copyright © 2012-2013 SURFnet bv, The Netherlands. All Rights Reserved.