public CFSecuritySecGroupBuff firstSecGroupCursor(CFSecurityCursor Cursor) { int targetRowIdx = 1; CFSecuritySecGroupBuff buff = null; Cursor.reset(); while (Cursor.getRowIdx() < targetRowIdx) { buff = nextSecGroupCursor(Cursor); } return (buff); }
public CFSecurityISOCountryBuff firstISOCountryCursor(CFSecurityCursor Cursor) { int targetRowIdx = 1; CFSecurityISOCountryBuff buff = null; Cursor.reset(); while (Cursor.getRowIdx() < targetRowIdx) { buff = nextISOCountryCursor(Cursor); } return (buff); }
public CFSecurityHostNodeBuff firstHostNodeCursor(CFSecurityCursor Cursor) { int targetRowIdx = 1; CFSecurityHostNodeBuff rec = null; Cursor.reset(); while (Cursor.getRowIdx() < targetRowIdx) { rec = nextHostNodeCursor(Cursor); } return (rec); }
public CFCrmContactTagBuff firstContactTagCursor(CFSecurityCursor Cursor) { int targetRowIdx = 1; CFCrmContactTagBuff buff = null; Cursor.reset(); while (Cursor.getRowIdx() < targetRowIdx) { buff = nextContactTagCursor(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 CFSecuritySecGroupBuff prevSecGroupCursor(CFSecurityCursor Cursor) { int targetRowIdx = (Cursor.getRowIdx() > 1) ? Cursor.getRowIdx() - 1 : 1; CFSecuritySecGroupBuff buff = null; if (Cursor.getRowIdx() >= targetRowIdx) { Cursor.reset(); } while (Cursor.getRowIdx() < targetRowIdx) { buff = nextSecGroupCursor(Cursor); } return (buff); }
public CFSecurityHostNodeBuff prevHostNodeCursor(CFSecurityCursor Cursor) { int targetRowIdx = (Cursor.getRowIdx() > 1) ? Cursor.getRowIdx() - 1 : 1; CFSecurityHostNodeBuff rec = null; if (Cursor.getRowIdx() >= targetRowIdx) { Cursor.reset(); } while (Cursor.getRowIdx() < targetRowIdx) { rec = nextHostNodeCursor(Cursor); } return (rec); }
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 CFCrmContactTagBuff nthContactTagCursor(CFSecurityCursor Cursor, int Idx) { int targetRowIdx = Idx; CFCrmContactTagBuff buff = null; if (Cursor.getRowIdx() >= targetRowIdx) { Cursor.reset(); } while (Cursor.getRowIdx() < targetRowIdx) { buff = nextContactTagCursor(Cursor); } return (buff); }
public CFSecuritySecGroupBuff nthSecGroupCursor(CFSecurityCursor Cursor, int Idx) { int targetRowIdx = Idx; CFSecuritySecGroupBuff buff = null; if (Cursor.getRowIdx() >= targetRowIdx) { Cursor.reset(); } while (Cursor.getRowIdx() < targetRowIdx) { buff = nextSecGroupCursor(Cursor); } return (buff); }
public CFSecurityHostNodeBuff nthHostNodeCursor(CFSecurityCursor Cursor, int Idx) { int targetRowIdx = Idx; CFSecurityHostNodeBuff rec = null; if (Cursor.getRowIdx() >= targetRowIdx) { Cursor.reset(); } while (Cursor.getRowIdx() < targetRowIdx) { rec = nextHostNodeCursor(Cursor); } return (rec); }
public CFSecurityISOCountryBuff nthISOCountryCursor(CFSecurityCursor Cursor, int Idx) { int targetRowIdx = Idx; CFSecurityISOCountryBuff buff = null; if (Cursor.getRowIdx() >= targetRowIdx) { Cursor.reset(); } while (Cursor.getRowIdx() < targetRowIdx) { buff = nextISOCountryCursor(Cursor); } return (buff); }
public CFCrmContactTagBuff prevContactTagCursor(CFSecurityCursor Cursor) { int targetRowIdx = (Cursor.getRowIdx() > 1) ? Cursor.getRowIdx() - 1 : 1; CFCrmContactTagBuff buff = null; if (Cursor.getRowIdx() >= targetRowIdx) { Cursor.reset(); } while (Cursor.getRowIdx() < targetRowIdx) { buff = nextContactTagCursor(Cursor); } return (buff); }
public CFSecurityISOCountryBuff prevISOCountryCursor(CFSecurityCursor Cursor) { int targetRowIdx = (Cursor.getRowIdx() > 1) ? Cursor.getRowIdx() - 1 : 1; CFSecurityISOCountryBuff buff = null; if (Cursor.getRowIdx() >= targetRowIdx) { Cursor.reset(); } while (Cursor.getRowIdx() < targetRowIdx) { buff = nextISOCountryCursor(Cursor); } return (buff); }
public void closeSecGroupCursor(CFSecurityCursor Cursor) { try { Cursor.getResultSet().close(); } catch (SQLException e) { throw CFLib.getDefaultExceptionFactory().newDbException(getClass(), "closeSecGroupCursor", e); } }
public CFSecurityISOCountryBuff nextISOCountryCursor(CFSecurityCursor Cursor) { final String S_ProcName = "nextISOCountryCursor"; try { ResultSet resultSet = Cursor.getResultSet(); if (!resultSet.next()) { throw CFLib.getDefaultExceptionFactory() .newRuntimeException(getClass(), S_ProcName, "No more results available"); } CFSecurityISOCountryBuff buff = unpackISOCountryResultSetToBuff(resultSet); return (buff); } catch (SQLException e) { throw CFLib.getDefaultExceptionFactory().newDbException(getClass(), S_ProcName, e); } }