| Modifier and Type | Field and Description |
|---|---|
com.querydsl.core.types.dsl.SetPath<Permission,QPermission> |
QRole.permissions |
com.querydsl.core.types.dsl.SetPath<Permission,QPermission> |
QPermissionGroup.permissions |
| Modifier and Type | Method and Description |
|---|---|
Set<Permission> |
PermissionGroup.getPermissions() |
Set<Permission> |
Role.getPermissions() |
| Modifier and Type | Method and Description |
|---|---|
void |
Role.addPermission(Permission... permissions) |
boolean |
Role.hasPermission(Permission permission) |
boolean |
BasicSecurityPrincipal.hasPermission(Permission permission) |
boolean |
GroupedPrincipal.hasPermission(Permission permission) |
| Modifier and Type | Method and Description |
|---|---|
void |
PermissionGroup.setPermissions(Collection<Permission> permissions) |
void |
Role.setPermissions(Collection<Permission> permissions) |
| Constructor and Description |
|---|
QPermission(Class<? extends Permission> type,
com.querydsl.core.types.PathMetadata metadata,
com.querydsl.core.types.dsl.PathInits inits) |
QPermission(com.querydsl.core.types.Path<? extends Permission> path) |
| Modifier and Type | Method and Description |
|---|---|
Optional<Permission> |
PermissionRepository.findByNameIgnoringCase(String name) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
CurrentUserProxyImpl.hasPermission(Permission permission)
Deprecated.
|
boolean |
CurrentUserProxy.hasPermission(Permission permission)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
Permission |
PermissionService.definePermission(Permission permission)
Ensures the given permission exists based on the unique name.
|
Permission |
PermissionServiceImpl.definePermission(Permission permissionDto) |
Permission |
PermissionService.definePermission(String name,
String description,
PermissionGroup group)
Ensures a permission with the given name and description exists.
|
Permission |
PermissionServiceImpl.definePermission(String name,
String description,
PermissionGroup group) |
Permission |
PermissionService.definePermission(String name,
String description,
String groupName)
Ensures a permission with the given name and description exists.
|
Permission |
PermissionServiceImpl.definePermission(String name,
String description,
String groupName) |
Permission |
PermissionService.getPermission(String name)
Get the Permission entity by name.
|
Permission |
PermissionServiceImpl.getPermission(String name) |
Permission |
PermissionService.savePermission(Permission permission)
Save the Permission entity.
|
Permission |
PermissionServiceImpl.savePermission(Permission permission) |
| Modifier and Type | Method and Description |
|---|---|
Collection<Permission> |
PermissionService.getPermissions()
Get all defined permissions.
|
Collection<Permission> |
PermissionServiceImpl.getPermissions() |
| Modifier and Type | Method and Description |
|---|---|
Permission |
PermissionService.definePermission(Permission permission)
Ensures the given permission exists based on the unique name.
|
Permission |
PermissionServiceImpl.definePermission(Permission permissionDto) |
void |
PermissionService.deletePermission(Permission permission)
Delete the Permission entity.
|
void |
PermissionServiceImpl.deletePermission(Permission permission) |
Permission |
PermissionService.savePermission(Permission permission)
Save the Permission entity.
|
Permission |
PermissionServiceImpl.savePermission(Permission permission) |
Copyright © 2020. All rights reserved.