com.atlassian.confluence.spaces.actions
Class SpaceAwareInterceptor

java.lang.Object
  extended by com.atlassian.confluence.setup.webwork.AbstractAwareInterceptor
      extended by com.atlassian.confluence.spaces.actions.SpaceAwareInterceptor
All Implemented Interfaces:
com.opensymphony.xwork.interceptor.Interceptor

public class SpaceAwareInterceptor
extends AbstractAwareInterceptor

Encapsulates all the complicated "how are the many ways I can look up a space so the action knows about it?" stuff. An action just needs to implement SpaceAware, and the interceptor will give it a space if it needs one.


Constructor Summary
SpaceAwareInterceptor()
           
 
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

SpaceAwareInterceptor

public SpaceAwareInterceptor()
Method Detail

intercept

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


Copyright © 2003-2009 Atlassian Pty Ltd. All Rights Reserved.