public Phone getPhone(Integer candidateId) throws IdException { daoValidator.idValidate(candidateId); logger.debug("Returning phone of candidate with id: %s.", candidateId); return contactsMapper.getPhone(candidateId); }
public void removeAddress(Integer candidateId) throws IdException { daoValidator.idValidate(candidateId); logger.debug("Removing address of candidate: %s.", candidateId); contactsMapper.removeAddress(candidateId); }
public Email getEmail(Integer candidateId) throws IdException { daoValidator.idValidate(candidateId); logger.debug("Returning email of candidate with id: %s.", candidateId); return contactsMapper.getEmail(candidateId); }
public Address getAddress(Integer candidateId) throws IdException { daoValidator.idValidate(candidateId); logger.debug("Returning address of candidate with id: %s.", candidateId); return contactsMapper.getAddress(candidateId); }
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); }