|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.atlassian.confluence.setup.webwork.AbstractAwareInterceptor
com.atlassian.confluence.pages.actions.CommentAwareInterceptor
public class CommentAwareInterceptor
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.)
Constructor Summary | |
---|---|
CommentAwareInterceptor()
|
Method Summary | |
---|---|
java.lang.String |
intercept(com.opensymphony.xwork.ActionInvocation actionInvocation)
|
Methods inherited from class com.atlassian.confluence.setup.webwork.AbstractAwareInterceptor |
---|
destroy, getParameter, getUser, hasParameter, init |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CommentAwareInterceptor()
Method Detail |
---|
public java.lang.String intercept(com.opensymphony.xwork.ActionInvocation actionInvocation) throws java.lang.Exception
intercept
in interface com.opensymphony.xwork.interceptor.Interceptor
intercept
in class AbstractAwareInterceptor
java.lang.Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |