public CFSecuritySecGroupFormBuff lockBuff(
     CFSecurityAuthorization Authorization, CFSecuritySecGroupFormPKey PKey) {
   final String S_ProcName = "lockBuff";
   CFSecuritySecGroupFormBuff buff = readDerived(Authorization, PKey);
   if ((buff != null) && (!buff.getClassCode().equals("SGFM"))) {
     buff = null;
   }
   return (buff);
 }
 public CFSecuritySecGroupFormBuff readBuffByIdIdx(
     CFSecurityAuthorization Authorization, long ClusterId, long SecGroupFormId) {
   final String S_ProcName = "CFInternetRamSecGroupForm.readBuffByIdIdx() ";
   CFSecuritySecGroupFormBuff buff = readDerivedByIdIdx(Authorization, ClusterId, SecGroupFormId);
   if ((buff != null) && buff.getClassCode().equals("SGFM")) {
     return ((CFSecuritySecGroupFormBuff) buff);
   } else {
     return (null);
   }
 }
 public CFSecuritySecGroupFormBuff[] readAllBuff(CFSecurityAuthorization Authorization) {
   final String S_ProcName = "CFInternetRamSecGroupForm.readAllBuff";
   CFSecuritySecGroupFormBuff buff;
   ArrayList<CFSecuritySecGroupFormBuff> filteredList =
       new ArrayList<CFSecuritySecGroupFormBuff>();
   CFSecuritySecGroupFormBuff[] buffList = readAllDerived(Authorization);
   for (int idx = 0; idx < buffList.length; idx++) {
     buff = buffList[idx];
     if ((buff != null) && buff.getClassCode().equals("SGFM")) {
       filteredList.add(buff);
     }
   }
   return (filteredList.toArray(new CFSecuritySecGroupFormBuff[0]));
 }
 public CFSecuritySecGroupFormBuff[] readBuffByAppIdx(
     CFSecurityAuthorization Authorization, long ClusterId, int SecAppId) {
   final String S_ProcName = "CFInternetRamSecGroupForm.readBuffByAppIdx() ";
   CFSecuritySecGroupFormBuff buff;
   ArrayList<CFSecuritySecGroupFormBuff> filteredList =
       new ArrayList<CFSecuritySecGroupFormBuff>();
   CFSecuritySecGroupFormBuff[] buffList = readDerivedByAppIdx(Authorization, ClusterId, SecAppId);
   for (int idx = 0; idx < buffList.length; idx++) {
     buff = buffList[idx];
     if ((buff != null) && buff.getClassCode().equals("SGFM")) {
       filteredList.add((CFSecuritySecGroupFormBuff) buff);
     }
   }
   return (filteredList.toArray(new CFSecuritySecGroupFormBuff[0]));
 }