Package org.alfresco.repo.rendition
Class RenditionNodeManager
java.lang.Object
org.alfresco.repo.rendition.RenditionNodeManager
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
-
Constructor Summary
ConstructorsConstructorDescriptionRenditionNodeManager(NodeRef sourceNode, NodeRef tempRenditionNode, RenditionLocation location, RenditionDefinition renditionDefinition, NodeService nodeService, RenditionService renditionService, BehaviourFilter behaviourFilter) Deprecated. -
Method Summary
Modifier and TypeMethodDescriptionDeprecated.This method returns theChildAssociationReffor the rendition node.
-
Constructor Details
-
RenditionNodeManager
public RenditionNodeManager(NodeRef sourceNode, NodeRef tempRenditionNode, RenditionLocation location, RenditionDefinition renditionDefinition, NodeService nodeService, RenditionService renditionService, BehaviourFilter behaviourFilter) Deprecated.- Parameters:
sourceNode- the source node which is being rendered.tempRenditionNode- the temporary renditionlocation- the proposed location of the rendition node.renditionDefinition- RenditionDefinitionnodeService- NodeServicerenditionService- RenditionServicebehaviourFilter- BehaviourFilter
-
-
Method Details
-
findOrCreateRenditionNode
Deprecated.This method returns theChildAssociationReffor 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.
-