|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface LabelsService
Creates label commands
Method Summary | |
---|---|
AddLabelsCommand |
newAddLabelCommand(java.lang.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(java.lang.String labelString,
com.atlassian.user.User user,
long entityId,
java.lang.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,
java.lang.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(java.lang.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(java.lang.String labelString,
com.atlassian.user.User user)
Builds a command that will validate the labels without actually adding them. |
Method Detail |
---|
AddLabelsCommand newAddLabelCommand(java.lang.String labelString, com.atlassian.user.User user, long entityId)
labelString
- - string of labelsuser
- - logged in userentityId
- - page or blogpost
AddLabelsCommand newAddLabelCommand(java.lang.String labelString, com.atlassian.user.User user, long entityId, java.lang.String entityType)
labelString
- - string of labelsuser
- - logged in userentityId
- - page or blogpostString
- entityType - the type of entity to label one of: CONTENT, SPACE, ATTACHMENT
ValidateLabelsCommand newValidateLabelCommand(java.lang.String labelString, com.atlassian.user.User user)
labelString
- - string of labelsuser
- - logged in user
RemoveLabelCommand newRemoveLabelCommand(Label label, com.atlassian.user.User user, long entityId)
label
- - label objectuser
- - logged in userentityId
- - page or blogpost
RemoveLabelCommand newRemoveLabelCommand(Label label, com.atlassian.user.User user, long entityId, java.lang.String entityType)
RemoveLabelCommand newRemoveLabelCommand(java.lang.String labelIdString, com.atlassian.user.User user, long entityId)
labelIdString
- - label id or stringuser
- - logged in userentityId
- - page or blogpost
RemoveLabelCommand newRemoveLabelCommand(long labelId, com.atlassian.user.User user, long entityId)
labelId
- - label iduser
- - logged in userentityId
- - page or blogpost
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |