| Modifier and Type | Method and Description |
|---|---|
Permission |
AccessService.getPermission(AccessList accessList)
Returns the rights of the current user
|
Permission |
AccessService.getPermission(AccessList accessList,
User user)
Returns the rights of the specified user
|
Permission |
AccessService.getPermission(SecurableEntity entity)
Returns the rights of the current user
|
Permission |
AccessService.getPermission(SecurableEntity entity,
User user)
Returns the rights of the specified user
|
| Modifier and Type | Method and Description |
|---|---|
<T extends SecurableEntity> |
AccessService.getSecuritySpecification(Permission permission)
Returns the security specification for getting a list of entities
for the current user and the requested access level
|
<T extends SecurableEntity> |
AccessService.getSecuritySpecification(User user,
Permission permission)
Returns the security specification for getting a list of entities
for the specified user and the requested access level
|
void |
AccessService.grantPermission(AccessList entity,
IAccessorSupplier supplier,
Permission permission)
Grants rights to the specified user / group
|
void |
AccessService.grantPermission(AccessList entity,
IAccessorSupplier supplier,
Permission permission,
Boolean mandatory)
Grants rights to the specified user / group
|
void |
AccessService.grantPermission(SecurableEntity entity,
IAccessorSupplier supplier,
Permission permission)
Grants rights to the specified user / group, after copying
access list if not private
|
void |
AccessService.grantPermission(SecurableEntity entity,
IAccessorSupplier supplier,
Permission permission,
Boolean mandatory)
Grants rights to the specified user / group, after copying
access list if not private
|
| Modifier and Type | Method and Description |
|---|---|
Permission |
PermissionConverter.convertToEntityAttribute(Integer dbData) |
| Modifier and Type | Method and Description |
|---|---|
Integer |
PermissionConverter.convertToDatabaseColumn(Permission attribute) |
| Modifier and Type | Field and Description |
|---|---|
static javax.persistence.metamodel.SingularAttribute<AccessRecord,Permission> |
AccessRecord_.permission |
| Modifier and Type | Method and Description |
|---|---|
static Permission |
Permission.of(int intValue) |
static Permission |
Permission.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Permission[] |
Permission.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
Permission |
BaseAccessService.getPermission(AccessList accessList) |
Permission |
BaseAccessService.getPermission(AccessList accessList,
User user) |
Permission |
BaseAccessService.getPermission(SecurableEntity entity) |
Permission |
BaseAccessService.getPermission(SecurableEntity entity,
User user) |
| Modifier and Type | Method and Description |
|---|---|
<T extends SecurableEntity> |
BaseAccessService.getSecuritySpecification(Permission permission) |
<T extends SecurableEntity> |
BaseAccessService.getSecuritySpecification(User user,
Permission permission) |
void |
BaseAccessService.grantPermission(AccessList entity,
IAccessorSupplier supplier,
Permission permission) |
void |
BaseAccessService.grantPermission(AccessList entity,
IAccessorSupplier supplier,
Permission permission,
Boolean mandatory) |
void |
BaseAccessService.grantPermission(SecurableEntity entity,
IAccessorSupplier supplier,
Permission permission) |
void |
BaseAccessService.grantPermission(SecurableEntity entity,
IAccessorSupplier supplier,
Permission permission,
Boolean mandatory) |
Copyright © 2018–2021 Tesler. All rights reserved.