|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.atlassian.confluence.labels.service.DefaultLabelsService
public class DefaultLabelsService
Constructor Summary | |
---|---|
DefaultLabelsService(LabelManager labelManager,
PageManager pageManager,
PermissionManager permissionManager,
SpaceManager spaceManager)
|
Method Summary | |
---|---|
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. |
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(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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DefaultLabelsService(LabelManager labelManager, PageManager pageManager, PermissionManager permissionManager, SpaceManager spaceManager)
Method Detail |
---|
public AddLabelsCommand newAddLabelCommand(String labelString, com.atlassian.user.User user, long entityId)
LabelsService
newAddLabelCommand
in interface LabelsService
labelString
- - string of labelsuser
- - logged in userentityId
- - page or blogpost
public RemoveLabelCommand newRemoveLabelCommand(Label label, com.atlassian.user.User user, long entityId)
LabelsService
newRemoveLabelCommand
in interface LabelsService
label
- - label objectuser
- - logged in userentityId
- - page or blogpost
public RemoveLabelCommand newRemoveLabelCommand(String labelIdString, com.atlassian.user.User user, long entityId)
LabelsService
newRemoveLabelCommand
in interface LabelsService
labelIdString
- - label id or stringuser
- - logged in userentityId
- - page or blogpost
public RemoveLabelCommand newRemoveLabelCommand(long labelId, com.atlassian.user.User user, long entityId)
LabelsService
newRemoveLabelCommand
in interface LabelsService
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 |