com.atlassian.confluence.plugins.rest.entities.builders
Class CommentEntityBuilder
java.lang.Object
com.atlassian.confluence.plugins.rest.entities.builders.DefaultContentEntityBuilder<T>
com.atlassian.confluence.plugins.rest.entities.builders.WikiLinkableContentEntityBuilder<Comment>
com.atlassian.confluence.plugins.rest.entities.builders.CommentEntityBuilder
- All Implemented Interfaces:
- ContentEntityBuilder<Comment>, SearchEntityBuilder
public class CommentEntityBuilder
- extends WikiLinkableContentEntityBuilder<Comment>
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CommentEntityBuilder
@Deprecated
public CommentEntityBuilder(SettingsManager settingsManager,
DateEntityHelper dateEntityHelper,
UserEntityHelper userEntityHelper)
- Deprecated. since 4.3. DateEntityFactory replaces DateEntityHelper.
- Parameters:
settingsManager - dateEntityHelper - userEntityHelper -
CommentEntityBuilder
public CommentEntityBuilder(SettingsManager settingsManager,
DateEntityFactory dateEntityFactory,
UserEntityHelper userEntityHelper)
build
public ContentEntity build(Comment comment)
- Description copied from interface:
ContentEntityBuilder
- Builds a REST ContentEntity for the given CEO
- Specified by:
build in interface ContentEntityBuilder<Comment>- Overrides:
build in class WikiLinkableContentEntityBuilder<Comment>
- Parameters:
comment - 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.