|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.confluence.labels.SpaceLabelManagerImpl
public class SpaceLabelManagerImpl
Constructor Summary | |
---|---|
SpaceLabelManagerImpl()
|
Method Summary | |
---|---|
Label |
addLabel(Space space,
java.lang.String labelName)
Adds a label to a space. |
java.util.List |
getAvailableTeamLabels(java.lang.String spaceKey)
Returns the teams labels available for the given space |
LabelManager |
getLabelManager()
|
java.util.List |
getLabelsOnSpace(Space space)
Returns the labels for the given space (excluding team labels) |
SpaceManager |
getSpaceManager()
|
java.util.List |
getSuggestedLabelsForSpace(Space space,
com.atlassian.user.User remoteUser)
Returns the labels available for the given space (excluding team labels) |
java.util.List |
getTeamLabelsOnSpace(java.lang.String spaceKey)
Returns the teams labels for the given space |
void |
setLabelManager(LabelManager labelManager)
|
void |
setSpaceManager(SpaceManager spaceManager)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SpaceLabelManagerImpl()
Method Detail |
---|
public SpaceManager getSpaceManager()
public void setSpaceManager(SpaceManager spaceManager)
public LabelManager getLabelManager()
public void setLabelManager(LabelManager labelManager)
public Label addLabel(Space space, java.lang.String labelName)
SpaceLabelManager
addLabel
in interface SpaceLabelManager
space
- space to add label tolabelName
- name of the label to be added
public java.util.List getTeamLabelsOnSpace(java.lang.String spaceKey)
SpaceLabelManager
getTeamLabelsOnSpace
in interface SpaceLabelManager
public java.util.List getAvailableTeamLabels(java.lang.String spaceKey)
SpaceLabelManager
getAvailableTeamLabels
in interface SpaceLabelManager
public java.util.List getLabelsOnSpace(Space space)
SpaceLabelManager
getLabelsOnSpace
in interface SpaceLabelManager
public java.util.List getSuggestedLabelsForSpace(Space space, com.atlassian.user.User remoteUser)
SpaceLabelManager
getSuggestedLabelsForSpace
in interface SpaceLabelManager
space
- - given spaceremoteUser
- - logged in user
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |