public boolean addEntries(TestEntrySet testEntrySet,User user,long createTime,Errors errors){
  if (user == null) {
    return false;
  }
  if (testEntrySet == null) {
    return false;
  }
  if (!testEntrySet.areValuesValid()) {
    return false;
  }
  for (  final TestEntry testEntry : testEntrySet.getRootEntries()) {
    if (!addEntryHelper(testEntry,user,createTime,null,testEntrySet,errors)) {
      return false;
    }
  }
  return !hasErrors(errors);
}

public boolean addEntries ( TestEntrySet testEntrySet , User user , long createTime , Errors errors ) { if ( user == null ) { return false ; } if ( testEntrySet == null ) { return false ; } if ( ! testEntrySet . areValuesValid ( ) ) { return false ; } for ( final TestEntry testEntry : testEntrySet . getRootEntries ( ) ) { if ( ! addEntryHelper ( testEntry , user , createTime , null , testEntrySet , errors ) ) { return false ; } } return ! hasErrors ( errors ) ; }
adds a set of test entries to the db .
