com.atlassian.confluence.labels
Class Namespace
java.lang.Object
com.atlassian.confluence.labels.Namespace
- All Implemented Interfaces:
- Comparable, Serializable
- public class Namespace
- extends Object
- implements Serializable, Comparable
- See Also:
- Serialized Form
VISIBILITY_PUBLIC
public static final String VISIBILITY_PUBLIC
- Labels in this namespace are visible to anyone who can see the labeled content
- See Also:
- Constant Field Values
VISIBILITY_OWNER
public static final String VISIBILITY_OWNER
- Labels in this namespace are only visible to that label's owner
- See Also:
- Constant Field Values
VISIBILITY_SYSTEM
public static final String VISIBILITY_SYSTEM
- Labels in this namespace are set and removed by the system, and are not shown in the UI
- See Also:
- Constant Field Values
PERSONAL
public static final Namespace PERSONAL
TEAM
public static final Namespace TEAM
GLOBAL
public static final Namespace GLOBAL
SYSTEM
public static final Namespace SYSTEM
isPersonal
public static boolean isPersonal(Label l)
isTeam
public static boolean isTeam(Label l)
isGlobal
public static boolean isGlobal(Label l)
getNamespace
public static Namespace getNamespace(String prefix)
equals
public boolean equals(Object o)
compareTo
public int compareTo(Object o)
- Specified by:
compareTo
in interface Comparable
toString
public String toString()
hashCode
public int hashCode()
getVisibility
public String getVisibility()