KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > exoplatform > services > backup > BackupService


1 /***************************************************************************
2  * Copyright 2001-2003 The eXo Platform SARL All rights reserved. *
3  * Please look at license.txt in info directory for more license detail. *
4  **************************************************************************/

5 package org.exoplatform.services.backup;
6
7 import java.util.List JavaDoc ;
8
9 /**
10  * May 27, 2004
11  * @author: Tuan Nguyen
12  * @email: tuan08@users.sourceforge.net
13  * @version: $ID$
14  **/

15 public interface BackupService {
16
17     public String JavaDoc getDirectory() ;
18     public void setDirectory(String JavaDoc s) throws Exception JavaDoc ;
19     public String JavaDoc getUserDataDirectory() ;
20     public String JavaDoc getServiceDataDirectory() ;
21     
22     public void addImporterExporter(ImporterExporter exporter) ;
23     public List JavaDoc getImportersExporters() ;
24     
25     public void exportUserData() throws Exception JavaDoc ;
26     public void exportUserData(String JavaDoc username) throws Exception JavaDoc ;
27     public void importUserData() throws Exception JavaDoc ;
28     public void importUserData(String JavaDoc username) throws Exception JavaDoc ;
29     
30     public void exportServiceData() throws Exception JavaDoc ;
31     public void exportServiceData(String JavaDoc serviceName) throws Exception JavaDoc ;
32     
33     public void importServiceData() throws Exception JavaDoc ;
34     public void importServiceData(String JavaDoc serviceName) throws Exception JavaDoc ;
35     
36     public ExportLogger getExportLogger() ;
37     public ImportLogger getImportLogger() ;
38 }
Popular Tags