Class UserPreferencesImpl
- java.lang.Object
-
- org.apache.qpid.server.model.preferences.UserPreferencesImpl
-
- All Implemented Interfaces:
UserPreferences
public class UserPreferencesImpl extends java.lang.Object implements UserPreferences
-
-
Constructor Summary
Constructors Constructor Description UserPreferencesImpl(TaskExecutor executor, ConfiguredObject<?> associatedObject, PreferenceStore preferenceStore, java.util.Collection<Preference> preferences)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.google.common.util.concurrent.ListenableFuture<java.lang.Void>
delete(java.lang.String type, java.lang.String name, java.util.UUID id)
com.google.common.util.concurrent.ListenableFuture<java.util.Set<Preference>>
getPreferences()
com.google.common.util.concurrent.ListenableFuture<java.util.Set<Preference>>
getVisiblePreferences()
com.google.common.util.concurrent.ListenableFuture<java.lang.Void>
replace(java.util.Collection<Preference> preferences)
com.google.common.util.concurrent.ListenableFuture<java.lang.Void>
replaceByType(java.lang.String type, java.util.Collection<Preference> preferences)
com.google.common.util.concurrent.ListenableFuture<java.lang.Void>
replaceByTypeAndName(java.lang.String type, java.lang.String name, Preference newPreference)
com.google.common.util.concurrent.ListenableFuture<java.lang.Void>
updateOrAppend(java.util.Collection<Preference> preferences)
-
-
-
Constructor Detail
-
UserPreferencesImpl
public UserPreferencesImpl(TaskExecutor executor, ConfiguredObject<?> associatedObject, PreferenceStore preferenceStore, java.util.Collection<Preference> preferences)
-
-
Method Detail
-
updateOrAppend
public com.google.common.util.concurrent.ListenableFuture<java.lang.Void> updateOrAppend(java.util.Collection<Preference> preferences)
- Specified by:
updateOrAppend
in interfaceUserPreferences
-
getPreferences
public com.google.common.util.concurrent.ListenableFuture<java.util.Set<Preference>> getPreferences()
- Specified by:
getPreferences
in interfaceUserPreferences
-
replace
public com.google.common.util.concurrent.ListenableFuture<java.lang.Void> replace(java.util.Collection<Preference> preferences)
- Specified by:
replace
in interfaceUserPreferences
-
replaceByType
public com.google.common.util.concurrent.ListenableFuture<java.lang.Void> replaceByType(java.lang.String type, java.util.Collection<Preference> preferences)
- Specified by:
replaceByType
in interfaceUserPreferences
-
replaceByTypeAndName
public com.google.common.util.concurrent.ListenableFuture<java.lang.Void> replaceByTypeAndName(java.lang.String type, java.lang.String name, Preference newPreference)
- Specified by:
replaceByTypeAndName
in interfaceUserPreferences
-
delete
public com.google.common.util.concurrent.ListenableFuture<java.lang.Void> delete(java.lang.String type, java.lang.String name, java.util.UUID id)
- Specified by:
delete
in interfaceUserPreferences
-
getVisiblePreferences
public com.google.common.util.concurrent.ListenableFuture<java.util.Set<Preference>> getVisiblePreferences()
- Specified by:
getVisiblePreferences
in interfaceUserPreferences
-
-