add
yj
2024-12-05 b9900893177c78fc559223521fe839aa21000017
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
package com.dobbinsoft.fw.launcher.manager;
 
import com.dobbinsoft.fw.support.model.PermissionPoint;
 
import java.lang.reflect.Method;
import java.util.List;
import java.util.Map;
import java.util.Set;
 
/**
 * ClassName: IApiManager
 * Description: TODO
 *
 * @author: e-weichaozheng
 * @date: 2021-05-20
 */
public interface IApiManager {
 
    public Method getMethod(String app, String group, String name);
 
    public Object getServiceBean(Method method);
 
    public Set<Class> getRegisteredInterfaces();
 
    /**
     * 传入权限点,返回文字路径
     * eg:
     * input:
     * sys:user:list
     * output:
     * 系统管理 - 用户管理 - 列表
     * @param permission
     * @return
     */
    public String getPermissionRoute(String permission);
 
    public List<PermissionPoint> getPermissions();
 
}