|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.opensymphony.xwork.ActionSupport
com.atlassian.confluence.core.ConfluenceActionSupport
com.atlassian.confluence.pages.actions.AbstractPageAwareAction
com.atlassian.confluence.pages.actions.AbstractPageAction
com.atlassian.confluence.pages.actions.AbstractPreviewPageAction
com.atlassian.confluence.pages.actions.EditCommentAction
public class EditCommentAction
| Field Summary |
|---|
| Fields inherited from class com.atlassian.confluence.pages.actions.AbstractPreviewPageAction |
|---|
back, editConverter, editRenderer, inPreview, preview, storageFormat, wikiStyleRenderer, wysiwygContent |
| Fields inherited from class com.atlassian.confluence.pages.actions.AbstractPageAction |
|---|
incomingLinks, linkManager, pageManager, PREVIEW, RICHTEXT, viewRenderer, wysiwygConverter |
| Fields inherited from class com.atlassian.confluence.pages.actions.AbstractPageAwareAction |
|---|
contentPermissionManager, spaceManager |
| Fields inherited from class com.atlassian.confluence.core.ConfluenceActionSupport |
|---|
CANCEL, DEVMODE, eventManager, i18NBeanFactory, labelManager, languageManager, LICENSE_EXPIRED, LICENSE_USERS_EXCEEDED, permissionManager, permitted, pluginAccessor, settingsManager, spacePermissionManager, userAccessor, webInterfaceManager |
| Fields inherited from class com.opensymphony.xwork.ActionSupport |
|---|
LOG |
| Fields inherited from interface com.opensymphony.xwork.Action |
|---|
ERROR, INPUT, LOGIN, NONE, SUCCESS |
| Constructor Summary | |
|---|---|
EditCommentAction()
|
|
| Method Summary | |
|---|---|
String |
doDefault()
Default webwork action execution method. |
String |
doEdit()
|
CaptchaManager |
getCaptchaManager()
|
Comment |
getComment()
|
long |
getCommentId()
|
List<Page> |
getPermittedChildren()
|
WebInterfaceContext |
getWebInterfaceContext(Comment comment)
|
String |
getWysiwygContent()
Override since the base implementation will return the content of a page, instead of the comment. |
boolean |
isPermitted()
|
void |
setCaptchaManager(CaptchaManager captchaManager)
|
void |
setCommentId(long commentId)
|
void |
setCommentService(CommentService commentService)
|
void |
setNotificationManager(NotificationManager notificationManager)
|
void |
setWatchPageAfterComment(boolean watchPageAfterComment)
|
void |
validate()
Convert the editor content to storageFormat, catching and reporting any problems in the process. |
| Methods inherited from class com.atlassian.confluence.pages.actions.AbstractPreviewPageAction |
|---|
convertContentToStorageFormat, getContentForSaving, getConversionContext, getEditorFormattedContent, getInPreview, getStorageFormat, getxHtmlContent, setBack, setEditConverter, setEditRenderer, setInPreview, setPreview, setWikiStyleRenderer, setWysiwygContent, updateXHtmlContent |
| Methods inherited from class com.atlassian.confluence.pages.actions.AbstractPageAwareAction |
|---|
getPage, getPageId, getSpace, getSpaceKey, getTitle, hasViewPagePermission, isLatestVersionRequired, isPageRequired, isViewPermissionRequired, setContentPermissionManager, setPage, setSpaceManager |
| Methods inherited from class com.opensymphony.xwork.ActionSupport |
|---|
addActionError, addActionMessage, addFieldError, execute, getActionErrors, getActionMessages, getErrorMessages, getErrors, getFieldErrors, getText, getTexts, getTexts, hasActionErrors, hasActionMessages, hasErrors, hasFieldErrors, setActionErrors, setActionMessages, setFieldErrors |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public EditCommentAction()
| Method Detail |
|---|
public void validate()
AbstractPreviewPageAction
validate in interface com.opensymphony.xwork.Validateablevalidate in class AbstractPreviewPageAction
public String doDefault()
throws Exception
ConfluenceActionSupport
doDefault in class ConfluenceActionSupportException - if something goes wrong
public String doEdit()
throws Exception
Exceptionpublic Comment getComment()
public String getWysiwygContent()
getWysiwygContent in class AbstractPreviewPageActionpublic boolean isPermitted()
isPermitted in class AbstractPageAwareActionpublic long getCommentId()
public void setCommentId(long commentId)
public List<Page> getPermittedChildren()
getPermittedChildren in class AbstractPageActionpublic void setCommentService(CommentService commentService)
public void setNotificationManager(NotificationManager notificationManager)
public void setWatchPageAfterComment(boolean watchPageAfterComment)
public CaptchaManager getCaptchaManager()
public void setCaptchaManager(CaptchaManager captchaManager)
public WebInterfaceContext getWebInterfaceContext(Comment comment)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||