| Package | Description |
|---|---|
| io.tesler.model.core.api.security | |
| io.tesler.model.core.entity.security | |
| io.tesler.model.core.service |
| Modifier and Type | Method and Description |
|---|---|
AccessList |
AccessService.copy(AccessList accessList,
AccessListType targetType)
Copies the existing access list and assigns the appropriate type
|
| Modifier and Type | Method and Description |
|---|---|
void |
AccessService.assignAccessList(SecurableEntity entity,
AccessList accessList)
Assigns an access list to an entity
|
AccessList |
AccessService.copy(AccessList accessList,
AccessListType targetType)
Copies the existing access list and assigns the appropriate type
|
AccessRecord |
AccessService.getAccessRecord(AccessList accessList,
IAccessorSupplier supplier)
Returns a record of the user / group's access rights
|
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
|
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.removeAccessor(AccessList entity,
IAccessorSupplier supplier)
Deletes the entry on the access right of the specified user / group
|
| Modifier and Type | Field and Description |
|---|---|
static javax.persistence.metamodel.SingularAttribute<AccessRecord,AccessList> |
AccessRecord_.accessList |
static javax.persistence.metamodel.SingularAttribute<SecurableEntity,AccessList> |
SecurableEntity_.accessList |
static javax.persistence.metamodel.SingularAttribute<AccessList,String> |
AccessList_.name |
static javax.persistence.metamodel.SingularAttribute<AccessList,AccessListType> |
AccessList_.type |
| Modifier and Type | Method and Description |
|---|---|
AccessList |
BaseAccessService.copy(AccessList accessList,
AccessListType targetType) |
| Modifier and Type | Method and Description |
|---|---|
void |
BaseAccessService.assignAccessList(SecurableEntity entity,
AccessList accessList) |
AccessList |
BaseAccessService.copy(AccessList accessList,
AccessListType targetType) |
AccessRecord |
BaseAccessService.getAccessRecord(AccessList accessList,
IAccessorSupplier supplier) |
Permission |
BaseAccessService.getPermission(AccessList accessList) |
Permission |
BaseAccessService.getPermission(AccessList accessList,
User user) |
void |
BaseAccessService.grantPermission(AccessList entity,
IAccessorSupplier supplier,
Permission permission) |
void |
BaseAccessService.grantPermission(AccessList entity,
IAccessorSupplier supplier,
Permission permission,
Boolean mandatory) |
void |
BaseAccessService.removeAccessor(AccessList entity,
IAccessorSupplier supplier) |
Copyright © 2018–2021 Tesler. All rights reserved.