Package io.jmix.security.model
Class RowLevelRole
java.lang.Object
io.jmix.security.model.BaseRole
io.jmix.security.model.RowLevelRole
- All Implemented Interfaces:
 Serializable
Class is a container for security row level policies.
 
Row-level policy restrict which data a user can read or modify.
Role objects may be created from different sources:
- from interfaces annotated with 
RowLevelRole - from database Role entities
 - created explicitly by the application
 
- See Also:
 
- 
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classA data structure that stores row-level role policies grouped by entity name. - 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionReturns an index structure that stores policies of the current role and all child roles.Returns an index structure that stores policies of the current role only.voidsetAllRowLevelPolicies(Collection<RowLevelPolicy> allRowLevelPolicies) voidsetRowLevelPolicies(Collection<RowLevelPolicy> rowLevelPolicies) Methods inherited from class io.jmix.security.model.BaseRole
getChildRoles, getCode, getCustomProperties, getDescription, getName, getSource, getTenantId, setChildRoles, setCode, setCustomProperties, setDescription, setName, setSource, setTenantId 
- 
Constructor Details
- 
RowLevelRole
public RowLevelRole() 
 - 
 - 
Method Details
- 
getRowLevelPolicies
 - 
setRowLevelPolicies
 - 
getAllRowLevelPolicies
Returns an index structure that stores policies of the current role and all child roles. - 
setAllRowLevelPolicies
 - 
getRowLevelPoliciesIndex
Returns an index structure that stores policies of the current role only. - 
getAllRowLevelPoliciesIndex
 
 -