super.doSave();
if ((this.getDlgState()==DlgState.dsInsert) && (jbsUsers.findUser(this.getUser().getUserName())!=null)) {
//JbsOptionPane.showErrorDialog(this, JbsL10N.getString("User.existsMessage"));
throw new EJbsUser(EJbsUser.ET_EXISTS);
}
if (this.getUser().getCompanies()==null)
this.getUser().setCompanies(new LinkedHashSet<JbsCompany>());
if (this.getUser().getCompanies().isEmpty())