|
||||||||||
| 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,
AttachmentManager attachmentManager,
PageTemplateManager pageTemplateManager)
|
|
| 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. |
| 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,
AttachmentManager attachmentManager,
PageTemplateManager pageTemplateManager)
| Method Detail |
|---|
public AddLabelsCommand newAddLabelCommand(java.lang.String labelString,
com.atlassian.user.User user,
long entityId)
LabelsService
newAddLabelCommand in interface LabelsServicelabelString - - string of labelsuser - - logged in userentityId - - page or blogpost
public AddLabelsCommand newAddLabelCommand(java.lang.String labelString,
com.atlassian.user.User user,
long entityId,
java.lang.String entityType)
LabelsService
newAddLabelCommand in interface LabelsServicelabelString - - string of labelsuser - - logged in userentityId - - page or blogpost
public ValidateLabelsCommand newValidateLabelCommand(java.lang.String labelString,
com.atlassian.user.User user)
LabelsService
newValidateLabelCommand in interface LabelsServicelabelString - - string of labelsuser - - logged in user
public RemoveLabelCommand newRemoveLabelCommand(Label label,
com.atlassian.user.User user,
long entityId)
LabelsService
newRemoveLabelCommand in interface LabelsServicelabel - - label objectuser - - logged in userentityId - - page or blogpost
public RemoveLabelCommand newRemoveLabelCommand(Label label,
com.atlassian.user.User user,
long entityId,
java.lang.String entityType)
newRemoveLabelCommand in interface LabelsService
public RemoveLabelCommand newRemoveLabelCommand(java.lang.String labelIdString,
com.atlassian.user.User user,
long entityId)
LabelsService
newRemoveLabelCommand in interface LabelsServicelabelIdString - - 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 LabelsServicelabelId - - label iduser - - logged in userentityId - - page or blogpost
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||