org.jasig.portal.layout.dlm.remoting
Class AuthenticatedUserThemeParamInjector

java.lang.Object
  extended by org.jasig.portal.layout.dlm.remoting.AuthenticatedUserThemeParamInjector
All Implemented Interfaces:
IParameterProcessor

public class AuthenticatedUserThemeParamInjector
extends Object
implements IParameterProcessor

Turns on AJAX preferences functionality

Author:
jennifer.bourey@yale.edu

Constructor Summary
AuthenticatedUserThemeParamInjector()
           
 
Method Summary
 void processParameters(UserPreferences prefs, HttpServletRequest request)
          Injects into the theme stylesheet preferences the "userName" stylesheet parameter containing the value obtained from IPerson.getFullName().
 void setResources(IPerson person, DistributedLayoutManager dlm)
          Captures the passed-in IPerson object for use when processing parameters.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AuthenticatedUserThemeParamInjector

public AuthenticatedUserThemeParamInjector()
Method Detail

setResources

public void setResources(IPerson person,
                         DistributedLayoutManager dlm)
Captures the passed-in IPerson object for use when processing parameters.

Specified by:
setResources in interface IParameterProcessor
See Also:
IParameterProcessor.setResources(org.jasig.portal.security.IPerson, org.jasig.portal.layout.dlm.DistributedLayoutManager)

processParameters

public void processParameters(UserPreferences prefs,
                              HttpServletRequest request)
Injects into the theme stylesheet preferences the "userName" stylesheet parameter containing the value obtained from IPerson.getFullName().

Specified by:
processParameters in interface IParameterProcessor
See Also:
IParameterProcessor.processParameters(org.jasig.portal.UserPreferences, javax.servlet.http.HttpServletRequest)


Copyright © 2010 Jasig. All Rights Reserved.