Enum PermType
- java.lang.Object
-
- java.lang.Enum<PermType>
-
- com.gentics.contentnode.rest.model.perm.PermType
-
- All Implemented Interfaces:
Serializable
,Comparable<PermType>
public enum PermType extends Enum<PermType>
Enumeration of all available permission types.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description assignroles
Permission to assign roles to a groupchannelsync
Permission to perform synchronization between channelscreate
Permission to create on objectcreateform
Permission to create forms in a foldercreategroup
Permission to create a groupcreateitems
Permission to create pages/images/files in a foldercreateoverview
Permission to create an overviewcreatetemplates
Permission to create templates in a foldercreateuser
Permission to create a userdelete
Permission to delete an objectdeleteerrorlog
Permission to delete the error logdeletefolder
Permission to delete a folderdeleteform
Permission to delete forms in a folderdeletegroup
Permission to delete a groupdeleteitems
Permission to delete pages/images/files in a folderdeletetemplates
Permission to delete templates in a folderdeleteuser
Permission to delete (deactivate) a userformreport
Permission to view reports for forms in a folderimportitems
Permission to import pages/images/files into a folderinstantmessages
Permission to send instant messageslinkoverview
Permission to link an overviewlinktemplates
Permission to link templates to a foldermodifycontent
Permission to modify the content for a content containerpublishform
Permission to publish forms in a folderpublishpages
Permission to publish pages in a folderread
Permission to read an object/typereaditems
Permission to display pages/images/files in a folderreadjobs
Permission to display scheduler jobsreadschedules
Permission to display scheduler schedules.readtasks
Permission to display scheduler tasksreadtasktemplates
Permission to display scheduler task templatesreadtemplates
Permission to display templates in a foldersetperm
Permission to set permissions to subgroupssetuserperm
Permission to change permissions for a groupsuspendscheduler
Permission to suspend the schedulersysinfo
Permissions to display system informationtranslatepages
Permission to translate pages in a folderupdate
Permission to update an objectupdateconstructs
Permission to update tagtypesupdatefolder
Permission to update a folderupdateform
Permission to update forms in a folderupdategroup
Permission to update a groupupdategroupuser
Permission to update users in a groupupdateinheritance
Permission to update multichannelling inheritance settingsupdateitems
Permission to update pages/images/files in a folderupdatejobs
Permission to update scheduler jobsupdateschedules
Permission to update scheduler schedulesupdatetasks
Permission to update scheduler tasksupdatetasktemplates
Permission to update scheduler task templatesupdatetemplates
Permission to update templates in a folderupdateuser
Permission to update a useruserassignment
Permission to change assignment of users to a group (i.e.viewform
Permission to view forms in a folderwastebin
Permission to display the wastebin.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getBit()
Get the permission bitint
getFileRoleBit()
Get the role permission bit to set on filesint
getPageRoleBit()
Get the role permission bit to set on pagesstatic PermType
valueOf(String name)
Returns the enum constant of this type with the specified name.static PermType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
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 Detail
-
values
public static PermType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (PermType c : PermType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static PermType valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified nameNullPointerException
- 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)
-
-