Package org.alfresco.search.model
Class RequestLocalization
- java.lang.Object
-
- org.alfresco.search.model.RequestLocalization
-
@Validated public class RequestLocalization extends Object
Localization settings
-
-
Constructor Summary
Constructors Constructor Description RequestLocalization()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RequestLocalizationaddLocalesItem(String localesItem)booleanequals(Object o)List<String>getLocales()A list of Locales definied by IETF BCP 47.StringgetTimezone()A valid timezone id supported by @see java.time.ZoneIdinthashCode()RequestLocalizationlocales(List<String> locales)voidsetLocales(List<String> locales)voidsetTimezone(String timezone)RequestLocalizationtimezone(String timezone)StringtoString()
-
-
-
Method Detail
-
timezone
public RequestLocalization timezone(String timezone)
-
getTimezone
public String getTimezone()
A valid timezone id supported by @see java.time.ZoneId- Returns:
- timezone
-
setTimezone
public void setTimezone(String timezone)
-
locales
public RequestLocalization locales(List<String> locales)
-
addLocalesItem
public RequestLocalization addLocalesItem(String localesItem)
-
getLocales
public 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.- Returns:
- locales
-
-