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 class
Space.Expansions
Provides property names that can be used to expandSpace
objects.static class
Space.MetadataKeys
Provides property names that can be used to expand metadatastatic class
Space.SpaceBuilder
BuildsSpace
objects.
-
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.SpaceBuilder
instance that can be used to create a newSpace
object.
-
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:
resolveNavigation
in interfaceNavigationAware
-
getMetadataProperties
@Internal @Deprecated public static List<MetadataProperty> getMetadataProperties()
Deprecated.since 8.6- Since:
- 6.12.0
-
-