Added stream content 'kind of' web script, modified ContentGet webscript to use common code, create GET thumbnail method based on stream content kind of web script

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@9395 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Roy Wetherall
2008-06-05 10:07:26 +00:00
parent f084a9bf44
commit 04947b6ebb
2 changed files with 9 additions and 3 deletions

View File

@@ -1924,6 +1924,12 @@ public class ScriptNode implements Serializable, Scopeable
return new ScriptThumbnail(thumbnailNodeRef, this.services, this.scope);
}
/**
* Get the given thumbnail for the content property
*
* @param thumbnailName the thumbnail name
* @return ScriptThumbnail the thumbnail
*/
public ScriptThumbnail getThumbnail(String thumbnailName)
{
ScriptThumbnail result = null;