org.keel.services.usergroupmgr
Interface GroupManager
- All Known Implementing Classes:
- PersistGroupManager
- public interface GroupManager
- Author:
- schatterjee To change the template for this generated type comment go to Window - Preferences - Java - Code Generation - Code and Comments
| Field Summary |
static java.lang.String |
ROLE
|
ROLE
public static final java.lang.String ROLE
-
find
public Group find(Group.Property property,
java.lang.Object value)
throws UserMgrException
-
- Throws:
UserMgrException
list
public Group[] list()
throws UserMgrException
-
- Throws:
UserMgrException
add
public Group add(Group group)
throws UserMgrException
-
- Throws:
UserMgrException
delete
public boolean delete(Group group)
throws UserMgrException
-
- Throws:
UserMgrException
update
public boolean update(Group group)
throws UserMgrException
-
- Throws:
UserMgrException
listUsers
public User[] listUsers(Group group)
throws UserMgrException
-
- Throws:
UserMgrException
addUser
public boolean addUser(Group group,
User user)
throws UserMgrException
-
- Throws:
UserMgrException
deleteUser
public boolean deleteUser(Group group,
User user)
throws UserMgrException
-
- Throws:
UserMgrException
listGroups
public Group[] listGroups(User user)
throws UserMgrException
-
- Throws:
UserMgrException
createGroup
public Group createGroup(java.lang.String name,
java.lang.String description)
throws UserMgrException
-
- Throws:
UserMgrException
Please see keelframework.org for information about new Keel releases.