public interface _ManagedRepositoryOperationsNC extends _RepositoryOperationsNC
Modifier and Type | Method and Description |
---|---|
ImportProcessPrx |
importFileset(Fileset fs,
ImportSettings settings)
Returns an
ImportProcess which can be used to upload files. |
ImportProcessPrx |
importPaths(java.util.List<java.lang.String> filePaths)
For clients without access to Bio-Formats, the simplified
importPaths method allows passing solely the absolute
path of the files to be uploaded (no directories) and all
configuration happens server-side. |
java.util.List<ChecksumAlgorithm> |
listChecksumAlgorithms()
Return the list of checksum algorithms supported by this repository
for verifying the integrity of uploaded files.
|
java.util.List<ImportProcessPrx> |
listImports()
List imports that are currently running in this importer.
|
java.util.List<java.lang.Long> |
setChecksumAlgorithm(ChecksumAlgorithm hasher,
java.util.List<java.lang.Long> ids)
Set the checksum algorithm for the original files identified
by the given IDs and calculate their checksum accordingly.
|
ChecksumAlgorithm |
suggestChecksumAlgorithm(java.util.List<ChecksumAlgorithm> supported)
Suggest a checksum algorithm to use for
ImportSettings.checksumAlgorithm according to the
preferences set by the server administrator. |
java.util.List<java.lang.Long> |
verifyChecksums(java.util.List<java.lang.Long> ids)
Verify the checksum for the original files identified by
the given IDs.
|
deletePaths, file, fileById, fileExists, list, listFiles, makeDir, mimetype, register, root, treeList
ImportProcessPrx importFileset(Fileset fs, ImportSettings settings) throws ServerError
ImportProcess
which can be used to upload files.
On _ImportProcessOperations.verifyUpload(java.util.List<java.lang.String>, Ice.Current)
, an Handle
will be
returned which can be watched for knowing when the server-side import
is complete.
Client paths set in the fileset entries must /-separate their components.
Once the upload is complete, the ImportProcess
must be closed.
Once _HandleOperations.getResponse(Ice.Current)
returns a non-null value, the
handle instance can and must be closed.ServerError
ImportProcessPrx importPaths(java.util.List<java.lang.String> filePaths) throws ServerError
importPaths
method allows passing solely the absolute
path of the files to be uploaded (no directories) and all
configuration happens server-side. Much of the functionality
provided via Fileset
and
ImportSettings
is of course lost.ServerError
java.util.List<ImportProcessPrx> listImports() throws ServerError
Fileset
object which is being created
by the import. If the user has write permissions for the
fileset, then the import will be included.ServerError
java.util.List<ChecksumAlgorithm> listChecksumAlgorithms()
ImportSettings.checksumAlgorithm
.ChecksumAlgorithm suggestChecksumAlgorithm(java.util.List<ChecksumAlgorithm> supported)
ImportSettings.checksumAlgorithm
according to the
preferences set by the server administrator. Provide a
list of the algorithms supported by the client, and the
server will report which of them is most preferred by
the server, or return null if none of them are supported.java.util.List<java.lang.Long> verifyChecksums(java.util.List<java.lang.Long> ids) throws ServerError
ServerError
java.util.List<java.lang.Long> setChecksumAlgorithm(ChecksumAlgorithm hasher, java.util.List<java.lang.Long> ids) throws ServerError
ServerError