org.jasig.portal.portlet.container.services
Class PortalCallbackServiceImpl

java.lang.Object
  extended by org.jasig.portal.portlet.container.services.PortalCallbackServiceImpl
All Implemented Interfaces:
org.apache.pluto.spi.ContainerService, org.apache.pluto.spi.PortalCallbackService

public class PortalCallbackServiceImpl
extends Object
implements org.apache.pluto.spi.PortalCallbackService

Main callback service Pluto uses when servicing portlet requests. Delegates to IRequestPropertiesManager for request/response property information, IPortletWindowRegistry for portlet window information, IPortletUrlSyntaxProvider for URL generation, and FOO for dynamic title handling.

Version:
$Revision$
Author:
Eric Dalquist

Constructor Summary
PortalCallbackServiceImpl()
           
 
Method Summary
 void addResponseProperty(HttpServletRequest request, org.apache.pluto.PortletWindow plutoPortletWindow, String property, String value)
           
 org.apache.pluto.spi.PortletURLProvider getPortletURLProvider(HttpServletRequest request, org.apache.pluto.PortletWindow plutoPortletWindow)
           
 IPortletUrlSyntaxProvider getPortletUrlSyntaxProvider()
           
 IPortletWindowRegistry getPortletWindowRegistry()
           
 Map<String,String[]> getRequestProperties(HttpServletRequest request, org.apache.pluto.PortletWindow plutoPortletWindow)
           
 IRequestPropertiesManager getRequestPropertiesManager()
           
 org.apache.pluto.spi.ResourceURLProvider getResourceURLProvider(HttpServletRequest request, org.apache.pluto.PortletWindow plutoPortletWindow)
           
 void setPortletUrlSyntaxProvider(IPortletUrlSyntaxProvider portletUrlSyntaxProvider)
           
 void setPortletWindowRegistry(IPortletWindowRegistry portletWindowRegistry)
           
 void setRequestPropertiesManager(IRequestPropertiesManager requestPropertiesManager)
           
 void setResponseProperty(HttpServletRequest request, org.apache.pluto.PortletWindow plutoPortletWindow, String property, String value)
           
 void setTitle(HttpServletRequest request, org.apache.pluto.PortletWindow plutoPortletWindow, String title)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PortalCallbackServiceImpl

public PortalCallbackServiceImpl()
Method Detail

getRequestPropertiesManager

public IRequestPropertiesManager getRequestPropertiesManager()
Returns:
the requestPropertiesManager

setRequestPropertiesManager

public void setRequestPropertiesManager(IRequestPropertiesManager requestPropertiesManager)
Parameters:
requestPropertiesManager - the requestPropertiesManager to set

getPortletWindowRegistry

public IPortletWindowRegistry getPortletWindowRegistry()
Returns:
the portletWindowRegistry

setPortletWindowRegistry

public void setPortletWindowRegistry(IPortletWindowRegistry portletWindowRegistry)
Parameters:
portletWindowRegistry - the portletWindowRegistry to set

getPortletUrlSyntaxProvider

public IPortletUrlSyntaxProvider getPortletUrlSyntaxProvider()
Returns:
the portletUrlSyntaxProvider

setPortletUrlSyntaxProvider

public void setPortletUrlSyntaxProvider(IPortletUrlSyntaxProvider portletUrlSyntaxProvider)
Parameters:
portletUrlSyntaxProvider - the portletUrlSyntaxProvider to set

setResponseProperty

public void setResponseProperty(HttpServletRequest request,
                                org.apache.pluto.PortletWindow plutoPortletWindow,
                                String property,
                                String value)
Specified by:
setResponseProperty in interface org.apache.pluto.spi.PortalCallbackService

addResponseProperty

public void addResponseProperty(HttpServletRequest request,
                                org.apache.pluto.PortletWindow plutoPortletWindow,
                                String property,
                                String value)
Specified by:
addResponseProperty in interface org.apache.pluto.spi.PortalCallbackService

getRequestProperties

public Map<String,String[]> getRequestProperties(HttpServletRequest request,
                                                 org.apache.pluto.PortletWindow plutoPortletWindow)
Specified by:
getRequestProperties in interface org.apache.pluto.spi.PortalCallbackService

getPortletURLProvider

public org.apache.pluto.spi.PortletURLProvider getPortletURLProvider(HttpServletRequest request,
                                                                     org.apache.pluto.PortletWindow plutoPortletWindow)
Specified by:
getPortletURLProvider in interface org.apache.pluto.spi.PortalCallbackService

getResourceURLProvider

public org.apache.pluto.spi.ResourceURLProvider getResourceURLProvider(HttpServletRequest request,
                                                                       org.apache.pluto.PortletWindow plutoPortletWindow)
Specified by:
getResourceURLProvider in interface org.apache.pluto.spi.PortalCallbackService

setTitle

public void setTitle(HttpServletRequest request,
                     org.apache.pluto.PortletWindow plutoPortletWindow,
                     String title)
Specified by:
setTitle in interface org.apache.pluto.spi.PortalCallbackService


Copyright © 2010 Jasig. All Rights Reserved.