Class BlogPut
java.lang.Object
org.springframework.extensions.webscripts.AbstractWebScript
org.springframework.extensions.webscripts.DeclarativeWebScript
org.alfresco.repo.web.scripts.blogs.AbstractBlogWebScript
org.alfresco.repo.web.scripts.blogs.blog.BlogPut
- All Implemented Interfaces:
org.springframework.extensions.webscripts.WebScript
This class is the controller for the blog.put web script.
TODO Push most of the logic from this into the BlogService
- Since:
- 4.0
- Author:
- Neil Mc Erlean (based on existing JavaScript webscript controllers)
-
Nested Class Summary
Nested classes/interfaces inherited from class org.springframework.extensions.webscripts.AbstractWebScript
org.springframework.extensions.webscripts.AbstractWebScript.ScriptDetails
-
Field Summary
Fields inherited from class org.alfresco.repo.web.scripts.blogs.AbstractBlogWebScript
activityService, blogService, CONTAINER, CONTENT, DATA, DRAFT, EXTERNAL_BLOG_CONFIG, ITEM, NODE, nodeService, PAGE, POST, repository, services, SITE, siteService, TAGS, TITLE
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionexecuteImpl
(SiteInfo site, NodeRef containerNodeRef, BlogPostInfo blog, org.springframework.extensions.webscripts.WebScriptRequest req, org.json.simple.JSONObject json, org.springframework.extensions.webscripts.Status status, org.springframework.extensions.webscripts.Cache cache) Methods inherited from class org.alfresco.repo.web.scripts.blogs.AbstractBlogWebScript
addActivityEntry, executeImpl, setActivityService, setBlogService, setNodeService, setRepository, setServiceRegistry, setSiteService
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
-
Constructor Details
-
BlogPut
public BlogPut()
-
-
Method Details
-
executeImpl
protected Map<String,Object> executeImpl(SiteInfo site, NodeRef containerNodeRef, BlogPostInfo blog, org.springframework.extensions.webscripts.WebScriptRequest req, org.json.simple.JSONObject json, org.springframework.extensions.webscripts.Status status, org.springframework.extensions.webscripts.Cache cache) - Specified by:
executeImpl
in classAbstractBlogWebScript
-