1 9 package org.jboss.portal.common.tree; 10 11 import org.jboss.portal.common.FQN; 12 13 import java.util.Map ; 14 15 21 public interface Session 22 { 23 24 27 Tree getTree(); 28 29 34 void rollback() throws IllegalStateException ; 35 36 42 void commit() throws TreeException, IllegalStateException ; 43 44 54 void setProperty(Node node, String key, Object value) throws TreeException, IllegalArgumentException , IllegalStateException ; 55 56 65 void removeProperty(Node node, String key) throws TreeException, IllegalArgumentException , IllegalStateException ; 66 67 78 Node addChild(Node parent, String key, Map properties) throws TreeException, IllegalArgumentException , IllegalStateException ; 79 80 89 void removeChild(Node parent, String key) throws TreeException, IllegalArgumentException , IllegalStateException ; 90 91 100 Node createNode(FQN fqn, Map properties) throws TreeException, IllegalArgumentException , IllegalStateException ; 101 102 110 } 112 | Popular Tags |