|
| Local Properties | Local Methods | |
| Managed Object Types | Data Object Types | All Properties | All Methods |
For example, when rendering a list view of a container for which a client desires updates on only a subset of the objects, but also wants to know whenever objects are added or removed from the container, the following pattern could be used:
Properties
| Name | Type | Description |
|---|---|---|
| viewList* P | ManagedObjectReference[]
to a View[] |
Views created by this ViewManager.
|
Methods
| Methods defined in this Managed Object |
|---|
| CreateContainerView, CreateInventoryView, CreateListView, CreateListViewFromView |
Parameters
| Name | Type | Description |
|---|---|---|
| _this | ManagedObjectReference | A reference to the ViewManager used to make the method call. |
| container P | ManagedObjectReference
to a ManagedEntity |
A Folder, Datacenter, ComputeResource or ResourcePool
to filter objects by.
|
| type* | xsd:string[] |
An optional list of types to filter by. If empty, all
types are included.
|
| recursive | xsd:boolean |
Whether to include objects from sub-containers, or
just immediate children.
|
Return Value
| Type | Description |
|---|---|
| ManagedObjectReference
to a ContainerView |
Faults
| Type | Description |
|---|---|
| RuntimeFault | Thrown if any type of runtime fault is thrown that is not covered by the other faults; for example, a communication error. |
See InventoryView
Parameters
| Name | Type | Description |
|---|---|---|
| _this | ManagedObjectReference | A reference to the ViewManager used to make the method call. |
Return Value
| Type | Description |
|---|---|
| ManagedObjectReference
to a InventoryView |
Faults
| Type | Description |
|---|---|
| RuntimeFault | Thrown if any type of runtime fault is thrown that is not covered by the other faults; for example, a communication error. |
Parameters
| Name | Type | Description |
|---|---|---|
| _this | ManagedObjectReference | A reference to the ViewManager used to make the method call. |
| obj* P | ManagedObjectReference[] |
The initial list of objects in the view.
|
Return Value
| Type | Description |
|---|---|
| ManagedObjectReference
to a ListView |
Faults
| Type | Description |
|---|---|
| RuntimeFault | Thrown if any type of runtime fault is thrown that is not covered by the other faults; for example, a communication error. |
Parameters
| Name | Type | Description |
|---|---|---|
| _this | ManagedObjectReference | A reference to the ViewManager used to make the method call. |
| view | ManagedObjectReference
to a View |
The view from whose object set to construct a ListView.
|
Return Value
| Type | Description |
|---|---|
| ManagedObjectReference
to a ListView |
Faults
| Type | Description |
|---|---|
| RuntimeFault | Thrown if any type of runtime fault is thrown that is not covered by the other faults; for example, a communication error. |
| Top of page | Local Properties | Local Methods | |
| Managed Object Types | Data Object Types | All Properties | All Methods |