public class ChangesStub extends com.vmware.vapi.internal.bindings.Stub implements Changes
Changes
API service.
WARNING: Internal class, subject to change in future versions.
ChangesTypes.Info, ChangesTypes.Summary
apiProvider, converter, ifaceId, retryPolicy, securityContext
_VAPI_SERVICE_ID, RESOURCE_TYPE
Constructor and Description |
---|
ChangesStub(ApiProvider apiProvider,
StubConfigurationBase config) |
ChangesStub(ApiProvider apiProvider,
com.vmware.vapi.internal.bindings.TypeConverter typeConverter,
StubConfigurationBase config) |
Modifier and Type | Method and Description |
---|---|
ChangesTypes.Info |
get(java.lang.String libraryItem,
java.lang.String version)
Returns information about a library item change.
|
void |
get(java.lang.String libraryItem,
java.lang.String version,
AsyncCallback<ChangesTypes.Info> asyncCallback)
Returns information about a library item change.
|
void |
get(java.lang.String libraryItem,
java.lang.String version,
AsyncCallback<ChangesTypes.Info> asyncCallback,
InvocationConfig invocationConfig)
Returns information about a library item change.
|
ChangesTypes.Info |
get(java.lang.String libraryItem,
java.lang.String version,
InvocationConfig invocationConfig)
Returns information about a library item change.
|
java.util.List<ChangesTypes.Summary> |
list(java.lang.String libraryItem)
Returns commonly used information about the content changes made to a library
item.
|
void |
list(java.lang.String libraryItem,
AsyncCallback<java.util.List<ChangesTypes.Summary>> asyncCallback)
Returns commonly used information about the content changes made to a library
item.
|
void |
list(java.lang.String libraryItem,
AsyncCallback<java.util.List<ChangesTypes.Summary>> asyncCallback,
InvocationConfig invocationConfig)
Returns commonly used information about the content changes made to a library
item.
|
java.util.List<ChangesTypes.Summary> |
list(java.lang.String libraryItem,
InvocationConfig invocationConfig)
Returns commonly used information about the content changes made to a library
item.
|
public ChangesStub(ApiProvider apiProvider, com.vmware.vapi.internal.bindings.TypeConverter typeConverter, StubConfigurationBase config)
public ChangesStub(ApiProvider apiProvider, StubConfigurationBase config)
public java.util.List<ChangesTypes.Summary> list(java.lang.String libraryItem)
Changes
Synchronous method overload. Result of the invocation will be reported as a method return value.
public java.util.List<ChangesTypes.Summary> list(java.lang.String libraryItem, InvocationConfig invocationConfig)
Changes
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig
to specify configuration for this particular invocation.
list
in interface Changes
libraryItem
- Library item identifier.
The parameter must be an identifier for the resource type: com.vmware.content.library.Item
.invocationConfig
- Configuration for the method invocation.public void list(java.lang.String libraryItem, AsyncCallback<java.util.List<ChangesTypes.Summary>> asyncCallback)
Changes
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
List of commonly used information about the library item changes.
Operation Errors:
NotFound
- if the library item is not found.
Unauthenticated
- if the user that requested the method cannot be authenticated.
Unauthorized
- if the user that requested the method is not authorized to perform the method.
Error
- if the system reports an error while responding to the request.
Unauthorized
- if you do not have all of the privileges described as follows:
com.vmware.content.library.Item
referenced by the parameter
libraryItem
requires System.Read
. public void list(java.lang.String libraryItem, AsyncCallback<java.util.List<ChangesTypes.Summary>> asyncCallback, InvocationConfig invocationConfig)
Changes
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:
List of commonly used information about the library item changes.
Operation Errors:
NotFound
- if the library item is not found.
Unauthenticated
- if the user that requested the method cannot be authenticated.
Unauthorized
- if the user that requested the method is not authorized to perform the method.
Error
- if the system reports an error while responding to the request.
Unauthorized
- if you do not have all of the privileges described as follows:
com.vmware.content.library.Item
referenced by the parameter
libraryItem
requires System.Read
. list
in interface Changes
libraryItem
- Library item identifier.
The parameter must be an identifier for the resource type: com.vmware.content.library.Item
.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.public ChangesTypes.Info get(java.lang.String libraryItem, java.lang.String version)
Changes
Synchronous method overload. Result of the invocation will be reported as a method return value.
get
in interface Changes
libraryItem
- Library item identifer.
The parameter must be an identifier for the resource type: com.vmware.content.library.Item
.version
- Library item version.
The parameter must be an identifier for the resource type: com.vmware.content.library.item.Version
.public ChangesTypes.Info get(java.lang.String libraryItem, java.lang.String version, InvocationConfig invocationConfig)
Changes
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 Changes
libraryItem
- Library item identifer.
The parameter must be an identifier for the resource type: com.vmware.content.library.Item
.version
- Library item version.
The parameter must be an identifier for the resource type: com.vmware.content.library.item.Version
.invocationConfig
- Configuration for the method invocation.public void get(java.lang.String libraryItem, java.lang.String version, AsyncCallback<ChangesTypes.Info> asyncCallback)
Changes
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
Information about the specified library item change.
Operation Errors:
NotFound
- if the library item or version is not found.
Unauthenticated
- if the user that requested the method cannot be authenticated.
Unauthorized
- if the user that requested the method is not authorized to perform the method.
Error
- if the system reports an error while responding to the request.
Unauthorized
- if you do not have all of the privileges described as follows:
com.vmware.content.library.Item
referenced by the parameter
libraryItem
requires System.Read
. get
in interface Changes
libraryItem
- Library item identifer.
The parameter must be an identifier for the resource type: com.vmware.content.library.Item
.version
- Library item version.
The parameter must be an identifier for the resource type: com.vmware.content.library.item.Version
.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.public void get(java.lang.String libraryItem, java.lang.String version, AsyncCallback<ChangesTypes.Info> asyncCallback, InvocationConfig invocationConfig)
Changes
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 specified library item change.
Operation Errors:
NotFound
- if the library item or version is not found.
Unauthenticated
- if the user that requested the method cannot be authenticated.
Unauthorized
- if the user that requested the method is not authorized to perform the method.
Error
- if the system reports an error while responding to the request.
Unauthorized
- if you do not have all of the privileges described as follows:
com.vmware.content.library.Item
referenced by the parameter
libraryItem
requires System.Read
. get
in interface Changes
libraryItem
- Library item identifer.
The parameter must be an identifier for the resource type: com.vmware.content.library.Item
.version
- Library item version.
The parameter must be an identifier for the resource type: com.vmware.content.library.item.Version
.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.