Package com.alfresco.content.models
Class RequestLocalization
-
- All Implemented Interfaces:
@JsonClass(generateAdapter = true) public final class RequestLocalizationLocalization settings
-
-
Constructor Summary
Constructors Constructor Description RequestLocalization(String timezone, List<String> locales)
-
Method Summary
Modifier and Type Method Description final StringgetTimezone()A valid timezone id supported by @see java.time. final UnitsetTimezone(@Json(name = "timezone") String timezone)A valid timezone id supported by @see java.time. final List<String>getLocales()A list of Locales definied by IETF BCP 47. final UnitsetLocales(@Json(name = "locales") List<String> locales)A list of Locales definied by IETF BCP 47. -
-
Method Detail
-
getTimezone
final String getTimezone()
A valid timezone id supported by @see java.time.ZoneId
-
setTimezone
final Unit setTimezone(@Json(name = "timezone") String timezone)
A valid timezone id supported by @see java.time.ZoneId
-
getLocales
final List<String> getLocales()
A list of Locales definied by IETF BCP 47. The ordering is significant. The first locale (leftmost) is used for sort and query localization, whereas the remaining locales are used for query only.
-
setLocales
final Unit setLocales(@Json(name = "locales") List<String> locales)
A list of Locales definied by IETF BCP 47. The ordering is significant. The first locale (leftmost) is used for sort and query localization, whereas the remaining locales are used for query only.
-
-
-
-