com.atlassian.confluence.spaces
Class SpaceType

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

public class SpaceType
extends Object
implements Serializable, Comparable

See Also:
Serialized Form

Field Summary
static SpaceType GLOBAL
           
static SpaceType PERSONAL
           
 
Method Summary
static void addCustomSpaceType(String spaceTypeKey)
           
 int compareTo(Object o)
           
 boolean equals(Object o)
           
static SpaceType getSpaceType(String spaceTypeAsString)
           
 int hashCode()
           
static boolean isGlobal(Space space)
           
static boolean isKnownSpaceType(String spaceType)
           
static boolean isPersonal(Space space)
           
 String toI18NKey()
           
 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(String spaceTypeAsString)

addCustomSpaceType

public static void addCustomSpaceType(String spaceTypeKey)

isKnownSpaceType

public static boolean isKnownSpaceType(String spaceType)

equals

public boolean equals(Object o)
Overrides:
equals in class Object

compareTo

public int compareTo(Object o)
Specified by:
compareTo in interface Comparable

toI18NKey

public String toI18NKey()

toString

public String toString()
Overrides:
toString in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object


Copyright © 2003–2015 Atlassian. All rights reserved.