@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,
Map<String,String> options,
String renditionName)
Deprecated.
Returns the maximun size (in bytes) of the source content that can be transformed.
|
void |
setContentService(ContentService contentService)
Deprecated.
|
void |
setConverter(TransformationOptionsConverter converter)
Deprecated.
|
void |
setEnabled(boolean enabled)
Deprecated.
|
void |
setTransformerDebug(TransformerDebug transformerDebug)
Deprecated.
|
isSupportedpublic LegacyLocalTransformServiceRegistry()
public void setContentService(ContentService contentService)
public void setConverter(TransformationOptionsConverter converter)
public void setEnabled(boolean enabled)
public void setTransformerDebug(TransformerDebug transformerDebug)
public void afterPropertiesSet()
afterPropertiesSet in interface org.springframework.beans.factory.InitializingBeanpublic long getMaxSize(String sourceMimetype, String targetMimetype, Map<String,String> options, String renditionName)
TransformServiceRegistrygetMaxSize in interface TransformServiceRegistrysourceMimetype - the mimetype of the source contenttargetMimetype - the mimetype of the targetoptions - the actual name value pairs available that could be passed to the Transform Service.renditionName - (optional) name for the set of options and target mimetype. If supplied is used to cache
results to avoid having to work out if a given transformation is supported a second time.
The sourceMimetype and sourceSizeInBytes may still change. In the case of ACS this is the
rendition name.-1 there is no
limit, but if 0 the transform is not supported.Copyright © 2005–2018 Alfresco Software. All rights reserved.