@Repository public class UserDaoImpl extends Object implements UserDao
Constructor and Description |
---|
UserDaoImpl() |
Modifier and Type | Method and Description |
---|---|
javax.persistence.EntityManager |
getEntityManager() |
GroupDao |
getGroupDao() |
List<User> |
loadAllUsers() |
List<User> |
loadUserByGroup(Long groupId) |
User |
loadUserById(Long id) |
User |
loadUserByLoginName(String loginName) |
Long |
saveUser(User user) |
void |
setEntityManager(javax.persistence.EntityManager entityManager) |
void |
setGroupDao(GroupDao groupDao) |
public UserDaoImpl()
public User loadUserById(Long id)
loadUserById
in interface UserDao
public User loadUserByLoginName(String loginName)
loadUserByLoginName
in interface UserDao
public List<User> loadUserByGroup(Long groupId)
loadUserByGroup
in interface UserDao
public List<User> loadAllUsers()
loadAllUsers
in interface UserDao
public javax.persistence.EntityManager getEntityManager()
public void setEntityManager(javax.persistence.EntityManager entityManager)
public GroupDao getGroupDao()
public void setGroupDao(GroupDao groupDao)
Copyright © 2011–2015 The Kuali Foundation. All rights reserved.