}
RamblerTransformationOutput rtf = applyRamblerTransformation(rows,dpp,msg);
if (rtf.getTransformations().keySet().size() <= 0) {
c.append(WorksheetUpdateFactory
.createRegenerateWorksheetUpdates(worksheetId, getSuperSelection(workspace)));
c.add(new InfoUpdate("No Result Submitted"));
return c;
}
ValueCollection rvco = getValueCollectionFromRamblerTranformationOutput(rtf);
findNewHNodeIdAndHNodeAsDerived(workspace, selectedPath);
// create edit multiple cells command
createAndExecuteMultiCellCmd(workspace, selectedPath, rvco);
} catch (Exception e) {
logger.error("Unable to complete processing of cleaning command", e);
c.add(new ErrorUpdate(
"Unable to complete processing of cleaning command"));
// TODO do we need to clean up?
}
if (selectedPath != null) {
c.append(WorksheetUpdateFactory
.createRegenerateWorksheetUpdates(worksheetId, getSuperSelection(workspace)));
/** Add the alignment update **/
c.append(computeAlignmentAndSemanticTypesAndCreateUpdates(
workspace, selectedPath));
}
c.add(new InfoUpdate("Column transformation complete"));
return c;
}