public interface AttachmentsClient
Modifier and Type | Method and Description |
---|---|
byte[] |
getAttachmentData(SymAttachmentInfo symAttachmentInfo,
SymMessage symMessage)
Retrieve attachment data from message
|
SymAttachmentInfo |
postAttachment(java.lang.String streamId,
java.io.File attachment)
Send attachment to a given stream
|
byte[] getAttachmentData(SymAttachmentInfo symAttachmentInfo, SymMessage symMessage) throws AttachmentsException
symAttachmentInfo
- Attachment detailssymMessage
- Message containing the attachmentAttachmentsException
- Exceptions generated from underlying Symphony API callsSymAttachmentInfo postAttachment(java.lang.String streamId, java.io.File attachment) throws AttachmentsException
streamId
- StreamID to send the attachmentattachment
- File to sendAttachmentsException
- Exceptions generated from underlying Symphony API calls