Class RequestLocalization

java.lang.Object
org.alfresco.search.model.RequestLocalization

@Validated public class RequestLocalization extends Object
Localization settings
  • Constructor Details

    • RequestLocalization

      public RequestLocalization()
  • Method Details

    • 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
    • setLocales

      public void setLocales(List<String> locales)
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object