public CFSecurityTSecGroupMemberBuff lockBuff( CFSecurityAuthorization Authorization, CFSecurityTSecGroupMemberPKey PKey) { final String S_ProcName = "lockBuff"; CFSecurityTSecGroupMemberBuff buff = readDerived(Authorization, PKey); if ((buff != null) && (!buff.getClassCode().equals("TGMB"))) { buff = null; } return (buff); }
public CFSecurityTSecGroupMemberBuff readBuffByUUserIdx( CFSecurityAuthorization Authorization, long TenantId, int TSecGroupId, UUID SecUserId) { final String S_ProcName = "CFSecurityRamTSecGroupMember.readBuffByUUserIdx() "; CFSecurityTSecGroupMemberBuff buff = readDerivedByUUserIdx(Authorization, TenantId, TSecGroupId, SecUserId); if ((buff != null) && buff.getClassCode().equals("TGMB")) { return ((CFSecurityTSecGroupMemberBuff) buff); } else { return (null); } }
public CFSecurityTSecGroupMemberBuff[] readAllBuff(CFSecurityAuthorization Authorization) { final String S_ProcName = "CFSecurityRamTSecGroupMember.readAllBuff"; CFSecurityTSecGroupMemberBuff buff; ArrayList<CFSecurityTSecGroupMemberBuff> filteredList = new ArrayList<CFSecurityTSecGroupMemberBuff>(); CFSecurityTSecGroupMemberBuff[] buffList = readAllDerived(Authorization); for (int idx = 0; idx < buffList.length; idx++) { buff = buffList[idx]; if ((buff != null) && buff.getClassCode().equals("TGMB")) { filteredList.add(buff); } } return (filteredList.toArray(new CFSecurityTSecGroupMemberBuff[0])); }
public CFSecurityTSecGroupMemberBuff[] readBuffByGroupIdx( CFSecurityAuthorization Authorization, long TenantId, int TSecGroupId) { final String S_ProcName = "CFSecurityRamTSecGroupMember.readBuffByGroupIdx() "; CFSecurityTSecGroupMemberBuff buff; ArrayList<CFSecurityTSecGroupMemberBuff> filteredList = new ArrayList<CFSecurityTSecGroupMemberBuff>(); CFSecurityTSecGroupMemberBuff[] buffList = readDerivedByGroupIdx(Authorization, TenantId, TSecGroupId); for (int idx = 0; idx < buffList.length; idx++) { buff = buffList[idx]; if ((buff != null) && buff.getClassCode().equals("TGMB")) { filteredList.add((CFSecurityTSecGroupMemberBuff) buff); } } return (filteredList.toArray(new CFSecurityTSecGroupMemberBuff[0])); }