net.incongru.berkano.user.hibernate
Class HibernatedGroupDAO
java.lang.Object
net.incongru.berkano.user.hibernate.AbstractHibernatedDAO
net.incongru.berkano.user.hibernate.HibernatedGroupDAO
- All Implemented Interfaces:
- GroupDAO
public class HibernatedGroupDAO
- extends AbstractHibernatedDAO
- implements GroupDAO
- Version:
- $Revision: 1.5 $
- Author:
- greg, $Author: gj $ (last edit)
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HibernatedGroupDAO
public HibernatedGroupDAO(org.hibernate.Session session)
getById
protected PropertiesAware getById(java.lang.Long id)
throws UnknownUserException
- Specified by:
getById in class AbstractHibernatedDAO
- Throws:
UnknownUserException
getGroupById
public Group getGroupById(java.lang.Long groupId)
- Specified by:
getGroupById in interface GroupDAO
getGroupByName
public Group getGroupByName(java.lang.String groupName)
- Specified by:
getGroupByName in interface GroupDAO
newGroup
public Group newGroup(java.lang.String groupName)
- Specified by:
newGroup in interface GroupDAO
removeGroup
public boolean removeGroup(java.lang.Long groupId)
- Specified by:
removeGroup in interface GroupDAO
listAllGroups
public java.util.List listAllGroups()
- Specified by:
listAllGroups in interface GroupDAO
assignRoles
public void assignRoles(java.lang.Long groupId,
java.util.Set roles)
- Specified by:
assignRoles in interface GroupDAO
Copyright © 2004-2007. All Rights Reserved.