Enum Class PermType

java.lang.Object
java.lang.Enum<PermType>
com.gentics.contentnode.rest.model.perm.PermType
All Implemented Interfaces:
Serializable, Comparable<PermType>, java.lang.constant.Constable

public enum PermType extends Enum<PermType>
Enumeration of all available permission types.
  • Enum Constant Details

    • read

      public static final PermType read
      Permission to read an object/type
    • setperm

      public static final PermType setperm
      Permission to set permissions to subgroups
    • update

      public static final PermType update
      Permission to update an object
    • instantmessages

      public static final PermType instantmessages
      Permission to send instant messages
    • createuser

      public static final PermType createuser
      Permission to create a user
    • updateuser

      public static final PermType updateuser
      Permission to update a user
    • deleteuser

      public static final PermType deleteuser
      Permission to delete (deactivate) a user
    • creategroup

      public static final PermType creategroup
      Permission to create a group
    • updategroup

      public static final PermType updategroup
      Permission to update a group
    • deletegroup

      public static final PermType deletegroup
      Permission to delete a group
    • userassignment

      public static final PermType userassignment
      Permission to change assignment of users to a group (i.e. add users to the group or remove users from the group)
    • updategroupuser

      public static final PermType updategroupuser
      Permission to update users in a group
    • setuserperm

      public static final PermType setuserperm
      Permission to change permissions for a group
    • assignroles

      public static final PermType assignroles
      Permission to assign roles to a group
    • sysinfo

      public static final PermType sysinfo
      Permissions to display system information
    • create

      public static final PermType create
      Permission to create on object
    • delete

      public static final PermType delete
      Permission to delete an object
    • deleteerrorlog

      public static final PermType deleteerrorlog
      Permission to delete the error log
    • suspendscheduler

      public static final PermType suspendscheduler
      Permission to suspend the scheduler
    • readtasktemplates

      public static final PermType readtasktemplates
      Permission to display scheduler task templates
    • updatetasktemplates

      public static final PermType updatetasktemplates
      Permission to update scheduler task templates
    • readtasks

      public static final PermType readtasks
      Permission to display scheduler tasks
    • updatetasks

      public static final PermType updatetasks
      Permission to update scheduler tasks
    • readschedules

      public static final PermType readschedules
      Permission to display scheduler schedules.
    • updateschedules

      public static final PermType updateschedules
      Permission to update scheduler schedules
    • readjobs

      public static final PermType readjobs
      Permission to display scheduler jobs
    • updatejobs

      public static final PermType updatejobs
      Permission to update scheduler jobs
    • updatefolder

      public static final PermType updatefolder
      Permission to update a folder
    • deletefolder

      public static final PermType deletefolder
      Permission to delete a folder
    • linkoverview

      public static final PermType linkoverview
      Permission to link an overview
    • createoverview

      public static final PermType createoverview
      Permission to create an overview
    • readitems

      public static final PermType readitems
      Permission to display pages/images/files in a folder
    • createitems

      public static final PermType createitems
      Permission to create pages/images/files in a folder
    • updateitems

      public static final PermType updateitems
      Permission to update pages/images/files in a folder
    • deleteitems

      public static final PermType deleteitems
      Permission to delete pages/images/files in a folder
    • importitems

      public static final PermType importitems
      Permission to import pages/images/files into a folder
    • publishpages

      public static final PermType publishpages
      Permission to publish pages in a folder
    • translatepages

      public static final PermType translatepages
      Permission to translate pages in a folder
    • readtemplates

      public static final PermType readtemplates
      Permission to display templates in a folder
    • createtemplates

      public static final PermType createtemplates
      Permission to create templates in a folder
    • updatetemplates

      public static final PermType updatetemplates
      Permission to update templates in a folder
    • deletetemplates

      public static final PermType deletetemplates
      Permission to delete templates in a folder
    • linktemplates

      public static final PermType linktemplates
      Permission to link templates to a folder
    • updateconstructs

      public static final PermType updateconstructs
      Permission to update tagtypes
    • channelsync

      public static final PermType channelsync
      Permission to perform synchronization between channels
    • updateinheritance

      public static final PermType updateinheritance
      Permission to update multichannelling inheritance settings
    • wastebin

      public static final PermType wastebin
      Permission to display the wastebin. This includes permission to restore/remove elements from the wastebin.
    • viewform

      public static final PermType viewform
      Permission to view forms in a folder
    • createform

      public static final PermType createform
      Permission to create forms in a folder
    • updateform

      public static final PermType updateform
      Permission to update forms in a folder
    • deleteform

      public static final PermType deleteform
      Permission to delete forms in a folder
    • publishform

      public static final PermType publishform
      Permission to publish forms in a folder
    • formreport

      public static final PermType formreport
      Permission to view reports for forms in a folder
    • modifycontent

      public static final PermType modifycontent
      Permission to modify the content for a content container
  • Method Details

    • values

      public static PermType[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static PermType valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • getBit

      public int getBit()
      Get the permission bit
      Returns:
      permission bit (may be -1 to indicate permissions, that can only be set to roles)
    • getPageRoleBit

      public int getPageRoleBit()
      Get the role permission bit to set on pages
      Returns:
      role permission bit (may be -1 to indicate permissions, that cannot be set to roles for pages)
    • getFileRoleBit

      public int getFileRoleBit()
      Get the role permission bit to set on files
      Returns:
      role permission bit (may be -1 to indicate permissions, that cannot be set to roles for files)