Blame view

src/com/fh/service/system/role/RoleManager.java 1.34 KB
ad5081d3   孙向锦   初始化项目
1
2
3
4
5
6
7
  package com.fh.service.system.role;
  
  import java.util.List;
  
  import com.fh.entity.system.Role;
  import com.fh.util.PageData;
  
ad5081d3   孙向锦   初始化项目
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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
  public interface RoleManager {
  	
  	/**列出此组下级角色
  	 * @param pd
  	 * @return
  	 * @throws Exception
  	 */
  	public List<Role> listAllRolesByPId(PageData pd) throws Exception;
  	
  	/**通过id查找
  	 * @param pd
  	 * @return
  	 * @throws Exception
  	 */
  	public PageData findObjectById(PageData pd) throws Exception;
  	
  	/**添加
  	 * @param pd
  	 * @throws Exception
  	 */
  	public void add(PageData pd) throws Exception;
  	
  	/**保存修改
  	 * @param pd
  	 * @throws Exception
  	 */
  	public void edit(PageData pd) throws Exception;
  	
  	/**删除角色
  	 * @param ROLE_ID
  	 * @throws Exception
  	 */
  	public void deleteRoleById(String ROLE_ID) throws Exception;
  	
  	/**给当前角色附加菜单权限
  	 * @param role
  	 * @throws Exception
  	 */
  	public void updateRoleRights(Role role) throws Exception;
  	
  	/**通过id查找
  	 * @param roleId
  	 * @return
  	 * @throws Exception
  	 */
  	public Role getRoleById(String ROLE_ID) throws Exception;
  	
  	/**给全部子角色加菜单权限
  	 * @param pd
  	 * @throws Exception
  	 */
  	public void setAllRights(PageData pd) throws Exception;
  	
  	/**权限(增删改查)
  	 * @param msg 区分增删改查
  	 * @param pd
  	 * @throws Exception
  	 */
  	public void saveB4Button(String msg,PageData pd) throws Exception;
  
  }