Class DeleteCommentAction
- 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.DeleteCommentAction
 
 
 
 
 
 
- 
- All Implemented Interfaces:
 Component,LogEnabled,Serviceable,Action
public class DeleteCommentAction extends AbstractCommentAction
Delete a comment 
- 
- 
Field Summary
Fields Modifier and Type Field Description protected CommentManagerExtensionPoint_commentManagerThe listeners for this actionprotected ContentHelper_contentHelperThe content helperprotected UserHelper_userHelperThe user helper- 
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 DeleteCommentAction() 
- 
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 
- 
_contentHelper
protected ContentHelper _contentHelper
The content helper 
- 
_userHelper
protected UserHelper _userHelper
The user helper 
 - 
 
- 
Constructor Detail
- 
DeleteCommentAction
public DeleteCommentAction()
 
 - 
 
- 
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
 
 - 
 
 -