Blame view

src/main/java/fr/plil/sio/web/mvc/UserService.java 396 Bytes
2afad654   Julien Iguchi-Cartigny   deal with userForm
1
2
  package fr.plil.sio.web.mvc;
  
d0481dcb   Julien Cartigny   Support for user ...
3
  import java.util.List;
353d9d4f   Zak   désactivation des...
4
  import org.springframework.web.bind.annotation.ResponseBody;
d0481dcb   Julien Cartigny   Support for user ...
5
  
2afad654   Julien Iguchi-Cartigny   deal with userForm
6
7
8
  public interface UserService {
  
      User createUser(String username, String password);
322c9502   Julien Cartigny   Ad Spring securit...
9
10
  
      User findByUsername(String username);
353d9d4f   Zak   désactivation des...
11
12
      
      List<Dette> findDettesByUsername(String username);
d0481dcb   Julien Cartigny   Support for user ...
13
14
  
      List<User> findAll();
353d9d4f   Zak   désactivation des...
15
16
      
      boolean addDette(String username,String sommeDette);
2afad654   Julien Iguchi-Cartigny   deal with userForm
17
  }