Class GetFeedsAction
-
- All Implemented Interfaces:
Component
,LogEnabled
,Serviceable
,Action
public class GetFeedsAction extends AbstractLoggedAction
Returns the list of feeds for a user
-
-
Field Summary
Fields Modifier and Type Field Description protected QueriesHelper
_queryHelper
The Ametys object resolver-
Fields inherited from class org.ametys.plugins.mobileapp.action.AbstractLoggedAction
_currentUserProvider
-
Fields inherited from class org.ametys.plugins.mobileapp.action.AbstractPostAction
_jsonUtils
-
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 GetFeedsAction()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected Map<String,Object>
doLoggedInAction(Request request, Map<String,Object> jsonParams)
Execute the action that requires to be logged invoid
service(ServiceManager smanager)
-
Methods inherited from class org.ametys.plugins.mobileapp.action.AbstractLoggedAction
doAction
-
Methods inherited from class org.ametys.plugins.mobileapp.action.AbstractPostAction
act, getParameter, getParameters
-
Methods inherited from class org.apache.avalon.framework.logger.AbstractLogEnabled
enableLogging, getLogger, setupLogger, setupLogger, setupLogger
-
-
-
-
Field Detail
-
_queryHelper
protected QueriesHelper _queryHelper
The Ametys object resolver
-
-
Constructor Detail
-
GetFeedsAction
public GetFeedsAction()
-
-
Method Detail
-
service
public void service(ServiceManager smanager) throws ServiceException
- Specified by:
service
in interfaceServiceable
- Overrides:
service
in classAbstractLoggedAction
- Throws:
ServiceException
-
doLoggedInAction
protected Map<String,Object> doLoggedInAction(Request request, Map<String,Object> jsonParams)
Description copied from class:AbstractLoggedAction
Execute the action that requires to be logged in- Specified by:
doLoggedInAction
in classAbstractLoggedAction
- Parameters:
request
- the requestjsonParams
- map of parameters passed in the post body as json- Returns:
- the json map to return
-
-