public class InventoryNavigator extends Object
| Constructor and Description |
|---|
InventoryNavigator(ManagedEntity rootEntity) |
| Modifier and Type | Method and Description |
|---|---|
ManagedEntity[] |
searchManagedEntities(boolean recurse)
Retrieve container contents from specified parent recursively if requested.
|
ManagedEntity[] |
searchManagedEntities(String type)
Get the first ManagedObjectReference from current node for the specified type
|
ManagedEntity[] |
searchManagedEntities(String[][] typeinfo,
boolean recurse)
Retrieve content recursively with multiple properties.
|
ManagedEntity |
searchManagedEntity(String type,
String name)
Get the ManagedObjectReference for an item under the
specified parent node that has the type and name specified.
|
public InventoryNavigator(ManagedEntity rootEntity)
public ManagedEntity[] searchManagedEntities(boolean recurse) throws InvalidProperty, RuntimeFault, RemoteException
recurse - retrieve contents recursively from the root downRemoteExceptionRuntimeFaultInvalidPropertypublic ManagedEntity[] searchManagedEntities(String type) throws InvalidProperty, RuntimeFault, RemoteException
public ManagedEntity[] searchManagedEntities(String[][] typeinfo, boolean recurse) throws InvalidProperty, RuntimeFault, RemoteException
typeinfo - 2D array of properties for each typenamerecurse - retrieve contents recursively from the root downRemoteExceptionRuntimeFaultInvalidPropertypublic ManagedEntity searchManagedEntity(String type, String name) throws InvalidProperty, RuntimeFault, RemoteException
type - type of the managed objectname - name to matchRemoteExceptionRuntimeFaultInvalidPropertyCopyright © 2011-2012. All Rights Reserved.