aTask = (Task)taskIter.next(); thePG = getLogisticsInventoryPG(aTask); if (thePG != null) { thePG.removeWithdrawRequisition(aTask);
parent = (Task)taskIter.next(); pe = parent.getPlanElement(); if ((pe != null) && (pe instanceof Expansion)) { enum = ((Expansion)pe).getWorkflow().getTasks(); while (enum.hasMoreElements()) { aTask = (Task)enum.nextElement(); if (aTask.getVerb().equals(Constants.Verb.WITHDRAW)) { thePG = getLogisticsInventoryPG(aTask); if (thePG != null) { thePG.removeWithdrawRequisition(aTask); } break; } }
  public void handleRemovedRequisitions(Collection tasks) {    LogisticsInventoryPG thePG;    Task aTask;    Iterator taskIter = tasks.iterator();    while (taskIter.hasNext()) {      aTask = (Task)taskIter.next();      thePG = getLogisticsInventoryPG(aTask);      if (thePG != null) {	thePG.removeWithdrawRequisition(aTask);      }    }  }