/** * PUBLIC: * Retrieves the previous row index (against the current row) */ public int previousIndex() throws DatabaseException { return currentIndex() - 1; }
/** * PUBLIC: * Retrieves the next row index (against the current row) */ public int nextIndex() throws DatabaseException { return currentIndex() + 1; }
/** * PUBLIC: * Retrieves the previous row index (against the current row) */ public int previousIndex() throws DatabaseException { return currentIndex() - 1; }
/** * PUBLIC: * Retrieves the next row index (against the current row) */ public int nextIndex() throws DatabaseException { return currentIndex() + 1; }
/** * PUBLIC: * Retrieves the previous row index (against the current row) */ public int previousIndex() throws DatabaseException { return currentIndex() - 1; }
/** * PUBLIC: * Retrieves the next row index (against the current row) */ public int nextIndex() throws DatabaseException { return currentIndex() + 1; }
/** * Retrieves the current row index number */ public Transporter scrollableCursorCurrentIndex(Transporter remoteScrollableCursorOid) { Transporter transporter = new Transporter(); try { ScrollableCursor stream = (ScrollableCursor)getRemoteCursors().get(remoteScrollableCursorOid.getObject()); if (stream != null) { transporter.setObject(Integer.valueOf(stream.currentIndex())); } else { transporter.setObject(Integer.valueOf(0)); } } catch (RuntimeException exception) { transporter.setException(exception); } return transporter; }
/** * Retrieves the current row index number */ public Transporter scrollableCursorCurrentIndex(Transporter remoteScrollableCursorOid) { Transporter transporter = new Transporter(); try { ScrollableCursor stream = (ScrollableCursor)getRemoteCursors().get(remoteScrollableCursorOid.getObject()); if (stream != null) { transporter.setObject(Integer.valueOf(stream.currentIndex())); } else { transporter.setObject(Integer.valueOf(0)); } } catch (RuntimeException exception) { transporter.setException(exception); } return transporter; }
/** * Retrieves the current row index number */ public Transporter scrollableCursorCurrentIndex(Transporter remoteScrollableCursorOid) { Transporter transporter = new Transporter(); try { ScrollableCursor stream = (ScrollableCursor)getRemoteCursors().get(remoteScrollableCursorOid.getObject()); if (stream != null) { transporter.setObject(new Integer(stream.currentIndex())); } else { transporter.setObject(new Integer(0)); } } catch (RuntimeException exception) { transporter.setException(exception); } return transporter; }