Blame view

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