public class LocalTransformServiceRegistry extends AbstractTransformServiceRegistry implements org.springframework.beans.factory.InitializingBean
TransformServiceRegistry providing a mechanism of validating if a local transformation request is
supported.| Constructor and Description |
|---|
LocalTransformServiceRegistry() |
| Modifier and Type | Method and Description |
|---|---|
void |
afterPropertiesSet() |
Long |
getMaxSize(String sourceMimetype,
String targetMimetype,
String renditionName,
Map<String,String> options)
Returns the maximum size the source may be in bytes to still be supported.
|
static void |
setContentService(ContentService contentService) |
isSupportedpublic static void setContentService(ContentService contentService)
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.