Class LikeCommentAction
- java.lang.Object
 - 
- org.apache.avalon.framework.logger.AbstractLogEnabled
 - 
- org.apache.cocoon.acting.AbstractAction
 - 
- org.apache.cocoon.acting.ServiceableAction
 - 
- org.ametys.cms.repository.comment.actions.AbstractCommentAction
 - 
- org.ametys.cms.repository.comment.actions.LikeCommentAction
 
 
 
 
 
 
- 
- All Implemented Interfaces:
 Component,LogEnabled,Serviceable,Action
public class LikeCommentAction extends AbstractCommentAction
Like or unlike a comment 
- 
- 
Field Summary
Fields Modifier and Type Field Description protected CommentManagerExtensionPoint_commentManagerThe listeners for this action- 
Fields inherited from class org.ametys.cms.repository.comment.actions.AbstractCommentAction
_observationManager, _resolver, _rightManager, _userProvider, PARAMETER_COMMENTID, PARAMETER_CONTENTID 
- 
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 LikeCommentAction() 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Mapact(Redirector redirector, SourceResolver resolver, Map objectModel, String source, Parameters parameters)voidservice(ServiceManager smanager)- 
Methods inherited from class org.ametys.cms.repository.comment.actions.AbstractCommentAction
getContent, getCurrentUser, hasRight 
- 
Methods inherited from class org.apache.avalon.framework.logger.AbstractLogEnabled
enableLogging, getLogger, setupLogger, setupLogger, setupLogger 
 - 
 
 - 
 
- 
- 
Field Detail
- 
_commentManager
protected CommentManagerExtensionPoint _commentManager
The listeners for this action 
 - 
 
- 
Constructor Detail
- 
LikeCommentAction
public LikeCommentAction()
 
 - 
 
- 
Method Detail
- 
service
public void service(ServiceManager smanager) throws ServiceException
- Specified by:
 servicein interfaceServiceable- Overrides:
 servicein classAbstractCommentAction- Throws:
 ServiceException
 
- 
act
public Map act(Redirector redirector, SourceResolver resolver, Map objectModel, String source, Parameters parameters) throws Exception
- Throws:
 Exception
 
 - 
 
 -