Package com.liferay.portal.kernel.util
Class TreeNodeView
Object
com.liferay.portal.kernel.util.TreeNodeView
- Author:
- Jorge Ferrer, Dennis Ju, Brian Wing Shun Chan
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddChild(TreeNodeView treeNodeView) intgetDepth()getHref()longgetId()getImg()getLs()getName()getObjId()longbooleanisLeaf()voidsetChildren(List<TreeNodeView> children) voidsetDepth(int depth) voidvoidsetId(long id) voidvoidsetLeaf(boolean leaf) voidvoidvoidvoidsetParentId(long parentId)
-
Constructor Details
-
TreeNodeView
public TreeNodeView(int id)
-
-
Method Details
-
addChild
-
getChildren
-
getDepth
public int getDepth() -
getHref
-
getId
public long getId() -
getImg
-
getLs
-
getName
-
getObjId
-
getParentId
public long getParentId() -
isLeaf
public boolean isLeaf() -
setChildren
-
setDepth
public void setDepth(int depth) -
setHref
-
setId
public void setId(long id) -
setImg
-
setLeaf
public void setLeaf(boolean leaf) -
setLs
-
setName
-
setObjId
-
setParentId
public void setParentId(long parentId)
-