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.
- Author:
- Andy Jackson
NAME
static final String NAME
- The interface name
- See Also:
- Constant Field Values
QNAME
static final QName QNAME
- The qualified name
startMigrate
String startMigrate(DigitalObject digitalObject,
URI inputFormat,
URI outputFormat,
URL writeLocation,
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(String ticket)
- Parameters:
ticket
- The ticket
- Returns:
- the current status enum
getMigrateAsyncResult
MigrateResult getMigrateAsyncResult(String ticket)
- Parameters:
ticket
- The ticket
- Returns:
- the completed job MigrateResult
Copyright © 2013 Open Planets Foundation. All Rights Reserved.