Class RolePermissions

java.lang.Object
com.gentics.contentnode.rest.model.perm.RolePermissions

public class RolePermissions extends Object
Role permissions
  • Constructor Details

    • RolePermissions

      public RolePermissions()
  • Method Details

    • getPage

      public Map<PermType,Boolean> getPage()
      Role permissions for all pages
      Returns:
      permission map
    • setPage

      public void setPage(Map<PermType,Boolean> page)
      Set role permissions for all pages
      Parameters:
      page - permission map
    • getPageLanguages

      public Map<String,Map<PermType,Boolean>> getPageLanguages()
      Language specific role permissions
      Returns:
      language map
    • setPageLanguages

      public void setPageLanguages(Map<String,Map<PermType,Boolean>> pageLanguages)
      Set language specific role permissions
      Parameters:
      pageLanguages - language map
    • getFile

      public Map<PermType,Boolean> getFile()
      Role permissions for files
      Returns:
      permission map
    • setFile

      public void setFile(Map<PermType,Boolean> file)
      Set role permissions for files
      Parameters:
      file - permission map