Class RoleItem

java.lang.Object
com.gentics.contentnode.rest.model.perm.RoleItem
All Implemented Interfaces:
Serializable

public class RoleItem extends Object implements Serializable
Role item
See Also:
  • Constructor Details

    • RoleItem

      public RoleItem()
  • Method Details

    • getId

      public int getId()
      Role ID
      Returns:
      ID
    • setId

      public RoleItem setId(int id)
      Set the role ID
      Parameters:
      id - ID
      Returns:
      fluent API
    • getLabel

      public String getLabel()
      Role label
      Returns:
      label
    • setLabel

      public RoleItem setLabel(String label)
      Set label
      Parameters:
      label - label
      Returns:
      fluent API
    • getDescription

      public String getDescription()
      Role description
      Returns:
      description
    • setDescription

      public RoleItem setDescription(String description)
      Set description
      Parameters:
      description - description
      Returns:
      fluent API
    • isValue

      public boolean isValue()
      Role assignment. True if role is assigned, false if not
      Returns:
      value
    • setValue

      public RoleItem setValue(boolean value)
      Set role assignment
      Parameters:
      value - flag
      Returns:
      fluent API
    • isEditable

      public boolean isEditable()
      True, when the role may be changed, false if not
      Returns:
      editable flag
    • setEditable

      public RoleItem setEditable(boolean editable)
      Set editable flag
      Parameters:
      editable - flag
      Returns:
      fluent API