public class CommentEntityBuilder extends WikiLinkableContentEntityBuilder<Comment>
settingsManager
Constructor and Description |
---|
CommentEntityBuilder(SettingsManager settingsManager,
DateEntityFactory dateEntityFactory,
UserEntityHelper userEntityHelper) |
CommentEntityBuilder(SettingsManager settingsManager,
DateEntityHelper dateEntityHelper,
UserEntityHelper userEntityHelper)
Deprecated.
since 4.3. DateEntityFactory replaces DateEntityHelper.
|
Modifier and Type | Method and Description |
---|---|
ContentEntity |
build(Comment comment)
Builds a REST ContentEntity for the given CEO
|
build, build, createSpaceEntity
@Deprecated public CommentEntityBuilder(SettingsManager settingsManager, DateEntityHelper dateEntityHelper, UserEntityHelper userEntityHelper)
settingsManager
- dateEntityHelper
- userEntityHelper
- public CommentEntityBuilder(SettingsManager settingsManager, DateEntityFactory dateEntityFactory, UserEntityHelper userEntityHelper)
public ContentEntity build(Comment comment)
ContentEntityBuilder
build
in interface ContentEntityBuilder<Comment>
build
in class WikiLinkableContentEntityBuilder<Comment>
comment
- the ContentEntityObject
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.