public CFSecuritySecGroupMemberBuff lockBuff(
     CFSecurityAuthorization Authorization, CFSecuritySecGroupMemberPKey PKey) {
   final String S_ProcName = "lockBuff";
   CFSecuritySecGroupMemberBuff buff = readDerived(Authorization, PKey);
   if ((buff != null) && (!buff.getClassCode().equals("SGMB"))) {
     buff = null;
   }
   return (buff);
 }
 public CFSecuritySecGroupMemberBuff readBuffByUUserIdx(
     CFSecurityAuthorization Authorization, long ClusterId, int SecGroupId, UUID SecUserId) {
   final String S_ProcName = "CFFreeSwitchRamSecGroupMember.readBuffByUUserIdx() ";
   CFSecuritySecGroupMemberBuff buff =
       readDerivedByUUserIdx(Authorization, ClusterId, SecGroupId, SecUserId);
   if ((buff != null) && buff.getClassCode().equals("SGMB")) {
     return ((CFSecuritySecGroupMemberBuff) buff);
   } else {
     return (null);
   }
 }
 public CFSecuritySecGroupMemberBuff[] readAllBuff(CFSecurityAuthorization Authorization) {
   final String S_ProcName = "CFFreeSwitchRamSecGroupMember.readAllBuff";
   CFSecuritySecGroupMemberBuff buff;
   ArrayList<CFSecuritySecGroupMemberBuff> filteredList =
       new ArrayList<CFSecuritySecGroupMemberBuff>();
   CFSecuritySecGroupMemberBuff[] buffList = readAllDerived(Authorization);
   for (int idx = 0; idx < buffList.length; idx++) {
     buff = buffList[idx];
     if ((buff != null) && buff.getClassCode().equals("SGMB")) {
       filteredList.add(buff);
     }
   }
   return (filteredList.toArray(new CFSecuritySecGroupMemberBuff[0]));
 }