Interface GroupField
- All Superinterfaces:
Field
User field
-
Method Summary
Modifier and TypeMethodDescriptionvoid
setEditRole
(com.atlassian.jira.security.roles.ProjectRole role) Deprecated.void
setFieldRestriction
(FieldRestriction restriction) Set Restriction options for viewing and editing values.void
Deprecated.void
Deprecated.void
setViewRole
(com.atlassian.jira.security.roles.ProjectRole role) Deprecated.Methods inherited from interface com.deiser.jira.profields.api.field.Field
getCustomFieldId, getDescription, getEditRoleId, getFieldActions, getFieldRestriction, getId, getName, getPQLToken, getType, getViewRoleId, hasCustomField, hasParent, isList, isMultiple, isPredefined, isSystem, setCustomField, setDescription, setName
-
Method Details
-
setEditRole
Deprecated.Deprecated. Use the FieldRestriction class. Set the edit role of the field.- Parameters:
role
- the edit role of jira for the field.
-
setNobodyAsEditRole
Deprecated.Deprecated. Use the FieldRestriction class. Set nobody as edit role for the field. -
setViewRole
Deprecated.Deprecated. Use the FieldRestriction class. Set the view role of the field.- Parameters:
role
- the view role of jira for the field.
-
setOnlyEditorsAsViewRole
Deprecated.Deprecated. Use the FieldRestriction class. Set only editors as view role for the field. -
setFieldRestriction
Set Restriction options for viewing and editing values. Create FieldRestriction by FieldRestrictionBuilder- Parameters:
restriction
- for the field
-