org.jasig.portal.i18n
Class RDBMLocaleStore

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

public class RDBMLocaleStore
extends Object
implements ILocaleStore

Database implementation of locale storage interface.

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

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

Constructor Detail

RDBMLocaleStore

public RDBMLocaleStore()
Method Detail

getUserLocales

public Locale[] getUserLocales(IPerson person)
                        throws 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:
Exception

updateUserLocales

public void updateUserLocales(IPerson person,
                              Locale[] locales)
                       throws 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:
SQLException


Copyright © 2010 Jasig. All Rights Reserved.