Modifier and Type | Field and Description |
---|---|
private EntityManager |
em |
private Validator |
validator |
Constructor and Description |
---|
UserMgmtDAO() |
Modifier and Type | Method and Description |
---|---|
Member |
createMember(Member member) |
Member |
findMemberByLogin(String login) |
Member |
getMember(int id) |
void |
setEntityManager(EntityManager em) |
void |
setValidator(Validator validator) |
private EntityManager em
private Validator validator
public void setEntityManager(EntityManager em)
public void setValidator(Validator validator)
public Member createMember(Member member) throws InvalidAccount
createMember
in interface UserMgmt
InvalidAccount
public Member findMemberByLogin(String login)
findMemberByLogin
in interface UserMgmt
Copyright © 2015 John's Hopkins University, Engineering Programs for Professionals. All rights reserved.