com.wewebu.ow.server.dmsdialogs.views
Class OwObjectTreeViewEXTJS.OwTreeViewNodeJS

java.lang.Object
  extended by com.wewebu.ow.server.ui.OwTreeView.OwTreeViewNode
      extended by com.wewebu.ow.server.dmsdialogs.views.OwObjectTreeViewEXTJS.OwTreeViewNodeJS
Enclosing class:
OwObjectTreeViewEXTJS

public class OwObjectTreeViewEXTJS.OwTreeViewNodeJS
extends OwTreeView.OwTreeViewNode

Tree node representation used by OwObjectTreeViewEXTJS.

Alfresco Workdesk
Copyright (c) Alfresco Software, Inc.
All rights reserved.

For licensing information read the license.txt file or
go to: http://wiki.alfresco.com

Since:
3.1.0.0

Field Summary
 
Fields inherited from class com.wewebu.ow.server.ui.OwTreeView.OwTreeViewNode
m_childs, m_displaypath, m_fChildsCreated, m_fCollapsed, m_fFirstSibling, m_fLastSibling, m_fPlusMinusIcon, m_obj, m_parent, m_path, m_strCloseFolderURL, m_strOpenFolderURL, m_view
 
Constructor Summary
OwObjectTreeViewEXTJS.OwTreeViewNodeJS(OwTreeView treeView_p, Object obj_p)
          Constructor.
 
Method Summary
 List<OwObjectTreeViewEXTJS.OwTreeViewNodeJS> getChildren()
          Get the children of this node.
protected  void refresh()
          Refresh the node.
 String toJSONTree()
          Creates a JSON tree representing the structure of this node and its children.
 String toString()
           
 
Methods inherited from class com.wewebu.ow.server.ui.OwTreeView.OwTreeViewNode
createChilds, equals, expand, getCloseIconURL, getDisplayHTML, getDisplayName, getDisplayPath, getID, getLabelEventURL, getName, getObject, getObjectParent, getOpenIconURL, getParent, getParentFromDepth, getPath, getPlusMinusIconEventURL, hashCode, hasPlusMinusIcon, isCollapsed, isEnabled, isFirstSibling, isLastSibling, navigate, toggleExpand
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

OwObjectTreeViewEXTJS.OwTreeViewNodeJS

public OwObjectTreeViewEXTJS.OwTreeViewNodeJS(OwTreeView treeView_p,
                                              Object obj_p)
Constructor.

Parameters:
treeView_p -
obj_p -
Method Detail

getChildren

public List<OwObjectTreeViewEXTJS.OwTreeViewNodeJS> getChildren()
                                                         throws Exception
Get the children of this node.

Returns:
a List of children.
Throws:
Exception

toString

public String toString()
Overrides:
toString in class Object

refresh

protected void refresh()
                throws Exception
Refresh the node. Implemented only for java access rights.

Overrides:
refresh in class OwTreeView.OwTreeViewNode
Throws:
Exception

toJSONTree

public String toJSONTree()
                  throws Exception
Creates a JSON tree representing the structure of this node and its children. Only open children will be rendered.

Returns:
a JSON as string.
Throws:
Exception


Copyright © 2013 Alfresco Business Solutions. All Rights Reserved.