public class CreateCommentFromEditorCommand extends CreateCommentCommandImpl
| Modifier and Type | Field and Description |
|---|---|
protected EditorConverter |
editConverter |
protected String |
editorFormatCommentBody |
commentBody| Constructor and Description |
|---|
CreateCommentFromEditorCommand(PermissionManager permissionManager,
ContentEntityManager contentManager,
CommentManager commentManager,
EditorConverter editConverter,
long pageId,
long parentCommentId,
String commentBody)
Deprecated.
since 5.6. Use
#CreateCommentFromEditorCommand(com.atlassian.confluence.security.PermissionManager, com.atlassian.confluence.core.ContentEntityManager, com.atlassian.confluence.pages.CommentManager, com.atlassian.confluence.content.render.xhtml.editor.EditorConverter, long, long, String, java.util.UUID) |
CreateCommentFromEditorCommand(PermissionManager permissionManager,
ContentEntityManager contentManager,
CommentManager commentManager,
EditorConverter editConverter,
long pageId,
long parentCommentId,
String commentBody,
NewCommentDeduplicator commentDeduplicator) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
validateInternal(ServiceCommandValidator validator)
Template method for implementations to perform validation.
|
executeInternal, getComment, getContent, isAuthorizedInternalexecute, getCurrentUser, getValidationErrors, isAuthorized, isValidclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitexecute, getValidationErrors, isAuthorized, isValidprotected EditorConverter editConverter
protected String editorFormatCommentBody
@Deprecated public CreateCommentFromEditorCommand(PermissionManager permissionManager, ContentEntityManager contentManager, CommentManager commentManager, EditorConverter editConverter, long pageId, long parentCommentId, String commentBody)
#CreateCommentFromEditorCommand(com.atlassian.confluence.security.PermissionManager, com.atlassian.confluence.core.ContentEntityManager, com.atlassian.confluence.pages.CommentManager, com.atlassian.confluence.content.render.xhtml.editor.EditorConverter, long, long, String, java.util.UUID)public CreateCommentFromEditorCommand(PermissionManager permissionManager, ContentEntityManager contentManager, CommentManager commentManager, EditorConverter editConverter, long pageId, long parentCommentId, String commentBody, NewCommentDeduplicator commentDeduplicator)
protected void validateInternal(ServiceCommandValidator validator)
AbstractServiceCommand
Implementations can assume that if this method is called, authorization was already successful.
validateInternal in class CreateCommentCommandImplCopyright © 2003–2016 Atlassian. All rights reserved.