1 22 package org.jboss.test.security.interfaces; 23 24 import javax.naming.Name ; 25 import javax.naming.NamingException ; 26 import javax.naming.directory.Attributes ; 27 import java.rmi.RemoteException ; 28 29 37 public interface IProjRepository 38 { 39 public void createFolder(Name folderPath) throws NamingException , RemoteException ; 40 public void deleteFolder(Name folderPath, boolean recursive) throws NamingException , RemoteException ; 41 public void createItem(Name itemPath, Attributes attributes) throws NamingException , RemoteException ; 42 public void updateItem(Name itemPath, Attributes attributes) throws NamingException , RemoteException ; 43 public void deleteItem(Name itemPath) throws NamingException , RemoteException ; 44 public Attributes getItem(Name itemPath) throws NamingException , RemoteException ; 45 } 46 | Popular Tags |