コード例 #1
0
 public Phone getPhone(Integer candidateId) throws IdException {
   daoValidator.idValidate(candidateId);
   logger.debug("Returning phone of candidate with id: %s.", candidateId);
   return contactsMapper.getPhone(candidateId);
 }
コード例 #2
0
 public void updatePhone(Phone phone) throws PhoneException {
   daoValidator.phoneValidate(phone);
   logger.debug("Updating phone with id: %s.", phone.getPhoneId());
   contactsMapper.updatePhone(phone);
 }
コード例 #3
0
 public void insertAddress(Address address) throws AddressException {
   daoValidator.addressValidator(address);
   logger.debug("Inserting address with id: %s.", address.getAddressId());
   contactsMapper.insertAddress(address);
 }
コード例 #4
0
 public void removeAddress(Integer candidateId) throws IdException {
   daoValidator.idValidate(candidateId);
   logger.debug("Removing address of candidate: %s.", candidateId);
   contactsMapper.removeAddress(candidateId);
 }
コード例 #5
0
 public Address getAddress(Integer candidateId) throws IdException {
   daoValidator.idValidate(candidateId);
   logger.debug("Returning address of candidate with id: %s.", candidateId);
   return contactsMapper.getAddress(candidateId);
 }
コード例 #6
0
 public void insertEmail(Email email) throws EmailException {
   daoValidator.emailValidate(email);
   logger.debug("Inserting email with id: %s.", email.getEmailId());
   contactsMapper.insertEmail(email);
 }
コード例 #7
0
 public Email getEmail(Integer candidateId) throws IdException {
   daoValidator.idValidate(candidateId);
   logger.debug("Returning email of candidate with id: %s.", candidateId);
   return contactsMapper.getEmail(candidateId);
 }
コード例 #8
0
 public List<Contact> getAllContacts(Integer candidateId) throws IdException {
   daoValidator.idValidate(candidateId);
   logger.debug("Returning all contacts of candidate with id: %s.", candidateId);
   return contactsMapper.getAllContacts(candidateId);
 }
コード例 #9
0
 public void insertIMS(IMS ims) throws IMSException {
   daoValidator.imsValidate(ims);
   logger.debug("Inserting IMS with id: %s.", ims.getImsId());
   contactsMapper.insertIMS(ims);
 }