public class ComponentStub extends com.vmware.vapi.internal.bindings.Stub implements Component
Component
API service.
WARNING: Internal class, subject to change in future versions.
apiProvider, converter, ifaceId, securityContext
_VAPI_SERVICE_ID, RESOURCE_TYPE
Constructor and Description |
---|
ComponentStub(ApiProvider apiProvider,
StubConfigurationBase config) |
ComponentStub(ApiProvider apiProvider,
com.vmware.vapi.internal.bindings.TypeConverter typeConverter,
StubConfigurationBase config) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
fingerprint(java.lang.String componentId)
Retrieves the fingerprint computed from the privilege metadata of the component
element corresponding to
componentId . |
void |
fingerprint(java.lang.String componentId,
AsyncCallback<java.lang.String> asyncCallback)
Retrieves the fingerprint computed from the privilege metadata of the component
element corresponding to
componentId . |
void |
fingerprint(java.lang.String componentId,
AsyncCallback<java.lang.String> asyncCallback,
InvocationConfig invocationConfig)
Retrieves the fingerprint computed from the privilege metadata of the component
element corresponding to
componentId . |
java.lang.String |
fingerprint(java.lang.String componentId,
InvocationConfig invocationConfig)
Retrieves the fingerprint computed from the privilege metadata of the component
element corresponding to
componentId . |
ComponentData |
get(java.lang.String componentId)
Retrieves privilege information about the component element corresponding to
componentId . |
void |
get(java.lang.String componentId,
AsyncCallback<ComponentData> asyncCallback)
Retrieves privilege information about the component element corresponding to
componentId . |
void |
get(java.lang.String componentId,
AsyncCallback<ComponentData> asyncCallback,
InvocationConfig invocationConfig)
Retrieves privilege information about the component element corresponding to
componentId . |
ComponentData |
get(java.lang.String componentId,
InvocationConfig invocationConfig)
Retrieves privilege information about the component element corresponding to
componentId . |
java.util.List<java.lang.String> |
list()
Returns the identifiers for the component elements that have privilege
information.
|
void |
list(AsyncCallback<java.util.List<java.lang.String>> asyncCallback)
Returns the identifiers for the component elements that have privilege
information.
|
void |
list(AsyncCallback<java.util.List<java.lang.String>> asyncCallback,
InvocationConfig invocationConfig)
Returns the identifiers for the component elements that have privilege
information.
|
java.util.List<java.lang.String> |
list(InvocationConfig invocationConfig)
Returns the identifiers for the component elements that have privilege
information.
|
public ComponentStub(ApiProvider apiProvider, com.vmware.vapi.internal.bindings.TypeConverter typeConverter, StubConfigurationBase config)
public ComponentStub(ApiProvider apiProvider, StubConfigurationBase config)
public java.util.List<java.lang.String> list()
Component
Synchronous method overload. Result of the invocation will be reported as a method return value.
public java.util.List<java.lang.String> list(InvocationConfig invocationConfig)
Component
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<java.lang.String>> asyncCallback)
Component
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
The list of identifiers for the component elements that have privilege
information.
The return value will contain identifiers for the resource type: com.vmware.vapi.component
.
public void list(AsyncCallback<java.util.List<java.lang.String>> asyncCallback, InvocationConfig invocationConfig)
Component
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:
The list of identifiers for the component elements that have privilege
information.
The return value will contain identifiers for the resource type: com.vmware.vapi.component
.
public ComponentData get(java.lang.String componentId)
Component
componentId
.
The ComponentData
contains the privilege
information about the component element and its fingerprint. It contains
information about all the package elements that belong to this component
element.
Synchronous method overload. Result of the invocation will be reported as a method return value.
get
in interface Component
componentId
- Identifier of the component element.
The parameter must be an identifier for the resource type: com.vmware.vapi.component
.ComponentData
instance that
corresponds to componentId
public ComponentData get(java.lang.String componentId, InvocationConfig invocationConfig)
Component
componentId
.
The ComponentData
contains the privilege
information about the component element and its fingerprint. It contains
information about all the package elements that belong to this component
element.
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig
to specify configuration for this particular invocation.
get
in interface Component
componentId
- Identifier of the component element.
The parameter must be an identifier for the resource type: com.vmware.vapi.component
.invocationConfig
- Configuration for the method invocation.ComponentData
instance that
corresponds to componentId
public void get(java.lang.String componentId, AsyncCallback<ComponentData> asyncCallback)
Component
componentId
.
The ComponentData
contains the privilege
information about the component element and its fingerprint. It contains
information about all the package elements that belong to this component
element.
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
The ComponentData
instance that
corresponds to componentId
Operation Errors:
NotFound
- if the component element associated with componentId
does not have any
privilege information.
public void get(java.lang.String componentId, AsyncCallback<ComponentData> asyncCallback, InvocationConfig invocationConfig)
Component
componentId
.
The ComponentData
contains the privilege
information about the component element and its fingerprint. It contains
information about all the package elements that belong to this component
element.
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:
The ComponentData
instance that
corresponds to componentId
Operation Errors:
NotFound
- if the component element associated with componentId
does not have any
privilege information.
get
in interface Component
componentId
- Identifier of the component element.
The parameter must be an identifier for the resource type: com.vmware.vapi.component
.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.public java.lang.String fingerprint(java.lang.String componentId)
Component
componentId
.
The fingerprint provides
clients an efficient way to check if the metadata for a particular component has
been modified on the server. The client can do this by comparing the result of
this operation with the fingerprint returned in the result of Component.get(java.lang.String)
.
Synchronous method overload. Result of the invocation will be reported as a method return value.
fingerprint
in interface Component
componentId
- Identifier of the component element.
The parameter must be an identifier for the resource type: com.vmware.vapi.component
.public java.lang.String fingerprint(java.lang.String componentId, InvocationConfig invocationConfig)
Component
componentId
.
The fingerprint provides
clients an efficient way to check if the metadata for a particular component has
been modified on the server. The client can do this by comparing the result of
this operation with the fingerprint returned in the result of Component.get(java.lang.String)
.
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 Component
componentId
- Identifier of the component element.
The parameter must be an identifier for the resource type: com.vmware.vapi.component
.invocationConfig
- Configuration for the method invocation.public void fingerprint(java.lang.String componentId, AsyncCallback<java.lang.String> asyncCallback)
Component
componentId
.
The fingerprint provides
clients an efficient way to check if the metadata for a particular component has
been modified on the server. The client can do this by comparing the result of
this operation with the fingerprint returned in the result of Component.get(java.lang.String)
.
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
The fingerprint computed from the privilege metadata of the component.
Operation Errors:
NotFound
- if the component element associated with componentId
does not have any
privilege information.
fingerprint
in interface Component
componentId
- Identifier of the component element.
The parameter must be an identifier for the resource type: com.vmware.vapi.component
.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.public void fingerprint(java.lang.String componentId, AsyncCallback<java.lang.String> asyncCallback, InvocationConfig invocationConfig)
Component
componentId
.
The fingerprint provides
clients an efficient way to check if the metadata for a particular component has
been modified on the server. The client can do this by comparing the result of
this operation with the fingerprint returned in the result of Component.get(java.lang.String)
.
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:
The fingerprint computed from the privilege metadata of the component.
Operation Errors:
NotFound
- if the component element associated with componentId
does not have any
privilege information.
fingerprint
in interface Component
componentId
- Identifier of the component element.
The parameter must be an identifier for the resource type: com.vmware.vapi.component
.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.