Package org.n52.faroe
Interface SettingsDao
public interface SettingsDao
-
Method Summary
Modifier and TypeMethodDescriptionvoidvoiddeleteSettingValue(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<?>> voidsaveSettingValue(SettingValue<?> setting) Saves the setting value.
-
Method Details
-
getSettingValues
Set<SettingValue<?>> getSettingValues()- Returns:
- all saved setting values
-
getSettingValue
Returns the value of the specified setting ornullif it does not exist.- Parameters:
key- the key- Returns:
- the value
-
deleteSettingValue
Deletes the setting with the specified key.- Parameters:
key- the key
-
saveSettingValue
Saves the setting value.- Parameters:
setting- the value
-
deleteAll
void deleteAll()
-