|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.dspace.sword.DSpaceSWORDServer
public class DSpaceSWORDServer
An implementation of the SWORDServer interface to allow SWORD deposit operations on DSpace. See: http://www.ukoln.ac.uk/repositories/digirep/index/SWORD_APP_Profile_0.5
| Field Summary | |
|---|---|
static Logger |
log
Log4j logger |
| Constructor Summary | |
|---|---|
DSpaceSWORDServer()
|
|
| Method Summary | |
|---|---|
AtomDocumentResponse |
doAtomDocument(AtomDocumentRequest adr)
Answer a request for an entry document |
DepositResponse |
doDeposit(Deposit deposit)
Answer a SWORD deposit |
ServiceDocument |
doServiceDocument(ServiceDocumentRequest request)
Answer a Service Document request sent on behalf of a user |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final Logger log
| Constructor Detail |
|---|
public DSpaceSWORDServer()
| Method Detail |
|---|
public ServiceDocument doServiceDocument(ServiceDocumentRequest request)
throws SWORDAuthenticationException,
SWORDException,
SWORDErrorException
SWORDServer
doServiceDocument in interface SWORDServerrequest - The Service Document Request object
SWORDAuthenticationException - Thrown if the authentication fails
SWORDException - Thrown in an un-handalable Exception occurs.
This will be dealt with by sending a HTTP 500 Server Exception
SWORDErrorException - Thrown if there was an error with the input not matching
the capabilities of the server
public DepositResponse doDeposit(Deposit deposit)
throws SWORDAuthenticationException,
SWORDException,
SWORDErrorException
SWORDServer
doDeposit in interface SWORDServerdeposit - The Deposit object
SWORDAuthenticationException - Thrown if the authentication fails
SWORDException - Thrown if an un-handalable Exception occurs.
This will be dealt with by sending a HTTP 500 Server Exception
SWORDErrorException - Thrown if there was an error with the input not matching
the capabilities of the server
public AtomDocumentResponse doAtomDocument(AtomDocumentRequest adr)
throws SWORDAuthenticationException,
SWORDException,
SWORDErrorException
SWORDServer
doAtomDocument in interface SWORDServeradr - The Atom Document Request object
SWORDAuthenticationException - Thrown if the authentication fails
SWORDException - Thrown if an un-handalable Exception occurs.
This will be dealt with by sending a HTTP 500 Server Exception
SWORDErrorException - Thrown if there was an error with the input not matching
the capabilities of the server
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||