public class UserLocaleProvider extends Object implements LocaleProvider
| Modifier and Type | Field and Description |
|---|---|
static org.apache.commons.logging.Log |
log |
| Constructor and Description |
|---|
UserLocaleProvider() |
| Modifier and Type | Method and Description |
|---|---|
Locale |
getLocale(CoreSession repo) |
Locale |
getLocale(DocumentModel userProfileDoc)
Gets the locale stored in the given user profile.
|
TimeZone |
getTimeZone(CoreSession repo) |
public Locale getLocale(CoreSession repo) throws ClientException
getLocale in interface LocaleProviderClientExceptionpublic Locale getLocale(DocumentModel userProfileDoc) throws ClientException
LocaleProvidergetLocale in interface LocaleProviderClientExceptionpublic TimeZone getTimeZone(CoreSession repo) throws ClientException
getTimeZone in interface LocaleProviderClientExceptionCopyright © 2015 Nuxeo SA. All rights reserved.