01: /*
02: * Created on May 2, 2003
03: *
04: * Dbmjui is free software; you can redistribute it and/or
05: * modify it under the terms of the GNU General Public License version 2 as
06: * published by the Free Software Foundation.
07: *
08: * Dbmjui is distributed in the hope that it will be useful,
09: * but WITHOUT ANY WARRANTY; without even the implied warranty of
10: * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
11: * General Public License for more details.
12: *
13: * You should have received a copy of the GNU General Public
14: * License along with dbmjui; see the file COPYING. If not,
15: * write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
16: * Boston, MA 02111-1307, USA.
17: *
18: */
19: package fr.aliacom.dbmjui.driver;
20:
21: import java.util.ArrayList;
22:
23: import com.sap.dbtech.powertoys.DBMException;
24: import com.sap.dbtech.rte.comm.RTEException;
25:
26: import fr.aliacom.dbmjui.DbInstance;
27:
28: /**
29: * @author tom
30: *
31: * (c) 2001, 2003 Thomas Cataldo
32: */
33: public interface IBackupHelper {
34:
35: /**
36: * @param dbi
37: * @param backupType a bitmask of the BackupMedium BACKUP_TYPE_XXX constants
38: * @return an list of backup mediums
39: * @throws RTEException
40: * @throws DBMException
41: */
42: public ArrayList getMediumList(DbInstance dbi, int backupType)
43: throws RTEException, DBMException;
44:
45: }
|