java.lang.Object | |
↳ | com.atlassian.jira.issue.label.OfBizLabelStore |
OfBiz implementation of the LabelStore
Nested Classes | |||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
OfBizLabelStore.Columns |
Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
String | TABLE |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Adds a new label to the issue for the custom field specified.
| |||||||||||
Returns all the labels for the given issue and custom field.
| |||||||||||
Removes the label identified by id
| |||||||||||
Deletes all labels for a given custom field.
| |||||||||||
Sets the labels for a particular issue and field combo to the set specified as a parameter.
|
[Expand]
Inherited Methods | |||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
From class java.lang.Object | |||||||||||||||||||||
From interface
com.atlassian.jira.issue.label.LabelStore
|
Adds a new label to the issue for the custom field specified. If the customFieldId is null, the label will be added for the system field. Adding an existing label again, will simply return the existing label.
issueId | The issue id that the label is linked against |
---|---|
customFieldId | Custom field id for the labels CF or null if it's the system field. |
label | The new label to add |
Returns all the labels for the given issue and custom field. The custom field may also be null, in which case the labels for the system field will be returned.
issueId | The issue id that the label is linked against |
---|---|
customFieldId | Custom field id for the labels CF or null if it's the system field. |
Removes the label identified by id
labelId | The id of the label to delete |
---|---|
issueId | The issue id that the label is linked against |
customFieldId | Custom field id for the labels CF or null if it's the system field. |
Deletes all labels for a given custom field. This is useful when deleting a custom field.
customFieldId | The custom field id for which to delete labels |
---|
Sets the labels for a particular issue and field combo to the set specified as a parameter. The set may be an empty set in order to clear all labels for an issue.
issueId | The issue id that the label is linked against |
---|---|
customFieldId | Custom field id for the labels CF or null if it's the system field. |
labels | the new labels for this issue and custom field combo |