com.atlassian.confluence.labels.service
Class DefaultLabelsService
java.lang.Object
com.atlassian.confluence.labels.service.DefaultLabelsService
- All Implemented Interfaces:
- LabelsService
public class DefaultLabelsService
- extends java.lang.Object
- implements LabelsService
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. |
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. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultLabelsService
public DefaultLabelsService(LabelManager labelManager,
PageManager pageManager,
PermissionManager permissionManager)
newAddLabelCommand
public AddLabelsCommand newAddLabelCommand(java.lang.String labelString,
com.atlassian.user.User user,
long entityId)
- Description copied from interface:
LabelsService
- Builds a command that takes a string of comma separated labels and adds them to a
Page or Blog Post for the specified user.
- Specified by:
newAddLabelCommand
in interface LabelsService
- Parameters:
labelString
- - string of labelsuser
- - logged in userentityId
- - page or blogpost
- Returns:
- command
newRemoveLabelCommand
public RemoveLabelCommand newRemoveLabelCommand(java.lang.String labelIdString,
com.atlassian.user.User user,
long entityId)
- Description copied from interface:
LabelsService
- Builds a command that takes removes the specified label
Page or Blog Post for the specified user.
- Specified by:
newRemoveLabelCommand
in interface LabelsService
- Parameters:
labelIdString
- - label id or stringuser
- - logged in userentityId
- - page or blogpost
- Returns:
- command
newRemoveLabelCommand
public RemoveLabelCommand newRemoveLabelCommand(long labelId,
com.atlassian.user.User user,
long entityId)
- Description copied from interface:
LabelsService
- Builds a command that takes removes the specified label
Page or Blog Post for the specified user.
- Specified by:
newRemoveLabelCommand
in interface LabelsService
- Parameters:
labelId
- - label iduser
- - logged in userentityId
- - page or blogpost
- Returns:
- command
Copyright © 2003-2010 Atlassian. All Rights Reserved.