public void unretireCertificate(HrCertificate certificate) {
   certificate.setRetired(false);
   hrCertificateDAO.saveCertificate(certificate);
 }
 public void saveCertificate(HrCertificate certificate) {
   hrCertificateDAO.saveCertificate(certificate);
 }
 public List<HrCertificate> getCertificates() {
   return hrCertificateDAO.getAllCertificates();
 }
 public void retireCertificate(HrCertificate certificate, String retireReason, User retiredBy) {
   certificate.setRetired(true);
   certificate.setRetireReason(retireReason);
   certificate.setRetiredBy(retiredBy);
   hrCertificateDAO.saveCertificate(certificate);
 }
 public HrCertificate getCertificateById(int id) {
   return hrCertificateDAO.getCertificateById(id);
 }