1 22 package org.objectweb.petals.repository; 23 24 import java.io.File ; 25 import java.net.URI ; 26 27 import org.objectweb.petals.PetalsException; 28 29 36 public interface RepositoryService { 37 38 39 49 public boolean containsPackage(String uuid); 50 51 61 public URI addPackage(String uuid, URI location) throws PetalsException; 62 63 75 public URI explodeSUIntoSAInstallFolder(String suId, 76 URI suZipLocation, 77 String saId) throws PetalsException; 78 79 87 public boolean removePackage(String componentId); 88 89 94 public File getComponentRoot(String componentId); 95 96 101 public File getComponentInstallRoot(String componentId); 102 103 108 public File getComponentWorkRoot(String componentId); 109 110 } 111 | Popular Tags |