/** * Indicates whether the cursor is before the first row in the result set. */ public Transporter scrollableCursorIsBeforeFirst(Transporter remoteScrollableCursorOid) { Transporter transporter = new Transporter(); try { ScrollableCursor stream = (ScrollableCursor)getRemoteCursors().get(remoteScrollableCursorOid.getObject()); if (stream != null) { transporter.setObject(new Boolean(stream.isBeforeFirst())); } else { transporter.setObject(new Boolean(false)); } } catch (RuntimeException exception) { transporter.setException(exception); } return transporter; }
/** * Indicates whether the cursor is before the first row in the result set. */ public Transporter scrollableCursorIsBeforeFirst(Transporter remoteScrollableCursorOid) { Transporter transporter = new Transporter(); try { ScrollableCursor stream = (ScrollableCursor)getRemoteCursors().get(remoteScrollableCursorOid.getObject()); if (stream != null) { transporter.setObject(Boolean.valueOf(stream.isBeforeFirst())); } else { transporter.setObject(Boolean.FALSE); } } catch (RuntimeException exception) { transporter.setException(exception); } return transporter; }
/** * Indicates whether the cursor is before the first row in the result set. */ public Transporter scrollableCursorIsBeforeFirst(Transporter remoteScrollableCursorOid) { Transporter transporter = new Transporter(); try { ScrollableCursor stream = (ScrollableCursor)getRemoteCursors().get(remoteScrollableCursorOid.getObject()); if (stream != null) { transporter.setObject(Boolean.valueOf(stream.isBeforeFirst())); } else { transporter.setObject(Boolean.FALSE); } } catch (RuntimeException exception) { transporter.setException(exception); } return transporter; }