Class SiteLocaleSettings

java.lang.Object
com.appiancorp.suiteapi.portal.SiteLocaleSettings
All Implemented Interfaces:
Serializable

public class SiteLocaleSettings extends Object implements Serializable
Bean to hold the application locale settings.
See Also:
  • Constructor Details

    • SiteLocaleSettings

      public SiteLocaleSettings()
    • SiteLocaleSettings

      public SiteLocaleSettings(SiteLocaleSettings siteLocaleSettings)
      Create copy of SiteLocaleSettings object. Used to ensure that the object stored in the cache is not directly modified.
      Parameters:
      siteLocaleSettings - Locale Settings to create a clone of.
  • Method Details

    • hashCode

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

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • getPrimaryLocale

      public Locale getPrimaryLocale()
      Returns:
      Returns the primaryLocale.
    • setPrimaryLocale

      public void setPrimaryLocale(Locale primaryLocale)
      Parameters:
      primaryLocale - The primaryLocale to set.
    • isSitewideLocale

      public boolean isSitewideLocale()
      Returns:
      Returns the siteWideLocale.
    • setSitewideLocale

      public void setSitewideLocale(boolean siteWideLocale)
      Parameters:
      siteWideLocale - The siteWideLocale to set.
    • getLocaleSettings

      public com.appiancorp.suiteapi.portal.LocaleSetting[] getLocaleSettings()
      Returns:
      Returns the localSettings.
    • setLocaleSettings

      public void setLocaleSettings(com.appiancorp.suiteapi.portal.LocaleSetting[] localSettings)
      Parameters:
      localSettings - The localSettings to set.