public interface TransformClient
| Modifier and Type | Method and Description |
|---|---|
Object |
checkSupported(org.alfresco.service.cmr.repository.NodeRef sourceNodeRef,
RenditionDefinition2 renditionDefinition)
Checks the transformation required for the rendition is supported.
|
void |
transform(org.alfresco.service.cmr.repository.NodeRef sourceNodeRef,
RenditionDefinition2 renditionDefinition,
Object transformInfo,
String user,
int sourceContentUrlHashCode)
Requests an asynchronous transform and the subsequent linkage of that transform as a rendition.
|
Object checkSupported(org.alfresco.service.cmr.repository.NodeRef sourceNodeRef, RenditionDefinition2 renditionDefinition)
sourceNodeRef - the source noderenditionDefinition - which rendition to performtransform(NodeRef, RenditionDefinition2, Object, String, int) as the transformInfo parameter to
avoid having to work it out again.UnsupportedOperationException - if the transform is not supported.void transform(org.alfresco.service.cmr.repository.NodeRef sourceNodeRef,
RenditionDefinition2 renditionDefinition,
Object transformInfo,
String user,
int sourceContentUrlHashCode)
sourceNodeRef - the source noderenditionDefinition - which rendition to performtransformInfo - the object returned by checkSupported(NodeRef, RenditionDefinition2).user - that requested the transform.sourceContentUrlHashCode - the hash code of the source node's content URL. Used to check the transform result
still matches the source node, before it is used as a rendition.Copyright © 2005–2018 Alfresco Software. All rights reserved.