public interface _ManagedRepositoryOperations extends _RepositoryOperations
Modifier and Type | Method and Description |
---|---|
ImportProcessPrx |
importFileset(Fileset fs,
ImportSettings settings,
Ice.Current __current)
Returns an
ImportProcess which can be used to upload files. |
ImportProcessPrx |
importPaths(java.util.List<java.lang.String> filePaths,
Ice.Current __current)
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(Ice.Current __current)
Return the list of checksum algorithms supported by this repository
for verifying the integrity of uploaded files.
|
java.util.List<ImportProcessPrx> |
listImports(Ice.Current __current)
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,
Ice.Current __current)
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,
Ice.Current __current)
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,
Ice.Current __current)
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, Ice.Current __current) 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.__current
- The Current object for the invocation.ServerError
ImportProcessPrx importPaths(java.util.List<java.lang.String> filePaths, Ice.Current __current) 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.__current
- The Current object for the invocation.ServerError
java.util.List<ImportProcessPrx> listImports(Ice.Current __current) 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.__current
- The Current object for the invocation.ServerError
java.util.List<ChecksumAlgorithm> listChecksumAlgorithms(Ice.Current __current)
ImportSettings.checksumAlgorithm
.__current
- The Current object for the invocation.ChecksumAlgorithm suggestChecksumAlgorithm(java.util.List<ChecksumAlgorithm> supported, Ice.Current __current)
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.__current
- The Current object for the invocation.java.util.List<java.lang.Long> verifyChecksums(java.util.List<java.lang.Long> ids, Ice.Current __current) throws ServerError
__current
- The Current object for the invocation.ServerError
java.util.List<java.lang.Long> setChecksumAlgorithm(ChecksumAlgorithm hasher, java.util.List<java.lang.Long> ids, Ice.Current __current) throws ServerError
__current
- The Current object for the invocation.ServerError