org.exoplatform.wiki.tree
Class JsonNodeData

java.lang.Object
  extended by org.exoplatform.wiki.tree.JsonNodeData

public class JsonNodeData
extends Object

Created by The eXo Platform SAS Author : Lai Trung Hieu hieu.lai@exoplatform.com Oct 8, 2010


Field Summary
 List<JsonNodeData> children
           
static String CURRENT_PATH
           
protected  String currentPath
           
protected  String excerpt
           
protected  boolean hasChild
           
protected  boolean isExpanded
           
protected  boolean isLastNode
           
protected  boolean isRetricted
           
protected  boolean isSelectable
           
protected  boolean isSelected
           
protected  String name
           
protected  TreeNodeType nodeType
           
protected  String path
           
 
Constructor Summary
JsonNodeData(TreeNode treeNode, boolean isLastNode, boolean isSelectable, String currentPath, String excerpt, HashMap<String,Object> context)
           
 
Method Summary
 List<JsonNodeData> getChildren()
           
 String getCurrentPath()
           
 String getExcerpt()
           
 String getName()
           
 TreeNodeType getNodeType()
           
 String getPath()
           
 boolean isExpanded()
           
 boolean isHasChild()
           
 boolean isLastNode()
           
 boolean isRetricted()
           
 boolean isSelectable()
           
 boolean isSelected()
           
 void setChildren(List<JsonNodeData> children)
           
 void setCurrentPath(String currentPath)
           
 void setExcerpt(String excerpt)
           
 void setExpanded(boolean isExpanded)
           
 void setHasChild(boolean hasChild)
           
 void setLastNode(boolean isLastNode)
           
 void setName(String name)
           
 void setNodeType(TreeNodeType nodeType)
           
 void setPath(String path)
           
 void setRetricted(boolean isRetricted)
           
 void setSelectable(boolean isSelectable)
           
 void setSelected(boolean isSelected)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

name

protected String name

path

protected String path

currentPath

protected String currentPath

hasChild

protected boolean hasChild

nodeType

protected TreeNodeType nodeType

isLastNode

protected boolean isLastNode

isSelectable

protected boolean isSelectable

isRetricted

protected boolean isRetricted

isExpanded

protected boolean isExpanded

isSelected

protected boolean isSelected

excerpt

protected String excerpt

CURRENT_PATH

public static final String CURRENT_PATH
See Also:
Constant Field Values

children

public List<JsonNodeData> children
Constructor Detail

JsonNodeData

public JsonNodeData(TreeNode treeNode,
                    boolean isLastNode,
                    boolean isSelectable,
                    String currentPath,
                    String excerpt,
                    HashMap<String,Object> context)
             throws Exception
Throws:
Exception
Method Detail

getName

public String getName()

setName

public void setName(String name)

getPath

public String getPath()

setPath

public void setPath(String path)

isHasChild

public boolean isHasChild()

setHasChild

public void setHasChild(boolean hasChild)

getNodeType

public TreeNodeType getNodeType()

setNodeType

public void setNodeType(TreeNodeType nodeType)

isLastNode

public boolean isLastNode()

setLastNode

public void setLastNode(boolean isLastNode)

isSelectable

public boolean isSelectable()

setSelectable

public void setSelectable(boolean isSelectable)

isRetricted

public boolean isRetricted()

setRetricted

public void setRetricted(boolean isRetricted)

getCurrentPath

public String getCurrentPath()

setCurrentPath

public void setCurrentPath(String currentPath)

isExpanded

public boolean isExpanded()

setExpanded

public void setExpanded(boolean isExpanded)

isSelected

public boolean isSelected()

setSelected

public void setSelected(boolean isSelected)

getExcerpt

public String getExcerpt()

setExcerpt

public void setExcerpt(String excerpt)

getChildren

public List<JsonNodeData> getChildren()

setChildren

public void setChildren(List<JsonNodeData> children)


Copyright © 2013 eXo Platform SAS. All Rights Reserved.