|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jasig.portal.i18n.RDBMLocaleStore
public class RDBMLocaleStore
Database implementation of locale storage interface.
Field Summary | |
---|---|
private static org.apache.commons.logging.Log |
log
|
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 |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private static final org.apache.commons.logging.Log log
Constructor Detail |
---|
public RDBMLocaleStore()
Method Detail |
---|
public java.util.Locale[] getUserLocales(IPerson person) throws java.lang.Exception
ILocaleStore
getUserLocales
in interface ILocaleStore
person
- the user
java.lang.Exception
public void updateUserLocales(IPerson person, java.util.Locale[] locales) throws java.sql.SQLException
ILocaleStore
updateUserLocales
in interface ILocaleStore
person
- the userlocales
- the user's new locale preferences
java.sql.SQLException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |