Class RenditionNodeManager


  • @Deprecated
    public class RenditionNodeManager
    extends java.lang.Object
    Deprecated.
    The RenditionService is being replace by the simpler async RenditionService2.
    This class is responsible for placing a rendition node in the correct location given a temporary rendition, a source node, a rendition location and optionally an old rendition. This manages the complex logic of deciding whether to move an old rendition or orphan it and create a new one amongst other things.
    Author:
    Nick Smith
    • Method Summary

      All Methods Instance Methods Concrete Methods Deprecated Methods 
      Modifier and Type Method Description
      org.alfresco.service.cmr.repository.ChildAssociationRef findOrCreateRenditionNode()
      Deprecated.
      This method returns the ChildAssociationRef for the rendition node.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • RenditionNodeManager

        public RenditionNodeManager​(org.alfresco.service.cmr.repository.NodeRef sourceNode,
                                    org.alfresco.service.cmr.repository.NodeRef tempRenditionNode,
                                    RenditionLocation location,
                                    RenditionDefinition renditionDefinition,
                                    org.alfresco.service.cmr.repository.NodeService nodeService,
                                    RenditionService renditionService,
                                    BehaviourFilter behaviourFilter)
        Deprecated.
        Parameters:
        sourceNode - the source node which is being rendered.
        tempRenditionNode - the temporary rendition
        location - the proposed location of the rendition node.
        renditionDefinition - RenditionDefinition
        nodeService - NodeService
        renditionService - RenditionService
        behaviourFilter - BehaviourFilter
    • Method Detail

      • findOrCreateRenditionNode

        public org.alfresco.service.cmr.repository.ChildAssociationRef findOrCreateRenditionNode()
        Deprecated.
        This method returns the ChildAssociationRef for the rendition node. In doing this it may reuse an existing rendition node, move an existing rendition node or create a new rendition node as appropriate.
        Returns:
        the primary parent association of the rendition node, which may not be the rendition association.