com.atlassian.confluence.setup.webwork
Class AbstractAwareInterceptor

java.lang.Object
  extended by com.atlassian.confluence.setup.webwork.AbstractAwareInterceptor
All Implemented Interfaces:
com.opensymphony.xwork.interceptor.Interceptor
Direct Known Subclasses:
BootstrapAwareInterceptor, CaptchaInterceptor, CommentAwareInterceptor, HttpMethodValidationInterceptor, PageAwareInterceptor, SpaceAwareInterceptor, UserAwareInterceptor, WebSudoInterceptor

public abstract class AbstractAwareInterceptor
extends Object
implements com.opensymphony.xwork.interceptor.Interceptor


Constructor Summary
AbstractAwareInterceptor()
           
 
Method Summary
 void destroy()
           
protected  String getParameter(String parameterName)
           
protected  com.atlassian.user.User getUser()
           
protected  boolean hasParameter(String parameterName)
           
 void init()
           
abstract  String intercept(com.opensymphony.xwork.ActionInvocation actionInvocation)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractAwareInterceptor

public AbstractAwareInterceptor()
Method Detail

destroy

public void destroy()
Specified by:
destroy in interface com.opensymphony.xwork.interceptor.Interceptor

init

public void init()
Specified by:
init in interface com.opensymphony.xwork.interceptor.Interceptor

intercept

public abstract String intercept(com.opensymphony.xwork.ActionInvocation actionInvocation)
                          throws Exception
Specified by:
intercept in interface com.opensymphony.xwork.interceptor.Interceptor
Throws:
Exception

getParameter

protected String getParameter(String parameterName)

hasParameter

protected boolean hasParameter(String parameterName)

getUser

protected com.atlassian.user.User getUser()


Copyright © 2003-2012 Atlassian. All Rights Reserved.