uPortal 2.4.1
API Documentation

org.jasig.portal.i18n
Class RDBMLocaleStore

java.lang.Object
  extended byorg.jasig.portal.i18n.RDBMLocaleStore
All Implemented Interfaces:
ILocaleStore

public class RDBMLocaleStore
extends java.lang.Object
implements ILocaleStore

Database implementation of locale storage interface.

Version:
$Revision: 1.3 $
Author:
Ken Weiner, kweiner@unicon.net

Constructor Summary
RDBMLocaleStore()
           
 
Method Summary
 java.util.Locale[] getUserLocales(IPerson person)
          Retrieves the locale preferences for a particular user.
 void updateUserLocales(IPerson person, java.util.Locale[] locales)
          Persists the locale preferences for a particular user.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RDBMLocaleStore

public RDBMLocaleStore()
Method Detail

getUserLocales

public java.util.Locale[] getUserLocales(IPerson person)
                                  throws java.lang.Exception
Description copied from interface: ILocaleStore
Retrieves the locale preferences for a particular user.

Specified by:
getUserLocales in interface ILocaleStore
Parameters:
person - the user
Returns:
the user's locale preferences
Throws:
java.lang.Exception

updateUserLocales

public void updateUserLocales(IPerson person,
                              java.util.Locale[] locales)
                       throws java.sql.SQLException
Description copied from interface: ILocaleStore
Persists the locale preferences for a particular user.

Specified by:
updateUserLocales in interface ILocaleStore
Parameters:
person - the user
locales - the user's new locale preferences
Throws:
java.sql.SQLException

uPortal 2.4.1
API Documentation