public class

CommentAwareInterceptor

extends AbstractAwareInterceptor
java.lang.Object
   ↳ com.atlassian.confluence.setup.webwork.AbstractAwareInterceptor
     ↳ com.atlassian.confluence.pages.actions.CommentAwareInterceptor

Class Overview

Grabs the 'commentId' or 'focusedCommentId' parameter from the request and sets the associated comment on the action.

If the comment cannot be found or the current user is not permitted to view it, this interceptor does nothing. (At the moment all CommentAware actions are also PageAware, and the PageAwareInterceptor redirects to the "not permitted" page if the page cannot be viewed.)

Summary

Public Constructors
CommentAwareInterceptor()
Public Methods
String intercept(ActionInvocation actionInvocation)
[Expand]
Inherited Methods
From class com.atlassian.confluence.setup.webwork.AbstractAwareInterceptor
From class java.lang.Object
From interface com.opensymphony.xwork.interceptor.Interceptor

Public Constructors

public CommentAwareInterceptor ()

Public Methods

public String intercept (ActionInvocation actionInvocation)

Throws
Exception