|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface SWORDServer
An abstract interface to be implemented by repositories wishing to provide a SWORD compliant service. http://www.ukoln.ac.uk/repositories/digirep/index/SWORD
| Method Summary | |
|---|---|
AtomDocumentResponse |
doAtomDocument(AtomDocumentRequest adr)
Answer a request for an entry document |
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,
SWORDErrorException,
SWORDException
sdr - The Service Document Request object
SWORDAuthenticationException - Thrown if the authentication fails
SWORDErrorException - Thrown if there was an error with the input not matching
the capabilities of the server
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,
SWORDErrorException,
SWORDException
deposit - The Deposit object
SWORDAuthenticationException - Thrown if the authentication fails
SWORDErrorException - Thrown if there was an error with the input not matching
the capabilities of the server
SWORDException - Thrown if an un-handalable Exception occurs.
This will be dealt with by sending a HTTP 500 Server Exception
AtomDocumentResponse doAtomDocument(AtomDocumentRequest adr)
throws SWORDAuthenticationException,
SWORDErrorException,
SWORDException
adr - The Atom Document Request object
SWORDAuthenticationException - Thrown if the authentication fails
SWORDErrorException - Thrown if there was an error with the input not matching
the capabilities of the server
SWORDException - Thrown if an un-handalable Exception occurs.
This will be dealt with by sending a HTTP 500 Server Exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||