org.apache.jetspeed.container
Class PageHistoryValve

java.lang.Object
  extended by org.apache.jetspeed.pipeline.valve.AbstractValve
      extended by org.apache.jetspeed.container.PageHistoryValve
All Implemented Interfaces:
org.apache.jetspeed.pipeline.valve.Valve

public class PageHistoryValve
extends AbstractValve

Valve basically mantains the page navigation history by maintaining a previous page id in the session. Required by JS2-806

Version:
$Id$
Author:
Mohan Kannapareddy

Field Summary
protected  org.apache.commons.logging.Log log
           
static String REQUEST_CLEAR_PORTLETS_MODE_AND_WINDOWSTATE_KEY
           
private  String SESSION_PREVIOUS_PAGEID_KEY
           
private  boolean valveDisabled
           
 
Constructor Summary
PageHistoryValve()
           
 
Method Summary
 void invoke(org.apache.jetspeed.request.RequestContext request, org.apache.jetspeed.pipeline.valve.ValveContext context)
           
 boolean isValveDisabled()
           
 void setValveDisabled(boolean valveDisabled)
           
 String toString()
           
 
Methods inherited from class org.apache.jetspeed.pipeline.valve.AbstractValve
initialize
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

log

protected final org.apache.commons.logging.Log log

REQUEST_CLEAR_PORTLETS_MODE_AND_WINDOWSTATE_KEY

public static final String REQUEST_CLEAR_PORTLETS_MODE_AND_WINDOWSTATE_KEY
See Also:
Constant Field Values

SESSION_PREVIOUS_PAGEID_KEY

private final String SESSION_PREVIOUS_PAGEID_KEY
See Also:
Constant Field Values

valveDisabled

private boolean valveDisabled
Constructor Detail

PageHistoryValve

public PageHistoryValve()
Method Detail

invoke

public void invoke(org.apache.jetspeed.request.RequestContext request,
                   org.apache.jetspeed.pipeline.valve.ValveContext context)
            throws org.apache.jetspeed.pipeline.PipelineException
Specified by:
invoke in interface org.apache.jetspeed.pipeline.valve.Valve
Specified by:
invoke in class AbstractValve
Throws:
org.apache.jetspeed.pipeline.PipelineException

toString

public String toString()
Overrides:
toString in class Object

setValveDisabled

public void setValveDisabled(boolean valveDisabled)

isValveDisabled

public boolean isValveDisabled()


Copyright © 1999-2007 Apache Software Foundation. All Rights Reserved.