Class DownloadPost
- java.lang.Object
-
- org.springframework.extensions.webscripts.AbstractWebScript
-
- org.springframework.extensions.webscripts.DeclarativeWebScript
-
- org.alfresco.repo.web.scripts.download.DownloadPost
-
- All Implemented Interfaces:
org.springframework.extensions.webscripts.WebScript
public class DownloadPost extends org.springframework.extensions.webscripts.DeclarativeWebScript
Web script for creating a new download.- Author:
- Alex Miller
-
-
Field Summary
Fields Modifier and Type Field Description protected DownloadService
downloadService
-
Constructor Summary
Constructors Constructor Description DownloadPost()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected Map<String,Object>
buildError(String message)
Helper method to embed error informaion in a map.protected Map<String,Object>
executeImpl(org.springframework.extensions.webscripts.WebScriptRequest req, org.springframework.extensions.webscripts.Status status, org.springframework.extensions.webscripts.Cache cache)
void
setDownloadService(DownloadService downloadSerivce)
-
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
-
-
-
-
Field Detail
-
downloadService
protected DownloadService downloadService
-
-
Method Detail
-
executeImpl
protected Map<String,Object> executeImpl(org.springframework.extensions.webscripts.WebScriptRequest req, org.springframework.extensions.webscripts.Status status, org.springframework.extensions.webscripts.Cache cache)
- Overrides:
executeImpl
in classorg.springframework.extensions.webscripts.DeclarativeWebScript
-
setDownloadService
public void setDownloadService(DownloadService downloadSerivce)
-
-