Class SpaceFactory
- java.lang.Object
-
- com.atlassian.confluence.api.impl.service.content.factory.ModelFactory<Space,Space>
-
- com.atlassian.confluence.api.impl.service.content.factory.SpaceFactory
-
public class SpaceFactory extends ModelFactory<Space,Space>
-
-
Field Summary
Fields Modifier and Type Field Description static ContentRepresentation
DEFAULT_DESCRIPTION_REPRESENTATION
-
Constructor Summary
Constructors Constructor Description SpaceFactory(SpaceLogoManager spaceLogoManager, SpaceManager spaceManager, com.google.common.base.Supplier<ContentFactory> contentFactorySupplier, SpaceMetadataFactory spaceMetadataFactory, PermissionManager permissionManager, SpaceRetentionPolicyService spaceRetentionPolicyService)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Space
buildFrom(Space space, Expansions expansions)
Space
buildFrom(String spaceKey, Expansions expansions)
-
Methods inherited from class com.atlassian.confluence.api.impl.service.content.factory.ModelFactory
asFunction, buildFrom
-
-
-
-
Field Detail
-
DEFAULT_DESCRIPTION_REPRESENTATION
public static final ContentRepresentation DEFAULT_DESCRIPTION_REPRESENTATION
-
-
Constructor Detail
-
SpaceFactory
public SpaceFactory(SpaceLogoManager spaceLogoManager, SpaceManager spaceManager, com.google.common.base.Supplier<ContentFactory> contentFactorySupplier, SpaceMetadataFactory spaceMetadataFactory, PermissionManager permissionManager, SpaceRetentionPolicyService spaceRetentionPolicyService)
- Since:
- 7.14.0
-
-
Method Detail
-
buildFrom
public Space buildFrom(String spaceKey, Expansions expansions)
-
buildFrom
public Space buildFrom(Space space, Expansions expansions)
- Specified by:
buildFrom
in classModelFactory<Space,Space>
-
-