com.atlassian.confluence.labels
Class Namespace
java.lang.Object
com.atlassian.confluence.labels.Namespace
- All Implemented Interfaces:
- Serializable, Comparable
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)
- Overrides:
equals
in class Object
compareTo
public int compareTo(Object o)
- Specified by:
compareTo
in interface Comparable
getPrefix
public String getPrefix()
toString
public String toString()
- Overrides:
toString
in class Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object
getVisibility
public String getVisibility()
Copyright © 2003-2012 Atlassian. All Rights Reserved.