Package com.ateam.webstore.model

Examples of com.ateam.webstore.model.SecurityQuestion


    return repository.get(id);
  }
 
  public Employee registerEmployee(String fname, String lname, String email, String password, Long securityQuestionID, String securityAnswer
      , String ssn, String jobTitle, Date dateOfHire, String deptCode, Double salary) {
    SecurityQuestion secQuestion = new SecurityQuestionService().getById(securityQuestionID);
    Person person = new Person(email, password, secQuestion, securityAnswer);
    return store(new Employee(fname, lname, ssn, jobTitle, dateOfHire, deptCode, salary, person));
  }
View Full Code Here


  }

  private Collection<SecurityQuestion> getDummies() {
    Collection<SecurityQuestion> secs = new ArrayList<SecurityQuestion>();
   
    SecurityQuestion sec = new SecurityQuestion(("Mothers maiden name?"));
    secs.add(sec);
   
    return secs;
  }
View Full Code Here

    return repository.get(id);
  }
 
  public Customer registerCustomer(String fname, String lname, String email, String password, Long securityQuestionID, String securityAnswer) {
   
    SecurityQuestion secQuestion = new SecurityQuestionService().getById(securityQuestionID);
    Person person = new Person(email, password, secQuestion, securityAnswer);
//    CustomerService custService = new CustomerService();
    return store(new Customer(fname, lname, person));
  }
View Full Code Here

TOP

Related Classes of com.ateam.webstore.model.SecurityQuestion

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.