Package org.alfresco.repo.content
Class NodeContentContext
- java.lang.Object
-
- org.alfresco.repo.content.ContentContext
-
- org.alfresco.repo.content.NodeContentContext
-
- All Implemented Interfaces:
java.io.Serializable
public class NodeContentContext extends org.alfresco.repo.content.ContentContextContext information for node-related content.- Author:
- Derek Hulley
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description NodeContentContext(org.alfresco.service.cmr.repository.ContentReader existingContentReader, java.lang.String contentUrl, org.alfresco.service.cmr.repository.NodeRef nodeRef, org.alfresco.service.namespace.QName propertyQName)Construct the instance with the content URL.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.alfresco.service.cmr.repository.NodeRefgetNodeRef()org.alfresco.service.namespace.QNamegetPropertyQName()java.lang.StringtoString()
-
-
-
Constructor Detail
-
NodeContentContext
public NodeContentContext(org.alfresco.service.cmr.repository.ContentReader existingContentReader, java.lang.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 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 Detail
-
toString
public java.lang.String toString()
- Overrides:
toStringin classorg.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
-
-