com.atlassian.jira.user.preferences
Interface ExtendedPreferences

All Superinterfaces:
com.atlassian.core.user.preferences.Preferences
All Known Implementing Classes:
JiraUserPreferences

public interface ExtendedPreferences
extends com.atlassian.core.user.preferences.Preferences

Adding the abilities to store, retrieve text from property set and to check if preference is stored at all

Since:
v6.0

Method Summary
 boolean containsValue(String key)
          Checks if key exists (defaults doesn't count)
 String getText(String key)
           
 void setText(String key, String value)
           
 
Methods inherited from interface com.atlassian.core.user.preferences.Preferences
getBoolean, getLong, getString, remove, setBoolean, setLong, setString
 

Method Detail

getText

String getText(String key)

setText

void setText(String key,
             String value)
             throws com.atlassian.core.AtlassianCoreException
Throws:
com.atlassian.core.AtlassianCoreException

containsValue

boolean containsValue(String key)
Checks if key exists (defaults doesn't count)

Parameters:
key - key to be checked
Returns:
if value for key exists


Copyright © 2002-2014 Atlassian. All Rights Reserved.