org.apache.jetspeed.portlets.localeselector
Class LocaleSelectorPortlet

java.lang.Object
  extended by javax.portlet.GenericPortlet
      extended by org.apache.jetspeed.portlets.localeselector.LocaleSelectorPortlet
All Implemented Interfaces:
javax.portlet.Portlet, javax.portlet.PortletConfig

public class LocaleSelectorPortlet
extends javax.portlet.GenericPortlet

This is the portlet to select user's preferred locale.

Version:
$Id: LocaleSelectorPortlet.java 348264 2005-11-22 22:06:45Z taylor $
Author:
Shinsuke Sugaya

Field Summary
static String PREFERED_LOCALE_SESSION_KEY
           
private  org.apache.jetspeed.security.UserManager userManager
           
 
Constructor Summary
LocaleSelectorPortlet()
           
 
Method Summary
protected  void doView(javax.portlet.RenderRequest request, javax.portlet.RenderResponse response)
           
 void init(javax.portlet.PortletConfig config)
           
 void processAction(javax.portlet.ActionRequest request, javax.portlet.ActionResponse response)
           
 
Methods inherited from class javax.portlet.GenericPortlet
destroy, doDispatch, doEdit, doHelp, getInitParameter, getInitParameterNames, getPortletConfig, getPortletContext, getPortletName, getResourceBundle, getTitle, init, render
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PREFERED_LOCALE_SESSION_KEY

public static final String PREFERED_LOCALE_SESSION_KEY
See Also:
Constant Field Values

userManager

private org.apache.jetspeed.security.UserManager userManager
Constructor Detail

LocaleSelectorPortlet

public LocaleSelectorPortlet()
Method Detail

init

public void init(javax.portlet.PortletConfig config)
          throws javax.portlet.PortletException
Specified by:
init in interface javax.portlet.Portlet
Overrides:
init in class javax.portlet.GenericPortlet
Throws:
javax.portlet.PortletException

doView

protected void doView(javax.portlet.RenderRequest request,
                      javax.portlet.RenderResponse response)
               throws javax.portlet.PortletException,
                      IOException
Overrides:
doView in class javax.portlet.GenericPortlet
Throws:
javax.portlet.PortletException
IOException

processAction

public void processAction(javax.portlet.ActionRequest request,
                          javax.portlet.ActionResponse response)
                   throws javax.portlet.PortletException,
                          IOException
Specified by:
processAction in interface javax.portlet.Portlet
Overrides:
processAction in class javax.portlet.GenericPortlet
Throws:
javax.portlet.PortletException
IOException


Copyright © 1999-2007 Apache Software Foundation. All Rights Reserved.