com.atlassian.confluence.plugins.rest.entities.builders
Class WikiLinkableContentEntityBuilder<T extends ContentEntityObject & HasLinkWikiMarkup>

java.lang.Object
  extended by com.atlassian.confluence.plugins.rest.entities.builders.DefaultContentEntityBuilder<T>
      extended by com.atlassian.confluence.plugins.rest.entities.builders.WikiLinkableContentEntityBuilder<T>
All Implemented Interfaces:
ContentEntityBuilder<T>, SearchEntityBuilder
Direct Known Subclasses:
CommentEntityBuilder, PageContentEntityBuilder, PersonalInformationContentEntityBuilder

public class WikiLinkableContentEntityBuilder<T extends ContentEntityObject & HasLinkWikiMarkup>
extends DefaultContentEntityBuilder<T>


Field Summary
 
Fields inherited from class com.atlassian.confluence.plugins.rest.entities.builders.DefaultContentEntityBuilder
settingsManager
 
Constructor Summary
WikiLinkableContentEntityBuilder(SettingsManager settingsManager, DateEntityFactory dateEntityFactory, UserEntityHelper userEntityHelper)
           
WikiLinkableContentEntityBuilder(SettingsManager settingsManager, DateEntityHelper dateEntityHelper, UserEntityHelper userEntityHelper)
          Deprecated. since 4.3. DateEntityFactory replaces DateEntityHelper.
 
Method Summary
 ContentEntity build(T object)
          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

WikiLinkableContentEntityBuilder

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

Parameters:
settingsManager -
dateEntityHelper -
userEntityHelper -

WikiLinkableContentEntityBuilder

public WikiLinkableContentEntityBuilder(SettingsManager settingsManager,
                                        DateEntityFactory dateEntityFactory,
                                        UserEntityHelper userEntityHelper)
Method Detail

build

public ContentEntity build(T object)
Description copied from interface: ContentEntityBuilder
Builds a REST ContentEntity for the given CEO

Specified by:
build in interface ContentEntityBuilder<T extends ContentEntityObject & HasLinkWikiMarkup>
Overrides:
build in class DefaultContentEntityBuilder<T extends ContentEntityObject & HasLinkWikiMarkup>
Parameters:
object - 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-2013 Atlassian. All Rights Reserved.