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>
,Enumerator
,Contextualizable
,LogEnabled
,Serviceable
public class FOUserPreferencesEnumerator extends UserPreferencesEnumerator
Enumerates front-office user preferences.
-
-
Field Summary
Fields Modifier and Type Field Description protected AmetysObjectResolver
_resolver
The ametys object resolver.-
Fields inherited from class org.ametys.core.userpref.UserPreferencesEnumerator
_context, _userPrefEP
-
-
Constructor Summary
Constructors Constructor Description FOUserPreferencesEnumerator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected Map<String,String>
getContextVars()
Get the preferences context variables.void
service(ServiceManager serviceManager)
-
Methods inherited from class org.ametys.core.userpref.UserPreferencesEnumerator
contextualize, getConfiguration, getEntries, getEntry, getTypedEntries
-
Methods inherited from class org.apache.avalon.framework.logger.AbstractLogEnabled
enableLogging, getLogger, setupLogger, setupLogger, setupLogger
-
-
-
-
Field Detail
-
_resolver
protected AmetysObjectResolver _resolver
The ametys object resolver.
-
-
Constructor Detail
-
FOUserPreferencesEnumerator
public FOUserPreferencesEnumerator()
-
-
Method Detail
-
service
public void service(ServiceManager serviceManager) throws ServiceException
- Specified by:
service
in interfaceServiceable
- Overrides:
service
in classUserPreferencesEnumerator
- Throws:
ServiceException
-
getContextVars
protected Map<String,String> getContextVars()
Description copied from class:UserPreferencesEnumerator
Get the preferences context variables.- Overrides:
getContextVars
in classUserPreferencesEnumerator
- Returns:
- the preferences context as a Map.
-
-