Class ReportCommentAction
- 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.ReportCommentAction
-
- All Implemented Interfaces:
Component
,LogEnabled
,Serviceable
,Action
public class ReportCommentAction extends AbstractCommentAction
Report a comment
-
-
Field Summary
Fields Modifier and Type Field Description protected CommentManagerExtensionPoint
_commentManager
The 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 ReportCommentAction()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map
act(Redirector redirector, SourceResolver resolver, Map objectModel, String source, Parameters parameters)
void
service(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
-
ReportCommentAction
public ReportCommentAction()
-
-
Method Detail
-
service
public void service(ServiceManager smanager) throws ServiceException
- Specified by:
service
in interfaceServiceable
- Overrides:
service
in classAbstractCommentAction
- Throws:
ServiceException
-
act
public Map act(Redirector redirector, SourceResolver resolver, Map objectModel, String source, Parameters parameters) throws Exception
- Throws:
Exception
-
-