public interface ObjectReferenceService
| Modifier and Type | Method and Description |
|---|---|
Object |
getReference(String uid)
Retuns a reference for the given uid.
|
Object |
getReference(String uid,
boolean decoded)
Retuns a reference for the given uid.
|
String |
getResourceObjectType(Object reference)
Returns the type for the given reference.
|
String |
getServerGuid(Object reference)
Returns GUID of the server that owns the given reference.
|
String |
getUid(Object reference)
Returns a uid for the given reference.
|
String |
getUid(Object reference,
boolean encode)
Returns a uid for the given reference.
|
String getResourceObjectType(Object reference)
reference - The reference object.IllegalArgumentException - If the reference reference is null.String getServerGuid(Object reference)
reference - The reference object.IllegalArgumentException - If the reference reference is null.String getUid(Object reference)
reference - The reference object.IllegalArgumentException - If the reference reference is null.Object getReference(String uid)
uid - The uid.IllegalArgumentException - if the uid is null.String getUid(Object reference, boolean encode)
reference - The reference object.encoded - True if we want to encode the uid.IllegalArgumentException - If the reference reference is null.Object getReference(String uid, boolean decoded)
uid - The uid.decoded - True if we want to decode the uid.IllegalArgumentException - if the uid is null.Copyright @ 2012 VMware, Inc. All rights reserved.