org.alfresco.repo.rendition
Class RenditionNodeManager

java.lang.Object
  extended by org.alfresco.repo.rendition.RenditionNodeManager

public class RenditionNodeManager
extends java.lang.Object

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 and old rendition or orphan it and create a new one amongst other things.


Constructor Summary
RenditionNodeManager(NodeRef sourceNode, NodeRef oldRendition, RenditionLocation location, RenditionDefinition renditionDefinition, NodeService nodeService)
           
 
Method Summary
 ChildAssociationRef findOrCreateRenditionNode()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RenditionNodeManager

public RenditionNodeManager(NodeRef sourceNode,
                            NodeRef oldRendition,
                            RenditionLocation location,
                            RenditionDefinition renditionDefinition,
                            NodeService nodeService)
Method Detail

findOrCreateRenditionNode

public ChildAssociationRef findOrCreateRenditionNode()


Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.