return mgr.getSession().getWorkspace()
.getSite(Utils.getObjectType(siteKey.getType()), siteKey.getName());
}
};
// Add import task to run later.
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);