1 7 8 package javax.sql.rowset; 9 10 import java.sql.*; 11 import javax.sql.*; 12 import javax.naming.*; 13 import java.io.*; 14 import java.math.*; 15 import java.util.*; 16 17 import javax.sql.rowset.spi.*; 18 19 616 617 public interface CachedRowSet extends RowSet, Joinable { 618 619 641 public void populate(ResultSet data) throws SQLException; 642 643 670 public void execute(Connection conn) throws SQLException; 671 672 734 public void acceptChanges() throws SyncProviderException; 735 736 805 public void acceptChanges(Connection con) throws SyncProviderException; 806 807 826 public void restoreOriginal() throws SQLException; 827 828 860 public void release() throws SQLException; 861 862 883 public void undoDelete() throws SQLException; 884 885 908 public void undoInsert() throws SQLException; 909 910 911 929 public void undoUpdate() throws SQLException; 930 931 942 public boolean columnUpdated(int idx) throws SQLException; 943 944 945 957 public boolean columnUpdated(String columnName) throws SQLException; 958 959 997 public Collection<?> toCollection() throws SQLException; 998 999 1026 public Collection<?> toCollection(int column) throws SQLException; 1027 1028 1055 public Collection<?> toCollection(String column) throws SQLException; 1056 1057 1092 public SyncProvider getSyncProvider() throws SQLException; 1093 1094 1119 public void setSyncProvider(String provider) throws SQLException; 1120 1121 1127 public int size(); 1128 1129 1145 public void setMetaData(RowSetMetaData md) throws SQLException; 1146 1147 1174 public ResultSet getOriginal() throws SQLException; 1175 1176 1193 public ResultSet getOriginalRow() throws SQLException; 1194 1195 1209 public void setOriginalRow() throws SQLException; 1210 1211 1224 public String getTableName() throws SQLException; 1225 1226 1246 public void setTableName(String tabName) throws SQLException; 1247 1248 1262 public int[] getKeyColumns() throws SQLException; 1263 1264 1285 public void setKeyColumns(int[] keys) throws SQLException; 1286 1287 1288 1319 public RowSet createShared() throws SQLException; 1320 1321 1343 public CachedRowSet createCopy() throws SQLException; 1344 1345 1369 public CachedRowSet createCopySchema() throws SQLException; 1370 1371 1395 public CachedRowSet createCopyNoConstraints() throws SQLException; 1396 1397 1411 public RowSetWarning getRowSetWarnings() throws SQLException; 1412 1413 1437 public boolean getShowDeleted() throws SQLException; 1438 1439 1459 public void setShowDeleted(boolean b) throws SQLException; 1460 1461 1476 public void commit() throws SQLException; 1477 1478 1489 public void rollback() throws SQLException; 1490 1491 1504 public void rollback(Savepoint s) throws SQLException; 1505 1506 1515 public boolean COMMIT_ON_ACCEPT_CHANGES = true; 1516 1517 1530 public void rowSetPopulated(RowSetEvent event, int numRows) throws SQLException; 1531 1532 1559 public void populate(ResultSet rs, int startRow) throws SQLException; 1560 1561 1572 public void setPageSize(int size) throws SQLException; 1573 1574 1579 public int getPageSize(); 1580 1581 1591 public boolean nextPage() throws SQLException; 1592 1593 1605 public boolean previousPage() throws SQLException; 1606} 1607 1608 | Popular Tags |