Package | Description |
---|---|
org.uberfire.preferences.shared |
Modifier and Type | Method and Description |
---|---|
<T> PreferenceScopedValue<T> |
PreferenceStore.getScoped(PreferenceScopeResolutionStrategyInfo scopeResolutionStrategyInfo,
String key)
Retrieves a scoped preference value from the first scope of the scopeResolutionStrategy order that
has the preference defined.
|
<T> PreferenceScopedValue<T> |
PreferenceStore.getScoped(PreferenceScopeResolutionStrategyInfo scopeResolutionStrategyInfo,
String key,
T defaultValue)
Retrieves a scoped preference value from the first scope of the scopeResolutionStrategy order that
has the preference defined.
|
<T> PreferenceScopedValue<T> |
PreferenceStore.getScoped(String key)
Retrieves a preference value from the first scope of the default scope resolution strategy order that
has the preference defined.
|
<T> PreferenceScopedValue<T> |
PreferenceStore.getScoped(String key,
T defaultValue)
Retrieves a preference value from the first scope of the default scope resolution strategy order that
has the preference defined.
|
<T> PreferenceScopedValue<T> |
PreferenceStorage.readWithScope(PreferenceScopeResolutionStrategyInfo scopeResolutionStrategyInfo,
String key)
Tries to read a preference value from a scope hierarchy.
|
Modifier and Type | Method and Description |
---|---|
Map<String,PreferenceScopedValue<Object>> |
PreferenceStore.allScoped()
Retrieves all defined preferences.
|
Map<String,PreferenceScopedValue<Object>> |
PreferenceStore.allScoped(PreferenceScopeResolutionStrategyInfo scopeResolutionStrategyInfo)
Retrieves all defined preferences.
|
Map<String,PreferenceScopedValue<Object>> |
PreferenceStore.searchScoped(Collection<String> keys)
Retrieves several scoped preferences, which keys were passed.
|
Map<String,PreferenceScopedValue<Object>> |
PreferenceStore.searchScoped(PreferenceScopeResolutionStrategyInfo scopeResolutionStrategyInfo,
Collection<String> keys)
Retrieves several scoped preferences, which keys were passed.
|
Copyright © 2012–2018 JBoss by Red Hat. All rights reserved.