public CFSecurityTenantBuff firstTenantCursor(CFSecurityCursor Cursor) { int targetRowIdx = 1; CFSecurityTenantBuff buff = null; Cursor.reset(); while (Cursor.getRowIdx() < targetRowIdx) { buff = nextTenantCursor(Cursor); } return (buff); }
public CFSecurityISOLanguageBuff firstISOLanguageCursor(CFSecurityCursor Cursor) { int targetRowIdx = 1; CFSecurityISOLanguageBuff buff = null; Cursor.reset(); while (Cursor.getRowIdx() < targetRowIdx) { buff = nextISOLanguageCursor(Cursor); } return (buff); }
public CFSecuritySysClusterBuff firstSysClusterCursor(CFSecurityCursor Cursor) { int targetRowIdx = 1; CFSecuritySysClusterBuff buff = null; Cursor.reset(); while (Cursor.getRowIdx() < targetRowIdx) { buff = nextSysClusterCursor(Cursor); } return (buff); }
public CFSecuritySecDeviceBuff firstSecDeviceCursor(CFSecurityCursor Cursor) { int targetRowIdx = 1; CFSecuritySecDeviceBuff rec = null; Cursor.reset(); while (Cursor.getRowIdx() < targetRowIdx) { rec = nextSecDeviceCursor(Cursor); } return (rec); }
public CFSecurityTenantBuff nthTenantCursor(CFSecurityCursor Cursor, int Idx) { int targetRowIdx = Idx; CFSecurityTenantBuff buff = null; if (Cursor.getRowIdx() >= targetRowIdx) { Cursor.reset(); } while (Cursor.getRowIdx() < targetRowIdx) { buff = nextTenantCursor(Cursor); } return (buff); }
public CFSecurityTenantBuff prevTenantCursor(CFSecurityCursor Cursor) { int targetRowIdx = (Cursor.getRowIdx() > 1) ? Cursor.getRowIdx() - 1 : 1; CFSecurityTenantBuff buff = null; if (Cursor.getRowIdx() >= targetRowIdx) { Cursor.reset(); } while (Cursor.getRowIdx() < targetRowIdx) { buff = nextTenantCursor(Cursor); } return (buff); }
public CFSecuritySysClusterBuff nthSysClusterCursor(CFSecurityCursor Cursor, int Idx) { int targetRowIdx = Idx; CFSecuritySysClusterBuff buff = null; if (Cursor.getRowIdx() >= targetRowIdx) { Cursor.reset(); } while (Cursor.getRowIdx() < targetRowIdx) { buff = nextSysClusterCursor(Cursor); } return (buff); }
public CFSecurityISOLanguageBuff prevISOLanguageCursor(CFSecurityCursor Cursor) { int targetRowIdx = (Cursor.getRowIdx() > 1) ? Cursor.getRowIdx() - 1 : 1; CFSecurityISOLanguageBuff buff = null; if (Cursor.getRowIdx() >= targetRowIdx) { Cursor.reset(); } while (Cursor.getRowIdx() < targetRowIdx) { buff = nextISOLanguageCursor(Cursor); } return (buff); }
public CFSecurityISOLanguageBuff nthISOLanguageCursor(CFSecurityCursor Cursor, int Idx) { int targetRowIdx = Idx; CFSecurityISOLanguageBuff buff = null; if (Cursor.getRowIdx() >= targetRowIdx) { Cursor.reset(); } while (Cursor.getRowIdx() < targetRowIdx) { buff = nextISOLanguageCursor(Cursor); } return (buff); }
public CFSecuritySecDeviceBuff nthSecDeviceCursor(CFSecurityCursor Cursor, int Idx) { int targetRowIdx = Idx; CFSecuritySecDeviceBuff rec = null; if (Cursor.getRowIdx() >= targetRowIdx) { Cursor.reset(); } while (Cursor.getRowIdx() < targetRowIdx) { rec = nextSecDeviceCursor(Cursor); } return (rec); }
public CFSecuritySecDeviceBuff prevSecDeviceCursor(CFSecurityCursor Cursor) { int targetRowIdx = (Cursor.getRowIdx() > 1) ? Cursor.getRowIdx() - 1 : 1; CFSecuritySecDeviceBuff rec = null; if (Cursor.getRowIdx() >= targetRowIdx) { Cursor.reset(); } while (Cursor.getRowIdx() < targetRowIdx) { rec = nextSecDeviceCursor(Cursor); } return (rec); }
public void closeTenantCursor(CFSecurityCursor Cursor) { try { Cursor.getResultSet().close(); } catch (SQLException e) { throw CFLib.getDefaultExceptionFactory().newDbException(getClass(), "closeTenantCursor", e); } }
public CFSecurityTenantBuff nextTenantCursor(CFSecurityCursor Cursor) { final String S_ProcName = "nextTenantCursor"; try { ResultSet resultSet = Cursor.getResultSet(); if (!resultSet.next()) { throw CFLib.getDefaultExceptionFactory() .newRuntimeException(getClass(), S_ProcName, "No more results available"); } CFSecurityTenantBuff buff = unpackTenantResultSetToBuff(resultSet); return (buff); } catch (SQLException e) { throw CFLib.getDefaultExceptionFactory().newDbException(getClass(), S_ProcName, e); } }