Class WikiLinkableContentEntityBuilder<T extends ContentEntityObject & HasLinkWikiMarkup>
java.lang.Object
com.atlassian.confluence.plugins.rest.jackson2.entities.builders.DefaultContentEntityBuilder<T>
com.atlassian.confluence.plugins.rest.jackson2.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.jackson2.entities.builders.DefaultContentEntityBuilder
settingsManager
-
Constructor Summary
ConstructorDescriptionWikiLinkableContentEntityBuilder
(GlobalSettingsManager 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.jackson2.entities.builders.DefaultContentEntityBuilder
build, build, createSpaceEntity
-
Constructor Details
-
WikiLinkableContentEntityBuilder
public WikiLinkableContentEntityBuilder(GlobalSettingsManager 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<T extends ContentEntityObject & HasLinkWikiMarkup>
- Overrides:
build
in classDefaultContentEntityBuilder<T extends ContentEntityObject & HasLinkWikiMarkup>
- Parameters:
object
- 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.
-