Class SiteTimeZoneSettings

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

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

    • SiteTimeZoneSettings

      public SiteTimeZoneSettings()
    • SiteTimeZoneSettings

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

    • getPrimaryTimeZone

      public TimeZone getPrimaryTimeZone()
    • setPrimaryTimeZone

      public void setPrimaryTimeZone(TimeZone primaryTimeZone_)
      Set the primary timezone.
      Parameters:
      primaryTimeZone_ - A timezone.
    • isSitewideTimeZone

      public boolean isSitewideTimeZone()
    • setSitewideTimeZone

      public void setSitewideTimeZone(boolean sitewideTimeZone_)
      Set whether the primary timezone should be enforced accross the application.
      Parameters:
      sitewideTimeZone_ - true if a single timezone (the primary timezone) should be used accross the application (overriding any user preferences), or false if users are allowed to select a timezone different from the primary timezone.
    • hashCode

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

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