Class PermissionsMap
java.lang.Object
com.gentics.contentnode.rest.model.perm.PermissionsMap
Permissions map
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionPermissions not specific to languagesRole specific permissionsvoid
setPermissions
(Map<PermType, Boolean> permissions) Set the permissions mapvoid
setRolePermissions
(RolePermissions rolePermissions) Set the role specific permissions
-
Field Details
-
permissions
-
rolePermissions
-
-
Constructor Details
-
PermissionsMap
public PermissionsMap()Create an instance
-
-
Method Details
-
getPermissions
Permissions not specific to languages- Returns:
- permissions map
-
setPermissions
Set the permissions map- Parameters:
permissions
- permissions map
-
getRolePermissions
Role specific permissions- Returns:
- role permissions
-
setRolePermissions
Set the role specific permissions- Parameters:
rolePermissions
- role specific permissions
-