/** * @see * org.esupportail.pstagedata.domain.ContactDomainService#deleteComptesContactFromIdService(int) */ public boolean deleteComptesContactFromIdService(int idService) throws DataUpdateException, WebServiceDataBaseException { boolean b = false; try { b = this.contactDaoService.deleteComptesContactFromIdService(idService); } catch (DataUpdateDaoException e) { throw new DataUpdateException(e.getMessage()); } catch (DataBaseDaoException e) { throw new WebServiceDataBaseException(e.getMessage(), e.getCause()); } return b; }
/** * @see org.esupportail.pstagedata.domain.ContactDomainService#updateContactDerniereConnexion(int, * java.util.Date) */ public boolean updateContactDerniereConnexion(int idContact, Date avantDerniereConnexion) throws DataUpdateException, WebServiceDataBaseException { boolean b = false; try { b = this.contactDaoService.updateContactDerniereConnexion(idContact, avantDerniereConnexion); } catch (DataUpdateDaoException e) { throw new DataUpdateException(e.getMessage()); } catch (DataBaseDaoException e) { throw new WebServiceDataBaseException(e.getMessage(), e.getCause()); } return b; }
/** * @see org.esupportail.pstagedata.domain.ContactDomainService#updateContactInfosAJour(int, * java.lang.String) */ public boolean updateContactInfosAJour(int idContact, String loginInfosAJour) throws DataUpdateException, WebServiceDataBaseException { boolean b = false; try { b = this.contactDaoService.updateContactInfosAJour(idContact, loginInfosAJour); } catch (DataUpdateDaoException e) { throw new DataUpdateException(e.getMessage()); } catch (DataBaseDaoException e) { throw new WebServiceDataBaseException(e.getMessage(), e.getCause()); } return b; }
/** * @see * org.esupportail.pstagedata.domain.ContactDomainService#updateCompteContact(org.esupportail.pstagedata.domain.dto.ContactDTO) */ public boolean updateCompteContact(ContactDTO c) throws DataUpdateException, WebServiceDataBaseException { boolean b = false; try { b = this.contactDaoService.updateCompteContact(UtilsDTO.getContactFromDTO(c)); } catch (DataUpdateDaoException e) { throw new DataUpdateException(e.getMessage()); } catch (DataBaseDaoException e) { throw new WebServiceDataBaseException(e.getMessage(), e.getCause()); } return b; }