com.atlassian.confluence.spaces
Class SpaceType

java.lang.Object
  extended by com.atlassian.confluence.spaces.SpaceType
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable

public class SpaceType
extends java.lang.Object
implements java.io.Serializable, java.lang.Comparable

See Also:
Serialized Form

Field Summary
static SpaceType GLOBAL
           
static SpaceType PERSONAL
           
 
Method Summary
static void addCustomSpaceType(java.lang.String spaceTypeKey)
           
 int compareTo(java.lang.Object o)
           
 boolean equals(java.lang.Object o)
           
static SpaceType getSpaceType(java.lang.String spaceTypeAsString)
           
 int hashCode()
           
static boolean isGlobal(Space space)
           
static boolean isKnownSpaceType(java.lang.String spaceType)
           
static boolean isPersonal(Space space)
           
 java.lang.String toI18NKey()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

GLOBAL

public static final SpaceType GLOBAL

PERSONAL

public static final SpaceType PERSONAL
Method Detail

isPersonal

public static boolean isPersonal(Space space)

isGlobal

public static boolean isGlobal(Space space)

getSpaceType

public static SpaceType getSpaceType(java.lang.String spaceTypeAsString)

addCustomSpaceType

public static void addCustomSpaceType(java.lang.String spaceTypeKey)

isKnownSpaceType

public static boolean isKnownSpaceType(java.lang.String spaceType)

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

toI18NKey

public java.lang.String toI18NKey()

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object


Copyright © 2003-2014 Atlassian. All Rights Reserved.