Interface RelationshipResourceBinaryAction.Read
- All Superinterfaces:
ResourceAction
- All Known Implementing Classes:
NodeRenditionsRelation
,NodeVersionRenditionsRelation
,NodeVersionsRelation
,QuickShareLinkRenditionsRelation
,TrashcanRenditionsRelation
- Enclosing interface:
- RelationshipResourceBinaryAction
HTTP GET - Retrieve a binary resource
-
Method Summary
Modifier and TypeMethodDescriptionreadProperty
(String entityId, String entityResourceId, Parameters parameters) Retrieves a binary property by returning a BinaryResource object.
-
Method Details
-
readProperty
BinaryResource readProperty(String entityId, String entityResourceId, Parameters parameters) throws EntityNotFoundException Retrieves a binary property by returning a BinaryResource object. The specific property is specified in theParameters
object. SeeParameters.hasBinaryProperty(String)
orParameters.getBinaryProperty()
- Parameters:
entityId
- unique identityResourceId
- Entity resource context for this relationshipparameters
-Parameters
- Returns:
- BinaryResource - Either
FileBinaryResource
orNodeBinaryResource
- Throws:
EntityNotFoundException
-