public CFSecuritySecSessionBuff[] readAllBuff(CFSecurityAuthorization Authorization) { final String S_ProcName = "CFSecurityRamSecSession.readAllBuff"; CFSecuritySecSessionBuff buff; ArrayList<CFSecuritySecSessionBuff> filteredList = new ArrayList<CFSecuritySecSessionBuff>(); CFSecuritySecSessionBuff[] buffList = readAllDerived(Authorization); for (int idx = 0; idx < buffList.length; idx++) { buff = buffList[idx]; if ((buff != null) && buff.getClassCode().equals("SESS")) { filteredList.add(buff); } } return (filteredList.toArray(new CFSecuritySecSessionBuff[0])); }
public CFSecuritySecSessionBuff[] readBuffByFinishIdx( CFSecurityAuthorization Authorization, UUID SecUserId, Calendar Finish) { final String S_ProcName = "CFSecurityRamSecSession.readBuffByFinishIdx() "; CFSecuritySecSessionBuff buff; ArrayList<CFSecuritySecSessionBuff> filteredList = new ArrayList<CFSecuritySecSessionBuff>(); CFSecuritySecSessionBuff[] buffList = readDerivedByFinishIdx(Authorization, SecUserId, Finish); for (int idx = 0; idx < buffList.length; idx++) { buff = buffList[idx]; if ((buff != null) && buff.getClassCode().equals("SESS")) { filteredList.add((CFSecuritySecSessionBuff) buff); } } return (filteredList.toArray(new CFSecuritySecSessionBuff[0])); }