public class SpaceLabelManagerImpl extends Object implements SpaceLabelManager
Constructor and Description |
---|
SpaceLabelManagerImpl() |
Modifier and Type | Method and Description |
---|---|
Label |
addLabel(Space space,
String labelName)
Adds a label to a space.
|
List |
getAvailableTeamLabels(String spaceKey)
Returns the teams labels available for the given space
|
LabelManager |
getLabelManager() |
List |
getLabelsOnSpace(Space space)
Returns the labels for the given space (excluding team labels)
|
SpaceManager |
getSpaceManager() |
List |
getSuggestedLabelsForSpace(Space space,
com.atlassian.user.User remoteUser)
Returns the labels available for the given space (excluding team labels)
|
List |
getTeamLabelsOnSpace(String spaceKey)
Returns the teams labels for the given space
|
void |
setLabelManager(LabelManager labelManager) |
void |
setSpaceManager(SpaceManager spaceManager) |
public SpaceManager getSpaceManager()
public void setSpaceManager(SpaceManager spaceManager)
public LabelManager getLabelManager()
public void setLabelManager(LabelManager labelManager)
public Label addLabel(Space space, String labelName)
SpaceLabelManager
addLabel
in interface SpaceLabelManager
space
- space to add label tolabelName
- name of the label to be addedpublic List getTeamLabelsOnSpace(String spaceKey)
SpaceLabelManager
getTeamLabelsOnSpace
in interface SpaceLabelManager
public List getAvailableTeamLabels(String spaceKey)
SpaceLabelManager
getAvailableTeamLabels
in interface SpaceLabelManager
public List getLabelsOnSpace(Space space)
SpaceLabelManager
getLabelsOnSpace
in interface SpaceLabelManager
public List getSuggestedLabelsForSpace(Space space, com.atlassian.user.User remoteUser)
SpaceLabelManager
getSuggestedLabelsForSpace
in interface SpaceLabelManager
space
- - given spaceremoteUser
- - logged in userCopyright © 2003–2017 Atlassian. All rights reserved.