コード例 #1
0
 /**
  * @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;
 }
コード例 #2
0
 /**
  * @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;
 }
コード例 #3
0
 /**
  * @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;
 }
コード例 #4
0
 /**
  * @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;
 }