public class EditCommentFromEditorCommand extends EditCommentCommandImpl
Modifier and Type | Field and Description |
---|---|
protected EditorConverter |
editConverter |
protected String |
editorFormatCommentBody |
newCommentBody
Constructor and Description |
---|
EditCommentFromEditorCommand(PermissionManager permissionManager,
CommentManager commentManager,
EditorConverter editConverter,
long commentId,
String newCommentBody) |
Modifier and Type | Method and Description |
---|---|
protected void |
validateInternal(ServiceCommandValidator validator)
Template method for implementations to perform validation.
|
executeInternal, getComment, isAuthorizedInternal
execute, getCurrentUser, getValidationErrors, isAuthorized, isValid
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
execute, getValidationErrors, isAuthorized, isValid
protected EditorConverter editConverter
protected String editorFormatCommentBody
public EditCommentFromEditorCommand(PermissionManager permissionManager, CommentManager commentManager, EditorConverter editConverter, long commentId, String newCommentBody)
protected void validateInternal(ServiceCommandValidator validator)
AbstractServiceCommand
Implementations can assume that if this method is called, authorization was already successful.
validateInternal
in class EditCommentCommandImpl
Copyright © 2003–2020 Atlassian. All rights reserved.