Class DepositorService


  • @Service
    public class DepositorService
    extends java.lang.Object
    A service to load the appropriate Depositor bean and perform the deposition action.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.net.URI deposit​(ResearchObject researchObject, java.lang.String depositorBeanName, java.util.Map<java.lang.String,​java.lang.String> params)
      Deposit a Research Object in a remote repository.
      java.net.URI deposit​(ResearchObject researchObject, java.util.Map<java.lang.String,​java.lang.String> params)
      Deposit a Research Object in a remote repository.
      • Methods inherited from class java.lang.Object

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

      • DepositorService

        public DepositorService()
    • Method Detail

      • deposit

        public java.net.URI deposit​(ResearchObject researchObject,
                                    java.util.Map<java.lang.String,​java.lang.String> params)
        Deposit a Research Object in a remote repository.
        Parameters:
        researchObject - The Research Object to deposit.
        params - A map of parameters to pass through to the depositor to use as required.
        Returns:
        The URI of the deposited resource in the target repository.
      • deposit

        public java.net.URI deposit​(ResearchObject researchObject,
                                    java.lang.String depositorBeanName,
                                    java.util.Map<java.lang.String,​java.lang.String> params)
        Deposit a Research Object in a remote repository.
        Parameters:
        researchObject - The Research Object to deposit.
        depositorBeanName - The name of the depositor bean to use.
        params - A map of parameters to pass through to the depositor to use as required.
        Returns:
        The URI of the deposited resource in the target repository.