Known Indirect Subclasses
|
This interface is considered usable by external developers but its contracts have not stabilized.
Experimental APIs may be changed at any time before being marked
@Internal
or
@PublicApi
.
Class Overview
The implementations of this interface are defining permission checking, persistence layer and events for entities E
which are identifiable by id. These implementations can be used with
are required to provide functions specializing EntityPropertyService
.
Summary
Nested Classes |
interface |
EntityPropertyHelper.CheckPermissionFunction<E extends WithId> |
The base function for checking of permissions on chosen entities. |
Public Methods
public
Function<Long, Option<E>>
getEntityByIdFunction
()
Returns
- the function which will get the entity for the provided id.
Returns
- the type of the entity property.
Returns
- the function which will check if the provided user has permissions to edit the entity.
Returns
- the function which will check if the provided user has permissions to view the entity.