@Deprecated public class LegacyLocalTransformServiceRegistry extends AbstractTransformServiceRegistry implements org.springframework.beans.factory.InitializingBean
TransformServiceRegistry providing a mechanism of validating if a legacy local transformation
(based on AbstractContentTransformer2 request is supported.| Constructor and Description |
|---|
LegacyLocalTransformServiceRegistry()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
void |
afterPropertiesSet()
Deprecated.
|
Long |
getMaxSize(String sourceMimetype,
String targetMimetype,
String renditionName,
Map<String,String> options)
Deprecated.
Returns the maximum size the source may be in bytes to still be supported.
|
static void |
setContentService(ContentService contentService)
Deprecated.
|
void |
setConverter(TransformationOptionsConverter converter)
Deprecated.
|
isSupportedpublic LegacyLocalTransformServiceRegistry()
public static void setContentService(ContentService contentService)
public void setConverter(TransformationOptionsConverter converter)
public void afterPropertiesSet()
afterPropertiesSet in interface org.springframework.beans.factory.InitializingBeanpublic Long getMaxSize(String sourceMimetype, String targetMimetype, String renditionName, Map<String,String> options)
TransformServiceRegistrygetMaxSize in interface TransformServiceRegistrysourceMimetype - Source mimetype of the content.targetMimetype - Target mimetype of the content.renditionName - the name of the rendition.options - Transformation request parameters.-1 if not limited or null if not supported.Copyright © 2005–2018 Alfresco Software. All rights reserved.