try {
// all migration actions are done via the metaconverter
metaconverterService = metaconverterServiceLocator.getMetaconverter();
// prepare the data of the sample record for migration
FileObject sampleFile = new FileObject(sampleObject.getData().getData(), sampleObject.getFullname());
RepresentationObject representationObject = new RepresentationObject(new FileObject[]{sampleFile});
// the action parameters specify which migration service is called
MigrationPath migrationPath = new MigrationPath();
LinkedList<String> urls = new LinkedList<String>();