public class DefaultContentTemplateFactory extends ModelFactory<PageTemplate,ContentTemplate> implements ContentTemplateFactory
Constructor and Description |
---|
DefaultContentTemplateFactory(SpaceFactory spaceFactory,
LabelFactory labelFactory) |
Modifier and Type | Method and Description |
---|---|
ContentTemplate |
buildFrom(PageTemplate hibernateObject,
Expansions expansions)
Convert from db entity object into model object.
|
asFunction, buildFrom
public DefaultContentTemplateFactory(SpaceFactory spaceFactory, LabelFactory labelFactory)
public ContentTemplate buildFrom(PageTemplate hibernateObject, Expansions expansions)
buildFrom
in interface ContentTemplateFactory
buildFrom
in class ModelFactory<PageTemplate,ContentTemplate>
hibernateObject
- expansions
- Copyright © 2003–2017 Atlassian. All rights reserved.