com.sap.netweaver.coll.attachment

Interface IGlobalAttachment


public interface IGlobalAttachment

Interface for the attachment service. Attachments are stored as Files in the Repository "attachment". Copyright (c) SAP AG 2002


Method Summary
 IAttachmentList getAttachmentList(IResourceContext context, String id, boolean create)
          returns AttachmentList and may create one if it does not exist yet
 IAttachmentList getAttachmentList(IResourceContext context, String id, boolean create, long lifetime)
          returns AttachmentList and may create one if it does not exist yet
 

Method Detail

getAttachmentList

IAttachmentList getAttachmentList(IResourceContext context,
                                  String id,
                                  boolean create)
                                  throws NoAttachmentListException
returns AttachmentList and may create one if it does not exist yet

Parameters:
context - Resource Context
id - id of Business Object (or anything else) for which Attachment shall be handled (might be null)
create - Shall AttachmentList be created (true/false)
Returns:
IAttachmentList
Throws:
WcmException
NoAttachmentListException

getAttachmentList

IAttachmentList getAttachmentList(IResourceContext context,
                                  String id,
                                  boolean create,
                                  long lifetime)
                                  throws NoAttachmentListException
returns AttachmentList and may create one if it does not exist yet

Parameters:
context - Resource Context
id - id of Business Object (or anything else) for which Attachment shall be handled (might be null)
create - Shall AttachmentList be created (true/false)
lifetime - lifetime of Attachments in millisecons (0 => never expires)
Returns:
IAttachmentList
Throws:
WcmException
NoAttachmentListException
Access Rights

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