Search in sources :

Example 11 with Publication

use of uk.ac.ebi.spot.goci.model.Publication in project goci by EBISPOT.

the class PublicationService method deepFindPublicationbyId.

@Transactional(readOnly = true)
public Publication deepFindPublicationbyId(Long publicationId) {
    Publication publication = publicationRepository.findOne(publicationId);
    this.loadAssociatedData(publication);
    return publication;
}
Also used : Publication(uk.ac.ebi.spot.goci.model.Publication) Transactional(org.springframework.transaction.annotation.Transactional)

Aggregations

Publication (uk.ac.ebi.spot.goci.model.Publication)11 SimpleDateFormat (java.text.SimpleDateFormat)4 ParseException (java.text.ParseException)3 Date (java.util.Date)3 NoStudyDirectoryException (uk.ac.ebi.spot.goci.curation.exception.NoStudyDirectoryException)3 PubmedLookupException (uk.ac.ebi.spot.goci.service.exception.PubmedLookupException)3 DateFormat (java.text.DateFormat)2 Association (uk.ac.ebi.spot.goci.model.Association)2 JsonNode (com.fasterxml.jackson.databind.JsonNode)1 Date (java.sql.Date)1 Calendar (java.util.Calendar)1 Transactional (javax.transaction.Transactional)1 Test (org.junit.Test)1 Transactional (org.springframework.transaction.annotation.Transactional)1 Ancestry (uk.ac.ebi.spot.goci.model.Ancestry)1 Author (uk.ac.ebi.spot.goci.model.Author)1 SingleNucleotidePolymorphism (uk.ac.ebi.spot.goci.model.SingleNucleotidePolymorphism)1 Study (uk.ac.ebi.spot.goci.model.Study)1 StudyNote (uk.ac.ebi.spot.goci.model.StudyNote)1 Filter (uk.ac.ebi.spot.goci.pussycat.lang.Filter)1