UneditProcessor Class

DEPRECATED com.bea.portal is only useful in the compatibility domain. For the new portal framework please use the classes under the com.bea.netuix package

com.bea.portal.appflow.processor
UneditProcessor Class

public class UneditProcessor

    extends com.bea.portal.appflow.processor.AbstractPortalProcessor

A Portal Processors used to set a portlet out of edit mode. This processor is invoked by the portal's webflow event bea.portal.framework.internal.portlet.unedit. This event is currently tied to the portlet's titlebar link as defined in the edit_titlebar.inc JSP, but it could be invoked from anywhere.
If the portlet itself is webflow enabled the portal will invoke the portlet's own bea.portal.framework.internal.portlet.unedit event. It is portlet developer's responsibility to provide an implementation for this event.


Hierarchy
Object
  com.bea.portal.appflow.processor.AbstractPortalProcessor
    UneditProcessor
All Implemented Interfaces

InputProcessor

Constructor Summary

UneditProcessor()

Default constructor (called by webflow).
 

Method Summary

public Object
process(HttpServletRequest request, HttpServletResponse response, PortalRequest portalRequest, Object requestContext)
Main process method called by webflow.
 
Methods from  com.bea.portal.appflow.processor.com.bea.portal.appflow.processor.AbstractPortalProcessor
getCurrentPortletState, process,
 
Methods from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
   
Methods from interface com.bea.p13n.appflow.webflow.InputProcessor
process
 

Constructor Detail

UneditProcessor

public UneditProcessor()
Default constructor (called by webflow). This processor is session sensitive as it calls super(true)
 

Method Detail

process(HttpServletRequest, HttpServletResponse, PortalRequest, Object) Method

public Object process(HttpServletRequest request, 
                      HttpServletResponse response, 
                      PortalRequest portalRequest, 
                      Object requestContext)
throws ProcessingException
Main process method called by webflow. If the portlet is webflow enabled, this processor invokes the webflow event bea.portal.framework.internal.portlet.unedit it is the responsibility of the portlet developer to provide an implementation for the event

Overrides
AbstractPortalProcessor.process(HttpServletRequest, HttpServletResponse, PortalRequest, Object)

Returns

"success" if all is well

Exceptions

ProcessingException
if the portlet is not editable.