|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.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.AddCommentAction
public class AddCommentAction
Field Summary |
---|
Fields inherited from class com.atlassian.confluence.pages.actions.AbstractPreviewPageAction |
---|
back, content, inPreview, preview, wikiStyleRenderer, wysiwygContent |
Fields inherited from class com.atlassian.confluence.pages.actions.AbstractPageAction |
---|
incomingLinks, isXHtml, linkManager, MARKUP, pageManager, PREVIEW, RICHTEXT, 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, log, 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 | |
---|---|
AddCommentAction()
|
Method Summary | |
---|---|
static WebInterfaceContext |
createWebInterfaceContextWithComment(WebInterfaceContext context,
Comment comment)
|
String |
execute()
|
String |
getCancelResult()
|
CaptchaManager |
getCaptchaManager()
|
Comment |
getComment()
|
long |
getParentId()
|
List |
getPermittedChildren()
|
WebInterfaceContext |
getWebInterfaceContext(Comment comment)
|
boolean |
isPermitted()
|
void |
setCaptchaManager(CaptchaManager captchaManager)
|
void |
setCommentService(CommentService commentService)
|
void |
setNotificationManager(NotificationManager notificationManager)
|
void |
setParentId(long parentId)
|
void |
setWatchPageAfterComment(boolean watchPageAfterComment)
|
void |
validate()
|
Methods inherited from class com.atlassian.confluence.pages.actions.AbstractPreviewPageAction |
---|
getContent, getInPreview, getPageOrDummyPage, getWysiwygContent, getxHtmlContent, setBack, setContent, 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, 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 AddCommentAction()
Method Detail |
---|
public void validate()
validate
in interface com.opensymphony.xwork.Validateable
validate
in class com.opensymphony.xwork.ActionSupport
public String execute() throws Exception
execute
in interface com.opensymphony.xwork.Action
execute
in class com.opensymphony.xwork.ActionSupport
Exception
public Comment getComment()
public boolean isPermitted()
isPermitted
in class AbstractPageAwareAction
public List getPermittedChildren()
getPermittedChildren
in class AbstractPageAction
public void setParentId(long parentId)
public long getParentId()
public String getCancelResult()
getCancelResult
in class ConfluenceActionSupport
public 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)
public static WebInterfaceContext createWebInterfaceContextWithComment(WebInterfaceContext context, Comment comment)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |