Class DefaultContentTemplateFactory
java.lang.Object
com.atlassian.confluence.api.impl.service.content.factory.DefaultContentTemplateFactory
- All Implemented Interfaces:
ContentTemplateFactory
,ModelFactory<PageTemplate,
,ContentTemplate> ContentTemplateFactory
public class DefaultContentTemplateFactory
extends Object
implements ModelFactory<PageTemplate,ContentTemplate>, ContentTemplateFactory, ContentTemplateFactory
DefaultContentTemplateFactory creates ContentTemplate from PageTemplate
- Since:
- 5.10
-
Constructor Summary
ConstructorDescriptionDefaultContentTemplateFactory
(SpaceFactory spaceFactory, LabelFactory labelFactory) -
Method Summary
Modifier and TypeMethodDescriptionbuildFrom
(PageTemplate hibernateObject, Expansions expansions) Convert from db entity object into model object.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.atlassian.confluence.api.model.ModelFactory
buildFrom
-
Constructor Details
-
DefaultContentTemplateFactory
-
-
Method Details
-
buildFrom
Convert from db entity object into model object.- Specified by:
buildFrom
in interfaceContentTemplateFactory
- Specified by:
buildFrom
in interfaceContentTemplateFactory
- Specified by:
buildFrom
in interfaceModelFactory<PageTemplate,
ContentTemplate> - Parameters:
hibernateObject
-expansions
-- Returns:
-