public interface Parts extends Service, PartsTypes
Parts interface provides methods Provides list of parts optional for the
backupPartsTypes.LocalizableMessage, PartsTypes.Part| Modifier and Type | Method and Description |
|---|---|
long |
get(String id)
Get size of the optional part
|
void |
get(String id,
AsyncCallback<Long> asyncCallback)
Get size of the optional part
|
void |
get(String id,
AsyncCallback<Long> asyncCallback,
InvocationConfig invocationConfig)
Get size of the optional part
|
long |
get(String id,
InvocationConfig invocationConfig)
Get size of the optional part
|
List<PartsTypes.Part> |
list()
Get a list of the backup parts
|
void |
list(AsyncCallback<List<PartsTypes.Part>> asyncCallback)
Get a list of the backup parts
|
void |
list(AsyncCallback<List<PartsTypes.Part>> asyncCallback,
InvocationConfig invocationConfig)
Get a list of the backup parts
|
List<PartsTypes.Part> |
list(InvocationConfig invocationConfig)
Get a list of the backup parts
|
List<PartsTypes.Part> list()
Synchronous method overload. Result of the invocation will be reported as a method return value.
Error - Generic errorList<PartsTypes.Part> list(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.
invocationConfig - Configuration for the method invocation.Error - Generic errorvoid list(AsyncCallback<List<PartsTypes.Part>> asyncCallback)
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback.
Operation Result:
list of parts
Operation Errors:
Error - Generic error
asyncCallback - Receives the status (progress, result or error) of the operation invocation.void list(AsyncCallback<List<PartsTypes.Part>> 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.
Operation Result:
list of parts
Operation Errors:
Error - Generic error
asyncCallback - Receives the status (progress, result or error) of the operation invocation.invocationConfig - Configuration for the method invocation.long get(String id)
Synchronous method overload. Result of the invocation will be reported as a method return value.
id - part id
The parameter must be an identifier for the resource type: com.vmware.appliance.recovery.backup.parts.Error - Generic errorlong get(String id, 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.
id - part id
The parameter must be an identifier for the resource type: com.vmware.appliance.recovery.backup.parts.invocationConfig - Configuration for the method invocation.Error - Generic errorvoid get(String id, AsyncCallback<Long> asyncCallback)
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback.
Operation Result:
int size
Operation Errors:
Error - Generic error
id - part id
The parameter must be an identifier for the resource type: com.vmware.appliance.recovery.backup.parts.asyncCallback - Receives the status (progress, result or error) of the operation invocation.void get(String id, AsyncCallback<Long> 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.
Operation Result:
int size
Operation Errors:
Error - Generic error
id - part id
The parameter must be an identifier for the resource type: com.vmware.appliance.recovery.backup.parts.asyncCallback - Receives the status (progress, result or error) of the operation invocation.invocationConfig - Configuration for the method invocation.Copyright © 2016. All Rights Reserved.