1 23 24 package com.sun.enterprise.tools.admingui.tree; 25 26 import com.iplanet.jato.model.TreeModel; 27 import com.iplanet.jato.model.ModelControlException; 28 import com.iplanet.jato.model.ValidationException; 29 30 31 public interface IndexTreeModel extends TreeModel { 32 40 55 public IndexTreeNode getNode(String nodePath) throws NodeNotFoundException; 56 public IndexTreeNode getNodeByName(String nodeNamePath); 57 public IndexTreeNode getNodeByUniqueID(String id, String ChildName, IndexTreeNode searchFrom); 58 public Object getCurrentNode(); 59 public void setCurrentNode(String nodeID) throws ModelControlException, Exception ; 60 public void setCurrentNode(IndexTreeNode node); 61 public String getNodeHID(); 62 public boolean firstChild() throws ModelControlException; 63 public boolean parent() throws ModelControlException; 64 public boolean nextSibling() throws ModelControlException; 65 public String getIconName(boolean expanded); 66 public boolean isInitialExpand(); 67 public String getType(String string); 68 public IndexTreeNode getRoot(); 69 public void setRoot(IndexTreeNode node); 70 public int getNextNodeID(); 71 public String getStateDataName(); 72 73 public static final String FIELD_ID = "id"; 74 public static final String FIELD_NAME = "name"; 75 public static final String FIELD_REFRESH = "refresh"; 76 public static final String FIELD_UNIQUEID = "UniqueID"; 77 public static final String FIELD_DISPLAYNAME= "displayName"; 78 79 public static final String CONTAINER = "container"; public static final String LEAF = "leaf"; public static final String ROOT = "root"; } 84 | Popular Tags |