Class PermissionCollector
java.lang.Object
ch.tocco.nice2.entityoperation.api.security.PermissionCollector
- Direct Known Subclasses:
AccessPermissionCollector
,CreatePermissionCollector
,DeletePermissionCollector
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionabstract EntityReport
collect
(EntityModel model, List<Rule> rules) protected Permission
createPermission
(EntityModel model, Rule rule, @Nullable String field) protected String
getEntityLabel
(EntityModel entityModel) protected <T extends Permission>
List<T> getPermissions
(Rule rule, Class<T> permissionClass)
-
Field Details
-
textResources
-
-
Constructor Details
-
PermissionCollector
-
-
Method Details
-
collect
-
getPermissions
-
getEntityLabel
-
createPermission
protected Permission createPermission(EntityModel model, Rule rule, @Nullable @Nullable String field)
-