Interface RenderCallback
-
@Deprecated public interface RenderCallbackDeprecated.The RenditionService is being replace by the simpler async RenditionService2.This interface defines a callback object which can be used to handle the ultimate result of asynchronous renditions.- Author:
- Neil McErlean
- See Also:
RenditionService.render(org.alfresco.service.cmr.repository.NodeRef, RenditionDefinition, RenderCallback)
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description voidhandleFailedRendition(java.lang.Throwable t)Deprecated.This callback method will be called upon unsuccessful completion of an asynchronous rendition.voidhandleSuccessfulRendition(org.alfresco.service.cmr.repository.ChildAssociationRef primaryParentOfNewRendition)Deprecated.This callback method will be called upon successful completion of an asynchronous rendition.
-
-
-
Method Detail
-
handleSuccessfulRendition
void handleSuccessfulRendition(org.alfresco.service.cmr.repository.ChildAssociationRef primaryParentOfNewRendition)
Deprecated.This callback method will be called upon successful completion of an asynchronous rendition.- Parameters:
primaryParentOfNewRendition- a ChildAssociationRef linking the new rendition object to its primary parent.
-
handleFailedRendition
void handleFailedRendition(java.lang.Throwable t)
Deprecated.This callback method will be called upon unsuccessful completion of an asynchronous rendition.- Parameters:
t- the Throwable giving the cause of the rendition failure.
-
-