Package io.jmix.securityui.model
Class RoleModelConverter
java.lang.Object
io.jmix.securityui.model.RoleModelConverter
Class is used for converting
ResourceRole
, RowLevelRole
objects
into non-persistent ResourceRoleModel
, RowLevelRoleModel
entities which may be
displayed in UI-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected List<ResourcePolicyModel>
createResourcePolicyModels
(Collection<ResourcePolicy> resourcePolicies) protected List<RowLevelPolicyModel>
createRowLevelPolicyModels
(Collection<RowLevelPolicy> resourcePolicies) protected void
initBaseParameters
(BaseRoleModel roleModel, BaseRole role)
-
Field Details
-
metadata
-
-
Constructor Details
-
RoleModelConverter
public RoleModelConverter()
-
-
Method Details
-
createResourceRoleModel
-
createRowLevelRoleModel
-
initBaseParameters
-
createResourcePolicyModels
protected List<ResourcePolicyModel> createResourcePolicyModels(Collection<ResourcePolicy> resourcePolicies) -
createRowLevelPolicyModels
protected List<RowLevelPolicyModel> createRowLevelPolicyModels(Collection<RowLevelPolicy> resourcePolicies)
-