public void deleteDelSubDep3ByDefSchemaIdx( CFBamAuthorization Authorization, Long argDefSchemaTenantId, Long argDefSchemaId) { CFBamDelDepByDefSchemaIdxKey key = schema.getFactoryDelDep().newDefSchemaIdxKey(); key.setOptionalDefSchemaTenantId(argDefSchemaTenantId); key.setOptionalDefSchemaId(argDefSchemaId); deleteDelSubDep3ByDefSchemaIdx(Authorization, key); }
public void deleteDelSubDep3ByDefSchemaIdx( CFBamAuthorization Authorization, CFBamDelDepByDefSchemaIdxKey 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); } }