Interface UserPreferences

All Known Implementing Classes:
AnonymousUserPreferences, ConfluenceUserPreferences, UserPreferencesImpl

public interface UserPreferences
Each key can only have one value, irrespective of the type of the value. If a key is set to a new value or type, the old value is overwritten.
Since:
9.3
  • Method Details

    • getString

      Optional<String> getString(String key)
    • getBoolean

      Optional<Boolean> getBoolean(String key)
    • getLong

      Optional<Long> getLong(String key)
    • setString

      void setString(String key, String value)
    • setLong

      void setLong(String key, long value)
    • setBoolean

      void setBoolean(String key, boolean value)
    • remove

      void remove(String key)
    • getTimeZone

      default TimeZone getTimeZone()
    • getLocale

      default Locale getLocale()
    • isShowDifferencesInNotificationEmails

      default boolean isShowDifferencesInNotificationEmails()
    • isWatchingOwnContent

      default boolean isWatchingOwnContent()