com.sap.netweaver.coll.attachment
Interface IRepositoryAttachment
public interface IRepositoryAttachment
Interface for the attachment service. Attachments are stored as Files in
the Repository "attachment".
Copyright (c) SAP AG 2002
serviceName
static final String serviceName
- See Also:
- Constant Field Values
getAttachmentList
IAttachmentList getAttachmentList(IResource resource,
boolean create)
throws WcmException
- returns AttachmentList and may create one if it does not exist yet
- Parameters:
resource - resource whose Attachment shall be handled (might be null)create - Shall AttachmentList be created
- Returns:
- IAttachmentList
- Throws:
WcmException
getAttachmentList
IAttachmentList getAttachmentList(IResource resource,
boolean create,
long lifetime)
throws WcmException
- returns AttachmentList and may create one if it does not exist yet
- Parameters:
resource - resource whose Attachment shall be handled (might be null)create - Shall AttachmentList be createdlifetime - lifetime of Attachments in millisecons (0 => never expires)
- Returns:
- IAttachmentList
- Throws:
WcmException
getAttachmentCount
int getAttachmentCount(IResource resource)
throws WcmException
- returns number of Attachments
- Parameters:
resource - resource whose Attachments shall be counted
- Returns:
- int number of Attachments
- Throws:
WcmException
This class can be accessed from:
|
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 2014 SAP AG Complete Copyright Notice