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
Delete a comment
-
Field Summary
Modifier and TypeFieldDescriptionprotected ContentHelper
The content helperprotected UserHelper
The user helperFields inherited from class org.ametys.cms.repository.comment.actions.AbstractCommentAction
_commentsDAO, 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
-
Method Summary
Modifier and TypeMethodDescriptionact
(Redirector redirector, SourceResolver resolver, Map objectModel, String source, Parameters parameters) void
service
(ServiceManager smanager) Methods inherited from class org.apache.avalon.framework.logger.AbstractLogEnabled
enableLogging, getLogger, setupLogger, setupLogger, setupLogger
-
Field Details
-
_contentHelper
The content helper -
_userHelper
The user helper
-
-
Constructor Details
-
DeleteCommentAction
public DeleteCommentAction()
-
-
Method Details
-
service
- 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
-