Class RoleItem
java.lang.Object
com.gentics.contentnode.rest.model.perm.RoleItem
- All Implemented Interfaces:
Serializable
Role item
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionRole descriptionint
getId()
Role IDgetLabel()
Role labelboolean
True, when the role may be changed, false if notboolean
isValue()
Role assignment.setDescription
(String description) Set descriptionsetEditable
(boolean editable) Set editable flagsetId
(int id) Set the role IDSet labelsetValue
(boolean value) Set role assignment
-
Constructor Details
-
RoleItem
public RoleItem()
-
-
Method Details
-
getId
public int getId()Role ID- Returns:
- ID
-
setId
Set the role ID- Parameters:
id
- ID- Returns:
- fluent API
-
getLabel
Role label- Returns:
- label
-
setLabel
Set label- Parameters:
label
- label- Returns:
- fluent API
-
getDescription
Role description- Returns:
- description
-
setDescription
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
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
Set editable flag- Parameters:
editable
- flag- Returns:
- fluent API
-