org.dspace.sword
Class DepositManager
java.lang.Object
org.dspace.sword.DepositManager
public class DepositManager
- extends Object
This class is responsible for initiating the process of
deposit of SWORD Deposit objects into the DSpace repository
- Author:
- Richard Jones
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
log
public static Logger log
- Log4j logger
DepositManager
public DepositManager()
setContext
public void setContext(Context context)
- Parameters:
context - the context to set
setDeposit
public void setDeposit(Deposit deposit)
- Parameters:
deposit - the deposit to set
setSWORDContext
public void setSWORDContext(SWORDContext sc)
- Parameters:
sc - the sword context to set
deposit
public DepositResponse deposit()
throws DSpaceSWORDException
- Once this object is fully prepared, this method will execute
the deposit process. The returned DepositRequest can be
used then to assembel the SWORD response.
- Returns:
- the response to the deposit request
- Throws:
DSpaceSWORDException
Copyright © 2008 The DSpace Foundation. All Rights Reserved.