|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface SWORDServer
An abstract interface to be implemnted by repositories wishing to provide a SWORD compliant service. http://www.ukoln.ac.uk/repositories/digirep/index/SWORD_APP_Profile_0.5
| Method Summary | |
|---|---|
DepositResponse |
doDeposit(Deposit deposit)
Answer a SWORD deposit |
ServiceDocument |
doServiceDocument(ServiceDocumentRequest sdr)
Answer a Service Document request sent on behalf of a user |
| Method Detail |
|---|
ServiceDocument doServiceDocument(ServiceDocumentRequest sdr)
throws SWORDAuthenticationException,
SWORDException
sdr - 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
DepositResponse doDeposit(Deposit deposit)
throws SWORDAuthenticationException,
SWORDContentTypeException,
SWORDException
deposit - The Deposit 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
SWORDContentTypeException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||