|
||||||||||
| 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, bean, formatConverter, 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, messageHolder, 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 | |
|---|---|
java.lang.String |
doDefault()
Default webwork action execution method. |
java.lang.String |
doEdit()
|
CaptchaManager |
getCaptchaManager()
|
Comment |
getComment()
|
long |
getCommentId()
|
java.util.List<Page> |
getPermittedChildren()
|
WebInterfaceContext |
getWebInterfaceContext(Comment comment)
|
java.lang.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 |
|---|
getBean, getContentForSaving, getConversionContext, getEditorFormattedContent, getInPreview, getRenderContext, getStorageFormat, getxHtmlContent, setBack, setFormatConverter, setInPreview, setPreview, setWikiStyleRenderer, setWysiwygContent, updateXHtmlContent |
| Methods inherited from class com.atlassian.confluence.pages.actions.AbstractPageAwareAction |
|---|
getFriendlyDateFormatterHelper, 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 MessageHolderAwarevalidate in interface com.opensymphony.xwork.Validateablevalidate in class AbstractPreviewPageAction
public java.lang.String doDefault()
throws java.lang.Exception
ConfluenceActionSupport
doDefault in class ConfluenceActionSupportjava.lang.Exception - if something goes wrong
public java.lang.String doEdit()
throws java.lang.Exception
java.lang.Exceptionpublic Comment getComment()
public java.lang.String getWysiwygContent()
getWysiwygContent in class AbstractPreviewPageActionpublic boolean isPermitted()
isPermitted in class AbstractPageAwareActionpublic long getCommentId()
public void setCommentId(long commentId)
public java.util.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 | |||||||||