Class NodeContentContext

  • All Implemented Interfaces:
    Serializable

    public class NodeContentContext
    extends org.alfresco.repo.content.ContentContext
    Context information for node-related content.
    Author:
    Derek Hulley
    See Also:
    Serialized Form
    • Field Summary

      • Fields inherited from class org.alfresco.repo.content.ContentContext

        NULL_CONTEXT
    • Constructor Summary

      Constructors 
      Constructor Description
      NodeContentContext​(org.alfresco.service.cmr.repository.ContentReader existingContentReader, String contentUrl, org.alfresco.service.cmr.repository.NodeRef nodeRef, org.alfresco.service.namespace.QName propertyQName)
      Construct the instance with the content URL.
    • Constructor Detail

      • NodeContentContext

        public NodeContentContext​(org.alfresco.service.cmr.repository.ContentReader existingContentReader,
                                  String contentUrl,
                                  org.alfresco.service.cmr.repository.NodeRef nodeRef,
                                  org.alfresco.service.namespace.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 Detail

      • toString

        public String toString()
        Overrides:
        toString in class org.alfresco.repo.content.ContentContext
      • getNodeRef

        public org.alfresco.service.cmr.repository.NodeRef getNodeRef()
        Returns:
        Returns the node holding the content metadata
      • getPropertyQName

        public org.alfresco.service.namespace.QName getPropertyQName()
        Returns:
        Returns the property holding the content metadata