update

Use the update method to modify the information of an entity.

Purpose

The update method modifies the entity specified in the root data object. This method is used for updating information related to the entity, such as properties, assigning entities to groups, or moving an entity to a different parent.
The information can be modified in either of two ways.
  • The caller can create an empty root data object and specify the changes needed. This data object with the changed values replaces the existing data object and its existing values.
  • The caller can call the get method to get the specified values to be updated, make the changes, then send modifications back to the update method.

Parameters

root
Specifies the root data object containing entity with changes that need to be updated.

Returns

The root data object containing the updated entity with its identifier.

Exceptions

  • WIMException:

Signature

public DataObject update(DataObject root) throws WIMException

Icon that indicates the type of topic Reference topic

Terms and conditions for documentation | Feedback


Timestamp icon Last updated: March 30, 2016 13:35
http://www14.software.ibm.com/webapp/wsbroker/redirect?version=cord&product=vmm&topic=spiupdate
File name: spiupdate.html