mopImport.pageTask = new PageImportTask(pages, siteKey, dataStorage, pageService, siteProvider);
} else if (file.equals(NavigationExportTask.FILE)) {
// Unmarshal navigation data
Marshaller<PageNavigation> marshaller = operationContext.getBindingProvider().getMarshaller(
PageNavigation.class, ContentType.XML);
PageNavigation navigation = marshaller.unmarshal(zis);
navigation.setOwnerType(siteKey.getTypeName());
navigation.setOwnerId(siteKey.getName());
// Add import task to run later
mopImport.navigationTask = new NavigationImportTask(navigation, siteKey, navigationService,
descriptionService, dataStorage);
}