Interface Depositor
-
- All Known Implementing Classes:
GenericHTTPDepositor
,MendeleyDataDepositor
,ZenodoDepositor
public interface Depositor
Interface for depositors of Research Objects into external repositories.
-
-
Method Summary
All Methods Instance Methods Abstract 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.
-
-
-
Method Detail
-
deposit
java.net.URI deposit(ResearchObject researchObject, java.util.Map<java.lang.String,java.lang.String> params) throws DepositionException
Deposit the RO into the repo.- 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
-
-