code: protected void addAll(Collection<CmsResource> resources, boolean check) throws IllegalArgumentException {
  
          // it is essential that this method is only visible within the db package!
          Iterator<CmsResource> i = resources.iterator();
          while (i.hasNext()) {
              add(i.next(), check);
          }
      }
docs: Appends all the given resources to this publish list.<p>
  
  @param resources resources to be added to this publish list
  @param check if set an exception is thrown if the a resource is unchanged,
  if not set the resource is ignored
  
  @throws IllegalArgumentException if one of the resources is unchanged