public class NamespaceStub extends com.vmware.vapi.internal.bindings.Stub implements Namespace
Namespace
API service.
WARNING: Internal class, subject to change in future versions.
NamespaceTypes.Identity, NamespaceTypes.Info
apiProvider, converter, ifaceId, securityContext
_VAPI_SERVICE_ID
Constructor and Description |
---|
NamespaceStub(ApiProvider apiProvider,
StubConfigurationBase config) |
NamespaceStub(ApiProvider apiProvider,
com.vmware.vapi.internal.bindings.TypeConverter typeConverter,
StubConfigurationBase config) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
fingerprint()
Returns the aggregate fingerprint of all the namespace metadata from all the
metadata sources.
|
void |
fingerprint(AsyncCallback<java.lang.String> asyncCallback)
Returns the aggregate fingerprint of all the namespace metadata from all the
metadata sources.
|
void |
fingerprint(AsyncCallback<java.lang.String> asyncCallback,
InvocationConfig invocationConfig)
Returns the aggregate fingerprint of all the namespace metadata from all the
metadata sources.
|
java.lang.String |
fingerprint(InvocationConfig invocationConfig)
Returns the aggregate fingerprint of all the namespace metadata from all the
metadata sources.
|
NamespaceTypes.Info |
get(NamespaceTypes.Identity identity)
Retreives information about a namespace including information about children of
that namespace.
|
void |
get(NamespaceTypes.Identity identity,
AsyncCallback<NamespaceTypes.Info> asyncCallback)
Retreives information about a namespace including information about children of
that namespace.
|
void |
get(NamespaceTypes.Identity identity,
AsyncCallback<NamespaceTypes.Info> asyncCallback,
InvocationConfig invocationConfig)
Retreives information about a namespace including information about children of
that namespace.
|
NamespaceTypes.Info |
get(NamespaceTypes.Identity identity,
InvocationConfig invocationConfig)
Retreives information about a namespace including information about children of
that namespace.
|
java.util.List<NamespaceTypes.Identity> |
list()
Returns the identifiers of all namespaces registered with the infrastructure.
|
void |
list(AsyncCallback<java.util.List<NamespaceTypes.Identity>> asyncCallback)
Returns the identifiers of all namespaces registered with the infrastructure.
|
void |
list(AsyncCallback<java.util.List<NamespaceTypes.Identity>> asyncCallback,
InvocationConfig invocationConfig)
Returns the identifiers of all namespaces registered with the infrastructure.
|
java.util.List<NamespaceTypes.Identity> |
list(InvocationConfig invocationConfig)
Returns the identifiers of all namespaces registered with the infrastructure.
|
public NamespaceStub(ApiProvider apiProvider, com.vmware.vapi.internal.bindings.TypeConverter typeConverter, StubConfigurationBase config)
public NamespaceStub(ApiProvider apiProvider, StubConfigurationBase config)
public java.util.List<NamespaceTypes.Identity> list()
Namespace
Synchronous method overload. Result of the invocation will be reported as a method return value.
public java.util.List<NamespaceTypes.Identity> list(InvocationConfig invocationConfig)
Namespace
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig
to specify configuration for this particular invocation.
public void list(AsyncCallback<java.util.List<NamespaceTypes.Identity>> asyncCallback)
Namespace
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
Identifiers of all the namespaces.
public void list(AsyncCallback<java.util.List<NamespaceTypes.Identity>> asyncCallback, InvocationConfig invocationConfig)
Namespace
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Use invocationConfig
to specify configuration for this particular invocation.
Invocation Result:
Identifiers of all the namespaces.
public NamespaceTypes.Info get(NamespaceTypes.Identity identity)
Namespace
Synchronous method overload. Result of the invocation will be reported as a method return value.
public NamespaceTypes.Info get(NamespaceTypes.Identity identity, InvocationConfig invocationConfig)
Namespace
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig
to specify configuration for this particular invocation.
public void get(NamespaceTypes.Identity identity, AsyncCallback<NamespaceTypes.Info> asyncCallback)
Namespace
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
Information about the namespace including information about child of that
namespace.
Operation Errors:
NotFound
- if a namespace corresponding to identity
doesn't exist.
public void get(NamespaceTypes.Identity identity, AsyncCallback<NamespaceTypes.Info> asyncCallback, InvocationConfig invocationConfig)
Namespace
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Use invocationConfig
to specify configuration for this particular invocation.
Invocation Result:
Information about the namespace including information about child of that
namespace.
Operation Errors:
NotFound
- if a namespace corresponding to identity
doesn't exist.
public java.lang.String fingerprint()
Namespace
The fingerprint provides clients an efficient way to check if the metadata for namespaces has been modified on the server.
Synchronous method overload. Result of the invocation will be reported as a method return value.
fingerprint
in interface Namespace
public java.lang.String fingerprint(InvocationConfig invocationConfig)
Namespace
The fingerprint provides clients an efficient way to check if the metadata for namespaces has been modified on the server.
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig
to specify configuration for this particular invocation.
fingerprint
in interface Namespace
invocationConfig
- Configuration for the method invocation.public void fingerprint(AsyncCallback<java.lang.String> asyncCallback)
Namespace
The fingerprint provides clients an efficient way to check if the metadata for namespaces has been modified on the server.
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
Fingerprint of all the namespace metadata present on the server.
fingerprint
in interface Namespace
asyncCallback
- Receives the status (progress, result or error) of the operation invocation.public void fingerprint(AsyncCallback<java.lang.String> asyncCallback, InvocationConfig invocationConfig)
Namespace
The fingerprint provides clients an efficient way to check if the metadata for namespaces has been modified on the server.
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Use invocationConfig
to specify configuration for this particular invocation.
Invocation Result:
Fingerprint of all the namespace metadata present on the server.
fingerprint
in interface Namespace
asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.