Package com.atlassian.confluence.labels
Interface SpaceLabelManager
- All Known Implementing Classes:
SpaceLabelManagerImpl
public interface SpaceLabelManager
-
Method Summary
Modifier and TypeMethodDescriptionAdds a label to a space.getAvailableTeamLabels
(String spaceKey) Returns the teams labels available for the given spacegetLabelsOnSpace
(Space space) Returns the labels for the given space (excluding team labels)getSuggestedLabelsForSpace
(Space space, com.atlassian.user.User remoteUser) Returns the labels available for the given space (excluding team labels)getTeamLabelsOnSpace
(String spaceKey) Returns the teams labels for the given space
-
Method Details
-
addLabel
Adds a label to a space.- Parameters:
space
- space to add label tolabelName
- name of the label to be added- Returns:
- the label if it was added to the space, null otherwise
-
getTeamLabelsOnSpace
Returns the teams labels for the given space- Returns:
- teams labels for the given space
-
getAvailableTeamLabels
Returns the teams labels available for the given space- Returns:
- teams labels available for the given space
-
getLabelsOnSpace
Returns the labels for the given space (excluding team labels)- Returns:
- labels for the given space
-
getSuggestedLabelsForSpace
Returns the labels available for the given space (excluding team labels)- Parameters:
space
- - given spaceremoteUser
- - logged in user- Returns:
- labels available for the given space
-