protected void checkForPendingTasks(Collection<URI> tenants,Collection<? extends DataObject> dataObjects){
  for (  URI tenant : tenants) {
    checkForPendingTasks(tenant,dataObjects);
  }
}

protected void checkForPendingTasks ( Collection < URI > tenants , Collection < ? extends DataObject > dataObjects ) { for ( URI tenant : tenants ) { checkForPendingTasks ( tenant , dataObjects ) ; } }
given a list of tenants and dataobject references , check if any of the dataobjects have pending tasks against them . if so , generate an error that this cannot be deleted .
