1 5 package org.exoplatform.services.backup; 6 7 import java.util.jar.* ; 8 import java.io.InputStream ; 9 import java.io.OutputStream ; 10 16 public interface ImporterExporter { 17 public String getName() ; 18 public String getDescription() ; 19 20 public void exportUserData(String user, Object transaction, 21 OutputStream out, JarEntry entry) throws Exception ; 22 public void importUserData(String user, Object transaction, 23 InputStream in, JarEntry entry) throws Exception ; 24 25 public void exportServiceData(Object transaction, JarOutputStream out) throws Exception ; 26 public void importServiceData(Object transaction, JarFile in) throws Exception ; 27 } | Popular Tags |