Blame view

src/main/java/fr/plil/sio/web/mvc/UserService.java 446 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
      
716532ee   Zak   Modifications des...
12
      List<Dette> findDettes();
95ea306a   Zak   Ajout css, img et...
13
14
      
      List<Dette> findCreances();
d0481dcb   Julien Cartigny   Support for user ...
15
16
  
      List<User> findAll();
353d9d4f   Zak   désactivation des...
17
      
716532ee   Zak   Modifications des...
18
      Dette addDette(String username,String sommeDette);
8a362652   Zak   Ajout css, js et ...
19
20
      
      String deleteDette(String id);
2afad654   Julien Iguchi-Cartigny   deal with userForm
21
  }