Package org.ametys.core.userpref
Interface UserPreferenceProvider
- All Known Implementing Classes:
NewsletterUserPreferenceProvider
,StaticUserPreferenceProvider
public interface UserPreferenceProvider
Interface for classes providing user preferences.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
The optional context variable including the current Ametys workspace (admin...) -
Method Summary
Modifier and TypeMethodDescriptiongetPreferences
(Map<String, String> contextVars) Get this provider's preferences.
-
Field Details
-
CONTEXT_VAR_WORKSPACE
The optional context variable including the current Ametys workspace (admin...)- See Also:
-
-
Method Details
-
getPreferences
Get this provider's preferences.- Parameters:
contextVars
- a Map of context variables.- Returns:
- a Collection of preferences for the context.
-