SAP NetWeaver '04

com.sap.netweaver.bc.rf.mi.property
Interface IMutablePropertyManager

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

public interface IMutablePropertyManager
extends IPropertyManager

Read-And-Write interface describing a repository sub manager for properties. Resources usually have properties describing the resource. All system properties MUST be made available as properties. Resources with content MUST make the content metadata available as properties also! This interface provides means to write the properties of a resource.


Method Summary
 void updateProperties(IResourceHandle resourceHandle, java.util.List updates)
          Update list of properties on a single resource handle.
 void updateProperties(java.util.List resourceHandles, java.util.List updates)
          Update list of properties on a list of resource handles.
 void updateProperty(IResourceHandle resourceHandle, IPropertyUpdateDescriptor update)
          Update single property on a single resource handle.
 void updateProperty(java.util.List resourceHandles, IPropertyUpdateDescriptor update)
          Update single property on a list of resource handles.
 
Methods inherited from interface com.sap.netweaver.bc.rf.mi.property.IPropertyManager
getAllProperties, getAllProperties, getListedProperties, getListedProperties, getProperties, getProperty
 

Method Detail

updateProperty

public void updateProperty(IResourceHandle resourceHandle,
                           IPropertyUpdateDescriptor update)
                    throws ResourceException
Update single property on a single resource handle. Note: Descriptors may not be altered and must be fully released when returning from the call due to performance (reuse) reasons.
Parameters:
resourceHandle - resource handle
update - property update descriptor
Throws:
ResourceException - when either the resource handle or property update descriptor is invalid or the property update failed

updateProperties

public void updateProperties(IResourceHandle resourceHandle,
                             java.util.List updates)
                      throws ResourceException
Update list of properties on a single resource handle. Note: Descriptors may not be altered and must be fully released when returning from the call due to performance (reuse) reasons.
Parameters:
resourceHandle - resource handle
updates - list of property updates descriptors
Throws:
ResourceException - when either the resource handle or property update descriptors are invalid or the property update failed

updateProperty

public void updateProperty(java.util.List resourceHandles,
                           IPropertyUpdateDescriptor update)
                    throws ResourceException,
                           OperationNotCompletedException
Update single property on a list of resource handles.

Note: This method needs not to be handled atomically! Although this operation may fail in parts, the operation on one of the many operands provided through the parameter list is always expected to be atomic! Note: Descriptors may not be altered and must be fully released when returning from the call due to performance (reuse) reasons.
Parameters:
resourceHandles - list of resource handles
update - property update descriptor
Throws:
ResourceException - when either the resource handles or property update descriptor are invalid or the property updates failed generally
OperationNotCompletedException - when the operation failed in parts

updateProperties

public void updateProperties(java.util.List resourceHandles,
                             java.util.List updates)
                      throws ResourceException,
                             OperationNotCompletedException
Update list of properties on a list of resource handles.

Note: This method needs not to be handled atomically! Although this operation may fail in parts, the operation on one of the many operands provided through the parameter list is always expected to be atomic! Note: Descriptors may not be altered and must be fully released when returning from the call due to performance (reuse) reasons.
Parameters:
resourceHandles - list of resource handles
updates - list of property updates descriptors
Throws:
ResourceException - when either the resource handles or property update descriptors are invalid or the property updates failed generally
OperationNotCompletedException - when the operation failed in parts

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.