|
SAP NetWeaver 7.4 SP03 Process Integration | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface OutputAttachments
Contains methods to set, change, or remove attachments of the XI message in the mapping. You can always use these methods, even if the Operation Mapping declares that it does not read attachments.
| Method Summary | |
|---|---|
Attachment |
create(String contentId,
byte[] content)
Creates a new attachment with the given contentId and content. |
Attachment |
create(String contentId,
String contentType,
byte[] content)
Creates a new attachment with the given contentId, content type and content. |
void |
removeAttachment(String contentID)
Removes the attachment with the given content ID. |
void |
setAttachment(Attachment attachment)
Adds a new attachment. |
| Method Detail |
|---|
void removeAttachment(String contentID)
contentID - void setAttachment(Attachment attachment)
attachment - a completely new or modified attachment.
Attachment create(String contentId,
byte[] content)
contentId - identifier of the attachment.content - content of attachment. In case of MTOM attachments, the
content should not be base64-encoded.
Attachment create(String contentId,
String contentType,
byte[] content)
contentId - identifier of the attachment.contentType - the type of the attachment. Have a look at
http://de.selfhtml.org/diverses/mimetypen.htm for an overview of
possible types.content - content of attachment. In case of MTOM attachments, the
content should not be base64-encoded.
| Access Rights |
|---|
| SC | DC | Public Part | ACH |
|---|---|---|---|
[sap.com] SAP_XIAF
|
[sap.com] com.sap.aii.mapping.lib.facade
|
api
|
BC-XI
|
|
SAP NetWeaver 7.4 SP03 Process Integration | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||