org.alfresco.repo.content
Class NodeContentContext

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

public class NodeContentContext
extends ContentContext

Context information for node-related content.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.alfresco.repo.content.ContentContext
NULL_CONTEXT
 
Constructor Summary
NodeContentContext(ContentReader existingContentReader, java.lang.String contentUrl, NodeRef nodeRef, QName propertyQName)
          Construct the instance with the content URL.
 
Method Summary
 NodeRef getNodeRef()
           
 QName getPropertyQName()
           
 
Methods inherited from class org.alfresco.repo.content.ContentContext
getContentUrl, getExistingContentReader, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

NodeContentContext

public NodeContentContext(ContentReader existingContentReader,
                          java.lang.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 Detail

getNodeRef

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

getPropertyQName

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


Copyright © 2005 - 2008 Alfresco Software, Inc. All Rights Reserved.