1 5 6 package org.exoplatform.services.jcr.storage; 7 8 import java.util.List ; 9 import javax.jcr.RepositoryException; 10 import javax.jcr.ItemExistsException; 11 import javax.jcr.Node; 12 import org.exoplatform.services.jcr.core.NodeData; 13 14 15 21 22 public interface Container { 23 24 public static final String DEFAULT_WORKSPACE = "dafault_workspace"; 25 26 public NodeData getRootNode() throws RepositoryException; 27 28 public List getChildren(String absPath) throws RepositoryException; 29 30 public NodeData getNodeByPath(String absPath) throws RepositoryException; 31 32 public void add(Node node) throws ItemExistsException, RepositoryException; 33 34 public void update(Node node) throws RepositoryException; 35 36 public void delete(String absPath) throws RepositoryException; 37 38 } 39 | Popular Tags |