public class ContentFactory extends ModelFactory<ContentEntityObject,Content>
Constructor and Description |
---|
ContentFactory(ContentBodyFactory contentBodyFactory,
SpaceFactory spaceSummaryBuilder,
ModelMetadataFactory metadataFactory,
VersionFactory versionFactory,
HistoryFactory historyFactory,
ChildContentFactory childContentFactory,
ContentExtensionsFactory extensionsFactory,
OperationService operationService) |
Modifier and Type | Method and Description |
---|---|
Content |
buildFrom(ContentEntityObject entity,
Expansions expansions) |
ContentType |
makeContentType(ContentTypeAware entity) |
asFunction
public ContentFactory(ContentBodyFactory contentBodyFactory, SpaceFactory spaceSummaryBuilder, ModelMetadataFactory metadataFactory, VersionFactory versionFactory, HistoryFactory historyFactory, ChildContentFactory childContentFactory, ContentExtensionsFactory extensionsFactory, OperationService operationService)
public Content buildFrom(ContentEntityObject entity, Expansions expansions)
buildFrom
in class ModelFactory<ContentEntityObject,Content>
public ContentType makeContentType(ContentTypeAware entity)
Copyright © 2003–2015 Atlassian. All rights reserved.