Class AbstractCommentAction
- 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
-
- All Implemented Interfaces:
Component,LogEnabled,Serviceable,Action
- Direct Known Subclasses:
AddCommentAction,DeleteCommentAction,GetRightDeleteCommentAction,LikeCommentAction,ReportCommentAction
public abstract class AbstractCommentAction extends ServiceableAction
Abstract action on comments
-
-
Field Summary
Fields Modifier and Type Field Description protected CommentsDAO_commentsDAOComments DAOstatic StringPARAMETER_COMMENTIDThe request parameter name for content idstatic StringPARAMETER_CONTENTIDThe request parameter name for content id-
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 AbstractCommentAction()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidservice(ServiceManager smanager)-
Methods inherited from class org.apache.avalon.framework.logger.AbstractLogEnabled
enableLogging, getLogger, setupLogger, setupLogger, setupLogger
-
-
-
-
Field Detail
-
PARAMETER_CONTENTID
public static final String PARAMETER_CONTENTID
The request parameter name for content id- See Also:
- Constant Field Values
-
PARAMETER_COMMENTID
public static final String PARAMETER_COMMENTID
The request parameter name for content id- See Also:
- Constant Field Values
-
_commentsDAO
protected CommentsDAO _commentsDAO
Comments DAO
-
-
Constructor Detail
-
AbstractCommentAction
public AbstractCommentAction()
-
-
Method Detail
-
service
public void service(ServiceManager smanager) throws ServiceException
- Specified by:
servicein interfaceServiceable- Overrides:
servicein classServiceableAction- Throws:
ServiceException
-
-