Package org.ametys.plugins.syndication
Class SetRssFeedUserPreferencesAction
- java.lang.Object
-
- org.apache.avalon.framework.logger.AbstractLogEnabled
-
- org.apache.cocoon.acting.AbstractAction
-
- org.apache.cocoon.acting.ServiceableAction
-
- org.ametys.plugins.syndication.SetRssFeedUserPreferencesAction
-
- All Implemented Interfaces:
Component
,LogEnabled
,Serviceable
,Action
public class SetRssFeedUserPreferencesAction extends ServiceableAction
Set user preference
-
-
Field Summary
Fields Modifier and Type Field Description protected CurrentUserProvider
_currentUserProvider
The current user providerprotected AmetysObjectResolver
_resolver
The Ametys resolverprotected UserPreferencesManager
_userPrefManager
The user preferences manager.-
Fields inherited from class org.apache.cocoon.acting.ServiceableAction
manager
-
Fields inherited from class org.apache.cocoon.acting.AbstractAction
EMPTY_MAP
-
-
Constructor Summary
Constructors Constructor Description SetRssFeedUserPreferencesAction()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description private Map<String,String>
_getContextVars(String siteName, String language)
private String
_getIds(Request request)
private String
_getUrls(Request request)
Map
act(Redirector redirector, SourceResolver resolver, Map objectModel, String source, Parameters parameters)
void
service(ServiceManager serviceManager)
-
Methods inherited from class org.apache.avalon.framework.logger.AbstractLogEnabled
enableLogging, getLogger, setupLogger, setupLogger, setupLogger
-
-
-
-
Field Detail
-
_userPrefManager
protected UserPreferencesManager _userPrefManager
The user preferences manager.
-
_resolver
protected AmetysObjectResolver _resolver
The Ametys resolver
-
_currentUserProvider
protected CurrentUserProvider _currentUserProvider
The current user provider
-
-
Constructor Detail
-
SetRssFeedUserPreferencesAction
public SetRssFeedUserPreferencesAction()
-
-
Method Detail
-
service
public void service(ServiceManager serviceManager) throws ServiceException
- Specified by:
service
in interfaceServiceable
- Overrides:
service
in classServiceableAction
- Throws:
ServiceException
-
act
public Map act(Redirector redirector, SourceResolver resolver, Map objectModel, String source, Parameters parameters) throws Exception
- Throws:
Exception
-
-