Class Space
- java.lang.Object
-
- com.atlassian.confluence.api.model.content.Space
-
- All Implemented Interfaces:
Container,Relatable,NavigationAware
public class Space extends Object implements Container, NavigationAware, Relatable
Representation of a Confluence Space.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classSpace.ExpansionsProvides property names that can be used to expandSpaceobjects.static classSpace.MetadataKeysProvides property names that can be used to expand metadatastatic classSpace.SpaceBuilderBuildsSpaceobjects.
-
Method Summary
-
-
-
Method Detail
-
buildReference
public static Reference<Space> buildReference(String spaceKey)
builds a collapsed reference to the space with the given spaceKey- Parameters:
spaceKey- - the space key of the space- Returns:
- a reference to a space
-
builder
public static Space.SpaceBuilder builder()
Returns aSpace.SpaceBuilderinstance that can be used to create a newSpaceobject.
-
builder
public static Space.SpaceBuilder builder(Space space)
-
getId
public long getId()
-
getKey
public String getKey()
-
getName
public String getName()
-
getDescription
public Map<ContentRepresentation,FormattedBody> getDescription()
-
getDescriptionRefs
@Deprecated public Map<ContentRepresentation,Reference<FormattedBody>> getDescriptionRefs()
Deprecated.Since 5.5.1 UsegetDescription().
-
getType
public SpaceType getType()
-
resolveNavigation
public Navigation.Builder resolveNavigation(NavigationService navigationService)
- Specified by:
resolveNavigationin interfaceNavigationAware
-
getMetadataProperties
@Internal @Deprecated public static List<MetadataProperty> getMetadataProperties()
Deprecated.since 8.6- Since:
- 6.12.0
-
-