public interface IRepositoryAttachment
| Modifier and Type | Field and Description |
|---|---|
static String |
serviceName |
| Modifier and Type | Method and Description |
|---|---|
int |
getAttachmentCount(IResource resource)
returns number of Attachments
|
IAttachmentList |
getAttachmentList(IResource resource,
boolean create)
returns AttachmentList and may create one if it does not exist yet
|
IAttachmentList |
getAttachmentList(IResource resource,
boolean create,
long lifetime)
returns AttachmentList and may create one if it does not exist yet
|
static final String serviceName
IAttachmentList getAttachmentList(IResource resource, boolean create) throws WcmException
resource - resource whose Attachment shall be handled (might be null)create - Shall AttachmentList be createdWcmExceptionIAttachmentList getAttachmentList(IResource resource, boolean create, long lifetime) throws WcmException
resource - resource whose Attachment shall be handled (might be null)create - Shall AttachmentList be createdlifetime - lifetime of Attachments in millisecons (0 = or greater never expires)WcmExceptionint getAttachmentCount(IResource resource) throws WcmException
resource - resource whose Attachments shall be countedWcmException| 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 2021 SAP SE Complete Copyright Notice