
The attachments that you add to your processes at Guided Procedures (GP) design time and runtime have a set of attributes, which you can access using the GP API.
An attachment is always associated with the following attributes:
A number of attachment handlers are available within the GP framework:
Currently, you cannot register any additional handlers.
This is the unique ID, returned by the User Management Engine (UME), which helps the GP framework to recognize and visualize the user.
You can access these attributes with the following methods:
publicString getId(); publicString getDisplayname(); publicString getOriginalFileName(); publicString getHandler(); publicString getCreator(); publicDate getCreated(); publicbyte[] getContent() throws GPEngineException; publicboolean isRuntime(); |
GPAttachmentInfo
importcom.sap.caf.eu.gp.attachment.api.IGPAttachmentSourceHandler; GPAttachmentInfo info = IGPAttachmentSourceHandler.resolveAttachmentInfo(attachment,locale); |
GPAttachmentInfo
DISPLAY_MODE_DOWNLOAD
DISPLAY_MODE_URL
You can access the attributes with the following methods:
publicString getDisplayName(); publicString getTooltipText(); publicDate getCreationDate(); publicString getCreator(); publicString getIconUrl(); publicString getDisplayUrl(); publicint getDisplayMode(); publicIGPAttachment getAttachment(); |