public CFSecuritySecFormBuff firstSecFormCursor(CFSecurityCursor Cursor) {
   int targetRowIdx = 1;
   CFSecuritySecFormBuff buff = null;
   Cursor.reset();
   while (Cursor.getRowIdx() < targetRowIdx) {
     buff = nextSecFormCursor(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 CFSecuritySecFormBuff nthSecFormCursor(CFSecurityCursor Cursor, int Idx) {
   int targetRowIdx = Idx;
   CFSecuritySecFormBuff buff = null;
   if (Cursor.getRowIdx() >= targetRowIdx) {
     Cursor.reset();
   }
   while (Cursor.getRowIdx() < targetRowIdx) {
     buff = nextSecFormCursor(Cursor);
   }
   return (buff);
 }
 public CFSecuritySecFormBuff prevSecFormCursor(CFSecurityCursor Cursor) {
   int targetRowIdx = (Cursor.getRowIdx() > 1) ? Cursor.getRowIdx() - 1 : 1;
   CFSecuritySecFormBuff buff = null;
   if (Cursor.getRowIdx() >= targetRowIdx) {
     Cursor.reset();
   }
   while (Cursor.getRowIdx() < targetRowIdx) {
     buff = nextSecFormCursor(Cursor);
   }
   return (buff);
 }
 public void closeSecFormCursor(CFSecurityCursor Cursor) {
   try {
     Cursor.getResultSet().close();
   } catch (SQLException e) {
     throw CFLib.getDefaultExceptionFactory().newDbException(getClass(), "closeSecFormCursor", 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);
   }
 }