public CFAccFeeBuff lockBuff(CFSecurityAuthorization Authorization, CFAccFeePKey PKey) { final String S_ProcName = "lockBuff"; CFAccFeeBuff buff = readDerived(Authorization, PKey); if ((buff != null) && (!buff.getClassCode().equals("FEE"))) { buff = null; } return (buff); }
public CFAccFeeBuff readBuffByIdIdx( CFSecurityAuthorization Authorization, long TenantId, long FeeId) { final String S_ProcName = "CFAccRamFee.readBuffByIdIdx() "; CFAccFeeBuff buff = readDerivedByIdIdx(Authorization, TenantId, FeeId); if ((buff != null) && buff.getClassCode().equals("FEE")) { return ((CFAccFeeBuff) buff); } else { return (null); } }
public CFAccFeeBuff[] readBuffByTenantIdx(CFSecurityAuthorization Authorization, long TenantId) { final String S_ProcName = "CFAccRamFee.readBuffByTenantIdx() "; CFAccFeeBuff buff; ArrayList<CFAccFeeBuff> filteredList = new ArrayList<CFAccFeeBuff>(); CFAccFeeBuff[] buffList = readDerivedByTenantIdx(Authorization, TenantId); for (int idx = 0; idx < buffList.length; idx++) { buff = buffList[idx]; if ((buff != null) && buff.getClassCode().equals("FEE")) { filteredList.add((CFAccFeeBuff) buff); } } return (filteredList.toArray(new CFAccFeeBuff[0])); }