com.atlassian.confluence.plugins.rest.entities.builders
Class WikiLinkableContentEntityBuilder<T extends ContentEntityObject & HasLinkWikiMarkup>
java.lang.Object
com.atlassian.confluence.plugins.rest.entities.builders.DefaultContentEntityBuilder<T>
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>
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WikiLinkableContentEntityBuilder
public WikiLinkableContentEntityBuilder(SettingsManager settingsManager,
DateEntityHelper dateEntityHelper,
UserEntityHelper userEntityHelper)
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-2012 Atlassian. All Rights Reserved.