public interface _ImportProcessOperations extends _StatefulServiceInterfaceOperations
| Modifier and Type | Method and Description |
|---|---|
HandlePrx |
getHandle(Ice.Current __current)
Reacquire the handle which was returned by
verifyUpload. |
ImportSettings |
getImportSettings(Ice.Current __current) |
RawFileStorePrx |
getUploader(int i,
Ice.Current __current)
Step 1: Returns a RawFileStore that can be used to upload one of
the used files.
|
long |
getUploadOffset(int i,
Ice.Current __current)
In case an upload must be resumed, this provides the
location of the last successful upload.
|
HandlePrx |
verifyUpload(java.util.List<java.lang.String> hash,
Ice.Current __current)
Step 2: Passes a set of client-side calculated hashes to the
server for verifying that all of the files were correctly
uploaded.
|
activate_async, close_async, getCurrentEventContext_async, passivate_asyncRawFileStorePrx getUploader(int i, Ice.Current __current) throws ServerError
ImportLocation. omero.api.RawFileStore.close
should be called once all data has been transferred. If the
file must be re-written, call getUploader with the
same index again. Once all uploads have been completed,
verifyUpload should be called to initiate background
processing__current - The Current object for the invocation.ServerErrorHandlePrx verifyUpload(java.util.List<java.lang.String> hash, Ice.Current __current) throws ServerError
Handle
proxy is returned, which completes all the necessary import
steps. A successful import will return an
ImportResponse. Otherwise, some ERR
will be returned.__current - The Current object for the invocation.ServerErrorlong getUploadOffset(int i,
Ice.Current __current)
throws ServerError
__current - The Current object for the invocation.ServerErrorHandlePrx getHandle(Ice.Current __current) throws ServerError
verifyUpload. This is useful in case a new
client is re-attaching to a running import.
From the Handle instance, the
original ImportRequest can also be found.__current - The Current object for the invocation.ServerErrorImportSettings getImportSettings(Ice.Current __current)