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 = "CFBamRamHostNode.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 = "CFBamRamHostNode.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])); }