1
2
3
4
5 package gboat2.web.business;
6
7 import gboat2.base.core.service.IBaseService;
8 import gboat2.web.model.AuthorityResourceVO;
9 import gboat2.web.model.GroupOrganVO;
10 import gboat2.web.model.User;
11 import gboat2.web.model.UserGroupOrganMapper;
12 import gboat2.web.model.UserRoleGroupOrganVO;
13
14 import java.util.List;
15
16
17
18
19
20
21
22
23 public interface IUserBusiness extends IBaseService{
24
25
26
27
28
29 public void deleteURGOMapperByUserId(String userId);
30
31
32
33
34
35
36 public User getUserByLoginId(String loginId);
37
38
39
40
41
42
43 public User getUserByUserId(String userId);
44
45
46
47
48
49
50 public List<UserGroupOrganMapper> getURGOMapperByUserId(String userId);
51
52
53
54
55
56
57
58
59
60 public UserGroupOrganMapper getURGOMapper(String userId,String roleId,String groupId,String organId);
61
62
63
64
65
66
67 public List<UserRoleGroupOrganVO> getMapperVOByUserId(String userId);
68
69
70
71
72
73
74 public List<GroupOrganVO> getGroupOrganByGroupId(String groupId);
75
76
77
78
79
80
81
82 public void addUser(User user, String roleId, String groupId, String organId, String organName);
83
84
85
86
87
88
89 public List<UserGroupOrganMapper> getURGOMapperByOrganId(String organId);
90
91
92
93
94
95
96 public UserGroupOrganMapper getUserGroupOrganMapperById(String mapperId);
97
98
99
100
101
102
103 public User getUserByEnterpriseId(String enterpriseId);
104
105
106
107
108
109
110
111
112 public AuthorityResourceVO findResourceTreeForRoleOfGroup(String groupRoleId, String systemId);
113
114
115
116
117
118
119
120
121 public List<AuthorityResourceVO> findResourceForUser(String authForId, String systemId);
122
123
124
125
126
127
128
129
130
131
132 public String findDataLevelForUser(String groupId, String roleId, String resId, String userId);
133
134
135
136
137
138
139
140
141 public void deleteURGOMapperBy(String userId, String roleId, String groupId, String organId);
142
143
144
145
146
147
148 public void deleteUserByOrganId(String organId);
149 }