Class NodeContentContext

java.lang.Object
org.alfresco.repo.content.ContentContext
org.alfresco.repo.content.NodeContentContext
All Implemented Interfaces:
Serializable

public class NodeContentContext extends ContentContext
Context information for node-related content.
Author:
Derek Hulley
See Also:
  • Constructor Details

    • NodeContentContext

      public NodeContentContext(ContentReader existingContentReader, String contentUrl, NodeRef nodeRef, QName propertyQName)
      Construct the instance with the content URL.
      Parameters:
      existingContentReader - content with which to seed the new writer - may be null
      contentUrl - the content URL - may be null
      nodeRef - the node holding the content metadata - may not be null
      propertyQName - the property holding the content metadata - may not be null
  • Method Details

    • toString

      public String toString()
      Overrides:
      toString in class ContentContext
    • getNodeRef

      public NodeRef getNodeRef()
      Returns:
      Returns the node holding the content metadata
    • getPropertyQName

      public QName getPropertyQName()
      Returns:
      Returns the property holding the content metadata