net.incongru.berkano.user
Interface GroupDAO

All Known Implementing Classes:
HibernatedGroupDAO

public interface GroupDAO

Version:
$Revision: 1.7 $
Author:
greg, $Author: gj $ (last edit)

Method Summary
 void addProperty(java.lang.Long userId, java.lang.String propertyKey, java.lang.Object value)
           
 void assignRoles(java.lang.Long groupId, java.util.Set roles)
           
 Group getGroupById(java.lang.Long groupId)
           
 Group getGroupByName(java.lang.String groupName)
           
 java.util.List listAllGroups()
           
 Group newGroup(java.lang.String groupName)
           
 boolean removeGroup(java.lang.Long groupId)
           
 void removeProperty(java.lang.Long userId, java.lang.String propertyKey)
           
 

Method Detail

getGroupById

Group getGroupById(java.lang.Long groupId)

getGroupByName

Group getGroupByName(java.lang.String groupName)

newGroup

Group newGroup(java.lang.String groupName)

removeGroup

boolean removeGroup(java.lang.Long groupId)

listAllGroups

java.util.List listAllGroups()

addProperty

void addProperty(java.lang.Long userId,
                 java.lang.String propertyKey,
                 java.lang.Object value)
                 throws UnknownUserException
Throws:
UnknownUserException

removeProperty

void removeProperty(java.lang.Long userId,
                    java.lang.String propertyKey)
                    throws UnknownUserException
Throws:
UnknownUserException

assignRoles

void assignRoles(java.lang.Long groupId,
                 java.util.Set roles)


Copyright © 2004-2007. All Rights Reserved.