Blame view

src/main/java/fr/plil/sio/persistence/jdbc/UserServiceJdbc.java 780 Bytes
a800fde0   jcartign   First version, in...
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
  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
      private UserRepository userRepository;
  
      @Override
5418cb05   jcartign   Javadoc of API is...
16
      public User create(String name, String groupName) {
a800fde0   jcartign   First version, in...
17
18
19
20
          return null;
      }
  
      @Override
5418cb05   jcartign   Javadoc of API is...
21
      public boolean delete(String name) {
a800fde0   jcartign   First version, in...
22
23
24
25
26
27
28
29
          return false;
      }
  
      @Override
      public User findByName(String name) {
          return null;
      }
  
5418cb05   jcartign   Javadoc of API is...
30
31
32
      @Override
      public boolean isUserHasRight(String userName, Right right) {
          return false;
a800fde0   jcartign   First version, in...
33
34
      }
  }