1 5 package org.exoplatform.services.backup; 6 7 import java.util.List ; 8 9 15 public interface BackupService { 16 17 public String getDirectory() ; 18 public void setDirectory(String s) throws Exception ; 19 public String getUserDataDirectory() ; 20 public String getServiceDataDirectory() ; 21 22 public void addImporterExporter(ImporterExporter exporter) ; 23 public List getImportersExporters() ; 24 25 public void exportUserData() throws Exception ; 26 public void exportUserData(String username) throws Exception ; 27 public void importUserData() throws Exception ; 28 public void importUserData(String username) throws Exception ; 29 30 public void exportServiceData() throws Exception ; 31 public void exportServiceData(String serviceName) throws Exception ; 32 33 public void importServiceData() throws Exception ; 34 public void importServiceData(String serviceName) throws Exception ; 35 36 public ExportLogger getExportLogger() ; 37 public ImportLogger getImportLogger() ; 38 } | Popular Tags |