This project has retired. For details please refer to its
        
        Attic page .
      
 
 
ActionValveImpl (Jetspeed-2 Portal Components 2.1.3 API)
 
 
 
 
 
 
 
 
org.apache.jetspeed.pipeline.valve.impl 
 
Class ActionValveImpl 
java.lang.Object 
  org.apache.jetspeed.pipeline.valve.AbstractValve 
      org.apache.jetspeed.pipeline.valve.impl.ActionValveImpl 
 
All Implemented Interfaces:  ActionValve , org.apache.jetspeed.pipeline.valve.Valve 
 
 
public class ActionValveImpl  extends AbstractValve implements ActionValve    
 ActionValveImpl
 
 
 Default implementation of the ActionValve interface.  Expects to be
 called after the ContainerValve has set up the appropriate action window
 within the request context.  This should come before ANY rendering takes
 place.
Version:  
  $Id: ActionValveImpl.java 589933 2007-10-30 01:51:50Z woonsan $ 
Author:  
  Scott T. Weaver  
 
 
 
 
 
Constructor Summary   
 
ActionValveImpl  (org.apache.pluto.PortletContainer container,
                org.apache.jetspeed.container.window.PortletWindowAccessor windowAccessor,
                org.apache.jetspeed.cache.JetspeedContentCache portletContentCache)
 
            
 
ActionValveImpl  (org.apache.pluto.PortletContainer container,
                org.apache.jetspeed.container.window.PortletWindowAccessor windowAccessor,
                org.apache.jetspeed.cache.JetspeedContentCache portletContentCache,
                boolean patchResponseCommitted)
 
            
 
 
 
Method Summary   
 
protected  void  
clearPortletCacheForPage  (org.apache.jetspeed.request.RequestContext request,
                         org.apache.pluto.om.window.PortletWindow actionWindow)
 
            
 
protected  void  
clearTargetCache  (org.apache.jetspeed.om.page.ContentFragment f,
                 org.apache.jetspeed.request.RequestContext context)
 
            
 
protected  void  
clearTargetCache  (String  fragmentId,
                 org.apache.jetspeed.request.RequestContext context)
 
            
 
protected  void  
initWindow  (org.apache.pluto.om.window.PortletWindow window,
           org.apache.jetspeed.request.RequestContext request)
 
          Makes sure that this PortletWindow's PortletEntity is set to have the
 current requests fragment. 
 
 void  
invoke  (org.apache.jetspeed.request.RequestContext request,
       org.apache.jetspeed.pipeline.valve.ValveContext context)
 
            
 
protected  boolean  
isNonStandardAction  (org.apache.pluto.om.window.PortletWindow actionWindow)
 
          Actions can be marked as non-standard if they don't participate in
 JSR-168 standard action behavior. 
 
protected  void  
notifyFragments  (org.apache.jetspeed.om.page.ContentFragment f,
                org.apache.jetspeed.request.RequestContext context,
                org.apache.jetspeed.om.page.ContentPage page)
 
            
 
 String   
toString  ()
 
            
 
  
  
  
Methods inherited from interface org.apache.jetspeed.pipeline.valve.Valve  
 
initialize 
 
 
 
log 
private static final org.apache.commons.logging.Log log  
 
 
 
container 
private org.apache.pluto.PortletContainer container  
 
 
 
windowAccessor 
private org.apache.jetspeed.container.window.PortletWindowAccessor windowAccessor  
 
 
 
patchResponseCommitted 
private boolean patchResponseCommitted  
 
 
 
portletContentCache 
private org.apache.jetspeed.cache.JetspeedContentCache portletContentCache  
 
 
 
ActionValveImpl 
public ActionValveImpl (org.apache.pluto.PortletContainer container,
                       org.apache.jetspeed.container.window.PortletWindowAccessor windowAccessor,
                       org.apache.jetspeed.cache.JetspeedContentCache portletContentCache) 
 
 
ActionValveImpl 
public ActionValveImpl (org.apache.pluto.PortletContainer container,
                       org.apache.jetspeed.container.window.PortletWindowAccessor windowAccessor,
                       org.apache.jetspeed.cache.JetspeedContentCache portletContentCache,
                       boolean patchResponseCommitted) 
 
 
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.ValveSpecified by: invoke  in class AbstractValve  
 
Throws: 
org.apache.jetspeed.pipeline.PipelineExceptionSee Also: Valve.invoke(org.apache.jetspeed.request.RequestContext, org.apache.jetspeed.pipeline.valve.ValveContext) 
 
 
 
clearPortletCacheForPage 
protected void clearPortletCacheForPage (org.apache.jetspeed.request.RequestContext request,
                                        org.apache.pluto.om.window.PortletWindow actionWindow)
                                 throws org.apache.jetspeed.exception.JetspeedException 
 
 
Throws: 
org.apache.jetspeed.exception.JetspeedException 
 
 
 
isNonStandardAction 
protected boolean isNonStandardAction (org.apache.pluto.om.window.PortletWindow actionWindow) 
Actions can be marked as non-standard if they don't participate in
 JSR-168 standard action behavior. By default, actions are supposed
 to clear the cache of all other portlets on the page.
 By setting this parameter, we can ignore the standard behavior
 and not clear the cache on actions. This is useful for portlets
 which never participate with other portlets.
 
 
 
 
  
 
notifyFragments 
protected void notifyFragments (org.apache.jetspeed.om.page.ContentFragment f,
                               org.apache.jetspeed.request.RequestContext context,
                               org.apache.jetspeed.om.page.ContentPage page) 
 
 
 
 
 
 
clearTargetCache 
protected void clearTargetCache (org.apache.jetspeed.om.page.ContentFragment f,
                                org.apache.jetspeed.request.RequestContext context) 
 
 
 
 
 
 
clearTargetCache 
protected void clearTargetCache (String  fragmentId,
                                org.apache.jetspeed.request.RequestContext context) 
 
 
 
 
 
 
toString 
public String  toString () 
Overrides: toString  in class Object  
 
See Also: Object.toString() 
 
 
 
initWindow 
protected void initWindow (org.apache.pluto.om.window.PortletWindow window,
                          org.apache.jetspeed.request.RequestContext request) 
Makes sure that this PortletWindow's PortletEntity is set to have the
 current requests fragment.
 
 
Parameters: window - request -  
 
  
 
 
 
 
 
Copyright © 1999-2007 Apache Software Foundation. All Rights Reserved.