diff src/jdbcpgbackup/DBOFactory.java @ 0:7ecd1a4ef557

add content
author Franklin Schmidt <fschmidt@gmail.com>
date Thu, 21 Mar 2019 19:15:52 -0600
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/src/jdbcpgbackup/DBOFactory.java	Thu Mar 21 19:15:52 2019 -0600
@@ -0,0 +1,14 @@
+/*	Copyright (c) 2012	Tomislav Gountchev <tomi@gountchev.net>	*/
+
+package jdbcpgbackup;
+
+import java.sql.Connection;
+import java.sql.SQLException;
+
+interface DBOFactory<T extends DbBackupObject> {
+
+	Iterable<T> getDbBackupObjects(Connection con, Schema schema) throws SQLException;
+
+	T getDbBackupObject(Connection con, String name, Schema schema) throws SQLException;
+
+}