public class RenditionNodeManager extends Object
| Constructor and Description |
|---|
RenditionNodeManager(NodeRef sourceNode,
NodeRef tempRenditionNode,
RenditionLocation location,
RenditionDefinition renditionDefinition,
NodeService nodeService,
RenditionService renditionService,
BehaviourFilter behaviourFilter) |
| Modifier and Type | Method and Description |
|---|---|
ChildAssociationRef |
findOrCreateRenditionNode()
This method returns the
ChildAssociationRef for the rendition node. |
public RenditionNodeManager(NodeRef sourceNode, NodeRef tempRenditionNode, RenditionLocation location, RenditionDefinition renditionDefinition, NodeService nodeService, RenditionService renditionService, BehaviourFilter behaviourFilter)
sourceNode - the source node which is being rendered.tempRenditionNode - the temporary renditionlocation - the proposed location of the rendition node.renditionDefinition - RenditionDefinitionnodeService - NodeServicerenditionService - RenditionServicebehaviourFilter - BehaviourFilterpublic ChildAssociationRef findOrCreateRenditionNode()
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.Copyright © 2005–2021 Alfresco Software. All rights reserved.