public class LocalTransformClient extends AbstractTransformClient implements TransformClient
nodeService| Constructor and Description |
|---|
LocalTransformClient() |
| Modifier and Type | Method and Description |
|---|---|
void |
afterPropertiesSet() |
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 |
setContentService(ContentService contentService) |
void |
setExecutorService(ExecutorService executorService) |
void |
setRenditionService2(RenditionService2Impl renditionService2) |
void |
setTransactionService(TransactionService transactionService) |
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.
|
setNodeServicepublic void setTransactionService(TransactionService transactionService)
public void setContentService(ContentService contentService)
public void setRenditionService2(RenditionService2Impl renditionService2)
public void setExecutorService(ExecutorService executorService)
public void afterPropertiesSet()
throws Exception
afterPropertiesSet in interface org.springframework.beans.factory.InitializingBeanafterPropertiesSet in class AbstractTransformClientExceptionpublic void checkSupported(org.alfresco.service.cmr.repository.NodeRef sourceNodeRef,
RenditionDefinition2 renditionDefinition,
String sourceMimetype,
long size,
String contentUrl)
TransformClientcheckSupported in interface TransformClientsourceNodeRef - 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).public void transform(org.alfresco.service.cmr.repository.NodeRef sourceNodeRef,
RenditionDefinition2 renditionDefinition,
String user,
int sourceContentUrlHashCode)
TransformClienttransform in interface TransformClientsourceNodeRef - 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.