Package org.cipres.treebase.domain.study

Examples of org.cipres.treebase.domain.study.Citation.addAuthor()


      if (oldEmail == null || oldEmail.equals("")) {
        theAuthor.setEmailAddressString(a.getsval("email"));
     

      ContextManager.getPersonService().save(theAuthor);
      theCitation.addAuthor(theAuthor);
    }
    ContextManager.getCitationHome().flush();
    ContextManager.getCitationService().save(theCitation);

    // TODO: submission.setSubmitter
View Full Code Here


        out.println("Can't find person " + theAuthor.getFullName() + "; skipping");
        t.rollback();
        return new ValueNone();
      }
      out.println("  Adding author " + oldAuthor.getFullName() + "(" + oldAuthor.getId() + ")");
      cit.addAuthor(oldAuthor);
    }
    t.commit();
    return v;
  }
 
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.