示例#1
0
  @Autowired

  // implémentation interface
  @Override
  public List<Client> getAllClients() {
    return Lists.newArrayList(clientRepository.findAll());
  }
示例#2
0
 @Override
 public Client getClientById(long id) {
   return clientRepository.findOne(id);
 }