com.atlassian.confluence.ui.rest.service.content
Class LabelHelper

java.lang.Object
  extended by com.atlassian.confluence.ui.rest.service.content.LabelHelper

public class LabelHelper
extends Object


Constructor Summary
LabelHelper()
           
 
Method Summary
static String concatentateLabels(Iterable<Label> labels)
           
static Iterable<Label> extractViewableLabels(AbstractLabelableEntityObject labelable, Collection<Label.Prefix> prefixes, com.atlassian.user.User user)
           
static void validateLabelsCommand(ServiceCommand command)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LabelHelper

public LabelHelper()
Method Detail

extractViewableLabels

public static Iterable<Label> extractViewableLabels(AbstractLabelableEntityObject labelable,
                                                    Collection<Label.Prefix> prefixes,
                                                    com.atlassian.user.User user)

concatentateLabels

public static String concatentateLabels(Iterable<Label> labels)

validateLabelsCommand

public static void validateLabelsCommand(ServiceCommand command)
                                  throws IllegalArgumentException
Throws:
IllegalArgumentException


Copyright © 2003–2015 Atlassian. All rights reserved.