eu.planets_project.services.migrate
Interface MigrateAsync
- All Superinterfaces:
- PlanetsService
@MTOM
@StreamingAttachment(parseEagerly=true,
memoryThreshold=10485760L)
public interface MigrateAsync
- extends PlanetsService
This is intended to become the generic migration interface for complex migration services.
******************* NOT IN SERVICE AT PRESENT **************************
It should:
- Support service description to facilitate discovery.
- Allow multiple input formats and output formats to be dealt with be the same service.
- Allow parameters to be discovered and submitted to control the migration.
- Allow digital objects composed of more than one file/bitstream.
- Allow Files/bitstreams passed by value OR by reference.
- Provide methods for asynchronous invocation.
Field Summary |
static java.lang.String |
NAME
The interface name |
static javax.xml.namespace.QName |
QNAME
The qualified name |
NAME
static final java.lang.String NAME
- The interface name
- See Also:
- Constant Field Values
QNAME
static final javax.xml.namespace.QName QNAME
- The qualified name
startMigrate
java.lang.String startMigrate(DigitalObject digitalObject,
java.net.URI inputFormat,
java.net.URI outputFormat,
java.net.URL writeLocation,
java.util.List<Parameter> parameters)
- Parameters:
digitalObject
- The digital object to migrateinputFormat
- Format URI for the digital object path (migrate from)outputFormat
- Format URI for the desired ouput (migrate to)writeLocation
- a location (URL) to write the result toparameters
- extra parameters to control particular tools
- Returns:
- A new digital object, the result of migrating the given digital
object
pollStatus
MigrateAsync.AsyncStatus pollStatus(java.lang.String ticket)
- Parameters:
ticket
- The ticket
- Returns:
- the current status enum
getMigrateAsyncResult
MigrateResult getMigrateAsyncResult(java.lang.String ticket)
- Parameters:
ticket
- The ticket
- Returns:
- the completed job MigrateResult
Copyright © 2007-2010 The Planets Consortium. All Rights Reserved.