Class MendeleyDataDepositor

  • All Implemented Interfaces:
    Depositor

    @Component
    public class MendeleyDataDepositor
    extends java.lang.Object
    implements Depositor
    A Depositor to deposit a zipped BagIt-RO serialization of a Research Object into Mendeley Data through the datasets API.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.net.URI deposit​(ResearchObject researchObject, java.util.Map<java.lang.String,​java.lang.String> params)
      Deposit the RO into the repo.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • MendeleyDataDepositor

        public MendeleyDataDepositor()
    • Method Detail

      • deposit

        public java.net.URI deposit​(ResearchObject researchObject,
                                    java.util.Map<java.lang.String,​java.lang.String> params)
                             throws DepositionException
        Description copied from interface: Depositor
        Deposit the RO into the repo.
        Specified by:
        deposit in interface Depositor
        Parameters:
        researchObject - the RO to deposit.
        params - optional parameters to pass through to the depositor.
        Returns:
        The URI of the deposited RO within the repository.
        Throws:
        DepositionException