public interface LabelsService
Modifier and Type | Method and Description |
---|---|
AddLabelsCommand |
newAddLabelCommand(String labelString,
com.atlassian.user.User user,
long entityId)
Builds a command that takes a string of comma separated labels and adds them to a
Page or Blog Post for the specified user.
|
AddLabelsCommand |
newAddLabelCommand(String labelString,
com.atlassian.user.User user,
long entityId,
String entityType)
Builds a command that takes a string of comma separated labels and adds them to a
Page or Blog Post for the specified user.
|
RemoveLabelCommand |
newRemoveLabelCommand(Label label,
com.atlassian.user.User user,
long entityId)
Builds a command that takes removes the specified label
Page or Blog Post for the specified user.
|
RemoveLabelCommand |
newRemoveLabelCommand(Label label,
com.atlassian.user.User user,
long entityId,
String entityType) |
RemoveLabelCommand |
newRemoveLabelCommand(long labelId,
com.atlassian.user.User user,
long entityId)
Builds a command that takes removes the specified label
Page or Blog Post for the specified user.
|
RemoveLabelCommand |
newRemoveLabelCommand(String labelIdString,
com.atlassian.user.User user,
long entityId)
Builds a command that takes removes the specified label
Page or Blog Post for the specified user.
|
ValidateLabelsCommand |
newValidateLabelCommand(String labelString,
com.atlassian.user.User user)
Builds a command that will validate the labels without actually adding them.
|
AddLabelsCommand newAddLabelCommand(String labelString, com.atlassian.user.User user, long entityId)
labelString
- - string of labelsuser
- - logged in userentityId
- - page or blogpostAddLabelsCommand newAddLabelCommand(String labelString, com.atlassian.user.User user, long entityId, String entityType)
labelString
- - string of labelsuser
- - logged in userentityId
- - page or blogpostString
- entityType - the type of entity to label one of: CONTENT, SPACE, ATTACHMENTValidateLabelsCommand newValidateLabelCommand(String labelString, com.atlassian.user.User user)
labelString
- - string of labelsuser
- - logged in userRemoveLabelCommand newRemoveLabelCommand(Label label, com.atlassian.user.User user, long entityId)
label
- - label objectuser
- - logged in userentityId
- - page or blogpostRemoveLabelCommand newRemoveLabelCommand(Label label, com.atlassian.user.User user, long entityId, String entityType)
RemoveLabelCommand newRemoveLabelCommand(String labelIdString, com.atlassian.user.User user, long entityId)
labelIdString
- - label id or stringuser
- - logged in userentityId
- - page or blogpostRemoveLabelCommand newRemoveLabelCommand(long labelId, com.atlassian.user.User user, long entityId)
labelId
- - label iduser
- - logged in userentityId
- - page or blogpostCopyright © 2003–2020 Atlassian. All rights reserved.