Package org.n52.faroe
Interface SettingsDao
-
public interface SettingsDao
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voiddeleteAll()voiddeleteSettingValue(String key)Deletes the setting with the specified key.SettingValue<?>getSettingValue(String key)Returns the value of the specified setting ornullif it does not exist.Set<SettingValue<?>>getSettingValues()voidsaveSettingValue(SettingValue<?> setting)Saves the setting value.
-
-
-
Method Detail
-
getSettingValues
Set<SettingValue<?>> getSettingValues()
- Returns:
- all saved setting values
-
getSettingValue
SettingValue<?> getSettingValue(String key)
Returns the value of the specified setting ornullif it does not exist.- Parameters:
key- the key- Returns:
- the value
-
deleteSettingValue
void deleteSettingValue(String key)
Deletes the setting with the specified key.- Parameters:
key- the key
-
saveSettingValue
void saveSettingValue(SettingValue<?> setting)
Saves the setting value.- Parameters:
setting- the value
-
deleteAll
void deleteAll()
-
-