|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.openvpms.esci.service.InboxWebService
public class InboxWebService
Default implementation of the InboxService
.
Constructor Summary | |
---|---|
InboxWebService()
|
Method Summary | |
---|---|
void |
acknowledge(DocumentReferenceType reference)
Acknowledges a document. |
Document |
getDocument(DocumentReferenceType reference)
Returns the document with the specified reference. |
List<DocumentReferenceType> |
getDocuments()
Returns a list of document references, in the order that they were received. |
InboxService |
getInboxService()
Returns the inbox service. |
void |
setInboxService(InboxService service)
Registers the inbox service to delegate to. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public InboxWebService()
Method Detail |
---|
public List<DocumentReferenceType> getDocuments()
getDocuments
in interface InboxService
public Document getDocument(DocumentReferenceType reference)
getDocument
in interface InboxService
reference
- the document reference
public void acknowledge(DocumentReferenceType reference) throws DocumentNotFoundException
getDocuments()
nor getDocument(org.openvpms.esci.ubl.common.aggregate.DocumentReferenceType)
.
acknowledge
in interface InboxService
reference
- the document reference
DocumentNotFoundException
- if the reference doesn't refer to a valid documentpublic void setInboxService(InboxService service)
service
- the inbox servicepublic InboxService getInboxService()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |