public interface Changes extends Service, ChangesTypes
Changes
interface provides methods to get a history of the content
changes made to a library item. This interface was added in vSphere API 6.9.1.ChangesTypes.Info, ChangesTypes.Summary
_VAPI_SERVICE_ID, RESOURCE_TYPE
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.
|
java.util.List<ChangesTypes.Summary> list(java.lang.String libraryItem)
Synchronous method overload. Result of the invocation will be reported as a method return value.
libraryItem
- Library item identifier.
The parameter must be an identifier for the resource type: com.vmware.content.library.Item
.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
. java.util.List<ChangesTypes.Summary> list(java.lang.String libraryItem, InvocationConfig invocationConfig)
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig
to specify configuration for this particular invocation.
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.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
. void list(java.lang.String libraryItem, AsyncCallback<java.util.List<ChangesTypes.Summary>> asyncCallback)
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
. 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.void list(java.lang.String libraryItem, AsyncCallback<java.util.List<ChangesTypes.Summary>> asyncCallback, InvocationConfig invocationConfig)
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
. 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.ChangesTypes.Info get(java.lang.String libraryItem, java.lang.String version)
Synchronous method overload. Result of the invocation will be reported as a method return value.
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
.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
. ChangesTypes.Info get(java.lang.String libraryItem, java.lang.String version, InvocationConfig invocationConfig)
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig
to specify configuration for this particular invocation.
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.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
. void get(java.lang.String libraryItem, java.lang.String version, AsyncCallback<ChangesTypes.Info> asyncCallback)
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
. 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.void get(java.lang.String libraryItem, java.lang.String version, AsyncCallback<ChangesTypes.Info> asyncCallback, InvocationConfig invocationConfig)
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
. 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.