Blame view

src/main/java/fr/plil/sio/persistence/jdbc/UserServiceJdbc.java 943 Bytes
a800fde0   jcartign   First version, in...
1
2
3
4
5
6
7
8
9
10
11
12
  package fr.plil.sio.persistence.jdbc;
  
  import fr.plil.sio.persistence.api.Right;
  import fr.plil.sio.persistence.api.User;
  import fr.plil.sio.persistence.api.UserService;
  import org.springframework.beans.factory.annotation.Autowired;
  import org.springframework.stereotype.Service;
  
  @Service
  public class UserServiceJdbc implements UserService {
  
      @Autowired
7940aa22   jcartign   Finishing API jav...
13
      private GroupRepository userRepository;
a800fde0   jcartign   First version, in...
14
15
  
      @Override
5418cb05   jcartign   Javadoc of API is...
16
      public User create(String name, String groupName) {
292aec6f   jcartign   First version bef...
17
          throw new IllegalStateException("not implemented !");
a800fde0   jcartign   First version, in...
18
19
20
      }
  
      @Override
5418cb05   jcartign   Javadoc of API is...
21
      public boolean delete(String name) {
292aec6f   jcartign   First version bef...
22
          throw new IllegalStateException("not implemented !");
a800fde0   jcartign   First version, in...
23
24
25
26
      }
  
      @Override
      public User findByName(String name) {
292aec6f   jcartign   First version bef...
27
          throw new IllegalStateException("not implemented !");
a800fde0   jcartign   First version, in...
28
29
      }
  
5418cb05   jcartign   Javadoc of API is...
30
31
      @Override
      public boolean isUserHasRight(String userName, Right right) {
292aec6f   jcartign   First version bef...
32
          throw new IllegalStateException("not implemented !");
a800fde0   jcartign   First version, in...
33
34
      }
  }