|
SAP NetWeaver 7.30 (SP02) Composition Environment | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IAttachmentConnector
The IAttachmentConnector defines methods to populate the Attachment content.
AttachmentConnector has to be registered with Universal Worklist Service.
Every Attachment header contains the attachment connector identifier
from which content could be populated.
IAttachmentConnectorimplementations are expected to be stateless and hence
thread safe.
Attachments are retrieved in two steps. In the first step, IProviderConnector.getAttachmentHeaders
is called. This just retrieves the header information including the Attachment connector to
call for retrieving the attachment content. In the next step
populateAnAttachment or populateAttachmentsis called to fill the
attachment contents.
Attachment,
IProviderConnector.getAttachmentHeaders(com.sap.netweaver.bc.uwl.UWLContext, com.sap.netweaver.bc.uwl.Item),
IUWLService.registerAttachmentConnector(java.lang.String, com.sap.netweaver.bc.uwl.connect.IAttachmentConnector)| Field Summary | |
|---|---|
static String |
WF_ATTACHMENT_CONNECTOR_ID
Business Workflow Attachment Connector identifier |
| Method Summary | |
|---|---|
String |
getId()
Every IAttachmentConnectorshould identify itself with a unique identifer. |
void |
populateAnAttachment(UWLContext context,
Item item,
Attachment hollowAttachment)
When attachment is first fetched, only administrative data is retrieved. |
void |
populateAttachments(UWLContext context,
Item item,
Attachment[] hollowAttachments)
This method allows for populating multiple attachments at one shot. |
| Field Detail |
|---|
static final String WF_ATTACHMENT_CONNECTOR_ID
| Method Detail |
|---|
String getId()
IAttachmentConnectorshould identify itself with a unique identifer.
Id is case sensitive.
Attachment.getConnectorId()
void populateAnAttachment(UWLContext context,
Item item,
Attachment hollowAttachment)
throws ConnectorException
context - item - item that the attachment belongs tohollowAttachment - attachment to be filled
ConnectorException - in case of problems from the provider source
void populateAttachments(UWLContext context,
Item item,
Attachment[] hollowAttachments)
throws ConnectorException
context - item - item that the attachment belongs tohollowAttachments - attachments to be filled
ConnectorException - in case of problems from the provider source| Access Rights |
|---|
| SC | DC | Public Part | ACH |
|---|---|---|---|
[sap.com] UWLJWF
|
[sap.com] tc/kmc/bc.uwl/api
|
default
|
EP-BC-UWL
|
[sap.com] UWLJWF
|
[sap.com] tc/kmc/bc.uwl/api
|
-
|
EP-BC-UWL
|
|
SAP NetWeaver 7.30 (SP02) Composition Environment | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||