Class SpaceLabelManagerImpl

    • Constructor Detail

      • SpaceLabelManagerImpl

        public SpaceLabelManagerImpl()
    • Method Detail

      • setSpaceManager

        public void setSpaceManager​(SpaceManager spaceManager)
      • setLabelManager

        public void setLabelManager​(LabelManager labelManager)
      • addLabel

        public Label addLabel​(Space space,
                              String labelName)
        Description copied from interface: SpaceLabelManager
        Adds a label to a space.
        Specified by:
        addLabel in interface SpaceLabelManager
        Parameters:
        space - space to add label to
        labelName - name of the label to be added
        Returns:
        the label if it was added to the space, null otherwise
      • getSuggestedLabelsForSpace

        public List getSuggestedLabelsForSpace​(Space space,
                                               com.atlassian.user.User remoteUser)
        Description copied from interface: SpaceLabelManager
        Returns the labels available for the given space (excluding team labels)
        Specified by:
        getSuggestedLabelsForSpace in interface SpaceLabelManager
        Parameters:
        space - - given space
        remoteUser - - logged in user
        Returns:
        labels available for the given space