Blame view

src/main/java/fr/plil/sio/persistence/jdbc/GroupRepository.java 354 Bytes
7940aa22   jcartign   Finishing API jav...
1
2
3
  package fr.plil.sio.persistence.jdbc;
  
  import fr.plil.sio.persistence.api.Group;
f540a4bc   rvangrev   Fin TP
4
  import fr.plil.sio.persistence.api.Right;
7940aa22   jcartign   Finishing API jav...
5
6
7
8
9
10
11
12
  
  public interface GroupRepository {
  
      Group findByName(String name);
  
      void delete(Long id);
  
      void save(Group group);
73c004db   rvangrev   TP presque termin...
13
14
15
      
      void removeRight(Long right, Long group);
      
f540a4bc   rvangrev   Fin TP
16
      void addRight(Right right, Group group);
7940aa22   jcartign   Finishing API jav...
17
  }