Blame view

src/main/java/fr/plil/sio/persistence/jdbc/UserRepository.java 505 Bytes
ef4eb263   rvangrev   Nouvelles modific...
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
  /*
   * To change this license header, choose License Headers in Project Properties.
   * To change this template file, choose Tools | Templates
   * and open the template in the editor.
   */
  package fr.plil.sio.persistence.jdbc;
  import fr.plil.sio.persistence.api.User;
  import fr.plil.sio.persistence.api.Group;
  
  public interface UserRepository {
      
      User findByName(String name);
  
      void delete(Long id);
  
      void save(User user, Group group);
73c004db   rvangrev   TP presque termin...
17
18
      
      boolean isUserHasRight(Long user, Long right);
ef4eb263   rvangrev   Nouvelles modific...
19
  }