com.atlassian.confluence.labels
Class Namespace
java.lang.Object
com.atlassian.confluence.labels.Namespace
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Comparable
public class Namespace
- extends java.lang.Object
- implements java.io.Serializable, java.lang.Comparable
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
VISIBILITY_PUBLIC
public static final java.lang.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 java.lang.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 java.lang.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(java.lang.String prefix)
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in class java.lang.Object
compareTo
public int compareTo(java.lang.Object o)
- Specified by:
compareTo
in interface java.lang.Comparable
getPrefix
public java.lang.String getPrefix()
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class java.lang.Object
getVisibility
public java.lang.String getVisibility()
Copyright © 2003-2014 Atlassian. All Rights Reserved.