public interface IAttachment
Modifier and Type | Method and Description |
---|---|
boolean |
addAttachment(IResource resource,
String name,
String text)
Add Attachment of User
|
boolean |
delAttachment(IResource resource,
IResource attachres)
del one / all Attachments of a Resource
|
IResourceList |
getAttachment(IResource resource)
Returns all Attachments of this Resource
|
RID |
getAttachmentPath(IResource resource)
get Path where attachments of resource are stored
Path maybe created
|
RID getAttachmentPath(IResource resource) throws WcmException
resource
- The resourceWcmException
boolean addAttachment(IResource resource, String name, String text) throws WcmException
resource
- resource to which an attachment is addedname
- text
- Users AttachmentWcmException
IResourceList getAttachment(IResource resource) throws WcmException
resource
- The resourceWcmException
boolean delAttachment(IResource resource, IResource attachres)
resource
- - Resource to which the Attachment(s) was savedattachres
- - Attachment Resource (if null - all Attachments are
deleted)WcmException
Access Rights |
---|
SC | DC | Public Part | ACH |
---|---|---|---|
[sap.com] KMC-CM
|
[sap.com] tc/km/frwk
|
api
|
EP-KM-CM
|
[sap.com] KMC-WPC
|
[sap.com] tc/kmc/wpc/wpcfacade
|
api
|
EP-PIN-WPC-WCM
|
Copyright 2018 SAP AG Complete Copyright Notice