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
-
Field Summary
Fields inherited from class com.atlassian.confluence.plugins.rest.entities.builders.DefaultContentEntityBuilder
settingsManager
-
Constructor Summary
ConstructorDescriptionPageContentEntityBuilder
(SettingsManager settingsManager, DateEntityFactory dateEntityFactory, UserEntityHelper userEntityHelper) -
Method Summary
Modifier and TypeMethodDescriptionBuilds a REST ContentEntity for the given CEOMethods inherited from class com.atlassian.confluence.plugins.rest.entities.builders.DefaultContentEntityBuilder
build, build, createSpaceEntity
-
Constructor Details
-
PageContentEntityBuilder
public PageContentEntityBuilder(SettingsManager settingsManager, DateEntityFactory dateEntityFactory, UserEntityHelper userEntityHelper)
-
-
Method Details
-
build
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.
-