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
public class QuickShareThumbnailContentGet extends QuickShareContentGet
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
-
-
Field Summary
-
Fields inherited from class org.alfresco.repo.web.scripts.content.StreamContent
delegate, mimetypeService, permissionService, repository
-
-
Constructor Summary
Constructors Constructor Description QuickShareThumbnailContentGet()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
executeImpl(NodeRef nodeRef, Map<String,String> templateVars, org.springframework.extensions.webscripts.WebScriptRequest req, org.springframework.extensions.webscripts.WebScriptResponse res, Map<String,Object> model)
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, 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
-
-
-
-
Method Detail
-
setThumbnailService
public void setThumbnailService(ThumbnailService thumbnailService)
-
setScriptThumbnailService
public void setScriptThumbnailService(ScriptThumbnailService scriptThumbnailService)
-
setServiceRegistry
public void setServiceRegistry(ServiceRegistry services)
-
executeImpl
protected void executeImpl(NodeRef nodeRef, Map<String,String> templateVars, org.springframework.extensions.webscripts.WebScriptRequest req, org.springframework.extensions.webscripts.WebScriptResponse res, Map<String,Object> model) throws IOException
- Overrides:
executeImpl
in classQuickShareContentGet
- Throws:
IOException
-
-