Class RolePermissionsModel

java.lang.Object
com.gentics.contentnode.rest.model.RolePermissionsModel

public class RolePermissionsModel extends Object
Model for role permissions
  • Field Details

  • Constructor Details

    • RolePermissionsModel

      public RolePermissionsModel()
  • Method Details

    • getPage

      public PagePrivileges getPage()
      Global page permissions
      Returns:
      page permissions
    • setPage

      public RolePermissionsModel setPage(PagePrivileges page)
      Set global page permissions
      Parameters:
      page - page permissions
      Returns:
      fluent API
    • getPageLanguages

      public Map<Integer,PagePrivileges> getPageLanguages()
      Language specific page permissions
      Returns:
      map of page permissions per language
    • setPageLanguages

      public RolePermissionsModel setPageLanguages(Map<Integer,PagePrivileges> pageLanguages)
      Set language specific page permissions
      Parameters:
      pageLanguages - map of page permissions per language
      Returns:
      fluent API
    • getFile

      public FilePrivileges getFile()
      File permissions
      Returns:
      file permissions
    • setFile

      public RolePermissionsModel setFile(FilePrivileges file)
      Set file permissions
      Parameters:
      file - file permissions
      Returns:
      fluent API