@ExperimentalApi public class Space extends Object implements Container, NavigationAware, Relatable
Modifier and Type | Class and Description |
---|---|
static class |
Space.Expansions
Provides property names that can be used to expand
Space objects. |
static class |
Space.SpaceBuilder
Builds
Space objects. |
Modifier and Type | Method and Description |
---|---|
static Space.SpaceBuilder |
builder()
Returns a
Space.SpaceBuilder instance that can be used to create a new Space object. |
static Space.SpaceBuilder |
builder(Space space) |
static Reference<Space> |
buildReference(String spaceKey)
builds a collapsed reference to the space with the given spaceKey
|
boolean |
equals(Object obj) |
Map<ContentRepresentation,FormattedBody> |
getDescription() |
Map<ContentRepresentation,Reference<FormattedBody>> |
getDescriptionRefs()
Deprecated.
Since 5.5.1 Use
getDescription() . |
Reference<Content> |
getHomepageRef() |
Reference<Icon> |
getIconRef() |
long |
getId() |
String |
getKey() |
String |
getName() |
static String |
getSpaceKey(Reference<Space> reference) |
SpaceType |
getType() |
int |
hashCode() |
Navigation.Builder |
resolveNavigation(NavigationService navigationService) |
String |
toString() |
public static Reference<Space> buildReference(String spaceKey)
spaceKey
- - the space key of the spacepublic static Space.SpaceBuilder builder()
Space.SpaceBuilder
instance that can be used to create a new Space
object.public static Space.SpaceBuilder builder(Space space)
public long getId()
public String getKey()
public String getName()
public Map<ContentRepresentation,FormattedBody> getDescription()
@Deprecated public Map<ContentRepresentation,Reference<FormattedBody>> getDescriptionRefs()
getDescription()
.public SpaceType getType()
public Navigation.Builder resolveNavigation(NavigationService navigationService)
resolveNavigation
in interface NavigationAware
Copyright © 2003–2016 Atlassian. All rights reserved.