Package psidev.psi.mi.jami.imex.actions
Interface PublicationStatusSynchronizer
-
- All Known Implementing Classes:
PublicationStatusSynchronizerImpl
public interface PublicationStatusSynchronizer
interface for synchronizing publication status with IMEx central- Since:
29/03/12
- Version:
- $Id$
- Author:
- Marine Dumousseau (marine@ebi.ac.uk)
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
discardPublicationInImexCentral(Publication publication, ImexPublication imexPublication)
Synchronize publication status with IMEx central and update the IMEx central record if necessary.ImexCentralClient
getImexCentralClient()
getImexCentralClient.PublicationStatus
getPublicationStatus(Publication publication)
getPublicationStatus.void
synchronizePublicationStatusWithImexCentral(Publication intactPublication, ImexPublication imexPublication)
Synchronize publication status with IMEx central and update the IMEx central record if necessary.
-
-
-
Method Detail
-
synchronizePublicationStatusWithImexCentral
void synchronizePublicationStatusWithImexCentral(Publication intactPublication, ImexPublication imexPublication) throws BridgeFailedException
Synchronize publication status with IMEx central and update the IMEx central record if necessary.- Parameters:
intactPublication
- aPublication
object.imexPublication
- aImexPublication
object.- Throws:
BridgeFailedException
- if any.
-
getPublicationStatus
PublicationStatus getPublicationStatus(Publication publication)
getPublicationStatus.
- Parameters:
publication
- aPublication
object.- Returns:
- the imex central publication status that is matching the status of the publication
-
getImexCentralClient
ImexCentralClient getImexCentralClient()
getImexCentralClient.
- Returns:
- a
ImexCentralClient
object.
-
discardPublicationInImexCentral
void discardPublicationInImexCentral(Publication publication, ImexPublication imexPublication) throws BridgeFailedException
Synchronize publication status with IMEx central and update the IMEx central record if necessary.- Parameters:
publication
- aPublication
object.imexPublication
- aImexPublication
object.- Throws:
BridgeFailedException
- is status not recognized or no records could be found or IMEx central is not responding
-
-