1 32 33 package com.nqadmin.swingSet.datasources; 34 35 import java.io.Serializable ; 36 import javax.sql.RowSetListener ; 37 import java.sql.SQLException ; 38 import java.sql.Date ; 39 40 51 public interface SSRowSet extends Serializable { 52 53 61 public boolean getBoolean(int columnIndex) throws SQLException ; 62 63 71 public int getInt(int columnIndex) throws SQLException ; 72 73 81 public long getLong(int columnIndex) throws SQLException ; 82 83 91 public float getFloat(int columnIndex) throws SQLException ; 92 93 101 public double getDouble(int columnIndex) throws SQLException ; 102 103 111 public String getString(int columnIndex) throws SQLException ; 112 113 121 public Date getDate(int columnIndex) throws SQLException ; 122 123 131 public byte[] getBytes(int columnIndex) throws SQLException ; 132 133 142 public void updateBoolean(int columnIndex, boolean x) throws SQLException ; 143 144 153 public void updateInt(int columnIndex, int x) throws SQLException ; 154 155 164 public void updateLong(int columnIndex, long x) throws SQLException ; 165 166 175 public void updateFloat(int columnIndex, float x) throws SQLException ; 176 177 186 public void updateDouble(int columnIndex, double x) throws SQLException ; 187 188 197 public void updateString(int columnIndex, String x) throws SQLException ; 198 199 208 public void updateDate(int columnIndex, Date x) throws SQLException ; 209 210 218 public void updateNull(int columnIndex) throws SQLException ; 219 220 229 public void updateBytes(int columnIndex, byte[] x) throws SQLException ; 230 231 239 public boolean getBoolean(String columnName) throws SQLException ; 240 241 249 public int getInt(String columnName) throws SQLException ; 250 251 259 public long getLong(String columnName) throws SQLException ; 260 261 269 public float getFloat(String columnName) throws SQLException ; 270 271 279 public double getDouble(String columnName) throws SQLException ; 280 281 289 public String getString(String columnName) throws SQLException ; 290 291 299 public Date getDate(String columnName) throws SQLException ; 300 301 309 public byte[] getBytes(String columnName) throws SQLException ; 310 311 320 public void updateBoolean(String columnName, boolean x) throws SQLException ; 321 322 331 public void updateInt(String columnName, int x) throws SQLException ; 332 333 342 public void updateLong(String columnName, long x) throws SQLException ; 343 344 353 public void updateFloat(String columnName, float x) throws SQLException ; 354 355 364 public void updateDouble(String columnName, double x) throws SQLException ; 365 366 375 public void updateString(String columnName, String x) throws SQLException ; 376 377 386 public void updateDate(String columnName, Date x) throws SQLException ; 387 388 397 public void updateBytes(String columnName, byte[] x) throws SQLException ; 398 399 407 public void updateNull(String columnName) throws SQLException ; 408 409 422 public void addRowSetListener(RowSetListener listener); 423 424 430 public void removeRowSetListener(RowSetListener listener); 431 432 439 public String getColumnName(int columnIndex) throws SQLException ; 440 441 442 448 public int getColumnIndex(String columnName) throws SQLException ; 449 450 456 public int getColumnType(String columnName) throws SQLException ; 457 458 464 public int getColumnType(int columnIndex) throws SQLException ; 465 466 472 public int getRow() throws SQLException ; 473 474 479 public int getColumnCount() throws SQLException ; 480 481 492 public boolean next() throws SQLException ; 493 494 499 public boolean previous() throws SQLException ; 500 501 507 public boolean last() throws SQLException ; 508 509 515 public boolean first() throws SQLException ; 516 517 522 public boolean isFirst() throws SQLException ; 523 524 532 public boolean isLast() throws SQLException ; 533 534 539 public void beforeFirst() throws SQLException ; 540 541 558 public boolean absolute(int row) throws SQLException ; 559 560 566 public void updateRow() throws SQLException ; 567 568 573 public void moveToCurrentRow() throws SQLException ; 574 575 587 public void moveToInsertRow() throws SQLException ; 588 589 596 public void insertRow() throws SQLException ; 597 598 604 public void deleteRow() throws SQLException ; 605 606 621 public void refreshRow() throws SQLException ; 622 623 624 632 public void cancelRowUpdates() throws SQLException ; 633 634 642 public void execute() throws SQLException ; 643 644 } 645 646 | Popular Tags |