Package org.ametys.web.userpref
Class FOUserPreferencesEnumerator
java.lang.Object
org.apache.avalon.framework.logger.AbstractLogEnabled
org.ametys.core.userpref.UserPreferencesEnumerator
org.ametys.web.userpref.FOUserPreferencesEnumerator
- All Implemented Interfaces:
Enumerator<String>
,Contextualizable
,LogEnabled
,Serviceable
Enumerates front-office user preferences.
-
Field Summary
FieldsFields inherited from class org.ametys.core.userpref.UserPreferencesEnumerator
_context, _userPrefEP
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the preferences context variables.void
service
(ServiceManager serviceManager) Methods inherited from class org.ametys.core.userpref.UserPreferencesEnumerator
contextualize, getEntries, getEntry
Methods inherited from class org.apache.avalon.framework.logger.AbstractLogEnabled
enableLogging, getLogger, setupLogger, setupLogger, setupLogger
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.ametys.runtime.model.Enumerator
getConfiguration
-
Field Details
-
_resolver
The ametys object resolver.
-
-
Constructor Details
-
FOUserPreferencesEnumerator
public FOUserPreferencesEnumerator()
-
-
Method Details
-
service
- Specified by:
service
in interfaceServiceable
- Overrides:
service
in classUserPreferencesEnumerator
- Throws:
ServiceException
-
getContextVars
Description copied from class:UserPreferencesEnumerator
Get the preferences context variables.- Overrides:
getContextVars
in classUserPreferencesEnumerator
- Returns:
- the preferences context as a Map.
-