Class QuickShareThumbnailContentGet
java.lang.Object
org.springframework.extensions.webscripts.AbstractWebScript
org.alfresco.repo.web.scripts.content.StreamContent
org.alfresco.repo.web.scripts.content.ContentGet
org.alfresco.repo.web.scripts.quickshare.QuickShareContentGet
org.alfresco.repo.web.scripts.quickshare.QuickShareThumbnailContentGet
- All Implemented Interfaces:
org.springframework.beans.factory.Aware
,org.springframework.extensions.webscripts.WebScript
,org.springframework.web.context.ServletContextAware
QuickShare/PublicView
GET web script to stream "shared" thumbnail content (ie. enabled for public/unauthenticated access) from the repository
WARNING: **unauthenticated** web script (equivalent to authenticated version - see "thumbnail.get.js")
- Since:
- Cloud/4.2
- Author:
- janv
-
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.content.StreamContent
delegate, mimetypeService, permissionService, repository
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected void
executeImpl
(NodeRef nodeRef, Map<String, String> templateVars, org.springframework.extensions.webscripts.WebScriptRequest req, org.springframework.extensions.webscripts.WebScriptResponse res, Map<String, Object> model, boolean attach) void
setScriptThumbnailService
(ScriptThumbnailService scriptThumbnailService) void
setServiceRegistry
(ServiceRegistry services) void
setThumbnailService
(ThumbnailService thumbnailService) Methods inherited from class org.alfresco.repo.web.scripts.quickshare.QuickShareContentGet
execute, isEnabled, setEnabled, setNamespaceService, setNodeService, setQuickShareService, setServletContext
Methods inherited from class org.alfresco.repo.web.scripts.content.ContentGet
setContentService, setDictionaryService, setNonAttachContentTypes, streamContentLocal
Methods inherited from class org.alfresco.repo.web.scripts.content.StreamContent
createObjectReferenceFromUrl, executeImpl, executeImpl, executeImpl, renderFormatTemplate, setAttachment, setDelegate, setMimetypeService, setPermissionService, setRepository, streamContent, streamContent, streamContent, streamContentImpl
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
-
QuickShareThumbnailContentGet
public QuickShareThumbnailContentGet()
-
-
Method Details
-
setThumbnailService
-
setScriptThumbnailService
-
setServiceRegistry
-
executeImpl
protected void executeImpl(NodeRef nodeRef, Map<String, String> templateVars, org.springframework.extensions.webscripts.WebScriptRequest req, org.springframework.extensions.webscripts.WebScriptResponse res, Map<String, throws IOExceptionObject> model, boolean attach) - Overrides:
executeImpl
in classQuickShareContentGet
- Throws:
IOException
-