Package net.risesoft.util
Class Y9KernelApiUtil
- java.lang.Object
-
- net.risesoft.util.Y9KernelApiUtil
-
public class Y9KernelApiUtil extends Object
-
-
Constructor Summary
Constructors Constructor Description Y9KernelApiUtil()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static List<Map<String,Object>>getDataCatalogTree(String tenantId, String personId, boolean includeAll)static StringgetNameById(String tenantId, String id)static booleanhasRole(String tenantId, String personId, String roleName)static booleanhasRole2(String tenantId, String personId, String customId)
-
-
-
Method Detail
-
getDataCatalogTree
public static List<Map<String,Object>> getDataCatalogTree(String tenantId, String personId, boolean includeAll) throws Exception
- Throws:
Exception
-
hasRole
public static boolean hasRole(String tenantId, String personId, String roleName) throws Exception
- Throws:
Exception
-
hasRole2
public static boolean hasRole2(String tenantId, String personId, String customId) throws Exception
- Throws:
Exception
-
-