Uses of Interface
org.uberfire.preferences.shared.PreferenceScope
-
Packages that use PreferenceScope Package Description org.uberfire.preferences.shared org.uberfire.preferences.shared.bean org.uberfire.preferences.shared.impl -
-
Uses of PreferenceScope in org.uberfire.preferences.shared
Methods in org.uberfire.preferences.shared that return PreferenceScope Modifier and Type Method Description PreferenceScopePreferenceScope. childScope()Child scope, a scope inside a scope.PreferenceScopePreferenceScopeFactory. cloneScope(PreferenceScope scope)Clones the passed scope to a new instance.PreferenceScopePreferenceScopeFactory. createScope(String type)Builds a new preference scope, that does not require a custom key.PreferenceScopePreferenceScopeFactory. createScope(String type, String key)Builds a new preference scope, that requires a custom key.PreferenceScopePreferenceScopeFactory. createScope(String type, String key, PreferenceScope childScope)Builds a new preference scope, that requires a custom key, and has the passed child scope.PreferenceScopePreferenceScopeFactory. createScope(String type, PreferenceScope childScope)Builds a new preference scope, that does not require a custom key, and has the passed child scope.PreferenceScopePreferenceScopeFactory. createScope(PreferenceScope... scopes)Builds a new preference scope, that contains the following ones as child scopes.PreferenceScopePreferenceScopeResolver. resolve(String... scopeTypes)Returns a PreferenceScope that belongs to the resolution strategy hierarchy, based on the passed types.Methods in org.uberfire.preferences.shared with parameters of type PreferenceScope Modifier and Type Method Description Map<String,Object>PreferenceStore. all(PreferenceScope scope)Retrieves all defined preferences from a specific scope.Collection<String>PreferenceStorage. allKeys(PreferenceScope scope)Returns all preference keys defined in a specific scope.PreferenceScopePreferenceScopeFactory. cloneScope(PreferenceScope scope)Clones the passed scope to a new instance.PreferenceScopePreferenceScopeFactory. createScope(String type, String key, PreferenceScope childScope)Builds a new preference scope, that requires a custom key, and has the passed child scope.PreferenceScopePreferenceScopeFactory. createScope(String type, PreferenceScope childScope)Builds a new preference scope, that does not require a custom key, and has the passed child scope.PreferenceScopePreferenceScopeFactory. createScope(PreferenceScope... scopes)Builds a new preference scope, that contains the following ones as child scopes.voidPreferenceStorage. delete(PreferenceScope scope, String key)Deletes a preference, in a specific scope, if it exists.booleanPreferenceStorage. exists(PreferenceScope preferenceScope, String key)Checks if a given preference key is defined in a certain scope.<T> TPreferenceStore. get(PreferenceScope scope, String key)Retrieves a preference value from a specific scope.<T> TPreferenceStore. get(PreferenceScope scope, String key, T defaultValue)Retrieves a preference value from a specific scope.<T> voidPreferenceStore. put(PreferenceScope scope, String key, T value)Stores a preference inside a specific scope.<T> voidPreferenceStore. put(PreferenceScope scope, Map<String,T> valueByKey)Stores several preferences inside a specific scope.<T> voidPreferenceStore. putIfAbsent(PreferenceScope scope, String key, T value)Stores a preference inside a specific scope, if it is not already defined in that scope.<T> voidPreferenceStore. putIfAbsent(PreferenceScope scope, Map<String,T> valueByKey)Stores several preferences inside a specific scope, if they are not already defined in that scope.<T> TPreferenceStorage. read(PreferenceScope preferenceScope, String key)Tries to read a preference value from a specific scope.voidPreferenceStore. remove(PreferenceScope scope, String key)Removes a preference from a specific scope.Map<String,Object>PreferenceStore. search(PreferenceScope scope, Collection<String> keys)Retrieves several preferences, which keys were passed, from a specific scope.voidPreferenceScopeValidator. validate(PreferenceScope scope)Checks if a scope is valid.voidPreferenceStorage. write(PreferenceScope scope, String key, Object value)(Over) Writes a preference value related to a preference key, for a specific scope.Method parameters in org.uberfire.preferences.shared with type arguments of type PreferenceScope Modifier and Type Method Description Collection<String>PreferenceStorage. allKeys(List<PreferenceScope> scopes)Returns all preference keys defined in all passed scopes.voidPreferenceStore. remove(List<PreferenceScope> scopes, String key)Removes a preference from a list of scopes. -
Uses of PreferenceScope in org.uberfire.preferences.shared.bean
Methods in org.uberfire.preferences.shared.bean with parameters of type PreferenceScope Modifier and Type Method Description default voidBasePreference. save(PreferenceScope customScope)Saves the preference content recursively through its properties.default voidBasePreference. save(PreferenceScope customScope, org.uberfire.mvp.Command successCallback, org.uberfire.mvp.ParameterizedCommand<Throwable> errorCallback)Saves the preference content recursively through its properties.default voidBasePreference. save(PreferenceScope customScope, org.uberfire.mvp.ParameterizedCommand<Throwable> errorCallback)Saves the preference content recursively through its properties.voidPreferenceBeanServerStore. save(Collection<BasePreferencePortable<? extends BasePreference<?>>> portablePreferences, PreferenceScope scope)Saves all preferences passed, following the passed scope resolution strategy.<U extends BasePreference<U>,T extends BasePreferencePortable<U>>
voidPreferenceBeanServerStore. save(T portablePreference, PreferenceScope scope)Saves all preference data, inside the passed scope.voidPreferenceBeanStore. save(Collection<BasePreferencePortable<? extends BasePreference<?>>> portablePreferences, PreferenceScope scope, org.uberfire.mvp.Command successCallback, org.uberfire.mvp.ParameterizedCommand<Throwable> errorCallback)Saves all preferences passed, following the passed scope resolution strategy.<U extends BasePreference<U>,T extends BasePreferencePortable<U>>
voidPreferenceBeanStore. save(T portablePreference, PreferenceScope scope, org.uberfire.mvp.Command successCallback, org.uberfire.mvp.ParameterizedCommand<Throwable> errorCallback)Saves all preference data, following the passed scope resolution strategy. -
Uses of PreferenceScope in org.uberfire.preferences.shared.impl
Classes in org.uberfire.preferences.shared.impl that implement PreferenceScope Modifier and Type Class Description classPreferenceScopeImplDefault portable implementation for a preference scope, containing a type (required), a key (required) and a child scope (optional).Methods in org.uberfire.preferences.shared.impl that return PreferenceScope Modifier and Type Method Description PreferenceScopePreferenceScopeImpl. childScope()PreferenceScopePreferenceScopeFactoryImpl. cloneScope(PreferenceScope scope)PreferenceScopePreferenceScopeFactoryImpl. createScope(String type)PreferenceScopePreferenceScopeFactoryImpl. createScope(String type, String key)PreferenceScopePreferenceScopeFactoryImpl. createScope(String type, String key, PreferenceScope childScope)PreferenceScopePreferenceScopeFactoryImpl. createScope(String type, PreferenceScope childScope)PreferenceScopePreferenceScopeFactoryImpl. createScope(PreferenceScope... scopes)PreferenceScopePreferenceScopeResolutionStrategyInfo. defaultScope()PreferenceScopeDefaultPreferenceScopeResolutionStrategy. getDefaultScope(List<PreferenceScope> order)PreferenceScopePreferenceScopedValue. getScope()PreferenceScopeDefaultPreferenceScopeResolver. resolve(String... scopeTypes)Methods in org.uberfire.preferences.shared.impl that return types with arguments of type PreferenceScope Modifier and Type Method Description List<PreferenceScope>PreferenceScopeResolutionStrategyInfo. order()Methods in org.uberfire.preferences.shared.impl with parameters of type PreferenceScope Modifier and Type Method Description PreferenceScopePreferenceScopeFactoryImpl. cloneScope(PreferenceScope scope)PreferenceScopePreferenceScopeFactoryImpl. createScope(String type, String key, PreferenceScope childScope)PreferenceScopePreferenceScopeFactoryImpl. createScope(String type, PreferenceScope childScope)PreferenceScopePreferenceScopeFactoryImpl. createScope(PreferenceScope... scopes)voidPreferenceScopeValidatorImpl. validate(PreferenceScope scope)Method parameters in org.uberfire.preferences.shared.impl with type arguments of type PreferenceScope Modifier and Type Method Description PreferenceScopeDefaultPreferenceScopeResolutionStrategy. getDefaultScope(List<PreferenceScope> order)Constructors in org.uberfire.preferences.shared.impl with parameters of type PreferenceScope Constructor Description PreferenceScopedValue(T value, PreferenceScope scope)PreferenceScopeImpl(String type, String key, PreferenceScope childScope)PreferenceScopeResolutionStrategyInfo(List<PreferenceScope> order, PreferenceScope defaultScope)Constructor parameters in org.uberfire.preferences.shared.impl with type arguments of type PreferenceScope Constructor Description DefaultPreferenceScopeResolver(List<PreferenceScope> order)PreferenceScopeResolutionStrategyInfo(List<PreferenceScope> order, PreferenceScope defaultScope)
-