com.atlassian.confluence.api.impl.service.content.factory
Class SpaceFactory

java.lang.Object
  extended by com.atlassian.confluence.api.impl.service.content.factory.ModelFactory<Space,Space>
      extended by com.atlassian.confluence.api.impl.service.content.factory.SpaceFactory

public class SpaceFactory
extends ModelFactory<Space,Space>

Builds Space objects out of Space hibernate objects.


Field Summary
static ContentRepresentation DEFAULT_DESCRIPTION_REPRESENTATION
           
 
Constructor Summary
SpaceFactory(SpaceLogoManager spaceLogoManager, SpaceManager spaceManager, com.google.common.base.Supplier<ContentFactory> contentFactorySupplier)
           
 
Method Summary
 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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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)
Method Detail

buildFrom

public Space buildFrom(String spaceKey,
                       Expansions expansions)

buildFrom

public Space buildFrom(Space space,
                       Expansions expansions)
Specified by:
buildFrom in class ModelFactory<Space,Space>


Copyright © 2003–2015 Atlassian. All rights reserved.