com.raritantechnologies.portlet
Class PortletHandler
java.lang.Object
com.raritantechnologies.portlet.PortletHandler
- All Implemented Interfaces:
- IConfigurable
- public class PortletHandler
- extends java.lang.Object
- implements IConfigurable
Wraps an IPortletActionHandler which handles the Portlet action requests
and/or an IPortletRenderer, to handle Portlet "render" requests.
XML Configuration Template:
<PortletHandler name="[ portlet Handler name ]"
actionPortletHandler="[ name of other PortletHandler that deals with action requests ]" >
<!-- One or more Portlet Renderers -->
<PortletRenderer class="[ class of com.raritantechnologies.portlet.IPortletRenderer ]"
page="[ NORMAL|MAXIMIZED|HELP]" >
</PortletRenderer>
<!-- A Portlet Action Request Handler -->
<PortletActionHandler class="[ class of com.raritantechnologies.portlet.IPortletActionHandler ]" >
</PortletActionHandler>
</PortletHandler>
Developed by
Raritan Technologies Inc..
- Author:
- Ted Sullivan
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PortletHandler
public PortletHandler()
render
public void render(FrameworkPortlet frameworkPortlet,
RenderRequest request,
RenderResponse response)
throws PortletException,
java.io.IOException
- Throws:
PortletException
java.io.IOException
processAction
public void processAction(FrameworkPortlet frameworkPortlet,
ActionRequest request,
ActionResponse response)
throws PortletException,
java.io.IOException
- Throws:
PortletException
java.io.IOException
initialize
public void initialize(org.w3c.dom.Element elem)
- Description copied from interface:
IConfigurable
- Initializes the object from an XML tag or element.
This method is called by the Framework as part of the application initializtion.
see ConfigurationManager, XMLConfigurationManager, XMLSearchFieldMapFactory, XMLSearchSourceFactory.
Configurable objects that are owned or contained by other configurable objects will be initialized
in by the parent object.
- Specified by:
initialize in interface IConfigurable
getLastParameterMap
public java.util.Map getLastParameterMap(PortletRequest request)
getActionURL
public java.lang.String getActionURL(PortletRequest request)
getRaritanPageContext
public RaritanPageContext getRaritanPageContext(PortletRequest request)
destroy
public void destroy()