public class PreferenceBeanStoreImpl extends Object implements PreferenceBeanServerStore
PreferenceBeanStore.| Constructor and Description |
|---|
PreferenceBeanStoreImpl() |
PreferenceBeanStoreImpl(PreferenceStore preferenceStore,
PreferenceScopeResolutionStrategy defaultScopeResolutionStrategy,
javax.enterprise.inject.Instance<Preference> preferences) |
| Modifier and Type | Method and Description |
|---|---|
PreferenceHierarchyElement<?> |
buildHierarchyStructureForPreference(String identifier) |
<U extends BasePreference<U>,T extends BasePreferencePortable<U>> |
load(T emptyPortablePreference) |
<U extends BasePreference<U>,T extends BasePreferencePortable<U>> |
load(T emptyPortablePreference,
ParameterizedCommand<T> successCallback,
ParameterizedCommand<Throwable> errorCallback) |
<U extends BasePreference<U>,T extends BasePreferencePortable<U>> |
load(T emptyPortablePreference,
PreferenceScopeResolutionStrategyInfo scopeResolutionStrategyInfo) |
<U extends BasePreference<U>,T extends BasePreferencePortable<U>> |
load(T emptyPortablePreference,
PreferenceScopeResolutionStrategyInfo scopeResolutionStrategyInfo,
ParameterizedCommand<T> successCallback,
ParameterizedCommand<Throwable> errorCallback) |
void |
save(Collection<BasePreferencePortable<? extends BasePreference<?>>> portablePreferences) |
void |
save(Collection<BasePreferencePortable<? extends BasePreference<?>>> portablePreferences,
Command successCallback,
ParameterizedCommand<Throwable> errorCallback) |
void |
save(Collection<BasePreferencePortable<? extends BasePreference<?>>> portablePreferences,
PreferenceScopeResolutionStrategyInfo scopeResolutionStrategyInfo) |
void |
save(Collection<BasePreferencePortable<? extends BasePreference<?>>> portablePreferences,
PreferenceScopeResolutionStrategyInfo scopeResolutionStrategyInfo,
Command successCallback,
ParameterizedCommand<Throwable> errorCallback) |
<U extends BasePreference<U>,T extends BasePreferencePortable<U>> |
save(T portablePreference) |
<U extends BasePreference<U>,T extends BasePreferencePortable<U>> |
save(T portablePreference,
Command successCallback,
ParameterizedCommand<Throwable> errorCallback) |
<U extends BasePreference<U>,T extends BasePreferencePortable<U>> |
save(T portablePreference,
PreferenceScopeResolutionStrategyInfo scopeResolutionStrategyInfo) |
<U extends BasePreference<U>,T extends BasePreferencePortable<U>> |
save(T portablePreference,
PreferenceScopeResolutionStrategyInfo scopeResolutionStrategyInfo,
Command successCallback,
ParameterizedCommand<Throwable> errorCallback) |
<U extends BasePreference<U>,T extends BasePreferencePortable<U>> |
saveDefaultValue(T defaultValue) |
<U extends BasePreference<U>,T extends BasePreferencePortable<U>> |
saveDefaultValue(T defaultValue,
Command successCallback,
ParameterizedCommand<Throwable> errorCallback) |
public PreferenceBeanStoreImpl()
@Inject public PreferenceBeanStoreImpl(PreferenceStore preferenceStore, PreferenceScopeResolutionStrategy defaultScopeResolutionStrategy, javax.enterprise.inject.Instance<Preference> preferences)
public <U extends BasePreference<U>,T extends BasePreferencePortable<U>> T load(T emptyPortablePreference)
load in interface PreferenceBeanServerStorepublic <U extends BasePreference<U>,T extends BasePreferencePortable<U>> T load(T emptyPortablePreference, PreferenceScopeResolutionStrategyInfo scopeResolutionStrategyInfo)
load in interface PreferenceBeanServerStorepublic <U extends BasePreference<U>,T extends BasePreferencePortable<U>> void load(T emptyPortablePreference, ParameterizedCommand<T> successCallback, ParameterizedCommand<Throwable> errorCallback)
load in interface PreferenceBeanStorepublic <U extends BasePreference<U>,T extends BasePreferencePortable<U>> void load(T emptyPortablePreference, PreferenceScopeResolutionStrategyInfo scopeResolutionStrategyInfo, ParameterizedCommand<T> successCallback, ParameterizedCommand<Throwable> errorCallback)
load in interface PreferenceBeanStorepublic <U extends BasePreference<U>,T extends BasePreferencePortable<U>> void save(T portablePreference)
save in interface PreferenceBeanServerStorepublic <U extends BasePreference<U>,T extends BasePreferencePortable<U>> void save(T portablePreference, PreferenceScopeResolutionStrategyInfo scopeResolutionStrategyInfo)
save in interface PreferenceBeanServerStorepublic <U extends BasePreference<U>,T extends BasePreferencePortable<U>> void save(T portablePreference, Command successCallback, ParameterizedCommand<Throwable> errorCallback)
save in interface PreferenceBeanStorepublic <U extends BasePreference<U>,T extends BasePreferencePortable<U>> void save(T portablePreference, PreferenceScopeResolutionStrategyInfo scopeResolutionStrategyInfo, Command successCallback, ParameterizedCommand<Throwable> errorCallback)
save in interface PreferenceBeanStorepublic void save(Collection<BasePreferencePortable<? extends BasePreference<?>>> portablePreferences)
save in interface PreferenceBeanServerStorepublic void save(Collection<BasePreferencePortable<? extends BasePreference<?>>> portablePreferences, PreferenceScopeResolutionStrategyInfo scopeResolutionStrategyInfo)
save in interface PreferenceBeanServerStorepublic void save(Collection<BasePreferencePortable<? extends BasePreference<?>>> portablePreferences, Command successCallback, ParameterizedCommand<Throwable> errorCallback)
save in interface PreferenceBeanStorepublic void save(Collection<BasePreferencePortable<? extends BasePreference<?>>> portablePreferences, PreferenceScopeResolutionStrategyInfo scopeResolutionStrategyInfo, Command successCallback, ParameterizedCommand<Throwable> errorCallback)
save in interface PreferenceBeanStorepublic <U extends BasePreference<U>,T extends BasePreferencePortable<U>> void saveDefaultValue(T defaultValue)
saveDefaultValue in interface PreferenceBeanServerStorepublic <U extends BasePreference<U>,T extends BasePreferencePortable<U>> void saveDefaultValue(T defaultValue, Command successCallback, ParameterizedCommand<Throwable> errorCallback)
saveDefaultValue in interface PreferenceBeanStorepublic PreferenceHierarchyElement<?> buildHierarchyStructureForPreference(String identifier)
buildHierarchyStructureForPreference in interface PreferenceBeanServerStoreCopyright © 2012–2016 JBoss by Red Hat. All rights reserved.