public CFSecurityTSecGroupBuff firstTSecGroupCursor(CFSecurityCursor Cursor) { int targetRowIdx = 1; CFSecurityTSecGroupBuff buff = null; Cursor.reset(); while (Cursor.getRowIdx() < targetRowIdx) { buff = nextTSecGroupCursor(Cursor); } return (buff); }
public CFSecurityAuditActionBuff firstAuditActionCursor(CFSecurityCursor Cursor) { int targetRowIdx = 1; CFSecurityAuditActionBuff buff = null; Cursor.reset(); while (Cursor.getRowIdx() < targetRowIdx) { buff = nextAuditActionCursor(Cursor); } return (buff); }
public CFSecurityAuditActionBuff nthAuditActionCursor(CFSecurityCursor Cursor, int Idx) { int targetRowIdx = Idx; CFSecurityAuditActionBuff buff = null; if (Cursor.getRowIdx() >= targetRowIdx) { Cursor.reset(); } while (Cursor.getRowIdx() < targetRowIdx) { buff = nextAuditActionCursor(Cursor); } return (buff); }
public CFSecurityAuditActionBuff prevAuditActionCursor(CFSecurityCursor Cursor) { int targetRowIdx = (Cursor.getRowIdx() > 1) ? Cursor.getRowIdx() - 1 : 1; CFSecurityAuditActionBuff buff = null; if (Cursor.getRowIdx() >= targetRowIdx) { Cursor.reset(); } while (Cursor.getRowIdx() < targetRowIdx) { buff = nextAuditActionCursor(Cursor); } return (buff); }
public CFSecurityTSecGroupBuff nthTSecGroupCursor(CFSecurityCursor Cursor, int Idx) { int targetRowIdx = Idx; CFSecurityTSecGroupBuff buff = null; if (Cursor.getRowIdx() >= targetRowIdx) { Cursor.reset(); } while (Cursor.getRowIdx() < targetRowIdx) { buff = nextTSecGroupCursor(Cursor); } return (buff); }
public CFSecurityTSecGroupBuff prevTSecGroupCursor(CFSecurityCursor Cursor) { int targetRowIdx = (Cursor.getRowIdx() > 1) ? Cursor.getRowIdx() - 1 : 1; CFSecurityTSecGroupBuff buff = null; if (Cursor.getRowIdx() >= targetRowIdx) { Cursor.reset(); } while (Cursor.getRowIdx() < targetRowIdx) { buff = nextTSecGroupCursor(Cursor); } return (buff); }
public void closeAuditActionCursor(CFSecurityCursor Cursor) { try { Cursor.getResultSet().close(); } catch (SQLException e) { throw CFLib.getDefaultExceptionFactory() .newDbException(getClass(), "closeAuditActionCursor", e); } }
public CFSecurityAuditActionBuff nextAuditActionCursor(CFSecurityCursor Cursor) { final String S_ProcName = "nextAuditActionCursor"; try { ResultSet resultSet = Cursor.getResultSet(); if (!resultSet.next()) { throw CFLib.getDefaultExceptionFactory() .newRuntimeException(getClass(), S_ProcName, "No more results available"); } CFSecurityAuditActionBuff buff = unpackAuditActionResultSetToBuff(resultSet); return (buff); } catch (SQLException e) { throw CFLib.getDefaultExceptionFactory().newDbException(getClass(), S_ProcName, e); } }