public class DefaultLocaleProvider extends Object implements LocaleProvider
Constructor and Description |
---|
DefaultLocaleProvider() |
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 LocaleProvider
ClientException
public Locale getLocale(DocumentModel userProfileDoc)
LocaleProvider
getLocale
in interface LocaleProvider
public TimeZone getTimeZone(CoreSession repo) throws ClientException
getTimeZone
in interface LocaleProvider
ClientException
Copyright © 2015 Nuxeo SA. All rights reserved.