1 package org.exoplatform.services.portal.model; 2 3 import java.util.* ; 4 import org.exoplatform.services.portal.PortalACL; 5 11 public interface Node { 12 public String getUri(); 13 public void setUri(String s) ; 14 15 public String getName(); 16 public void setName(String s) ; 17 18 public String getLabel(); 19 public void setLabel(String name); 20 21 public String getResolvedLabel(); 22 public void setResolvedLabel(ResourceBundle res); 23 24 public String getIcon(); 25 public void setIcon(String name); 26 27 public String getViewPermission() ; 28 public void setViewPermission(String s) ; 29 30 public String getEditPermission() ; 31 public void setEditPermission(String s) ; 32 33 public String getDescription() ; 34 public void setDescription(String s) ; 35 36 public boolean isVisible() ; 37 public void setVisible(PortalACL acl, String owner, String remoteUser) ; 38 39 public Node getChild(int pos) ; 40 public void addChild(Node node) ; 41 public Node removeChild(int pos) ; 42 public Node removeChild(String uri) ; 43 public boolean hasChild(String name) ; 44 public Node findNode(String uri) ; 45 public int getChildrenSize() ; 46 public List getChildren() ; 47 48 public Node getParent() ; 49 public void setParent(Node node) ; 50 51 public PageReference getPageReference(String type) ; 52 public List getPageReference() ; 53 public void setPageReference(List list) ; 54 public PageReference removePageReference(String type) ; 55 56 public int getLevel() ; 57 public void setSelectedPath(boolean b) ; 58 public boolean isSelectedPath() ; 59 public boolean isShare() ; 60 61 public void visit(NodeVisitor visitor) ; 62 } | Popular Tags |