public class ModuleTreeNode
extends java.lang.Object
implements java.lang.Comparable
限定符 | 构造器和说明 |
---|---|
protected |
ModuleTreeNode(PlatformManageModule platformManageModule) |
限定符和类型 | 方法和说明 |
---|---|
protected void |
addNode(long did,
ModuleTreeNode node) |
int |
compareTo(java.lang.Object o)
对比
|
JSONArray |
createAllChildrenJSONConfig()
创建ModuleTree节点的所有子节点的JSON信息
|
JSONObject |
createJSONConfig()
转成JSON对象
|
JSONObject |
createShowJSONConfig(long userid,
java.util.Locale locale)
创建用户有权限的ModuleJSON对象
|
JSONArray |
createShowModuleConfig(long userid)
用户有权限的Module
|
protected java.lang.Long[] |
getNodeIDs() |
protected PlatformManageModule |
getPlatformManageModule() |
int |
getSortIndex() |
protected ModuleTreeNode(PlatformManageModule platformManageModule)
protected void addNode(long did, ModuleTreeNode node)
public int getSortIndex()
protected java.lang.Long[] getNodeIDs()
protected PlatformManageModule getPlatformManageModule()
public JSONArray createShowModuleConfig(long userid) throws java.lang.Exception
userid
- 用户IDjava.lang.Exception
- 异常public JSONObject createJSONConfig() throws JSONException
JSONException
- 异常public JSONArray createAllChildrenJSONConfig() throws JSONException
JSONException
- 异常public JSONObject createShowJSONConfig(long userid, java.util.Locale locale) throws java.lang.Exception
userid
- 用户IDjava.lang.Exception
- 异常public int compareTo(java.lang.Object o)
compareTo
在接口中 java.lang.Comparable
o
- 对象