org.apache.pluto.driver.services.container
Class PortalCallbackServiceImpl

java.lang.Object
  extended by org.apache.pluto.driver.services.container.PortalCallbackServiceImpl
All Implemented Interfaces:
ContainerService, PortalCallbackService

public class PortalCallbackServiceImpl
extends java.lang.Object
implements PortalCallbackService

Since:
Sep 22, 2004
Version:
1.0
Author:
David H. DeWolf, ZHENG Zhong

Constructor Summary
PortalCallbackServiceImpl()
          Default no-arg constructor.
 
Method Summary
 void addResponseProperty(javax.servlet.http.HttpServletRequest request, PortletWindow portletWindow, java.lang.String property, java.lang.String value)
           
 EventProvider getEventProvider()
           
 EventProvider getEventProvider(javax.servlet.http.HttpServletRequest request, PortletWindow portletWindow)
           
 FilterManager getFilterManager()
          Returns the FilterManager, this is used to process the filter.
 PortletURLListener getPortletURLListener()
          Returns the PortletURLListener which calls the Filter for the URL.
 PortletURLProvider getPortletURLProvider(javax.servlet.http.HttpServletRequest request, PortletWindow portletWindow)
          Returns a URL provider used to constuct a URL to the given portlet.
 java.util.Map getRequestProperties(javax.servlet.http.HttpServletRequest request, PortletWindow portletWindow)
           
 ResourceURLProvider getResourceURLProvider(javax.servlet.http.HttpServletRequest request, PortletWindow portletWindow)
          Returns a URL provider used to construct a URL to a resource in the web application.
 void setResponseProperty(javax.servlet.http.HttpServletRequest request, PortletWindow portletWindow, java.lang.String property, java.lang.String value)
           
 void setTitle(javax.servlet.http.HttpServletRequest request, PortletWindow portletWindow, java.lang.String title)
          Method invoked by the container when the portlet sets its title.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PortalCallbackServiceImpl

public PortalCallbackServiceImpl()
Default no-arg constructor.

Method Detail

setTitle

public void setTitle(javax.servlet.http.HttpServletRequest request,
                     PortletWindow portletWindow,
                     java.lang.String title)
Method invoked by the container when the portlet sets its title. This method binds the dynamic portlet title to the servlet request for later use.

Specified by:
setTitle in interface PortalCallbackService
Parameters:
request - the servlet request.
portletWindow - the portlet window.
title - the title to set.

getPortletURLProvider

public PortletURLProvider getPortletURLProvider(javax.servlet.http.HttpServletRequest request,
                                                PortletWindow portletWindow)
Description copied from interface: PortalCallbackService
Returns a URL provider used to constuct a URL to the given portlet.

Specified by:
getPortletURLProvider in interface PortalCallbackService
Parameters:
request - the servlet request.
portletWindow - the portlet window.
Returns:
the URL provider used to construct a URL to the given portlet.

getResourceURLProvider

public ResourceURLProvider getResourceURLProvider(javax.servlet.http.HttpServletRequest request,
                                                  PortletWindow portletWindow)
Description copied from interface: PortalCallbackService
Returns a URL provider used to construct a URL to a resource in the web application.

Specified by:
getResourceURLProvider in interface PortalCallbackService
Parameters:
request - the servlet request.
portletWindow - the portlet window.
Returns:
the URL provider used to construct a URL to a resource.

getRequestProperties

public java.util.Map getRequestProperties(javax.servlet.http.HttpServletRequest request,
                                          PortletWindow portletWindow)
Specified by:
getRequestProperties in interface PortalCallbackService

setResponseProperty

public void setResponseProperty(javax.servlet.http.HttpServletRequest request,
                                PortletWindow portletWindow,
                                java.lang.String property,
                                java.lang.String value)
Specified by:
setResponseProperty in interface PortalCallbackService

addResponseProperty

public void addResponseProperty(javax.servlet.http.HttpServletRequest request,
                                PortletWindow portletWindow,
                                java.lang.String property,
                                java.lang.String value)
Specified by:
addResponseProperty in interface PortalCallbackService

getEventProvider

public EventProvider getEventProvider(javax.servlet.http.HttpServletRequest request,
                                      PortletWindow portletWindow)
Specified by:
getEventProvider in interface PortalCallbackService

getEventProvider

public EventProvider getEventProvider()
Specified by:
getEventProvider in interface PortalCallbackService

getFilterManager

public FilterManager getFilterManager()
Returns the FilterManager, this is used to process the filter.

Specified by:
getFilterManager in interface PortalCallbackService
Returns:
FilterManager

getPortletURLListener

public PortletURLListener getPortletURLListener()
Description copied from interface: PortalCallbackService
Returns the PortletURLListener which calls the Filter for the URL.

Specified by:
getPortletURLListener in interface PortalCallbackService
Returns:


Copyright © 2003-2010 Apache Software Foundation. All Rights Reserved.