//*********************************************
public void updateNoteContent(String guid, String content) {
logger.log(logger.HIGH, "Entering ListManager.updateNoteContent");
// Actually save the content
EnmlConverter enml = new EnmlConverter(logger);
String newContent = enml.convert(guid, content);
String fixedContent = enml.fixEnXMLCrap(newContent);
if (fixedContent != null) {
conn.getNoteTable().updateNoteContent(guid, fixedContent);
logger.log(logger.EXTREME, "Saving new note resources");
List<Resource> oldResources = conn.getNoteTable().noteResourceTable.getNoteResources(guid, false);
List<String> newResources = enml.getResources();
removeObsoleteResources(oldResources, newResources);
} else {
noteSignals.noteSaveRunnerError.emit(guid, null);
}
logger.log(logger.HIGH, "Leaving ListManager.updateNoteContent");