use of com.runwaysdk.localization.LocalizationExcelImporter in project geoprism-registry by terraframe.
the class LocalizationService method importSpreadsheetInRequest.
@Request(RequestType.SESSION)
public void importSpreadsheetInRequest(String sessionId, MultipartFileParameter file) {
ServiceFactory.getRolePermissionService().enforceSRA();
try {
LocalizationExcelImporter importer = new LocalizationExcelImporter(buildConfig(), file.getInputStream());
importer.doImport();
} catch (IOException e) {
throw new RuntimeException(e);
}
}
Aggregations