com.atlassian.confluence.plugins.rest.entities.builders
Class PageContentEntityBuilder

java.lang.Object
  extended by com.atlassian.confluence.plugins.rest.entities.builders.DefaultContentEntityBuilder<T>
      extended by com.atlassian.confluence.plugins.rest.entities.builders.WikiLinkableContentEntityBuilder<Page>
          extended by 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
PageContentEntityBuilder(SettingsManager settingsManager, DateEntityFactory dateEntityFactory, UserEntityHelper userEntityHelper)
           
PageContentEntityBuilder(SettingsManager settingsManager, DateEntityHelper dateEntityHelper, UserEntityHelper userEntityHelper)
          Deprecated. since 4.3. DateEntityFactory replaces DateEntityHelper.
 
Method Summary
 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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PageContentEntityBuilder

@Deprecated
public PageContentEntityBuilder(SettingsManager settingsManager,
                                           DateEntityHelper dateEntityHelper,
                                           UserEntityHelper userEntityHelper)
Deprecated. since 4.3. DateEntityFactory replaces DateEntityHelper.

Parameters:
settingsManager -
dateEntityHelper -
userEntityHelper -

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 interface ContentEntityBuilder<Page>
Overrides:
build in class WikiLinkableContentEntityBuilder<Page>
Parameters:
page - the ContentEntityObject
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.


Copyright © 2003–2015 Atlassian. All rights reserved.