uk.ac.cam.spectra.spectrasub
Interface Depositor

All Known Implementing Classes:
LNIRestletDepositor, SimpleFSDepositor

public interface Depositor

Defines the contract for components that take data packages and deposit them in repositories.

This is a minimal interface in order to retain as much flexibility as possible about the nature / software of the repository.

Author:
ojd20

Method Summary
 java.lang.String deposit(java.lang.String packageId)
          Deposit a package into some repository and return a reference to the deposited package.
 

Method Detail

deposit

java.lang.String deposit(java.lang.String packageId)
Deposit a package into some repository and return a reference to the deposited package.

Parameters:
packageId - internal identifier for the package.
Returns:
Reference (preferably a URL) to the deposited package.


Copyright © 2006-2007 The SPECTRa Project. All Rights Reserved.