public String saveSubObject(String token,String user,String documentiId,String analysisName,String analysisDescription,String visibilityBoolean,String content){
logger.debug("IN");
Monitor monitor =MonitorFactory.start("spagobi.service.content.saveSubObject");
try {
validateTicket(token,user);
IEngUserProfile profile = GeneralUtilities.createNewUserProfile(user);
if (!profile.getFunctionalities().contains(SpagoBIConstants.SAVE_SUBOBJECT_FUNCTIONALITY)) {
logger.debug("KO - User " + user + " cannot save subobjects");
return "KO - You cannot save subobjects";
}
String userId = ((UserProfile)profile).getUserId().toString();
//return saveSubObject(user,documentiId,analysisName,analysisDescription,visibilityBoolean,content);