Exemplo n.º 1
0
  private void sendConfirmationEmail(TCAProfileVO tcaProfile) {

    ETSAdminUser adminUser = tcaProfile.getAdminUser();
    HashMap<String, Object> vars = new HashMap<String, Object>();
    vars.put("admin", adminUser);
    emailService.sendTemplateEmail(adminUser.getEmail(), getSendAdminUserRegistrationMail(), vars);
  }
Exemplo n.º 2
0
  private void populateAdminUserVO(ETSAdminUser estAdminUser, AdminUserVO adminUserVO) {

    adminUserVO.setAdminId(estAdminUser.getId());
    adminUserVO.setEmail(estAdminUser.getEmail());
    adminUserVO.setFirstName(estAdminUser.getFirstName());
    adminUserVO.setLastName(estAdminUser.getLastName());
    adminUserVO.setMiddleName(estAdminUser.getMiddleName());
  }