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

java.lang.Object
  extended by org.apache.pluto.core.DefaultRequestAttributeService
      extended by org.jasig.portal.portlet.container.services.RequestAttributeServiceImpl
All Implemented Interfaces:
org.apache.pluto.spi.optional.RequestAttributeService

public class RequestAttributeServiceImpl
extends org.apache.pluto.core.DefaultRequestAttributeService

Version:
$Revision: 19883 $
Author:
Eric Dalquist

Constructor Summary
RequestAttributeServiceImpl()
           
 
Method Summary
 Object getAttribute(PortletRequest portletRequest, HttpServletRequest httpServletRequest, org.apache.pluto.PortletWindow plutoPortletWindow, String name)
           
 Enumeration getAttributeNames(PortletRequest portletRequest, HttpServletRequest httpServletRequest, org.apache.pluto.PortletWindow portletWindow)
           
protected  List<org.apache.pluto.descriptors.portlet.UserAttributeDD> getExpectedUserAttributes(HttpServletRequest request, IPortletWindow portletWindow)
          Get the list of user attributes the portlet expects
 void setPersonAttributeDao(org.jasig.services.persondir.IPersonAttributeDao personAttributeDao)
           
 void setPortalRequestUtils(IPortalRequestUtils portalRequestUtils)
           
 void setPortletDefinitionRegistry(IPortletDefinitionRegistry portletDefinitionRegistry)
           
 void setPortletEntityRegistry(IPortletEntityRegistry portletEntityRegistry)
           
 void setPortletWindowRegistry(IPortletWindowRegistry portletWindowRegistry)
           
 
Methods inherited from class org.apache.pluto.core.DefaultRequestAttributeService
createUserInfoMap, encodeAttributeName, getOptionalContainerServices, isNameReserved, removeAttribute, setAttribute, setOptionalContainerServices
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RequestAttributeServiceImpl

public RequestAttributeServiceImpl()
Method Detail

setPersonAttributeDao

public void setPersonAttributeDao(org.jasig.services.persondir.IPersonAttributeDao personAttributeDao)

setPortletWindowRegistry

public void setPortletWindowRegistry(IPortletWindowRegistry portletWindowRegistry)

setPortletEntityRegistry

public void setPortletEntityRegistry(IPortletEntityRegistry portletEntityRegistry)

setPortletDefinitionRegistry

public void setPortletDefinitionRegistry(IPortletDefinitionRegistry portletDefinitionRegistry)

setPortalRequestUtils

public void setPortalRequestUtils(IPortalRequestUtils portalRequestUtils)

getAttribute

public Object getAttribute(PortletRequest portletRequest,
                           HttpServletRequest httpServletRequest,
                           org.apache.pluto.PortletWindow plutoPortletWindow,
                           String name)
Specified by:
getAttribute in interface org.apache.pluto.spi.optional.RequestAttributeService
Overrides:
getAttribute in class org.apache.pluto.core.DefaultRequestAttributeService

getAttributeNames

public Enumeration getAttributeNames(PortletRequest portletRequest,
                                     HttpServletRequest httpServletRequest,
                                     org.apache.pluto.PortletWindow portletWindow)
Specified by:
getAttributeNames in interface org.apache.pluto.spi.optional.RequestAttributeService
Overrides:
getAttributeNames in class org.apache.pluto.core.DefaultRequestAttributeService

getExpectedUserAttributes

protected List<org.apache.pluto.descriptors.portlet.UserAttributeDD> getExpectedUserAttributes(HttpServletRequest request,
                                                                                               IPortletWindow portletWindow)
Get the list of user attributes the portlet expects

Parameters:
request - The current request.
portletWindow - The window to get the expected user attributes for.
Returns:
The List of expected user attributes for the portlet
Throws:
org.apache.pluto.PortletContainerException - If expected attributes cannot be determined


Copyright © 2010 Jasig. All Rights Reserved.