NonStop SOAP User's Manual

Customizing the SOAP Server
NonStop SOAP User’s Manual520501-012
8-27
class AttachmentManager
Gets an attachment by it's content ID.
deleteAttachment(const string & contentID)
Deletes an attachment.
If the contentID is not found, false is returned.
getAttachmentCount() const
Gets the number of attachments.
getFirstAttachment()
Returns the first attachment, if present, otherwise null.
getNextAttachment()
Returns the next attachment, if present, otherwise null.
getAttachmentAt(unsigned int index)
Returns the attachment at the index specified, if present, otherwise null.
deleteAttachmentAt(unsigned int index)
Deletes an attachment at the index specified.
If the index is invalid, false is returned.
etMimeBoundary(const string & mimeBoundary)
Sets the MIME boundary.
The default is set to "MIME_BOUNDARY."
getMimeBoundary()const
Gets the MIME boundary.
AttachmentManager & operator = (const AttachmentManager & aMgr)
This is the assignment operator.
Performs a deep copy of all the attachments registered with
AttachmentManager being duplicated