1
2
3
4
5
6
7
8
9
10 package com.atlassian.core.user.preferences;
11
12 import com.atlassian.core.AtlassianCoreException;
13
14
15
16
17 public interface Preferences
18 {
19 long getLong(String key);
20
21 void setLong(String key, long i) throws AtlassianCoreException;
22
23 String getString(String key);
24
25 void setString(String key, String value) throws AtlassianCoreException;
26
27 boolean getBoolean(String key);
28
29 void setBoolean(String key, boolean b) throws AtlassianCoreException;
30
31 void remove(String key) throws AtlassianCoreException;
32 }