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
FieldsModifier and TypeFieldDescriptionprotected ContentHelperThe content helperprotected UserHelperThe user helperFields inherited from class org.ametys.cms.repository.comment.actions.AbstractCommentAction
_commentsDAO, PARAMETER_COMMENTID, PARAMETER_CONTENTIDFields inherited from class org.apache.cocoon.acting.ServiceableAction
managerFields inherited from class org.apache.cocoon.acting.AbstractAction
EMPTY_MAP -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionact(Redirector redirector, SourceResolver resolver, Map objectModel, String source, Parameters parameters) voidservice(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:
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
-