Class NodeBinaryResource
- java.lang.Object
-
- org.alfresco.rest.framework.resource.content.AbstractBinaryResource
-
- org.alfresco.rest.framework.resource.content.NodeBinaryResource
-
- All Implemented Interfaces:
BinaryResource
public class NodeBinaryResource extends AbstractBinaryResource
A binary resource based on a Node reference.- Author:
- Gethin James
-
-
Constructor Summary
Constructors Constructor Description NodeBinaryResource(NodeRef nodeRef, QName propertyQName, ContentInfo contentInfo, String attachFileName)
NodeBinaryResource(NodeRef nodeRef, QName propertyQName, ContentInfo contentInfo, String attachFileName, CacheDirective cacheDirective)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ContentInfo
getContentInfo()
NodeRef
getNodeRef()
QName
getPropertyQName()
-
Methods inherited from class org.alfresco.rest.framework.resource.content.AbstractBinaryResource
getAttachFileName, getCacheDirective
-
-
-
-
Constructor Detail
-
NodeBinaryResource
public NodeBinaryResource(NodeRef nodeRef, QName propertyQName, ContentInfo contentInfo, String attachFileName)
-
NodeBinaryResource
public NodeBinaryResource(NodeRef nodeRef, QName propertyQName, ContentInfo contentInfo, String attachFileName, CacheDirective cacheDirective)
-
-
Method Detail
-
getNodeRef
public NodeRef getNodeRef()
-
getPropertyQName
public QName getPropertyQName()
-
getContentInfo
public ContentInfo getContentInfo()
-
-