mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
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:
@@ -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()
|
||||
{
|
||||
|
Reference in New Issue
Block a user