org.jasig.portal.i18n
Class RDBMLocaleStore
java.lang.Object
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
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RDBMLocaleStore
public RDBMLocaleStore()
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 userlocales - the user's new locale preferences
- Throws:
SQLException
Copyright © 2010 Jasig. All Rights Reserved.