| Modifier and Type | Class and Description |
|---|---|
class |
UserGroupIdResolver<E extends UserGroup,D extends UserGroupDao<E>,S extends UserGroupService<E,D>> |
| Modifier and Type | Class and Description |
|---|---|
class |
UserGroupDao<E extends UserGroup> |
| Modifier and Type | Method and Description |
|---|---|
Map<PersistentObject,PermissionCollection> |
GenericHibernateDao.findAllUserGroupPermissionsOfUserGroup(UserGroup userGroup)
This method returns a
Map that maps PersistentObjects
to PermissionCollections for the passed UserGroup. |
| Modifier and Type | Method and Description |
|---|---|
Map<UserGroup,PermissionCollection> |
PersistentObject.getGroupPermissions() |
Set<UserGroup> |
User.getUserGroups() |
| Modifier and Type | Method and Description |
|---|---|
void |
PersistentObject.setGroupPermissions(Map<UserGroup,PermissionCollection> groupPermissions) |
void |
User.setUserGroups(Set<UserGroup> userGroups) |
| Modifier and Type | Class and Description |
|---|---|
class |
UserGroupRestController<E extends UserGroup,D extends UserGroupDao<E>,S extends UserGroupService<E,D>> |
| Modifier and Type | Method and Description |
|---|---|
org.springframework.http.ResponseEntity<Set<UserGroup>> |
UserRestController.findGroupsOfUser(Integer userId)
Get the groups of a specific user.
|
| Modifier and Type | Class and Description |
|---|---|
class |
UserGroupPermissionEvaluator<E extends UserGroup> |
| Modifier and Type | Method and Description |
|---|---|
protected PermissionCollection |
PersistentObjectPermissionEvaluator.extractGroupPermissions(User user,
Map<UserGroup,PermissionCollection> groupPermissionsMap) |
| Modifier and Type | Class and Description |
|---|---|
class |
UserGroupService<E extends UserGroup,D extends UserGroupDao<E>>
Service class for the
UserGroup model. |
| Modifier and Type | Method and Description |
|---|---|
Set<UserGroup> |
UserService.getGroupsOfUser(Integer userId) |
| Modifier and Type | Method and Description |
|---|---|
void |
PermissionAwareCrudService.addAndSaveGroupPermissions(E entity,
UserGroup userGroup,
Permission... permissions)
This method adds (user) permissions to the passed entity and persists (!)
|
Map<PersistentObject,PermissionCollection> |
PermissionAwareCrudService.findAllUserGroupPermissionsOfUserGroup(UserGroup userGroup)
This method returns a
Map that maps PersistentObjects
to PermissionCollections for the passed UserGroup. |
void |
PermissionAwareCrudService.removeAndSaveGroupPermissions(E entity,
UserGroup userGroup,
Permission... permissions)
This method removes (group) permissions from the passed entity and persists (!)
|
Copyright © 2020 terrestris GmbH & Co. KG. All rights reserved.