Class RolePermissionsModel
java.lang.Object
com.gentics.contentnode.rest.model.RolePermissionsModel
Model for role permissions
-
Field Summary
Modifier and TypeFieldDescriptionprotected FilePrivileges
protected PagePrivileges
protected Map<Integer,
PagePrivileges> -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetFile()
File permissionsgetPage()
Global page permissionsLanguage specific page permissionssetFile
(FilePrivileges file) Set file permissionssetPage
(PagePrivileges page) Set global page permissionssetPageLanguages
(Map<Integer, PagePrivileges> pageLanguages) Set language specific page permissions
-
Field Details
-
page
-
pageLanguages
-
file
-
-
Constructor Details
-
RolePermissionsModel
public RolePermissionsModel()
-
-
Method Details
-
getPage
Global page permissions- Returns:
- page permissions
-
setPage
Set global page permissions- Parameters:
page
- page permissions- Returns:
- fluent API
-
getPageLanguages
Language specific page permissions- Returns:
- map of page permissions per language
-
setPageLanguages
Set language specific page permissions- Parameters:
pageLanguages
- map of page permissions per language- Returns:
- fluent API
-
getFile
File permissions- Returns:
- file permissions
-
setFile
Set file permissions- Parameters:
file
- file permissions- Returns:
- fluent API
-