Class PreferencesManagerImpl
java.lang.Object
ch.tocco.nice2.usersettings.impl.remote.PreferencesManagerImpl
- All Implemented Interfaces:
PreferencesManager
Used as remote service to make preferences available to the client.
-
Constructor Summary
ConstructorDescriptionPreferencesManagerImpl
(PreferencesFactory preferencesFactory, PreferencesStore store, NodeFactory nodeFactory, BusinessUnitManager businessUnitManager) -
Method Summary
Modifier and TypeMethodDescriptiongetGlobalPreferences
(String nodePath) getLongValue
(String nodePath, String key) long
getLongValue
(String nodePath, String key, long defaultValue) getPreferences
(String nodePath) getStringValue
(String nodePath, String key) getStringValue
(String nodePath, String key, String defaultValue) void
void
removeKeys
(String nodePath, String[] keys) void
removeNode
(String nodePath) void
void
void
setValuesUnlinkBusinessUnit
(String nodePath, Map<String, String> values) void
setValueUnlinkBusinessUnit
(String nodePath, String key, String value)
-
Constructor Details
-
PreferencesManagerImpl
public PreferencesManagerImpl(PreferencesFactory preferencesFactory, PreferencesStore store, NodeFactory nodeFactory, BusinessUnitManager businessUnitManager)
-
-
Method Details
-
getPreferences
- Specified by:
getPreferences
in interfacePreferencesManager
-
getGlobalPreferences
- Specified by:
getGlobalPreferences
in interfacePreferencesManager
-
setValue
- Specified by:
setValue
in interfacePreferencesManager
- Throws:
InterruptedException
-
setValues
- Specified by:
setValues
in interfacePreferencesManager
- Throws:
InterruptedException
-
setValueUnlinkBusinessUnit
public void setValueUnlinkBusinessUnit(String nodePath, String key, String value) throws InterruptedException - Specified by:
setValueUnlinkBusinessUnit
in interfacePreferencesManager
- Throws:
InterruptedException
-
setValuesUnlinkBusinessUnit
public void setValuesUnlinkBusinessUnit(String nodePath, Map<String, String> values) throws InterruptedException- Specified by:
setValuesUnlinkBusinessUnit
in interfacePreferencesManager
- Throws:
InterruptedException
-
removeKey
- Specified by:
removeKey
in interfacePreferencesManager
-
removeKeys
- Specified by:
removeKeys
in interfacePreferencesManager
-
removeNode
- Specified by:
removeNode
in interfacePreferencesManager
-
getStringValue
- Specified by:
getStringValue
in interfacePreferencesManager
-
getStringValue
- Specified by:
getStringValue
in interfacePreferencesManager
-
getLongValue
- Specified by:
getLongValue
in interfacePreferencesManager
-
getLongValue
- Specified by:
getLongValue
in interfacePreferencesManager
-