public CFSecurityHostNodeBuff lockBuff(
     CFSecurityAuthorization Authorization, CFSecurityHostNodePKey PKey) {
   final String S_ProcName = "lockBuff";
   CFSecurityHostNodeBuff buff = readDerived(Authorization, PKey);
   if ((buff != null) && (!buff.getClassCode().equals("HSND"))) {
     buff = null;
   }
   return (buff);
 }
 public CFSecurityHostNodeBuff readBuffByHostNameIdx(
     CFSecurityAuthorization Authorization, long ClusterId, String HostName) {
   final String S_ProcName = "CFAccRamHostNode.readBuffByHostNameIdx() ";
   CFSecurityHostNodeBuff buff = readDerivedByHostNameIdx(Authorization, ClusterId, HostName);
   if ((buff != null) && buff.getClassCode().equals("HSND")) {
     return ((CFSecurityHostNodeBuff) buff);
   } else {
     return (null);
   }
 }
 public CFSecurityHostNodeBuff[] readAllBuff(CFSecurityAuthorization Authorization) {
   final String S_ProcName = "CFAccRamHostNode.readAllBuff";
   CFSecurityHostNodeBuff buff;
   ArrayList<CFSecurityHostNodeBuff> filteredList = new ArrayList<CFSecurityHostNodeBuff>();
   CFSecurityHostNodeBuff[] buffList = readAllDerived(Authorization);
   for (int idx = 0; idx < buffList.length; idx++) {
     buff = buffList[idx];
     if ((buff != null) && buff.getClassCode().equals("HSND")) {
       filteredList.add(buff);
     }
   }
   return (filteredList.toArray(new CFSecurityHostNodeBuff[0]));
 }
 public CFSecurityHostNodeBuff[] readBuffByClusterIdx(
     CFSecurityAuthorization Authorization, long ClusterId) {
   final String S_ProcName = "CFBamRamHostNode.readBuffByClusterIdx() ";
   CFSecurityHostNodeBuff buff;
   ArrayList<CFSecurityHostNodeBuff> filteredList = new ArrayList<CFSecurityHostNodeBuff>();
   CFSecurityHostNodeBuff[] buffList = readDerivedByClusterIdx(Authorization, ClusterId);
   for (int idx = 0; idx < buffList.length; idx++) {
     buff = buffList[idx];
     if ((buff != null) && buff.getClassCode().equals("HSND")) {
       filteredList.add((CFSecurityHostNodeBuff) buff);
     }
   }
   return (filteredList.toArray(new CFSecurityHostNodeBuff[0]));
 }