@Repository public class GroupDaoImpl extends Object implements GroupDao
Constructor and Description |
---|
GroupDaoImpl() |
Modifier and Type | Method and Description |
---|---|
void |
addToGroup(List<User> users,
Long groupId) |
javax.persistence.EntityManager |
getEntityManager() |
Group |
getGroup(Long id) |
Group |
getGroup(String name) |
Map<String,Group> |
getGroupMap() |
List<Group> |
getGroups() |
UserDao |
getUserDao() |
void |
init() |
void |
removeFromGroup(List<User> users,
Long groupId) |
void |
removeGroup(Group group) |
Long |
saveGroup(Group group) |
void |
setEntityManager(javax.persistence.EntityManager entityManager) |
void |
setGroupMap(Map<String,Group> groupMap) |
void |
setUserDao(UserDao userDao) |
public GroupDaoImpl()
public void init()
@Transactional public void removeGroup(Group group)
removeGroup
in interface GroupDao
public void removeFromGroup(List<User> users, Long groupId)
removeFromGroup
in interface GroupDao
public void addToGroup(List<User> users, Long groupId)
addToGroup
in interface GroupDao
public javax.persistence.EntityManager getEntityManager()
public void setEntityManager(javax.persistence.EntityManager entityManager)
public UserDao getUserDao()
public void setUserDao(UserDao userDao)
public Map<String,Group> getGroupMap()
getGroupMap
in interface GroupDao
public void setGroupMap(Map<String,Group> groupMap)
setGroupMap
in interface GroupDao
Copyright © 2011–2014 The Kuali Foundation. All rights reserved.