public void deleteDelSubDep3ByTableIdx( CFBamAuthorization Authorization, long argRelationTenantId, long argRelationId) { CFBamDelDepByTableIdxKey key = schema.getFactoryDelDep().newTableIdxKey(); key.setRequiredRelationTenantId(argRelationTenantId); key.setRequiredRelationId(argRelationId); deleteDelSubDep3ByTableIdx(Authorization, key); }
public void deleteDelSubDep3ByTableIdx( CFBamAuthorization Authorization, CFBamDelDepByTableIdxKey argKey) { CFBamDelSubDep3Buff cur; LinkedList<CFBamDelSubDep3Buff> matchSet = new LinkedList<CFBamDelSubDep3Buff>(); Iterator<CFBamDelSubDep3Buff> values = dictByPKey.values().iterator(); while (values.hasNext()) { cur = values.next(); if (argKey.equals(cur)) { matchSet.add(cur); } } Iterator<CFBamDelSubDep3Buff> iterMatch = matchSet.iterator(); while (iterMatch.hasNext()) { cur = iterMatch.next(); deleteDelSubDep3(Authorization, cur); } }