Interface ImexCentralPublicationRegister

  • All Known Implementing Classes:
    ImexCentralPublicationRegisterImpl

    public interface ImexCentralPublicationRegister
    Interface for registering a publication in IMEx central and collect a publication record in IMEx central
    Since:
    29/03/12
    Version:
    $Id$
    Author:
    Marine Dumousseau (marine@ebi.ac.uk)
    • Method Detail

      • getExistingPublicationInImexCentral

        Publication getExistingPublicationInImexCentral​(String publicationId,
                                                        String source)
                                                 throws BridgeFailedException
        Retrieve an existing record in IMEx central matching the publication identifier (pubmed, doi, jint or imex). Returns null if we cannot find a record in IMEx central for this publication identifier.
        Parameters:
        publicationId - a String object.
        source - a String object.
        Returns:
        a Publication object.
        Throws:
        BridgeFailedException - if it is not possible to retrieve any publications with this identifier
      • registerPublicationInImexCentral

        Publication registerPublicationInImexCentral​(Publication publication)
                                              throws BridgeFailedException
        Register a publication in IMEx central which is not existing in IMEx central. Can only register publications having valid pubmed id imex ids or doi numbers.
        Parameters:
        publication - a Publication object.
        Returns:
        the record in IMEx central which have been created, Null if it could not create a record in IMEx central
        Throws:
        BridgeFailedException - if it is not possible to create a new record for this publication (may already exists, publication identifier not recognized, etc.)