objSub.setName(analysisName);
objSub.setContent(content.getBytes());
//if subobject doesn't exist, it will be created
if (!subobjExists)
id = subdao.saveSubObject(docId, objSub);
else
//update the subobject
id = subdao.modifySubObject(docId, objSub);;
String toReturn = "OK - " + id.toString();