Class CommentDelete
- java.lang.Object
-
- org.springframework.extensions.webscripts.AbstractWebScript
-
- org.springframework.extensions.webscripts.DeclarativeWebScript
-
- org.alfresco.repo.web.scripts.comments.AbstractCommentsWebScript
-
- org.alfresco.repo.web.scripts.comments.CommentDelete
-
- All Implemented Interfaces:
org.springframework.extensions.webscripts.WebScript
public class CommentDelete extends AbstractCommentsWebScript
This class is the controller for the comment.delete web script.- Since:
- 4.2.6
- Author:
- Ramona Popa
-
-
Field Summary
-
Fields inherited from class org.alfresco.repo.web.scripts.comments.AbstractCommentsWebScript
activityService, behaviourFilter, COMMENT_CREATED_ACTIVITY, COMMENT_DELETED_ACTIVITY, COMMENTS_TOPIC_NAME, contentService, JSON_KEY_CONTENT, JSON_KEY_ITEM_TITLE, JSON_KEY_NODEREF, JSON_KEY_PAGE, JSON_KEY_PAGE_PARAMS, JSON_KEY_SITE, JSON_KEY_SITE_ID, JSON_KEY_TITLE, nodeService, PARAM_ITEM, PARAM_MESSAGE, PARAM_NODE, permissionService, personService, serviceRegistry, siteService
-
-
Constructor Summary
Constructors Constructor Description CommentDelete()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected Map<String,Object>
executeImpl(org.alfresco.service.cmr.repository.NodeRef nodeRef, org.springframework.extensions.webscripts.WebScriptRequest req, org.springframework.extensions.webscripts.Status status, org.springframework.extensions.webscripts.Cache cache)
Overrides AbstractCommentsWebScript to delete comment-
Methods inherited from class org.alfresco.repo.web.scripts.comments.AbstractCommentsWebScript
executeImpl, getOrNull, getSiteInfo, parseJSON, parseJSONFromString, parseRequestForNodeRef, postActivity, setActivityService, setBehaviourFilter, setServiceRegistry
-
Methods inherited from class org.springframework.extensions.webscripts.DeclarativeWebScript
execute, executeFinallyImpl, executeImpl, executeImpl, getTemplateModel, renderFormatTemplate
-
Methods inherited from class org.springframework.extensions.webscripts.AbstractWebScript
addModuleBundleToCache, checkModuleBundleCache, createArgs, createArgsM, createHeaders, createHeadersM, createScriptParameters, createStatusException, createTemplateParameters, executeScript, getContainer, getDescription, getExecuteScript, getResources, getStatusTemplate, init, renderString, renderString, renderTemplate, sendStatus, setURLModelFactory, toString
-
-
-
-
Method Detail
-
executeImpl
protected Map<String,Object> executeImpl(org.alfresco.service.cmr.repository.NodeRef nodeRef, org.springframework.extensions.webscripts.WebScriptRequest req, org.springframework.extensions.webscripts.Status status, org.springframework.extensions.webscripts.Cache cache)
Overrides AbstractCommentsWebScript to delete comment- Specified by:
executeImpl
in classAbstractCommentsWebScript
- Returns:
-
-