public class EntryTreeFolderNode
extends java.lang.Object
implements java.io.Serializable
限定符 | 构造器和说明 |
---|---|
protected |
EntryTreeFolderNode(FolderEntry entry) |
限定符和类型 | 方法和说明 |
---|---|
protected void |
addFolder(long id,
EntryTreeFolderNode node) |
protected void |
addNode(Entry entry) |
JSONArray |
createAllDeviceEntryJSONArray(long userId,
boolean withFavorite,
long mobileConfig)
获取当前节点内部有权限的节点信息
|
JSONArray |
createAllEntryJSONArray(long userId,
boolean withFavorite)
获取当前节点内部有权限的节点信息
|
JSONArray |
createAllEntryJSONArrayNoCheck()
获取当前节点内部所有的节点信息
|
JSONArray |
createAuthorizedEntryJSONArray(long userid)
返回具有授权或编辑权限的节点信息
|
JSONArray |
createLeafEntryJSONArray()
生成叶子节点对应的json数组
|
JSONArray |
createLeafEntryJSONArray(long userid)
根据用户的ID生成带有编辑权限的叶子节点数组
|
JSONObject |
createManagerJSONConfig(long userid)
目录树设置的时候拿该用户权限内的整棵树结构
|
FolderEntry[] |
getAllShowFolderNoPVCheck()
取此节点第一层子节点中所有的目录节点
|
FolderEntry |
getFolder()
获取当前目录
|
EntryTreeFolderNode[] |
getFolderNodes()
获取当前目录的子目录节点
|
protected long |
getFolderParentID() |
protected FolderEntry |
getLClonedFolderEntry() |
long |
getNodeEntryID() |
Entry[] |
getNodes()
获取当前目录的子节点
|
Entry[] |
getNodes(int type)
获取当前目录的指定节点类型的子节点
|
FolderEntry[] |
getShowFolderEntrys(long userid)
取此节点第一层子节点中有权限显示的目录节点
|
protected java.util.List |
removeAll() |
protected void |
removeFolderNode(long fid) |
protected void |
removeNode(Entry entry) |
protected void |
setFolder(FolderEntry entry) |
protected EntryTreeFolderNode(FolderEntry entry)
protected void addFolder(long id, EntryTreeFolderNode node)
protected void addNode(Entry entry)
protected void removeNode(Entry entry)
protected void removeFolderNode(long fid)
protected java.util.List removeAll()
public Entry[] getNodes()
public Entry[] getNodes(int type)
type
- 节点类型public long getNodeEntryID()
public EntryTreeFolderNode[] getFolderNodes()
public FolderEntry getFolder()
protected FolderEntry getLClonedFolderEntry()
protected long getFolderParentID()
protected void setFolder(FolderEntry entry)
public JSONObject createManagerJSONConfig(long userid) throws java.lang.Exception
userid
- 用户IDJSONException
- 异常java.lang.Exception
public JSONArray createAllEntryJSONArrayNoCheck() throws JSONException
java.lang.Exception
- 异常JSONException
public JSONArray createAuthorizedEntryJSONArray(long userid) throws java.lang.Exception
userid
- 用户IDjava.lang.Exception
- 异常public JSONArray createAllEntryJSONArray(long userId, boolean withFavorite) throws java.lang.Exception
userId
- 用户IDwithFavorite
- 是否附带收藏信息java.lang.Exception
- 异常public JSONArray createAllDeviceEntryJSONArray(long userId, boolean withFavorite, long mobileConfig) throws java.lang.Exception
userId
- 用户IDwithFavorite
- 是否附带收藏信息mobileConfig
- 移动终端展示配置java.lang.Exception
- 异常public FolderEntry[] getAllShowFolderNoPVCheck()
public FolderEntry[] getShowFolderEntrys(long userid) throws java.lang.Exception
userid
- 用户idjava.lang.Exception
public JSONArray createLeafEntryJSONArray() throws JSONException
JSONException
- 异常public JSONArray createLeafEntryJSONArray(long userid) throws java.lang.Exception
userid
- 用户idjava.lang.Exception
- 异常