Map<String,String> parametersMap = new HashMap<String,String>();
for (Map.Entry<String, JsonElement> entry : parameters.entrySet()) {
parametersMap.put(entry.getKey(), entry.getValue().getAsString());
}
if (mediaImportManager.startImport(module, parametersMap)) {
return new OperationStatus(true);
} else {
return new OperationStatus(false);
}
}