SAP NetWeaver '04

com.sap.netweaver.bc.rf.mi.content
Interface IMutableContentManager

[contained in: com.sap.netweaver.bc.rf.par - bc.rf.mi_api.jar]
All Superinterfaces:
IContentManager

public interface IMutableContentManager
extends IContentManager

Read-And-Write interface describing a repository sub manager for content. Each resource may provide content modifyable through this interface. Content may be anything implementing the IContent interface.


Method Summary
 void setContent(IResourceHandle resourceHandle, IMutableContent content, boolean compareETags)
          Set content of the resource.
 
Methods inherited from interface com.sap.netweaver.bc.rf.mi.content.IContentManager
getContent, getContent
 

Method Detail

setContent

public void setContent(IResourceHandle resourceHandle,
                       IMutableContent content,
                       boolean compareETags)
                throws ResourceException,
                       ContentMetadataMismatchException
Set content of the resource. The metadata of the content will be updated atomically during the set call if supported by the repository manager (e.g. for etag and last-modified-by timestamp).
Parameters:
resourceHandle - resource handle
content - content
compareETags - when true, the content will only be set, when the actual entity tag is up-to-date, i.e. the content wasn't modified between the getContent() and the setContent() call
Throws:
ResourceException - when content can't be written
ContentMetadataMismatchException - when content metadata doesn't match call or content, e.g. because compareETags is true, but eTag doesn't match or because content length was specified but doesn't match with content itself

SAP NetWeaver '04

Copyright © 2004 by SAP AG. All Rights Reserved.
SAP, R/3, mySAP, mySAP.com, xApps, xApp, SAP NetWeaver, and other SAP products and services mentioned herein as well as their respective logos are trademarks or registered trademarks of SAP AG in Germany and in several other countries all over the world. All other product and service names mentioned are the trademarks of their respective companies. Data contained in this document serves informational purposes only. National product specifications may vary.

These materials are subject to change without notice. These materials are provided by SAP AG and its affiliated companies ("SAP Group") for informational purposes only, without representation or warranty of any kind, and SAP Group shall not be liable for errors or omissions with respect to the materials. The only warranties for SAP Group products and services are those that are set forth in the express warranty statements accompanying such products and services, if any. Nothing herein should be construed as constituting an additional warranty.