1 19 20 package org.netbeans.modules.db.explorer; 21 22 import java.awt.datatransfer.DataFlavor ; 23 import org.netbeans.api.db.explorer.DatabaseConnection; 24 import org.netbeans.api.db.explorer.JDBCDriver; 25 26 33 public interface DbMetaDataTransferProvider { 34 35 38 DataFlavor getConnectionDataFlavor(); 39 40 43 DataFlavor getTableDataFlavor(); 44 45 48 DataFlavor getViewDataFlavor(); 49 50 53 DataFlavor getColumnDataFlavor(); 54 55 58 Object createConnectionData(DatabaseConnection dbconn, JDBCDriver jdbcDriver); 59 60 63 Object createTableData(DatabaseConnection dbconn, JDBCDriver jdbcDriver, String tableName); 64 65 68 Object createViewData(DatabaseConnection dbconn, JDBCDriver jdbcDriver, String viewName); 69 70 73 Object createColumnData(DatabaseConnection dbconn, JDBCDriver jdbcDriver, String tableName, String columnName); 74 } 75 | Popular Tags |