@Override protected void removeEntityObject(EntityObject selectedRecord) { try { ParagraphProperties paragraphProperties = (ParagraphProperties) selectedRecord; NliMultiMediaServiceProxy.getInstance().removeEntityObject(paragraphProperties); } catch (Exception exp) { Util.processException(exp); } }
public String doSave() { try { this.address.setLocation((Location) JsfUtils.getFromPageFlow("selectedLocation")); service.saveObjectService(this.address); } catch (Exception exp) { Util.processException(exp); return ""; } finally { reset(); } ////// If Request come from endUser the navigation should be changed.... if (JsfUtils.getFromPageFlow("endUser") != null) return "endUser_goAddress"; return Constants.USERINFO_ADDRESS_GOTO_VIEW; }