public interface _ImportProcessOperationsNC extends _StatefulServiceInterfaceOperationsNC
Modifier and Type | Method and Description |
---|---|
HandlePrx |
getHandle()
Reacquire the handle which was returned by
verifyUpload . |
ImportSettings |
getImportSettings() |
RawFileStorePrx |
getUploader(int i)
Step 1: Returns a RawFileStore that can be used to upload one of
the used files.
|
long |
getUploadOffset(int i)
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)
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_async
RawFileStorePrx getUploader(int i) 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
processingServerError
HandlePrx verifyUpload(java.util.List<java.lang.String> hash) 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.ServerError
long getUploadOffset(int i) throws ServerError
ServerError
HandlePrx getHandle() 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.ServerError
ImportSettings getImportSettings()