|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface LabelManager
Manager responsible for adding/removing and getting labels for a particular issue and custom field combination.
| Method Summary | |
|---|---|
Label |
addLabel(com.atlassian.crowd.embedded.api.User remoteUser,
Long issueId,
Long customFieldId,
String label,
boolean sendNotification)
Adds a label to the issue and customFieldId provided. |
Label |
addLabel(User remoteUser,
Long issueId,
Long customFieldId,
String label,
boolean sendNotification)
Adds a label to the issue and customFieldId provided. |
Label |
addLabel(com.atlassian.crowd.embedded.api.User remoteUser,
Long issueId,
String label,
boolean sendNotification)
Adds a label to the issue provided. |
Label |
addLabel(User remoteUser,
Long issueId,
String label,
boolean sendNotification)
Adds a label to the issue provided. |
Set<Label> |
getLabels(Long issueId)
Returns all the labels for the given issue. |
Set<Label> |
getLabels(Long issueId,
Long customFieldId)
Returns all the labels for the given issue and custom field. |
Set<String> |
getSuggestedLabels(com.atlassian.crowd.embedded.api.User user,
Long issueId,
Long customFieldId,
String token)
Returns a set of label suggestions sorted alphabetically for the label custom field provided. |
Set<String> |
getSuggestedLabels(User user,
Long issueId,
Long customFieldId,
String token)
Returns a set of label suggestions sorted alphabetically for the label custom field provided. |
Set<String> |
getSuggestedLabels(com.atlassian.crowd.embedded.api.User user,
Long issueId,
String token)
Returns a set of label suggestions sorted alphabetically for the labels system field. |
Set<String> |
getSuggestedLabels(User user,
Long issueId,
String token)
Returns a set of label suggestions sorted alphabetically for the labels system field. |
Set<Long> |
removeLabelsForCustomField(Long customFieldId)
This method deletes all label entries for the custom field provided. |
Set<Label> |
setLabels(com.atlassian.crowd.embedded.api.User remoteUser,
Long issueId,
Long customFieldId,
Set<String> labels,
boolean sendNotification,
boolean causeChangeNotification)
Sets the labels for a particular issue and field combo to the set specified as a parameter. |
Set<Label> |
setLabels(User remoteUser,
Long issueId,
Long customFieldId,
Set<String> labels,
boolean sendNotification,
boolean causeChangeNotification)
Sets the labels for a particular issue and field combo to the set specified as a parameter. |
Set<Label> |
setLabels(com.atlassian.crowd.embedded.api.User remoteUser,
Long issueId,
Set<String> labels,
boolean sendNotification,
boolean causeChangeNotification)
Sets the labels for a particular issue to the set specified as a parameter. |
Set<Label> |
setLabels(User remoteUser,
Long issueId,
Set<String> labels,
boolean sendNotification,
boolean causeChangeNotification)
Sets the labels for a particular issue to the set specified as a parameter. |
| Method Detail |
|---|
Set<Label> getLabels(Long issueId)
issueId - The issue id that the label is linked against
Set<Label> setLabels(com.atlassian.crowd.embedded.api.User remoteUser,
Long issueId,
Set<String> labels,
boolean sendNotification,
boolean causeChangeNotification)
remoteUser - The user setting labelsissueId - The issue id that the label is linked againstlabels - the new labels for this issuesendNotification - true if an e-mail should be sent to users notifying them of the issue updatecauseChangeNotification - true if a change history should be created, false otherwise
Set<Label> setLabels(User remoteUser,
Long issueId,
Set<String> labels,
boolean sendNotification,
boolean causeChangeNotification)
remoteUser - The user setting labelsissueId - The issue id that the label is linked againstlabels - the new labels for this issuesendNotification - true if an e-mail should be sent to users notifying them of the issue updatecauseChangeNotification - true if a change history should be created, false otherwise
Set<Label> getLabels(Long issueId,
Long customFieldId)
issueId - The issue id that the label is linked againstcustomFieldId - Custom field id for the labels CF or null if it's the system field.
Set<Label> setLabels(com.atlassian.crowd.embedded.api.User remoteUser,
Long issueId,
Long customFieldId,
Set<String> labels,
boolean sendNotification,
boolean causeChangeNotification)
remoteUser - The user setting labelsissueId - The issue id that the label is linked againstcustomFieldId - 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 combosendNotification - true if an e-mail should be sent to users notifying them of the issue updatecauseChangeNotification - true if a change history should be created, false otherwise
Set<Label> setLabels(User remoteUser,
Long issueId,
Long customFieldId,
Set<String> labels,
boolean sendNotification,
boolean causeChangeNotification)
remoteUser - The user setting labelsissueId - The issue id that the label is linked againstcustomFieldId - 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 combosendNotification - true if an e-mail should be sent to users notifying them of the issue updatecauseChangeNotification - true if a change history should be created, false otherwise
Label addLabel(com.atlassian.crowd.embedded.api.User remoteUser,
Long issueId,
String label,
boolean sendNotification)
remoteUser - The user setting labelsissueId - The issue id that the label is linked againstlabel - The new label to add to the issuesendNotification - true if an e-mail should be sent to users notifying them of the issue update
Label addLabel(User remoteUser,
Long issueId,
String label,
boolean sendNotification)
remoteUser - The user setting labelsissueId - The issue id that the label is linked againstlabel - The new label to add to the issuesendNotification - true if an e-mail should be sent to users notifying them of the issue update
Label addLabel(com.atlassian.crowd.embedded.api.User remoteUser,
Long issueId,
Long customFieldId,
String label,
boolean sendNotification)
remoteUser - The user setting labelsissueId - The issue id that the label is linked againstcustomFieldId - The id of the custom field to add the label tolabel - The new label to add to the issuesendNotification - true if an e-mail should be sent to users notifying them of the issue update
Label addLabel(User remoteUser,
Long issueId,
Long customFieldId,
String label,
boolean sendNotification)
remoteUser - The user setting labelsissueId - The issue id that the label is linked againstcustomFieldId - The id of the custom field to add the label tolabel - The new label to add to the issuesendNotification - true if an e-mail should be sent to users notifying them of the issue update
Set<Long> removeLabelsForCustomField(Long customFieldId)
customFieldId - the custom field for which to delete labels
Set<String> getSuggestedLabels(com.atlassian.crowd.embedded.api.User user,
Long issueId,
String token)
user - The user retrieving suggestions for the labels system fieldissueId - The issue for which suggestions should be generated or nulltoken - The search token entered by the user
Set<String> getSuggestedLabels(User user,
Long issueId,
String token)
user - The user retrieving suggestions for the labels system fieldissueId - The issue for which suggestions should be generated or nulltoken - The search token entered by the user
Set<String> getSuggestedLabels(com.atlassian.crowd.embedded.api.User user,
Long issueId,
Long customFieldId,
String token)
user - The user retrieving suggestions for the labels custom fieldissueId - The issue for which suggestions should be generated or nullcustomFieldId - The label custom field to generate suggestions fortoken - The search token entered by the user
Set<String> getSuggestedLabels(User user,
Long issueId,
Long customFieldId,
String token)
user - The user retrieving suggestions for the labels custom fieldissueId - The issue for which suggestions should be generated or nullcustomFieldId - The label custom field to generate suggestions fortoken - The search token entered by the user
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||