Package org.alfresco.repo.content
Class NodeContentContext
java.lang.Object
org.alfresco.repo.content.ContentContext
org.alfresco.repo.content.NodeContentContext
- All Implemented Interfaces:
Serializable
Context information for node-related content.
- Author:
- Derek Hulley
- See Also:
-
Field Summary
Fields inherited from class org.alfresco.repo.content.ContentContext
NULL_CONTEXT -
Constructor Summary
ConstructorsConstructorDescriptionNodeContentContext(ContentReader existingContentReader, String contentUrl, NodeRef nodeRef, QName propertyQName) Construct the instance with the content URL. -
Method Summary
Methods inherited from class org.alfresco.repo.content.ContentContext
getContentUrl, getExistingContentReader
-
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 nullcontentUrl- the content URL - may be nullnodeRef- the node holding the content metadata - may not be nullpropertyQName- the property holding the content metadata - may not be null
-
-
Method Details
-
toString
- Overrides:
toStringin classContentContext
-
getNodeRef
- Returns:
- Returns the node holding the content metadata
-
getPropertyQName
- Returns:
- Returns the property holding the content metadata
-