public class RenditionNodeManager extends Object
Constructor and Description |
---|
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) |
Modifier and Type | Method and Description |
---|---|
org.alfresco.service.cmr.repository.ChildAssociationRef |
findOrCreateRenditionNode()
This method returns the
ChildAssociationRef for the rendition node. |
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)
sourceNode
- the source node which is being rendered.tempRenditionNode
- the temporary renditionlocation
- the proposed location of the rendition node.renditionDefinition
- RenditionDefinitionnodeService
- NodeServicerenditionService
- RenditionServicebehaviourFilter
- BehaviourFilterpublic org.alfresco.service.cmr.repository.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–2017 Alfresco Software. All rights reserved.