Uses of Class
org.uberfire.preferences.shared.impl.PreferenceScopeResolutionStrategyInfo
-
-
Uses of PreferenceScopeResolutionStrategyInfo in org.uberfire.preferences.shared
Methods in org.uberfire.preferences.shared that return PreferenceScopeResolutionStrategyInfo Modifier and Type Method Description PreferenceScopeResolutionStrategyInfoPreferenceStore. getDefaultScopeResolutionStrategyInfo()Provides a portable instance that has the scope resolution strategy order and the default scope for preference persistence.PreferenceScopeResolutionStrategyInfoPreferenceScopeResolutionStrategy. getInfo()Defines the order of scopes that will be used when a preference value is searched, as well the scope where a preference will be persisted if none is provided.Methods in org.uberfire.preferences.shared with parameters of type PreferenceScopeResolutionStrategyInfo Modifier and Type Method Description Map<String,Object>PreferenceStore. all(PreferenceScopeResolutionStrategyInfo scopeResolutionStrategyInfo)Retrieves all defined preferences.Map<String,PreferenceScopedValue<Object>>PreferenceStore. allScoped(PreferenceScopeResolutionStrategyInfo scopeResolutionStrategyInfo)Retrieves all defined preferences.booleanPreferenceStorage. exists(PreferenceScopeResolutionStrategyInfo scopeResolutionStrategyInfo, String key)Checks if a given preference key is defined in any scope of the provided hierarchy.<T> TPreferenceStore. get(PreferenceScopeResolutionStrategyInfo scopeResolutionStrategyInfo, String key)Retrieves a preference value from the first scope of the scopeResolutionStrategy order that has the preference defined.<T> TPreferenceStore. get(PreferenceScopeResolutionStrategyInfo scopeResolutionStrategyInfo, String key, T defaultValue)Retrieves a preference value from the first scope of the scopeResolutionStrategy order that has the preference defined.<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> voidPreferenceStore. put(PreferenceScopeResolutionStrategyInfo scopeResolutionStrategyInfo, String key, T value)Stores a preference inside the default scope (seedefaultScope.<T> voidPreferenceStore. put(PreferenceScopeResolutionStrategyInfo scopeResolutionStrategyInfo, Map<String,T> valueByKey)Stores several preferences inside the default scope (seedefaultScope.<T> voidPreferenceStore. putIfAbsent(PreferenceScopeResolutionStrategyInfo scopeResolutionStrategyInfo, String key, T value)Stores a preference inside the default scope (seedefaultScope, if it is not already defined in that scope.<T> voidPreferenceStore. putIfAbsent(PreferenceScopeResolutionStrategyInfo scopeResolutionStrategyInfo, Map<String,T> valueByKey)Stores several preferences inside the default scope (seedefaultScope, if they are not already defined in that scope.<T> TPreferenceStorage. read(PreferenceScopeResolutionStrategyInfo scopeResolutionStrategyInfo, String key)Tries to read a preference value from a scope hierarchy.<T> PreferenceScopedValue<T>PreferenceStorage. readWithScope(PreferenceScopeResolutionStrategyInfo scopeResolutionStrategyInfo, String key)Tries to read a preference value from a scope hierarchy.Map<String,Object>PreferenceStore. search(PreferenceScopeResolutionStrategyInfo scopeResolutionStrategyInfo, Collection<String> keys)Retrieves several preferences, which keys were passed.Map<String,PreferenceScopedValue<Object>>PreferenceStore. searchScoped(PreferenceScopeResolutionStrategyInfo scopeResolutionStrategyInfo, Collection<String> keys)Retrieves several scoped preferences, which keys were passed. -
Uses of PreferenceScopeResolutionStrategyInfo in org.uberfire.preferences.shared.bean
Methods in org.uberfire.preferences.shared.bean with parameters of type PreferenceScopeResolutionStrategyInfo Modifier and Type Method Description PreferenceHierarchyElement<?>PreferenceBeanServerStore. buildHierarchyStructureForPreference(String identifier, PreferenceScopeResolutionStrategyInfo scopeResolutionStrategyInfo)Builds a tree hierarchy that begins with the root preference bean which identifier was passed and grows based on their sub-preferences.default voidBasePreference. load(PreferenceScopeResolutionStrategyInfo customScopeResolutionStrategy)Loads the preference content recursively through its properties.default voidBasePreference. load(PreferenceScopeResolutionStrategyInfo customScopeResolutionStrategy, org.uberfire.mvp.ParameterizedCommand<Throwable> errorCallback)Loads the preference content recursively through its properties.default voidBasePreference. load(PreferenceScopeResolutionStrategyInfo customScopeResolutionStrategy, org.uberfire.mvp.ParameterizedCommand<T> successCallback, org.uberfire.mvp.ParameterizedCommand<Throwable> errorCallback)Loads the preference content recursively through its properties.<U extends BasePreference<U>,T extends BasePreferencePortable<U>>
TPreferenceBeanServerStore. load(T emptyPortablePreference, PreferenceScopeResolutionStrategyInfo scopeResolutionStrategyInfo)Loads all preference bean properties, following the passed scope resolution strategy.<U extends BasePreference<U>,T extends BasePreferencePortable<U>>
voidPreferenceBeanStore. load(T emptyPortablePreference, PreferenceScopeResolutionStrategyInfo scopeResolutionStrategyInfo, org.uberfire.mvp.ParameterizedCommand<T> successCallback, org.uberfire.mvp.ParameterizedCommand<Throwable> errorCallback)Loads all preference bean properties, following the passed scope resolution strategy.default voidBasePreference. save(PreferenceScopeResolutionStrategyInfo customScopeResolutionStrategy)Saves the preference content recursively through its properties.default voidBasePreference. save(PreferenceScopeResolutionStrategyInfo customScopeResolutionStrategy, org.uberfire.mvp.Command successCallback, org.uberfire.mvp.ParameterizedCommand<Throwable> errorCallback)Saves the preference content recursively through its properties.default voidBasePreference. save(PreferenceScopeResolutionStrategyInfo customScopeResolutionStrategy, org.uberfire.mvp.ParameterizedCommand<Throwable> errorCallback)Saves the preference content recursively through its properties.voidPreferenceBeanServerStore. save(Collection<BasePreferencePortable<? extends BasePreference<?>>> portablePreferences, PreferenceScopeResolutionStrategyInfo scopeResolutionStrategyInfo)Saves all preferences passed, following the passed scope resolution strategy.<U extends BasePreference<U>,T extends BasePreferencePortable<U>>
voidPreferenceBeanServerStore. save(T portablePreference, PreferenceScopeResolutionStrategyInfo scopeResolutionStrategyInfo)Saves all preference data, following the passed scope resolution strategy.voidPreferenceBeanStore. save(Collection<BasePreferencePortable<? extends BasePreference<?>>> portablePreferences, PreferenceScopeResolutionStrategyInfo scopeResolutionStrategyInfo, 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, PreferenceScopeResolutionStrategyInfo scopeResolutionStrategyInfo, org.uberfire.mvp.Command successCallback, org.uberfire.mvp.ParameterizedCommand<Throwable> errorCallback)Saves all preference data, following the passed scope resolution strategy. -
Uses of PreferenceScopeResolutionStrategyInfo in org.uberfire.preferences.shared.bean.mock
Methods in org.uberfire.preferences.shared.bean.mock with parameters of type PreferenceScopeResolutionStrategyInfo Modifier and Type Method Description voidPortablePreferenceMockBeanGeneratedImpl. load(PreferenceScopeResolutionStrategyInfo customScopeResolutionStrategy)voidPortablePreferenceMockBeanGeneratedImpl. load(PreferenceScopeResolutionStrategyInfo customScopeResolutionStrategy, org.uberfire.mvp.ParameterizedCommand<Throwable> errorCallback)voidPortablePreferenceMockBeanGeneratedImpl. load(PreferenceScopeResolutionStrategyInfo customScopeResolutionStrategy, org.uberfire.mvp.ParameterizedCommand<PortablePreferenceMock> successCallback, org.uberfire.mvp.ParameterizedCommand<Throwable> errorCallback)voidPortablePreferenceMockBeanGeneratedImpl. save(PreferenceScopeResolutionStrategyInfo customScopeResolutionStrategy)voidPortablePreferenceMockBeanGeneratedImpl. save(PreferenceScopeResolutionStrategyInfo customScopeResolutionStrategy, org.uberfire.mvp.Command successCallback, org.uberfire.mvp.ParameterizedCommand<Throwable> errorCallback)voidPortablePreferenceMockBeanGeneratedImpl. save(PreferenceScopeResolutionStrategyInfo customScopeResolutionStrategy, org.uberfire.mvp.ParameterizedCommand<Throwable> errorCallback) -
Uses of PreferenceScopeResolutionStrategyInfo in org.uberfire.preferences.shared.impl
Methods in org.uberfire.preferences.shared.impl that return PreferenceScopeResolutionStrategyInfo Modifier and Type Method Description PreferenceScopeResolutionStrategyInfoDefaultPreferenceScopeResolutionStrategy. getInfo()
-