Changed ThumbnailServiceImpl to create renditions of type cm:thumbnail and set the thumbnail name property on them correctly.

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@19184 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
N Smith
2010-03-10 12:59:21 +00:00
parent 4835da3dce
commit b2d3946da1
12 changed files with 332 additions and 116 deletions

View File

@@ -19,6 +19,9 @@
package org.alfresco.repo.rendition;
import java.io.Serializable;
import java.util.Map;
import org.alfresco.repo.action.ActionImpl;
import org.alfresco.service.cmr.action.Action;
import org.alfresco.service.cmr.rendition.RenderCallback;
@@ -33,7 +36,6 @@ import org.alfresco.service.namespace.QName;
*/
public class RenditionDefinitionImpl extends ActionImpl implements RenditionDefinition
{
/**
* Serial version UID
*/
@@ -45,9 +47,12 @@ public class RenditionDefinitionImpl extends ActionImpl implements RenditionDefi
private RenderCallback renderCallback;
/**
* @param id the action id
* @param renditionName a unique name for the rendering action.
* @param renderingEngineName the name of the rendering action definition
* @param id
* the action id
* @param renditionName
* a unique name for the rendering action.
* @param renderingEngineName
* the name of the rendering action definition
*/
public RenditionDefinitionImpl(String id, QName renditionName, String renderingEngineName)
{
@@ -114,7 +119,10 @@ public class RenditionDefinitionImpl extends ActionImpl implements RenditionDefi
/*
* (non-Javadoc)
* @see org.alfresco.service.cmr.rendition.RenditionDefinition#setCallback(org.alfresco.service.cmr.rendition.RenderCallback)
*
* @see
* org.alfresco.service.cmr.rendition.RenditionDefinition#setCallback(org
* .alfresco.service.cmr.rendition.RenderCallback)
*/
public void setCallback(RenderCallback callback)
{
@@ -123,7 +131,10 @@ public class RenditionDefinitionImpl extends ActionImpl implements RenditionDefi
/*
* (non-Javadoc)
* @see org.alfresco.service.cmr.rendition.RenditionDefinition#setCallback(org.alfresco.service.cmr.rendition.RenderCallback)
*
* @see
* org.alfresco.service.cmr.rendition.RenditionDefinition#setCallback(org
* .alfresco.service.cmr.rendition.RenderCallback)
*/
public RenderCallback getCallback()
{