public CFBamAccessFrequencyBuff firstAccessFrequencyCursor(CFSecurityCursor Cursor) { int targetRowIdx = 1; CFBamAccessFrequencyBuff buff = null; Cursor.reset(); while (Cursor.getRowIdx() < targetRowIdx) { buff = nextAccessFrequencyCursor(Cursor); } return (buff); }
public CFSecuritySecSessionBuff firstSecSessionCursor(CFSecurityCursor Cursor) { int targetRowIdx = 1; CFSecuritySecSessionBuff rec = null; Cursor.reset(); while (Cursor.getRowIdx() < targetRowIdx) { rec = nextSecSessionCursor(Cursor); } return (rec); }
public CFSecurityISOCountryCurrencyBuff firstISOCountryCurrencyCursor(CFSecurityCursor Cursor) { int targetRowIdx = 1; CFSecurityISOCountryCurrencyBuff buff = null; Cursor.reset(); while (Cursor.getRowIdx() < targetRowIdx) { buff = nextISOCountryCurrencyCursor(Cursor); } return (buff); }
public CFInternetURLProtocolBuff firstURLProtocolCursor(CFSecurityCursor Cursor) { int targetRowIdx = 1; CFInternetURLProtocolBuff buff = null; Cursor.reset(); while (Cursor.getRowIdx() < targetRowIdx) { buff = nextURLProtocolCursor(Cursor); } return (buff); }
public CFSecuritySecAppBuff firstSecAppCursor(CFSecurityCursor Cursor) { int targetRowIdx = 1; CFSecuritySecAppBuff buff = null; Cursor.reset(); while (Cursor.getRowIdx() < targetRowIdx) { buff = nextSecAppCursor(Cursor); } return (buff); }
public CFSecuritySecSessionBuff prevSecSessionCursor(CFSecurityCursor Cursor) { int targetRowIdx = (Cursor.getRowIdx() > 1) ? Cursor.getRowIdx() - 1 : 1; CFSecuritySecSessionBuff rec = null; if (Cursor.getRowIdx() >= targetRowIdx) { Cursor.reset(); } while (Cursor.getRowIdx() < targetRowIdx) { rec = nextSecSessionCursor(Cursor); } return (rec); }
public CFSecuritySecAppBuff nthSecAppCursor(CFSecurityCursor Cursor, int Idx) { int targetRowIdx = Idx; CFSecuritySecAppBuff buff = null; if (Cursor.getRowIdx() >= targetRowIdx) { Cursor.reset(); } while (Cursor.getRowIdx() < targetRowIdx) { buff = nextSecAppCursor(Cursor); } return (buff); }
public CFSecuritySecAppBuff prevSecAppCursor(CFSecurityCursor Cursor) { int targetRowIdx = (Cursor.getRowIdx() > 1) ? Cursor.getRowIdx() - 1 : 1; CFSecuritySecAppBuff buff = null; if (Cursor.getRowIdx() >= targetRowIdx) { Cursor.reset(); } while (Cursor.getRowIdx() < targetRowIdx) { buff = nextSecAppCursor(Cursor); } return (buff); }
public CFSecurityISOTimezoneBuff nthISOTimezoneCursor(CFSecurityCursor Cursor, int Idx) { int targetRowIdx = Idx; CFSecurityISOTimezoneBuff buff = null; if (Cursor.getRowIdx() >= targetRowIdx) { Cursor.reset(); } while (Cursor.getRowIdx() < targetRowIdx) { buff = nextISOTimezoneCursor(Cursor); } return (buff); }
public CFInternetURLProtocolBuff prevURLProtocolCursor(CFSecurityCursor Cursor) { int targetRowIdx = (Cursor.getRowIdx() > 1) ? Cursor.getRowIdx() - 1 : 1; CFInternetURLProtocolBuff buff = null; if (Cursor.getRowIdx() >= targetRowIdx) { Cursor.reset(); } while (Cursor.getRowIdx() < targetRowIdx) { buff = nextURLProtocolCursor(Cursor); } return (buff); }
public CFInternetURLProtocolBuff nthURLProtocolCursor(CFSecurityCursor Cursor, int Idx) { int targetRowIdx = Idx; CFInternetURLProtocolBuff buff = null; if (Cursor.getRowIdx() >= targetRowIdx) { Cursor.reset(); } while (Cursor.getRowIdx() < targetRowIdx) { buff = nextURLProtocolCursor(Cursor); } return (buff); }
public CFBamAccessFrequencyBuff nthAccessFrequencyCursor(CFSecurityCursor Cursor, int Idx) { int targetRowIdx = Idx; CFBamAccessFrequencyBuff buff = null; if (Cursor.getRowIdx() >= targetRowIdx) { Cursor.reset(); } while (Cursor.getRowIdx() < targetRowIdx) { buff = nextAccessFrequencyCursor(Cursor); } return (buff); }
public CFSecuritySecSessionBuff nthSecSessionCursor(CFSecurityCursor Cursor, int Idx) { int targetRowIdx = Idx; CFSecuritySecSessionBuff rec = null; if (Cursor.getRowIdx() >= targetRowIdx) { Cursor.reset(); } while (Cursor.getRowIdx() < targetRowIdx) { rec = nextSecSessionCursor(Cursor); } return (rec); }
public CFBamAccessFrequencyBuff prevAccessFrequencyCursor(CFSecurityCursor Cursor) { int targetRowIdx = (Cursor.getRowIdx() > 1) ? Cursor.getRowIdx() - 1 : 1; CFBamAccessFrequencyBuff buff = null; if (Cursor.getRowIdx() >= targetRowIdx) { Cursor.reset(); } while (Cursor.getRowIdx() < targetRowIdx) { buff = nextAccessFrequencyCursor(Cursor); } return (buff); }
public CFSecurityISOCountryCurrencyBuff prevISOCountryCurrencyCursor(CFSecurityCursor Cursor) { int targetRowIdx = (Cursor.getRowIdx() > 1) ? Cursor.getRowIdx() - 1 : 1; CFSecurityISOCountryCurrencyBuff buff = null; if (Cursor.getRowIdx() >= targetRowIdx) { Cursor.reset(); } while (Cursor.getRowIdx() < targetRowIdx) { buff = nextISOCountryCurrencyCursor(Cursor); } return (buff); }
public void closeSecAppCursor(CFSecurityCursor Cursor) { try { Cursor.getResultSet().close(); } catch (SQLException e) { throw CFLib.getDefaultExceptionFactory().newDbException(getClass(), "closeSecAppCursor", e); } }
public CFSecurityISOCountryCurrencyBuff nextISOCountryCurrencyCursor(CFSecurityCursor Cursor) { final String S_ProcName = "nextISOCountryCurrencyCursor"; try { ResultSet resultSet = Cursor.getResultSet(); if (!resultSet.next()) { throw CFLib.getDefaultExceptionFactory() .newRuntimeException(getClass(), S_ProcName, "No more results available"); } CFSecurityISOCountryCurrencyBuff buff = unpackISOCountryCurrencyResultSetToBuff(resultSet); return (buff); } catch (SQLException e) { throw CFLib.getDefaultExceptionFactory().newDbException(getClass(), S_ProcName, e); } }
public void reset() { super.reset(); cursor = values.iterator(); }