public class StorageStub extends com.vmware.vapi.internal.bindings.Stub implements Storage
Storage
API service.
WARNING: Internal class, subject to change in future versions.
StorageTypes.InfoapiProvider, converter, ifaceId, retryPolicy, securityContext_VAPI_SERVICE_ID| Constructor and Description |
|---|
StorageStub(ApiProvider apiProvider,
StubConfigurationBase config) |
StorageStub(ApiProvider apiProvider,
com.vmware.vapi.internal.bindings.TypeConverter typeConverter,
StubConfigurationBase config) |
| Modifier and Type | Method and Description |
|---|---|
java.util.List<StorageTypes.Info> |
get(java.lang.String libraryItemId,
java.lang.String fileName)
Retrieves the storage information for a specific file in a library item.
|
void |
get(java.lang.String libraryItemId,
java.lang.String fileName,
AsyncCallback<java.util.List<StorageTypes.Info>> asyncCallback)
Retrieves the storage information for a specific file in a library item.
|
void |
get(java.lang.String libraryItemId,
java.lang.String fileName,
AsyncCallback<java.util.List<StorageTypes.Info>> asyncCallback,
InvocationConfig invocationConfig)
Retrieves the storage information for a specific file in a library item.
|
java.util.List<StorageTypes.Info> |
get(java.lang.String libraryItemId,
java.lang.String fileName,
InvocationConfig invocationConfig)
Retrieves the storage information for a specific file in a library item.
|
java.util.List<StorageTypes.Info> |
list(java.lang.String libraryItemId)
Lists all storage items for a given library item.
|
void |
list(java.lang.String libraryItemId,
AsyncCallback<java.util.List<StorageTypes.Info>> asyncCallback)
Lists all storage items for a given library item.
|
void |
list(java.lang.String libraryItemId,
AsyncCallback<java.util.List<StorageTypes.Info>> asyncCallback,
InvocationConfig invocationConfig)
Lists all storage items for a given library item.
|
java.util.List<StorageTypes.Info> |
list(java.lang.String libraryItemId,
InvocationConfig invocationConfig)
Lists all storage items for a given library item.
|
public StorageStub(ApiProvider apiProvider, com.vmware.vapi.internal.bindings.TypeConverter typeConverter, StubConfigurationBase config)
public StorageStub(ApiProvider apiProvider, StubConfigurationBase config)
public java.util.List<StorageTypes.Info> get(java.lang.String libraryItemId, java.lang.String fileName)
StorageSynchronous method overload. Result of the invocation will be reported as a method return value.
get in interface StoragelibraryItemId - Identifier of the library item whose storage information should be retrieved.
The parameter must be an identifier for the resource type: com.vmware.content.library.Item.fileName - Name of the file for which the storage information should be listed.List of all the storage items for the given file within
the given library item.public java.util.List<StorageTypes.Info> get(java.lang.String libraryItemId, java.lang.String fileName, InvocationConfig invocationConfig)
StorageSynchronous 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 StoragelibraryItemId - Identifier of the library item whose storage information should be retrieved.
The parameter must be an identifier for the resource type: com.vmware.content.library.Item.fileName - Name of the file for which the storage information should be listed.invocationConfig - Configuration for the method invocation.List of all the storage items for the given file within
the given library item.public void get(java.lang.String libraryItemId,
java.lang.String fileName,
AsyncCallback<java.util.List<StorageTypes.Info>> asyncCallback)
StorageAsynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback.
Invocation Result:
The List of all the storage items for the given file within
the given library item.
Operation Errors:
NotFound - if the specified library item does not exist.
NotFound - if the specified file does not exist in the given library item.
Unauthorized - if you do not have all of the privileges described as follows:
com.vmware.content.library.Item referenced by the parameter
libraryItemId requires ContentLibrary.ReadStorage. get in interface StoragelibraryItemId - Identifier of the library item whose storage information should be retrieved.
The parameter must be an identifier for the resource type: com.vmware.content.library.Item.fileName - Name of the file for which the storage information should be listed.asyncCallback - Receives the status (progress, result or error) of the operation invocation.public void get(java.lang.String libraryItemId,
java.lang.String fileName,
AsyncCallback<java.util.List<StorageTypes.Info>> asyncCallback,
InvocationConfig invocationConfig)
StorageAsynchronous 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 all the storage items for the given file within
the given library item.
Operation Errors:
NotFound - if the specified library item does not exist.
NotFound - if the specified file does not exist in the given library item.
Unauthorized - if you do not have all of the privileges described as follows:
com.vmware.content.library.Item referenced by the parameter
libraryItemId requires ContentLibrary.ReadStorage. get in interface StoragelibraryItemId - Identifier of the library item whose storage information should be retrieved.
The parameter must be an identifier for the resource type: com.vmware.content.library.Item.fileName - Name of the file for which the storage information should be listed.asyncCallback - Receives the status (progress, result or error) of the operation invocation.invocationConfig - Configuration for the method invocation.public java.util.List<StorageTypes.Info> list(java.lang.String libraryItemId)
StorageSynchronous method overload. Result of the invocation will be reported as a method return value.
public java.util.List<StorageTypes.Info> list(java.lang.String libraryItemId, InvocationConfig invocationConfig)
StorageSynchronous 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 StoragelibraryItemId - Identifier of the library item whose storage information should be listed.
The parameter must be an identifier for the resource type: com.vmware.content.library.Item.invocationConfig - Configuration for the method invocation.List of all storage items for a given library item.public void list(java.lang.String libraryItemId,
AsyncCallback<java.util.List<StorageTypes.Info>> asyncCallback)
StorageAsynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback.
Invocation Result:
The List of all storage items for a given library item.
Operation Errors:
NotFound - if the specified library item does not exist.
Unauthorized - if you do not have all of the privileges described as follows:
com.vmware.content.library.Item referenced by the parameter
libraryItemId requires ContentLibrary.ReadStorage. list in interface StoragelibraryItemId - Identifier of the library item whose storage information should be listed.
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.public void list(java.lang.String libraryItemId,
AsyncCallback<java.util.List<StorageTypes.Info>> asyncCallback,
InvocationConfig invocationConfig)
StorageAsynchronous 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 all storage items for a given library item.
Operation Errors:
NotFound - if the specified library item does not exist.
Unauthorized - if you do not have all of the privileges described as follows:
com.vmware.content.library.Item referenced by the parameter
libraryItemId requires ContentLibrary.ReadStorage. list in interface StoragelibraryItemId - Identifier of the library item whose storage information should be listed.
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.