Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.jasig.portal.i18n
Interface ILocaleStore

All Known Implementing Classes:
  RDBMLocaleStore

    public interface ILocaleStore

Interface defining how the portal reads and writes locale preferences.

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

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.

Method Detail

### getUserLocales

    java.util.Locale[] getUserLocales(IPerson person)
                                      throws java.lang.Exception

  Retrieves the locale preferences for a particular user.

  Parameters:
    `person` - the user
  Returns:
    the user's locale preferences
  Throws:
    `java.lang.Exception`

### updateUserLocales

    void updateUserLocales(IPerson person,
                           java.util.Locale[] locales)
                           throws java.lang.Exception

  Persists the locale preferences for a particular user.

  Parameters:
    `person` - the user
    `locales` - the user's new locale preferences
  Throws:
    `java.lang.Exception`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD