Managed Object - ListView

Returned by
CreateListView, CreateListViewFromView
Extends
ManagedObjectView
See also
View
Since
VI API 2.5


Managed Object Description

A view convenient for getting updates on a specific set of objects.

This is useful for clients that want to receive updates on an arbitrary set of objects.

This view has the added convenience of being able to change the observed set of objects without adding or destroying filters.

Properties

Name Type Description
None
Properties inherited from ManagedObjectView
view
Properties inherited from View
None

Methods

Methods defined in this Managed Object
ModifyListView, ResetListView, ResetListViewFromView
Methods inherited from ManagedObjectView
None
Methods inherited from View
DestroyView

ModifyListView

Modify the list by giving a delta of entities to add and entities to remove.

May partially succeed if some objects could not be resolved. The operation will still succeed for all objects which could be resolved, and the list of those which failed is returned as the result.

Required Privileges
None

Parameters

NameTypeDescription
_thisManagedObjectReference A reference to the ListView used to make the method call.
add* PManagedObjectReference[]

Optional list of objects to add to the view.
remove* PManagedObjectReference[]

Optional list of objects to remove from the view.
*Need not be set P Required privilege: System.View

Return Value

Type Description
ManagedObjectReference[]A list containing any objects in 'add' that could not be resolved.

Faults

Type Description
RuntimeFaultThrown if any type of runtime fault is thrown that is not covered by the other faults; for example, a communication error.

Show WSDL type definition



ResetListView

Replaces the list with an entirely new set of objects. If the entire set is changing, this is less data to send than a delta.

May partially succeed if some objects could not be resolved. The operation will still succeed for all objects which could be resolved, and the list of those which failed is as the result.

Required Privileges
None

Parameters

NameTypeDescription
_thisManagedObjectReference A reference to the ListView used to make the method call.
obj* PManagedObjectReference[]

The new list of objects.
*Need not be set P Required privilege: System.View

Return Value

Type Description
ManagedObjectReference[]A list containing any objects in 'obj' that could not be resolved.

Faults

Type Description
RuntimeFaultThrown if any type of runtime fault is thrown that is not covered by the other faults; for example, a communication error.

Show WSDL type definition



ResetListViewFromView

Replaces the list with the set of objects in a given view.
Required Privileges
None

Parameters

NameTypeDescription
_thisManagedObjectReference A reference to the ListView used to make the method call.
viewManagedObjectReference
to a View

The view to copy objects from.

Return Value

Type Description
None

Faults

Type Description
RuntimeFaultThrown if any type of runtime fault is thrown that is not covered by the other faults; for example, a communication error.

Show WSDL type definition