FileTypes.ChecksumAlgorithm, FileTypes.ChecksumInfo, FileTypes.Info| Constructor and Description |
|---|
FileStub(ApiProvider apiProvider,
StubConfigurationBase config) |
FileStub(ApiProvider apiProvider,
com.vmware.vapi.internal.bindings.TypeConverter typeConverter,
StubConfigurationBase config) |
| Modifier and Type | Method and Description |
|---|---|
FileTypes.Info |
get(java.lang.String libraryItemId,
java.lang.String name)
Retrieves the information for a single file in a library item by its name.
|
void |
get(java.lang.String libraryItemId,
java.lang.String name,
AsyncCallback<FileTypes.Info> asyncCallback)
Retrieves the information for a single file in a library item by its name.
|
void |
get(java.lang.String libraryItemId,
java.lang.String name,
AsyncCallback<FileTypes.Info> asyncCallback,
InvocationConfig invocationConfig)
Retrieves the information for a single file in a library item by its name.
|
FileTypes.Info |
get(java.lang.String libraryItemId,
java.lang.String name,
InvocationConfig invocationConfig)
Retrieves the information for a single file in a library item by its name.
|
java.util.List<FileTypes.Info> |
list(java.lang.String libraryItemId)
Lists all of the files that are stored within a given library item.
|
void |
list(java.lang.String libraryItemId,
AsyncCallback<java.util.List<FileTypes.Info>> asyncCallback)
Lists all of the files that are stored within a given library item.
|
void |
list(java.lang.String libraryItemId,
AsyncCallback<java.util.List<FileTypes.Info>> asyncCallback,
InvocationConfig invocationConfig)
Lists all of the files that are stored within a given library item.
|
java.util.List<FileTypes.Info> |
list(java.lang.String libraryItemId,
InvocationConfig invocationConfig)
Lists all of the files that are stored within a given library item.
|
public FileStub(ApiProvider apiProvider, com.vmware.vapi.internal.bindings.TypeConverter typeConverter, StubConfigurationBase config)
public FileStub(ApiProvider apiProvider, StubConfigurationBase config)
public FileTypes.Info get(java.lang.String libraryItemId, java.lang.String name)
FileSynchronous method overload. Result of the invocation will be reported as a method return value.
get in interface FilelibraryItemId - Identifier of the library item whose file information should be returned.
The parameter must be an identifier for the resource type: com.vmware.content.library.Item.name - Name of the file in the library item whose information should be returned.FileTypes.Info object with
information on the specified file.public FileTypes.Info get(java.lang.String libraryItemId, java.lang.String name, InvocationConfig invocationConfig)
FileSynchronous 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 FilelibraryItemId - Identifier of the library item whose file information should be returned.
The parameter must be an identifier for the resource type: com.vmware.content.library.Item.name - Name of the file in the library item whose information should be returned.invocationConfig - Configuration for the method invocation.FileTypes.Info object with
information on the specified file.public void get(java.lang.String libraryItemId,
java.lang.String name,
AsyncCallback<FileTypes.Info> asyncCallback)
FileAsynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback.
Operation Result:
The FileTypes.Info object with
information on the specified file.
Operation Errors:
NotFound - if libraryItemId refers to a library item that does not exist.
NotFound - if name refers to a file that does not exist in the 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 System.Read. get in interface FilelibraryItemId - Identifier of the library item whose file information should be returned.
The parameter must be an identifier for the resource type: com.vmware.content.library.Item.name - Name of the file in the library item whose information should be returned.asyncCallback - Receives the status (progress, result or error) of the operation invocation.public void get(java.lang.String libraryItemId,
java.lang.String name,
AsyncCallback<FileTypes.Info> asyncCallback,
InvocationConfig invocationConfig)
FileAsynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback.
Use invocationConfig to specify configuration for this particular invocation.
Operation Result:
The FileTypes.Info object with
information on the specified file.
Operation Errors:
NotFound - if libraryItemId refers to a library item that does not exist.
NotFound - if name refers to a file that does not exist in the 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 System.Read. get in interface FilelibraryItemId - Identifier of the library item whose file information should be returned.
The parameter must be an identifier for the resource type: com.vmware.content.library.Item.name - Name of the file in the library item whose information should be returned.asyncCallback - Receives the status (progress, result or error) of the operation invocation.invocationConfig - Configuration for the method invocation.public java.util.List<FileTypes.Info> list(java.lang.String libraryItemId)
FileSynchronous method overload. Result of the invocation will be reported as a method return value.
list in interface FilelibraryItemId - Identifier of the library item whose files should be listed.
The parameter must be an identifier for the resource type: com.vmware.content.library.Item.List of all of the files that are stored within the given
library item.public java.util.List<FileTypes.Info> list(java.lang.String libraryItemId, InvocationConfig invocationConfig)
FileSynchronous 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 FilelibraryItemId - Identifier of the library item whose files 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 of the files that are stored within the given
library item.public void list(java.lang.String libraryItemId,
AsyncCallback<java.util.List<FileTypes.Info>> asyncCallback)
FileAsynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback.
Operation Result:
The List of all of the files that are stored within the given
library item.
Operation Errors:
NotFound - if libraryItemId refers to a library item that 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 System.Read. list in interface FilelibraryItemId - Identifier of the library item whose files 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<FileTypes.Info>> asyncCallback,
InvocationConfig invocationConfig)
FileAsynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback.
Use invocationConfig to specify configuration for this particular invocation.
Operation Result:
The List of all of the files that are stored within the given
library item.
Operation Errors:
NotFound - if libraryItemId refers to a library item that 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 System.Read. list in interface FilelibraryItemId - Identifier of the library item whose files 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.