Blame view

src/main/java/fr/plil/sio/persistence/jdbc/GroupRepository.java 372 Bytes
7940aa22   jcartign   Finishing API jav...
1
2
3
  package fr.plil.sio.persistence.jdbc;
  
  import fr.plil.sio.persistence.api.Group;
60e63100   msahmane   Test des Right à ...
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);
60e63100   msahmane   Test des Right à ...
13
14
15
16
      
      boolean addRight(String groupName, Right right);
      
      boolean removeRight(String groupName, Right right);
7940aa22   jcartign   Finishing API jav...
17
  }