public void saveProfession(ProfessionWs professionWs) throws ExceptionDAO {
if (professionWs == null) {
return;
}
FacadeDB.getInstance().startTransaction();
Profession profession = FacadeDB.getInstance().getProfessionBroker().getProfessionByName(professionWs.getName());
if (profession == null) {
profession = new Profession();
profession.setName(professionWs.getName());
profession.setDescription(professionWs.getDescription());
FacadeDB.getInstance().getProfessionBroker().insert(profession);
ProfessionRemote professionRemote = new ProfessionRemote(profession);
professionRemote.setRemoteId(professionWs.getId());
FacadeDB.getInstance().getProfessionSyncBroker().saveProfessionRemote(professionRemote);
} else {