public class

Namespace

extends Object
implements Serializable Comparable<T>
java.lang.Object
   ↳ com.atlassian.confluence.labels.Namespace

Summary

Constants
String VISIBILITY_OWNER Labels in this namespace are only visible to that label's owner
String VISIBILITY_PUBLIC Labels in this namespace are visible to anyone who can see the labeled content
String VISIBILITY_SYSTEM Labels in this namespace are set and removed by the system, and are not shown in the UI
Fields
public static final Namespace GLOBAL
public static final Namespace PERSONAL
public static final Namespace SYSTEM
public static final Namespace TEAM
Public Methods
int compareTo(Object o)
boolean equals(Object o)
static Namespace getNamespace(String prefix)
String getPrefix()
String getVisibility()
int hashCode()
static boolean isGlobal(Label l)
static boolean isPersonal(Label l)
static boolean isTeam(Label l)
String toString()
[Expand]
Inherited Methods
From class java.lang.Object
From interface java.lang.Comparable

Constants

public static final String VISIBILITY_OWNER

Labels in this namespace are only visible to that label's owner

Constant Value: "owner"

public static final String VISIBILITY_PUBLIC

Labels in this namespace are visible to anyone who can see the labeled content

Constant Value: "public"

public static final String VISIBILITY_SYSTEM

Labels in this namespace are set and removed by the system, and are not shown in the UI

Constant Value: "system"

Fields

public static final Namespace GLOBAL

public static final Namespace PERSONAL

public static final Namespace SYSTEM

public static final Namespace TEAM

Public Methods

public int compareTo (Object o)

public boolean equals (Object o)

public static Namespace getNamespace (String prefix)

public String getPrefix ()

public String getVisibility ()

public int hashCode ()

public static boolean isGlobal (Label l)

public static boolean isPersonal (Label l)

public static boolean isTeam (Label l)

public String toString ()