public interface TransformClient
| Modifier and Type | Method and Description |
|---|---|
void |
checkSupported(org.alfresco.service.cmr.repository.NodeRef sourceNodeRef,
RenditionDefinition2 renditionDefinition,
String sourceMimetype,
long size,
String contentUrl)
Checks the transformation required for the rendition is supported.
|
void |
transform(org.alfresco.service.cmr.repository.NodeRef sourceNodeRef,
RenditionDefinition2 renditionDefinition,
String user,
int sourceContentUrlHashCode)
Requests an asynchronous transform and the subsequent linkage of that transform as a rendition.
|
void checkSupported(org.alfresco.service.cmr.repository.NodeRef sourceNodeRef,
RenditionDefinition2 renditionDefinition,
String sourceMimetype,
long size,
String contentUrl)
sourceNodeRef - the source noderenditionDefinition - which rendition to performsourceMimetype - the mometype of the sourcesize - the size in bytes of the sourcecontentUrl - the url of the source (used in debug).UnsupportedOperationException - if the transform is not supported.void transform(org.alfresco.service.cmr.repository.NodeRef sourceNodeRef,
RenditionDefinition2 renditionDefinition,
String user,
int sourceContentUrlHashCode)
sourceNodeRef - the source noderenditionDefinition - which rendition to performuser - that requested the transform.sourceContentUrlHashCode - the hash code of the source node's content URL. Used to check the transform resultCopyright © 2005–2018 Alfresco Software. All rights reserved.