public CFSecuritySecFormBuff lockBuff(
     CFSecurityAuthorization Authorization, CFSecuritySecFormPKey PKey) {
   final String S_ProcName = "lockBuff";
   CFSecuritySecFormBuff buff = readDerived(Authorization, PKey);
   if ((buff != null) && (!buff.getClassCode().equals("SFRM"))) {
     buff = null;
   }
   return (buff);
 }
 public CFSecuritySecFormBuff readBuffByIdIdx(
     CFSecurityAuthorization Authorization, long ClusterId, int SecFormId) {
   final String S_ProcName = "CFInternetRamSecForm.readBuffByIdIdx() ";
   CFSecuritySecFormBuff buff = readDerivedByIdIdx(Authorization, ClusterId, SecFormId);
   if ((buff != null) && buff.getClassCode().equals("SFRM")) {
     return ((CFSecuritySecFormBuff) buff);
   } else {
     return (null);
   }
 }
 public CFSecuritySecFormBuff[] readAllBuff(CFSecurityAuthorization Authorization) {
   final String S_ProcName = "CFInternetRamSecForm.readAllBuff";
   CFSecuritySecFormBuff buff;
   ArrayList<CFSecuritySecFormBuff> filteredList = new ArrayList<CFSecuritySecFormBuff>();
   CFSecuritySecFormBuff[] buffList = readAllDerived(Authorization);
   for (int idx = 0; idx < buffList.length; idx++) {
     buff = buffList[idx];
     if ((buff != null) && buff.getClassCode().equals("SFRM")) {
       filteredList.add(buff);
     }
   }
   return (filteredList.toArray(new CFSecuritySecFormBuff[0]));
 }
 public CFSecuritySecFormBuff[] readBuffBySecAppIdx(
     CFSecurityAuthorization Authorization, long ClusterId, int SecAppId) {
   final String S_ProcName = "CFInternetRamSecForm.readBuffBySecAppIdx() ";
   CFSecuritySecFormBuff buff;
   ArrayList<CFSecuritySecFormBuff> filteredList = new ArrayList<CFSecuritySecFormBuff>();
   CFSecuritySecFormBuff[] buffList = readDerivedBySecAppIdx(Authorization, ClusterId, SecAppId);
   for (int idx = 0; idx < buffList.length; idx++) {
     buff = buffList[idx];
     if ((buff != null) && buff.getClassCode().equals("SFRM")) {
       filteredList.add((CFSecuritySecFormBuff) buff);
     }
   }
   return (filteredList.toArray(new CFSecuritySecFormBuff[0]));
 }