Class PageContentEntityBuilder
- java.lang.Object
-
- com.atlassian.confluence.plugins.rest.entities.builders.DefaultContentEntityBuilder<T>
-
- com.atlassian.confluence.plugins.rest.entities.builders.WikiLinkableContentEntityBuilder<Page>
-
- com.atlassian.confluence.plugins.rest.entities.builders.PageContentEntityBuilder
-
- All Implemented Interfaces:
ContentEntityBuilder<Page>
,SearchEntityBuilder
public class PageContentEntityBuilder extends WikiLinkableContentEntityBuilder<Page>
-
-
Field Summary
-
Fields inherited from class com.atlassian.confluence.plugins.rest.entities.builders.DefaultContentEntityBuilder
settingsManager
-
-
Constructor Summary
Constructors Constructor Description PageContentEntityBuilder(SettingsManager settingsManager, DateEntityFactory dateEntityFactory, UserEntityHelper userEntityHelper)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ContentEntity
build(Page page)
Builds a REST ContentEntity for the given CEO-
Methods inherited from class com.atlassian.confluence.plugins.rest.entities.builders.DefaultContentEntityBuilder
build, build, createSpaceEntity
-
-
-
-
Constructor Detail
-
PageContentEntityBuilder
public PageContentEntityBuilder(SettingsManager settingsManager, DateEntityFactory dateEntityFactory, UserEntityHelper userEntityHelper)
-
-
Method Detail
-
build
public ContentEntity build(Page page)
Description copied from interface:ContentEntityBuilder
Builds a REST ContentEntity for the given CEO- Specified by:
build
in interfaceContentEntityBuilder<Page>
- Overrides:
build
in classWikiLinkableContentEntityBuilder<Page>
- Parameters:
page
- theContentEntityObject
- Returns:
- the entity, or
null
if the current user is not permitted to view the content or if no content object can be found for the given object.
-
-