GroupServiceJdbc.java
974 Bytes
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
39
40
41
42
43
44
45
46
package fr.plil.sio.persistence.jdbc;
import fr.plil.sio.persistence.api.Group;
import fr.plil.sio.persistence.api.GroupService;
import fr.plil.sio.persistence.api.Right;
import fr.plil.sio.persistence.api.User;
import org.springframework.stereotype.Service;
@Service
public class GroupServiceJdbc implements GroupService {
@Override
public Group create(String name) {
return null;
}
@Override
public boolean delete(Group group) {
return false;
}
@Override
public Group findByName(String name) {
return null;
}
@Override
public boolean addUser(Group group, User user) {
return false;
}
@Override
public boolean removeUser(Group group, User user) {
return false;
}
@Override
public boolean addRight(Group group, Right right) {
return false;
}
@Override
public boolean removeRight(Group group, Right right) {
return false;
}
}