org.infoglue.cms.plugins.opentree
Class Controller
java.lang.Object
|
+--org.infoglue.cms.plugins.opentree.Controller
- public class Controller
- extends java.lang.Object
|
Constructor Summary |
Controller(java.lang.String serverAddress,
java.lang.String entityName,
java.lang.Integer repositoryId,
java.lang.String hideLeafs)
|
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NODE_CHANGED
public static final int NODE_CHANGED
- See Also:
- Constant Field Values
NODE_CHILDREN_CHANGED
public static final int NODE_CHILDREN_CHANGED
- See Also:
- Constant Field Values
NODE_MOVED
public static final int NODE_MOVED
- See Also:
- Constant Field Values
NODE_DELETED
public static final int NODE_DELETED
- See Also:
- Constant Field Values
Controller
public Controller(java.lang.String serverAddress,
java.lang.String entityName,
java.lang.Integer repositoryId,
java.lang.String hideLeafs)
setNodeTree
public void setNodeTree(javax.swing.JTree nodeTree)
refreshNode
public void refreshNode(java.lang.Integer nodeId,
java.lang.Integer changeTypeId,
java.lang.Integer addedNodeId)
- This method refreshes a node and emties it's children so they can be reinitialized.
getRootNode
public CMSNode getRootNode()
throws java.lang.Exception
java.lang.Exception
getNode
public CMSNode getNode(java.lang.Integer nodeId)
updateHash
public void updateHash(CMSNode node)
getChildNodes
public java.util.List getChildNodes(java.lang.Integer parentId)